Pull request #145 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 1b16008dbcb4c2df5776140457a6c3d0aa0a3487+ce337969b6936367b4749e936ab24c9948a8b4f7 (6b68d3e9320c8ac736143b3a62673eed3df30275) 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-ssh12356509766069169731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh8918104112715509708.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-145/workspace@libs/edgex-global-pipelines # 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-145/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15353257130431767506.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-145/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4465754425167636258.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh14737443919183216436.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-145/workspace@libs/lf-pipelines # 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-145/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10955917679916882421.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64536 in /w/workspace/xfoundry_go-mod-messaging_PR-145 [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-145 # 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/jakarta commit ce337969b6936367b4749e936ab24c9948a8b4f7 into PR head commit 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 Merge succeeded, producing 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 Checking out Revision 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 (PR-145) > 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/145/head:refs/remotes/origin/PR-145 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 # 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 ce337969b6936367b4749e936ab24c9948a8b4f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 # timeout=10 Commit message: "fix: pass a copy of topic to redis subscriber" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:39:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:39:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:39:59 ========================================================= 23:39:59 EdgeX Global Pipelines Version Info 23:39:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:40:00 ------------------- 23:40:00 stable info: 23:40:00 ------------------- 23:40:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:40:00 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:40:00 Message: update stable to v1.0.230 23:40:00 ------------------- 23:40:00 experimental info: 23:40:00 ------------------- 23:40:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:40:00 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:40:00 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:40:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo 23:40:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo 23:40:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [Pipeline] echo 23:40:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b16008 [Pipeline] echo 23:40:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:40:02 + git rev-list -1 --merges 1b16008dbcb4c2df5776140457a6c3d0aa0a3487~1..1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [Pipeline] echo 23:40:02 -----------> git rev-list -1 --merges 1b16008dbcb4c2df5776140457a6c3d0aa0a3487~1..1b16008dbcb4c2df5776140457a6c3d0aa0a3487 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [false] [Pipeline] sh 23:40:02 + git log --format=format:%s -1 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [Pipeline] echo 23:40:03 ========================================================= 23:40:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:40:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:03 + git log --format=format:%s -1 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [Pipeline] echo 23:40:03 [semverPrep] GIT_COMMIT: 1b16008dbcb4c2df5776140457a6c3d0aa0a3487, Commit Message: fix: pass a copy of topic to redis subscriber [Pipeline] echo 23:40:03 [semverPrep] This is not a build commit. [Pipeline] sh 23:40:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:40:03 + grep -v github /etc/ssh/ssh_known_hosts 23:40:03 + [ -e /tmp/ssh_known_hosts ] 23:40:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:40:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:40:03 + sudo tee -a /etc/ssh/ssh_known_hosts 23:40:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:40:04 23:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:40:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:40:05 latest: Pulling from edgex-devops/py-git-semver 23:40:05 1fe172e4850f: Pulling fs layer 23:40:05 caf521ccaac6: Pulling fs layer 23:40:05 3ead6fa29328: Pulling fs layer 23:40:05 5c2a1cbceb83: Pulling fs layer 23:40:05 a8d5f1318db7: Pulling fs layer 23:40:05 c427282e49a2: Pulling fs layer 23:40:05 1827001aaf11: Pulling fs layer 23:40:05 0714d37db230: Pulling fs layer 23:40:05 ac28cf19c067: Pulling fs layer 23:40:05 a8d5f1318db7: Waiting 23:40:05 ca983d60f3e2: Pulling fs layer 23:40:05 9f894cec8388: Pulling fs layer 23:40:05 0714d37db230: Waiting 23:40:05 9f894cec8388: Waiting 23:40:05 ac28cf19c067: Waiting 23:40:05 1827001aaf11: Waiting 23:40:05 ca983d60f3e2: Waiting 23:40:05 c427282e49a2: Waiting 23:40:05 caf521ccaac6: Verifying Checksum 23:40:05 caf521ccaac6: Download complete 23:40:05 5c2a1cbceb83: Verifying Checksum 23:40:05 5c2a1cbceb83: Download complete 23:40:05 a8d5f1318db7: Verifying Checksum 23:40:05 a8d5f1318db7: Download complete 23:40:05 3ead6fa29328: Verifying Checksum 23:40:05 3ead6fa29328: Download complete 23:40:05 c427282e49a2: Verifying Checksum 23:40:05 c427282e49a2: Download complete 23:40:05 0714d37db230: Download complete 23:40:05 ac28cf19c067: Verifying Checksum 23:40:05 ac28cf19c067: Download complete 23:40:05 ca983d60f3e2: Verifying Checksum 23:40:05 ca983d60f3e2: Download complete 23:40:05 9f894cec8388: Download complete 23:40:05 1fe172e4850f: Verifying Checksum 23:40:05 1fe172e4850f: Download complete 23:40:05 1827001aaf11: Verifying Checksum 23:40:05 1827001aaf11: Download complete 23:40:06 1fe172e4850f: Pull complete 23:40:07 caf521ccaac6: Pull complete 23:40:07 3ead6fa29328: Pull complete 23:40:07 5c2a1cbceb83: Pull complete 23:40:07 a8d5f1318db7: Pull complete 23:40:07 c427282e49a2: Pull complete 23:40:09 1827001aaf11: Pull complete 23:40:09 0714d37db230: Pull complete 23:40:10 ac28cf19c067: Pull complete 23:40:10 ca983d60f3e2: Pull complete 23:40:10 9f894cec8388: Pull complete 23:40:10 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:40:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:40:10 prd-ubuntu20.04-docker-8c-8g-64536 does not seem to be running inside a container 23:40:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-145 -v /w/workspace/xfoundry_go-mod-messaging_PR-145:/w/workspace/xfoundry_go-mod-messaging_PR-145:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-145@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 23:40:11 $ docker top 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 -eo pid,comm 23:40:12 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). 23:40:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:40:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:12 [ssh-agent] Looking for ssh-agent implementation... 23:40:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:12 $ docker exec 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 ssh-agent 23:40:12 SSH_AUTH_SOCK=/tmp/ssh-zmnBQ2PmvE4X/agent.33 23:40:12 SSH_AGENT_PID=39 23:40:12 Running ssh-add (command line suppressed) 23:40:12 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/private_key_3799615704095532729.key (/w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/private_key_3799615704095532729.key) 23:40:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:12 + git tag --points-at HEAD [Pipeline] } 23:40:12 $ docker exec --env ******** --env ******** 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 ssh-agent -k 23:40:13 unset SSH_AUTH_SOCK; 23:40:13 unset SSH_AGENT_PID; 23:40:13 echo Agent pid 39 killed; 23:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:40:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:40:13 [ssh-agent] Looking for ssh-agent implementation... 23:40:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:40:13 $ docker exec 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 ssh-agent 23:40:13 SSH_AUTH_SOCK=/tmp/ssh-bo39c9XAqFOj/agent.73 23:40:13 SSH_AGENT_PID=79 23:40:13 Running ssh-add (command line suppressed) 23:40:13 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/private_key_1989081050010905360.key (/w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/private_key_1989081050010905360.key) 23:40:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:40:13 + git semver init 23:40:14 2022-05-24 23:40:14,144 [run_init] DEBUG init version:0.0.0 force:False 23:40:14 2022-05-24 23:40:14,145 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver 23:40:14 2022-05-24 23:40:14,145 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-145/.semver 23:40:14 2022-05-24 23:40:14,145 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-145, universal_newlines=False, shell=None, istream=None) 23:40:14 2022-05-24 23:40:14,736 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-145/.git/info/exclude 23:40:14 2022-05-24 23:40:14,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver/PR-145 with force:False 23:40:14 2022-05-24 23:40:14,737 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver/PR-145 23:40:14 2022-05-24 23:40:14,742 [execute] INFO git cat-file --batch-check 23:40:14 2022-05-24 23:40:14,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver, universal_newlines=False, shell=None, istream=) 23:40:14 2022-05-24 23:40:14,748 [execute] INFO git cat-file --batch 23:40:14 2022-05-24 23:40:14,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-145/.semver, universal_newlines=False, shell=None, istream=) 23:40:14 2022-05-24 23:40:14,754 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-145/.semver/PR-145 23:40:14 0.0.0 [Pipeline] } 23:40:15 $ docker exec --env ******** --env ******** 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 ssh-agent -k 23:40:15 unset SSH_AUTH_SOCK; 23:40:15 unset SSH_AGENT_PID; 23:40:15 echo Agent pid 79 killed; 23:40:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:40:15 + git semver [Pipeline] } 23:40:15 $ docker stop --time=1 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 23:40:17 $ docker rm -f 80e4b0eba944a65cbbdbc4563a58d4755a5a6ce21ad3a2fcda76309d1cb32e13 [Pipeline] // withDockerContainer [Pipeline] sh 23:40:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:40:18 Stashed 1 file(s) [Pipeline] echo 23:40:18 [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 23:40:18 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:18 ========================================================= 23:40:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:40:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:40:19 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:40:19 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:40:19 59bf1c3509f3: Pulling fs layer 23:40:19 666ba61612fd: Pulling fs layer 23:40:19 8ed8ca486205: Pulling fs layer 23:40:19 4fe6c5a15a65: Pulling fs layer 23:40:19 22a0e8bec74d: Pulling fs layer 23:40:19 5f8736975d2d: Pulling fs layer 23:40:19 fe9c1520953f: Pulling fs layer 23:40:19 ad63dd2c9e3e: Pulling fs layer 23:40:19 15d927b9e438: Pulling fs layer 23:40:19 22a0e8bec74d: Waiting 23:40:19 5f8736975d2d: Waiting 23:40:19 fe9c1520953f: Waiting 23:40:19 ad63dd2c9e3e: Waiting 23:40:19 15d927b9e438: Waiting 23:40:19 4fe6c5a15a65: Waiting 23:40:19 8ed8ca486205: Verifying Checksum 23:40:19 8ed8ca486205: Download complete 23:40:19 666ba61612fd: Download complete 23:40:19 22a0e8bec74d: Download complete 23:40:19 5f8736975d2d: Verifying Checksum 23:40:19 5f8736975d2d: Download complete 23:40:19 fe9c1520953f: Verifying Checksum 23:40:19 fe9c1520953f: Download complete 23:40:19 59bf1c3509f3: Verifying Checksum 23:40:19 59bf1c3509f3: Download complete 23:40:19 ad63dd2c9e3e: Verifying Checksum 23:40:19 ad63dd2c9e3e: Download complete 23:40:19 59bf1c3509f3: Pull complete 23:40:19 666ba61612fd: Pull complete 23:40:19 8ed8ca486205: Pull complete 23:40:19 15d927b9e438: Verifying Checksum 23:40:19 15d927b9e438: Download complete 23:40:19 4fe6c5a15a65: Verifying Checksum 23:40:19 4fe6c5a15a65: Download complete 23:40:24 4fe6c5a15a65: Pull complete 23:40:24 22a0e8bec74d: Pull complete 23:40:24 5f8736975d2d: Pull complete 23:40:24 fe9c1520953f: Pull complete 23:40:24 ad63dd2c9e3e: Pull complete 23:40:26 15d927b9e438: Pull complete 23:40:26 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 23:40:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:40:26 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [Pipeline] sh 23:40:27 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 23:40:27 + docker inspect -f . ci-base-image-x86_64 23:40:27 . [Pipeline] withDockerContainer 23:40:27 prd-ubuntu20.04-docker-8c-8g-64536 does not seem to be running inside a container 23:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-145 -v /w/workspace/xfoundry_go-mod-messaging_PR-145:/w/workspace/xfoundry_go-mod-messaging_PR-145:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-145@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 ******** ci-base-image-x86_64 cat 23:40:29 $ docker top 2cabb06dbeb1c1832619665c4a1aff5097bf851792198dac04c18bc4f0b8c8f7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:29 + go version 23:40:29 go version go1.17.6 linux/amd64 [Pipeline] } 23:40:29 $ docker stop --time=1 2cabb06dbeb1c1832619665c4a1aff5097bf851792198dac04c18bc4f0b8c8f7 23:40:31 $ docker rm -f 2cabb06dbeb1c1832619665c4a1aff5097bf851792198dac04c18bc4f0b8c8f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:40:31 + docker inspect -f . ci-base-image-x86_64 23:40:31 . [Pipeline] withDockerContainer 23:40:31 prd-ubuntu20.04-docker-8c-8g-64536 does not seem to be running inside a container 23:40:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-145 -v /w/workspace/xfoundry_go-mod-messaging_PR-145:/w/workspace/xfoundry_go-mod-messaging_PR-145:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-145@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 ******** ci-base-image-x86_64 cat 23:40:32 $ docker top 1955111136a4d5ddf3b8b5ebf0ee565f7159f1ece620b00e09cb57be62c03be8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:40:32 + make test 23:40:32 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 23:40:33 Still waiting to schedule task 23:40:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:40:42 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 23:40:47 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.052s coverage: 90.3% of statements 23:40:47 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.044s coverage: 67.3% of statements 23:40:47 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 23:41:09 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.382s coverage: 83.8% of statements 23:41:09 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.036s coverage: 85.7% of statements 23:41:09 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.027s coverage: 100.0% of statements 23:41:09 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.033s coverage: 100.0% of statements 23:41:09 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.053s coverage: 90.9% of statements 23:41:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:41:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 23:41:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:41:13 + go mod tidy 23:41:14 go: downloading github.com/stretchr/testify v1.7.0 23:41:14 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:41:14 go: downloading github.com/pebbe/zmq4 v1.2.7 23:41:14 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:41:14 go: downloading github.com/davecgh/go-spew v1.1.0 23:41:14 go: downloading github.com/pmezard/go-difflib v1.0.0 23:41:14 go: downloading github.com/stretchr/objx v0.1.0 23:41:14 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:41:14 go: downloading github.com/onsi/ginkgo v1.10.1 23:41:14 go: downloading github.com/onsi/gomega v1.7.0 23:41:14 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:41:14 go: downloading github.com/gorilla/websocket v1.4.2 23:41:14 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:41:14 go: downloading gopkg.in/yaml.v2 v2.2.4 23:41:14 go: downloading github.com/hpcloud/tail v1.0.0 23:41:14 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:41:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:41:14 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:41:14 go: downloading github.com/kr/pretty v0.1.0 23:41:14 go: downloading github.com/kr/text v0.1.0 23:41:14 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 23:41:15 $ docker stop --time=1 1955111136a4d5ddf3b8b5ebf0ee565f7159f1ece620b00e09cb57be62c03be8 23:41:17 $ docker rm -f 1955111136a4d5ddf3b8b5ebf0ee565f7159f1ece620b00e09cb57be62c03be8 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:18 23:41:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:41:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:19 latest: Pulling from edgex-lftools-log-publisher 23:41:19 5eb5b503b376: Pulling fs layer 23:41:19 5c69ac0246d0: Pulling fs layer 23:41:19 ec43610c2a17: Pulling fs layer 23:41:19 3a2ae6a8a46f: Pulling fs layer 23:41:19 33b1e0a273af: Pulling fs layer 23:41:19 5d3b04190fa2: Pulling fs layer 23:41:19 2f39f015ded8: Pulling fs layer 23:41:19 33b1e0a273af: Waiting 23:41:19 3a2ae6a8a46f: Waiting 23:41:19 5d3b04190fa2: Waiting 23:41:19 2f39f015ded8: Waiting 23:41:19 5c69ac0246d0: Verifying Checksum 23:41:19 5c69ac0246d0: Download complete 23:41:19 3a2ae6a8a46f: Verifying Checksum 23:41:19 3a2ae6a8a46f: Download complete 23:41:19 33b1e0a273af: Verifying Checksum 23:41:19 33b1e0a273af: Download complete 23:41:19 5d3b04190fa2: Verifying Checksum 23:41:19 5d3b04190fa2: Download complete 23:41:19 ec43610c2a17: Verifying Checksum 23:41:19 ec43610c2a17: Download complete 23:41:19 5eb5b503b376: Verifying Checksum 23:41:19 5eb5b503b376: Download complete 23:41:20 2f39f015ded8: Download complete 23:41:20 5eb5b503b376: Pull complete 23:41:20 5c69ac0246d0: Pull complete 23:41:21 ec43610c2a17: Pull complete 23:41:21 3a2ae6a8a46f: Pull complete 23:41:21 33b1e0a273af: Pull complete 23:41:21 5d3b04190fa2: Pull complete 23:41:26 2f39f015ded8: Pull complete 23:41:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:41:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:41:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:41:27 prd-ubuntu20.04-docker-8c-8g-64536 does not seem to be running inside a container 23:41:27 $ 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-145 -v /w/workspace/xfoundry_go-mod-messaging_PR-145:/w/workspace/xfoundry_go-mod-messaging_PR-145:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:41:28 $ docker top e5d405fd48272b2a5ec42eb0735c14c70d051a4310075515bf974820f12b0ee5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:29 ---> job-cost.sh 23:41:29 lf-activate-venv: SKIPPING 23:41:29 INFO: No Stack... 23:41:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:41:29 INFO: Archiving Costs [Pipeline] sh 23:41:30 + cat /w/workspace/xfoundry_go-mod-messaging_PR-145/archives/cost.csv 23:41:30 + cut -d, -f6 [Pipeline] lock 23:41:30 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] 23:41:30 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] did not exist. Created. 23:41:30 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:41:30 + echo total: 0.2199999988079071 [Pipeline] stash 23:41:30 Stashed 1 file(s) [Pipeline] } 23:41:30 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:41:30 $ docker stop --time=1 e5d405fd48272b2a5ec42eb0735c14c70d051a4310075515bf974820f12b0ee5 23:41:32 $ docker rm -f e5d405fd48272b2a5ec42eb0735c14c70d051a4310075515bf974820f12b0ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:42:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64537 in /w/workspace/xfoundry_go-mod-messaging_PR-145 [Pipeline] { [Pipeline] ws 23:42:08 Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout 23:42:09 Selected Git installation does not exist. Using Default 23:42:09 The recommended git tool is: NONE 23:42:15 using credential edgex-jenkins-ssh 23:42:15 Cloning the remote Git repository 23:42:15 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 23:42:15 > git init /w/workspace/go-mod-messaging/1 # timeout=10 23:42:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 23:42:16 > git --version # timeout=10 23:42:16 > git --version # 'git version 2.25.1' 23:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 23:42:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:42:17 Merging remotes/origin/jakarta commit ce337969b6936367b4749e936ab24c9948a8b4f7 into PR head commit 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 23:42:17 Merge succeeded, producing 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 23:42:17 Checking out Revision 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 (PR-145) 23:42:16 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 23:42:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 23:42:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 23:42:17 > git config core.sparsecheckout # timeout=10 23:42:17 > git checkout -f 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 # timeout=10 23:42:17 > git remote # timeout=10 23:42:17 > git config --get remote.origin.url # timeout=10 23:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:42:17 > git merge ce337969b6936367b4749e936ab24c9948a8b4f7 # timeout=10 23:42:17 > git rev-parse HEAD^{commit} # timeout=10 23:42:17 > git config core.sparsecheckout # timeout=10 23:42:17 > git checkout -f 1b16008dbcb4c2df5776140457a6c3d0aa0a3487 # timeout=10 23:42:21 Commit message: "fix: pass a copy of topic to redis subscriber" 23:42:21 > git --version # timeout=10 23:42:22 > git --version # 'git version 2.25.1' 23:42:22 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:42:23 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:23 Dload Upload Total Spent Left Speed 23:42:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 52814 0 --:--:-- --:--:-- --:--:-- 52814 [Pipeline] sh 23:42:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:42:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:42:24 + sudo tee /etc/docker/daemon.new 23:42:24 { 23:42:24 "registry-mirrors": [ 23:42:24 "https://nexus3.edgexfoundry.org:10001" 23:42:24 ], 23:42:24 "bip": "10.250.0.254/24", 23:42:24 "hosts": [ 23:42:24 "tcp://0.0.0.0:5555", 23:42:24 "unix:///var/run/docker.sock" 23:42:24 ], 23:42:24 "mtu": 1458, 23:42:24 "selinux-enabled": true, 23:42:24 "seccomp-profile": "/etc/docker/seccomp.json" 23:42:24 } [Pipeline] sh 23:42:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:42:24 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 23:42:43 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:43 ========================================================= 23:42:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:42:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 23:42:44 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:42:44 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:42:44 9b3977197b4f: Pulling fs layer 23:42:44 1a89e8eeedd5: Pulling fs layer 23:42:44 94645a83ff95: Pulling fs layer 23:42:44 3f3a8bcf1eab: Pulling fs layer 23:42:44 0c92f367c5e7: Pulling fs layer 23:42:44 045706c8da98: Pulling fs layer 23:42:44 d7189365e05b: Pulling fs layer 23:42:44 a32415fbff51: Pulling fs layer 23:42:44 3f3a8bcf1eab: Waiting 23:42:44 0c92f367c5e7: Waiting 23:42:44 045706c8da98: Waiting 23:42:44 d7189365e05b: Waiting 23:42:44 a32415fbff51: Waiting 23:42:44 94645a83ff95: Download complete 23:42:44 1a89e8eeedd5: Verifying Checksum 23:42:44 1a89e8eeedd5: Download complete 23:42:44 0c92f367c5e7: Verifying Checksum 23:42:44 0c92f367c5e7: Download complete 23:42:44 045706c8da98: Verifying Checksum 23:42:44 045706c8da98: Download complete 23:42:44 9b3977197b4f: Download complete 23:42:44 d7189365e05b: Verifying Checksum 23:42:44 d7189365e05b: Download complete 23:42:45 9b3977197b4f: Pull complete 23:42:46 1a89e8eeedd5: Pull complete 23:42:46 94645a83ff95: Pull complete 23:42:46 a32415fbff51: Verifying Checksum 23:42:46 a32415fbff51: Download complete 23:42:47 3f3a8bcf1eab: Download complete 23:42:59 3f3a8bcf1eab: Pull complete 23:42:59 0c92f367c5e7: Pull complete 23:42:59 045706c8da98: Pull complete 23:43:00 d7189365e05b: Pull complete 23:43:06 a32415fbff51: Pull complete 23:43:06 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 23:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:43:06 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [Pipeline] sh 23:43:07 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh 23:43:07 + docker inspect -f . ci-base-image-arm64 23:43:07 . [Pipeline] withDockerContainer 23:43:07 prd-ubuntu20.04-docker-arm64-4c-16g-64537 does not seem to be running inside a container 23:43: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 ******** ci-base-image-arm64 cat 23:43:10 $ docker top 62f19fa3cb95107a9420cceb685758f993e14071a58e2788b48445aeab30348d -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:11 + go version 23:43:11 go version go1.17.6 linux/arm64 [Pipeline] } 23:43:11 $ docker stop --time=1 62f19fa3cb95107a9420cceb685758f993e14071a58e2788b48445aeab30348d 23:43:13 $ docker rm -f 62f19fa3cb95107a9420cceb685758f993e14071a58e2788b48445aeab30348d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:43:14 + docker inspect -f . ci-base-image-arm64 23:43:14 . [Pipeline] withDockerContainer 23:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-64537 does not seem to be running inside a container 23:43:14 $ 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 ******** ci-base-image-arm64 cat 23:43:15 $ docker top ffb08c5bac3b7904e46bfc93ad0bd3b0e0dae84389837b29b6671e996f0381d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:43:16 + make test 23:43:16 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 23:44:13 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 23:44:28 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.176s coverage: 90.3% of statements 23:44:32 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.103s coverage: 67.3% of statements 23:44:32 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 23:44:50 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.482s coverage: 83.8% of statements 23:44:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.065s coverage: 85.7% of statements 23:44:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.064s coverage: 100.0% of statements 23:44:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.063s coverage: 100.0% of statements 23:44:50 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.060s coverage: 90.9% of statements 23:44:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:45:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 23:45:23 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:45:23 + go mod tidy 23:45:23 go: downloading github.com/stretchr/testify v1.7.0 23:45:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:45:24 go: downloading github.com/pebbe/zmq4 v1.2.7 23:45:24 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:45:24 go: downloading github.com/davecgh/go-spew v1.1.0 23:45:24 go: downloading github.com/pmezard/go-difflib v1.0.0 23:45:24 go: downloading github.com/stretchr/objx v0.1.0 23:45:24 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 23:45:24 go: downloading github.com/onsi/ginkgo v1.10.1 23:45:24 go: downloading github.com/onsi/gomega v1.7.0 23:45:24 go: downloading github.com/gorilla/websocket v1.4.2 23:45:24 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 23:45:24 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 23:45:24 go: downloading github.com/kr/pretty v0.1.0 23:45:24 go: downloading gopkg.in/yaml.v2 v2.2.4 23:45:24 go: downloading github.com/kr/text v0.1.0 23:45:24 go: downloading github.com/hpcloud/tail v1.0.0 23:45:24 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 23:45:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:45:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:45:25 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 23:45:27 $ docker stop --time=1 ffb08c5bac3b7904e46bfc93ad0bd3b0e0dae84389837b29b6671e996f0381d6 23:45:30 $ docker rm -f ffb08c5bac3b7904e46bfc93ad0bd3b0e0dae84389837b29b6671e996f0381d6 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:31 Warning: overwriting stash ‘coverage-report’ 23:45:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:45:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:32 23:45:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:45:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:33 arm64: Pulling from edgex-lftools-log-publisher 23:45:33 8998bd30e6a1: Pulling fs layer 23:45:33 04944245beec: Pulling fs layer 23:45:33 699f458cf7ca: Pulling fs layer 23:45:33 765212b225bb: Pulling fs layer 23:45:33 f23df028b6ca: Pulling fs layer 23:45:33 d65c8cfc05b1: Pulling fs layer 23:45:33 2437ff75d9bd: Pulling fs layer 23:45:33 f23df028b6ca: Waiting 23:45:33 d65c8cfc05b1: Waiting 23:45:33 2437ff75d9bd: Waiting 23:45:33 765212b225bb: Waiting 23:45:33 04944245beec: Verifying Checksum 23:45:33 04944245beec: Download complete 23:45:33 765212b225bb: Verifying Checksum 23:45:33 765212b225bb: Download complete 23:45:33 f23df028b6ca: Verifying Checksum 23:45:33 f23df028b6ca: Download complete 23:45:33 d65c8cfc05b1: Verifying Checksum 23:45:33 d65c8cfc05b1: Download complete 23:45:33 699f458cf7ca: Verifying Checksum 23:45:33 699f458cf7ca: Download complete 23:45:33 8998bd30e6a1: Verifying Checksum 23:45:33 8998bd30e6a1: Download complete 23:45:36 2437ff75d9bd: Verifying Checksum 23:45:36 2437ff75d9bd: Download complete 23:45:38 8998bd30e6a1: Pull complete 23:45:38 04944245beec: Pull complete 23:45:40 699f458cf7ca: Pull complete 23:45:40 765212b225bb: Pull complete 23:45:41 f23df028b6ca: Pull complete 23:45:41 d65c8cfc05b1: Pull complete 23:45:56 2437ff75d9bd: Pull complete 23:45:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:45:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:45:56 prd-ubuntu20.04-docker-arm64-4c-16g-64537 does not seem to be running inside a container 23:45:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:45:59 $ docker top cf33cbfc749475827d091eecbce0e1dd1c37db081a22c88deac4488d26caf352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:00 ---> job-cost.sh 23:46:00 lf-activate-venv: SKIPPING 23:46:00 INFO: No Stack... 23:46:00 INFO: Retrieving Pricing Info for: v3-standard-4 23:46:01 INFO: Archiving Costs [Pipeline] sh 23:46:02 + cat /w/workspace/go-mod-messaging/1/archives/cost.csv 23:46:02 + cut -d, -f6 [Pipeline] lock 23:46:02 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] 23:46:02 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] did not exist. Created. 23:46:02 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:46:03 /w/workspace/go-mod-messaging/1@tmp/durable-51b22281/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:46:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:46:03 Warning: overwriting stash ‘stack-cost’ 23:46:04 Stashed 1 file(s) [Pipeline] } 23:46:04 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-145-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:46:04 $ docker stop --time=1 cf33cbfc749475827d091eecbce0e1dd1c37db081a22c88deac4488d26caf352 23:46:05 $ docker rm -f cf33cbfc749475827d091eecbce0e1dd1c37db081a22c88deac4488d26caf352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:46:06 provisioning config files... 23:46:06 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/config1308475321045700098tmp [Pipeline] { [Pipeline] sh 23:46:07 + set +x 23:46:07 + curl -s https://codecov.io/bash 23:46:07 + bash -s -- 23:46:07 23:46:07 _____ _ 23:46:07 / ____| | | 23:46:07 | | ___ __| | ___ ___ _____ __ 23:46:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:46:07 | |___| (_) | (_| | __/ (_| (_) \ V / 23:46:07 \_____\___/ \__,_|\___|\___\___/ \_/ 23:46:07 Bash-1.0.6 23:46:07 23:46:07 23:46:07 ==> git version 2.25.1 found 23:46:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:46:07 Release-Date: 2020-01-08 23:46:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:46:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:46:07 ==> Jenkins CI detected. 23:46:07 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-145 23:46:07 project root: . 23:46:07 --> token set from env 23:46:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:46:07 ==> Running gcov in . (disable via -X gcov) 23:46:07 ==> Python coveragepy not found 23:46:07 ==> Searching for coverage reports in: 23:46:07 + . 23:46:07 -> Found 1 reports 23:46:07 ==> Detecting git/mercurial file structure 23:46:07 ==> Reading reports 23:46:07 + ./coverage.out bytes=22139 23:46:07 ==> Appending adjustments 23:46:07 https://docs.codecov.io/docs/fixing-reports 23:46:07 + Found adjustments 23:46:07 ==> Gzipping contents 23:46:07 8.0K /tmp/codecov.GYETtB.gz 23:46:07 ==> Uploading reports 23:46:07 url: https://codecov.io 23:46:07 query: branch=PR-145&commit=1b16008dbcb4c2df5776140457a6c3d0aa0a3487&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=145&job=&cmd_args= 23:46:07 -> Pinging Codecov 23:46:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-145&commit=1b16008dbcb4c2df5776140457a6c3d0aa0a3487&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-145%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=145&job=&cmd_args= 23:46:07 -> Uploading to 23:46:07 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/F6E385568367DD0E4001BA4F8F1CB792/1b16008dbcb4c2df5776140457a6c3d0aa0a3487/88c31bb6-c605-459f-abfd-83f82d1ecbdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T234607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9fb1bf6ebade0420c5ab8d11ffc5ac7b3f4019df1ceaf46a311bd47746379843 23:46:07 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:07 Dload Upload Total Spent Left Speed 23:46:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6737 0 0 100 6737 0 30484 --:--:-- --:--:-- --:--:-- 30346 100 6737 0 0 100 6737 0 28306 --:--:-- --:--:-- --:--:-- 28188 23:46:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/1b16008dbcb4c2df5776140457a6c3d0aa0a3487 [Pipeline] } 23:46:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:46:09 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-145/archives ] 23:46:09 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-145/archives 23:46:09 total 16 23:46:09 drwxr-xr-x 3 root root 4096 May 24 23:41 . 23:46:09 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:41 .. 23:46:09 drwxr-xr-x 2 root root 4096 May 24 23:41 cost 23:46:09 -rw-r--r-- 1 root root 87 May 24 23:41 cost.csv 23:46:09 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-145/archives 23:46:09 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-145/archives 23:46:09 total 16 23:46:09 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:41 . 23:46:09 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:41 .. 23:46:09 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:41 cost 23:46:09 -rw-r--r-- 1 jenkins jenkins 87 May 24 23:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:46:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:46:11 ---> package-listing.sh 23:46:11 ++ tr '[:upper:]' '[:lower:]' 23:46:11 ++ facter osfamily 23:46:11 + OS_FAMILY=debian 23:46:11 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-145 23:46:11 + START_PACKAGES=/tmp/packages_start.txt 23:46:11 + END_PACKAGES=/tmp/packages_end.txt 23:46:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:46:11 + PACKAGES=/tmp/packages_start.txt 23:46:11 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-145 ']' 23:46:11 + PACKAGES=/tmp/packages_end.txt 23:46:11 + case "${OS_FAMILY}" in 23:46:11 + dpkg -l 23:46:11 + grep '^ii' 23:46:11 + '[' -f /tmp/packages_start.txt ']' 23:46:11 + '[' -f /tmp/packages_end.txt ']' 23:46:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:46:11 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-145 ']' 23:46:11 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-145/archives/ 23:46:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-145/archives/ [Pipeline] echo 23:46:11 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:46:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:46:12 . [Pipeline] withDockerContainer 23:46:12 prd-ubuntu20.04-docker-8c-8g-64536 does not seem to be running inside a container 23:46:12 $ 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-145/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-145 -v /w/workspace/xfoundry_go-mod-messaging_PR-145:/w/workspace/xfoundry_go-mod-messaging_PR-145:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-145@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-145@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-lftools-log-publisher:latest cat 23:46:12 $ docker top bf8897102cc0067c8055b5846eb1563ed4e99818e914e45a3c8fa25ee5fe56b5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:13 + touch /tmp/pre-build-complete [Pipeline] sh 23:46:13 + mkdir -p /var/log/sysstat [Pipeline] sh 23:46:13 + ls /var/log/sa-host 23:46:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:14 provisioning config files... 23:46:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-145@tmp/config9127368718874343555tmp [Pipeline] { [Pipeline] echo 23:46:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:46:14 ---> create-netrc.sh [Pipeline] } 23:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:46:14 ---> python-tools-install.sh [Pipeline] echo 23:46:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:46:15 ---> sudo-logs.sh 23:46:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:46:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:46:15 ---> job-cost.sh 23:46:15 lf-activate-venv: SKIPPING 23:46:15 DEBUG: total: 0.2199999988079071 23:46:15 INFO: Retrieving Stack Cost... 23:46:16 INFO: Retrieving Pricing Info for: v3-standard-8 23:46:16 INFO: Archiving Costs [Pipeline] echo 23:46:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:46:16 ---> logs-deploy.sh 23:46:16 lf-activate-venv: SKIPPING 23:46:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-145/1 23:46:16 INFO: archiving workspace using pattern(s): 23:46:17 Archives upload complete. 23:46:17 INFO: archiving logs to Nexus