Pull request #146 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 cfec21207910a795c4d339ff068095140fd0f920+dd83b31612dcccf925de720e85b797b537de28f9 (37d9f309b2a80ad72f97bdf9fec4cb461413a2fe) 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-ssh12915820487823769893.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-ssh17185537503568151188.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-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11202715382496165498.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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2104924516375460421.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 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-ssh1852024714728205764.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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17765099516078691413.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-168 in /w/workspace/xfoundry_go-mod-messaging_PR-146 [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-146 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/jakarta commit dd83b31612dcccf925de720e85b797b537de28f9 into PR head commit cfec21207910a795c4d339ff068095140fd0f920 Merge succeeded, producing cfec21207910a795c4d339ff068095140fd0f920 Checking out Revision cfec21207910a795c4d339ff068095140fd0f920 (PR-146) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfec21207910a795c4d339ff068095140fd0f920 # 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 dd83b31612dcccf925de720e85b797b537de28f9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cfec21207910a795c4d339ff068095140fd0f920 # timeout=10 Commit message: "fix: (jakarta) Disallow subscribing to same exact topic multiple times" 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 20:42:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:09 ========================================================= 20:42:09 EdgeX Global Pipelines Version Info 20:42:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:10 ------------------- 20:42:10 stable info: 20:42:10 ------------------- 20:42:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:10 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:42:10 Message: update stable to v1.0.230 20:42:11 ------------------- 20:42:11 experimental info: 20:42:11 ------------------- 20:42:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:11 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 20:42:11 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:42:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cfec21207910a795c4d339ff068095140fd0f920 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cfec212 [Pipeline] echo 20:42:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:42:13 + git rev-list -1 --merges cfec21207910a795c4d339ff068095140fd0f920~1..cfec21207910a795c4d339ff068095140fd0f920 [Pipeline] echo 20:42:13 -----------> git rev-list -1 --merges cfec21207910a795c4d339ff068095140fd0f920~1..cfec21207910a795c4d339ff068095140fd0f920 cfec21207910a795c4d339ff068095140fd0f920 [false] [Pipeline] sh 20:42:13 + git log --format=format:%s -1 cfec21207910a795c4d339ff068095140fd0f920 [Pipeline] echo 20:42:13 ========================================================= 20:42:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:42:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:14 + git log --format=format:%s -1 cfec21207910a795c4d339ff068095140fd0f920 [Pipeline] echo 20:42:14 [semverPrep] GIT_COMMIT: cfec21207910a795c4d339ff068095140fd0f920, Commit Message: fix: (jakarta) Disallow subscribing to same exact topic multiple times [Pipeline] echo 20:42:14 [semverPrep] This is not a build commit. [Pipeline] sh 20:42:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:42:14 + grep -v github /etc/ssh/ssh_known_hosts 20:42:14 + [ -e /tmp/ssh_known_hosts ] 20:42:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:42:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:42:14 + sudo tee -a /etc/ssh/ssh_known_hosts 20:42:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:42:15 20:42:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:42:16 latest: Pulling from edgex-devops/py-git-semver 20:42:16 1fe172e4850f: Pulling fs layer 20:42:16 caf521ccaac6: Pulling fs layer 20:42:16 3ead6fa29328: Pulling fs layer 20:42:16 5c2a1cbceb83: Pulling fs layer 20:42:16 a8d5f1318db7: Pulling fs layer 20:42:16 c427282e49a2: Pulling fs layer 20:42:16 1827001aaf11: Pulling fs layer 20:42:16 0714d37db230: Pulling fs layer 20:42:16 ac28cf19c067: Pulling fs layer 20:42:16 ca983d60f3e2: Pulling fs layer 20:42:16 9f894cec8388: Pulling fs layer 20:42:16 c427282e49a2: Waiting 20:42:16 1827001aaf11: Waiting 20:42:16 5c2a1cbceb83: Waiting 20:42:16 ca983d60f3e2: Waiting 20:42:16 a8d5f1318db7: Waiting 20:42:16 9f894cec8388: Waiting 20:42:16 caf521ccaac6: Verifying Checksum 20:42:16 caf521ccaac6: Download complete 20:42:16 5c2a1cbceb83: Verifying Checksum 20:42:16 5c2a1cbceb83: Download complete 20:42:16 a8d5f1318db7: Verifying Checksum 20:42:16 a8d5f1318db7: Download complete 20:42:16 c427282e49a2: Verifying Checksum 20:42:16 c427282e49a2: Download complete 20:42:16 3ead6fa29328: Verifying Checksum 20:42:16 3ead6fa29328: Download complete 20:42:16 0714d37db230: Download complete 20:42:16 ca983d60f3e2: Verifying Checksum 20:42:16 ca983d60f3e2: Download complete 20:42:16 9f894cec8388: Download complete 20:42:16 1fe172e4850f: Verifying Checksum 20:42:16 1fe172e4850f: Download complete 20:42:16 1827001aaf11: Verifying Checksum 20:42:16 1827001aaf11: Download complete 20:42:17 1fe172e4850f: Pull complete 20:42:18 caf521ccaac6: Pull complete 20:42:18 3ead6fa29328: Pull complete 20:42:18 5c2a1cbceb83: Pull complete 20:42:18 a8d5f1318db7: Pull complete 20:42:18 c427282e49a2: Pull complete 20:42:20 1827001aaf11: Pull complete 20:42:20 0714d37db230: Pull complete 20:42:21 ac28cf19c067: Pull complete 20:42:21 ca983d60f3e2: Pull complete 20:42:21 9f894cec8388: Pull complete 20:42:21 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 20:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 20:42:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:21 prd-ubuntu20.04-docker-8c-8g-168 does not seem to be running inside a container 20:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-146 -v /w/workspace/xfoundry_go-mod-messaging_PR-146:/w/workspace/xfoundry_go-mod-messaging_PR-146:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-146@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 20:42:24 $ docker top 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 -eo pid,comm 20:42:24 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). 20:42:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:24 [ssh-agent] Looking for ssh-agent implementation... 20:42:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:24 $ docker exec 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 ssh-agent 20:42:24 SSH_AUTH_SOCK=/tmp/ssh-AT6o2j0W5cCO/agent.22 20:42:24 SSH_AGENT_PID=29 20:42:24 Running ssh-add (command line suppressed) 20:42:24 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_3206694421990402470.key (/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_3206694421990402470.key) 20:42:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:25 + git tag --points-at HEAD [Pipeline] } 20:42:25 $ docker exec --env ******** --env ******** 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 ssh-agent -k 20:42:25 unset SSH_AUTH_SOCK; 20:42:25 unset SSH_AGENT_PID; 20:42:25 echo Agent pid 29 killed; 20:42:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:42:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:25 [ssh-agent] Looking for ssh-agent implementation... 20:42:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:25 $ docker exec 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 ssh-agent 20:42:25 SSH_AUTH_SOCK=/tmp/ssh-gexqFIhP6gix/agent.73 20:42:25 SSH_AGENT_PID=79 20:42:25 Running ssh-add (command line suppressed) 20:42:25 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_1909173433436402580.key (/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_1909173433436402580.key) 20:42:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:26 + git semver init 20:42:26 2022-05-26 20:42:26,249 [run_init] DEBUG init version:0.0.0 force:False 20:42:26 2022-05-26 20:42:26,250 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver 20:42:26 2022-05-26 20:42:26,250 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-146/.semver 20:42:26 2022-05-26 20:42:26,251 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-146, universal_newlines=False, shell=None, istream=None) 20:42:27 2022-05-26 20:42:26,856 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-146/.git/info/exclude 20:42:27 2022-05-26 20:42:26,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 with force:False 20:42:27 2022-05-26 20:42:26,858 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 20:42:27 2022-05-26 20:42:26,862 [execute] INFO git cat-file --batch-check 20:42:27 2022-05-26 20:42:26,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver, universal_newlines=False, shell=None, istream=) 20:42:27 2022-05-26 20:42:26,870 [execute] INFO git cat-file --batch 20:42:27 2022-05-26 20:42:26,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver, universal_newlines=False, shell=None, istream=) 20:42:27 2022-05-26 20:42:26,875 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 20:42:27 0.0.0 [Pipeline] } 20:42:27 $ docker exec --env ******** --env ******** 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 ssh-agent -k 20:42:27 unset SSH_AUTH_SOCK; 20:42:27 unset SSH_AGENT_PID; 20:42:27 echo Agent pid 79 killed; 20:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:27 + git semver [Pipeline] } 20:42:28 $ docker stop --time=1 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 20:42:29 $ docker rm -f 9fc6750e65adce66d00abda000b5838f8dcaa544eb92f9a0cfc4b786228a9700 [Pipeline] // withDockerContainer [Pipeline] sh 20:42:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:42:30 Stashed 1 file(s) [Pipeline] echo 20:42:30 [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 20:42:30 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:30 ========================================================= 20:42:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 20:42:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:42:31 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 20:42:31 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 20:42:31 59bf1c3509f3: Pulling fs layer 20:42:31 666ba61612fd: Pulling fs layer 20:42:31 8ed8ca486205: Pulling fs layer 20:42:31 4fe6c5a15a65: Pulling fs layer 20:42:31 22a0e8bec74d: Pulling fs layer 20:42:31 5f8736975d2d: Pulling fs layer 20:42:31 fe9c1520953f: Pulling fs layer 20:42:31 ad63dd2c9e3e: Pulling fs layer 20:42:31 15d927b9e438: Pulling fs layer 20:42:31 5f8736975d2d: Waiting 20:42:31 fe9c1520953f: Waiting 20:42:31 ad63dd2c9e3e: Waiting 20:42:31 22a0e8bec74d: Waiting 20:42:31 4fe6c5a15a65: Waiting 20:42:31 8ed8ca486205: Verifying Checksum 20:42:31 8ed8ca486205: Download complete 20:42:31 666ba61612fd: Verifying Checksum 20:42:31 666ba61612fd: Download complete 20:42:31 22a0e8bec74d: Verifying Checksum 20:42:31 22a0e8bec74d: Download complete 20:42:31 5f8736975d2d: Download complete 20:42:31 fe9c1520953f: Download complete 20:42:31 59bf1c3509f3: Verifying Checksum 20:42:31 59bf1c3509f3: Download complete 20:42:31 ad63dd2c9e3e: Verifying Checksum 20:42:31 59bf1c3509f3: Pull complete 20:42:31 666ba61612fd: Pull complete 20:42:31 8ed8ca486205: Pull complete 20:42:31 15d927b9e438: Verifying Checksum 20:42:31 15d927b9e438: Download complete 20:42:31 4fe6c5a15a65: Verifying Checksum 20:42:31 4fe6c5a15a65: Download complete 20:42:36 4fe6c5a15a65: Pull complete 20:42:36 22a0e8bec74d: Pull complete 20:42:36 5f8736975d2d: Pull complete 20:42:36 fe9c1520953f: Pull complete 20:42:36 ad63dd2c9e3e: Pull complete 20:42:38 15d927b9e438: Pull complete 20:42:38 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 20:42:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 20:42:38 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [Pipeline] sh 20:42:38 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:38 + docker inspect -f . ci-base-image-x86_64 20:42:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:38 prd-ubuntu20.04-docker-8c-8g-168 does not seem to be running inside a container 20:42:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-146 -v /w/workspace/xfoundry_go-mod-messaging_PR-146:/w/workspace/xfoundry_go-mod-messaging_PR-146:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-146@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-x86_64 cat 20:42:41 $ docker top 19439959b7ed08bd7627176a520b08ebb4f7f2d60f2b609ddeb4f387a7b8264a -eo pid,comm [Pipeline] { [Pipeline] sh 20:42:41 + go version 20:42:41 go version go1.17.6 linux/amd64 [Pipeline] } 20:42:41 $ docker stop --time=1 19439959b7ed08bd7627176a520b08ebb4f7f2d60f2b609ddeb4f387a7b8264a 20:42:43 $ docker rm -f 19439959b7ed08bd7627176a520b08ebb4f7f2d60f2b609ddeb4f387a7b8264a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:43 + docker inspect -f . ci-base-image-x86_64 20:42:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:43 prd-ubuntu20.04-docker-8c-8g-168 does not seem to be running inside a container 20:42:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-146 -v /w/workspace/xfoundry_go-mod-messaging_PR-146:/w/workspace/xfoundry_go-mod-messaging_PR-146:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-146@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-x86_64 cat 20:42:44 $ docker top d6189981acc40f5576f7b36ee27800b1e5303b6f1a54988fc2fe818ce9c3f984 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:42:44 + make test 20:42:44 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 20:42:45 Still waiting to schedule task 20:42:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:42:54 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 20:42:58 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.070s coverage: 90.3% of statements 20:42:58 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.043s coverage: 68.7% of statements 20:42:58 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 20:43:20 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.380s coverage: 83.8% of statements 20:43:20 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.034s coverage: 85.7% of statements 20:43:20 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.032s coverage: 100.0% of statements 20:43:20 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.049s coverage: 100.0% of statements 20:43:20 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.048s coverage: 90.9% of statements 20:43:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:43:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 20:43:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 20:43:25 + go mod tidy 20:43:25 go: downloading github.com/stretchr/testify v1.7.0 20:43:25 go: downloading github.com/pebbe/zmq4 v1.2.7 20:43:25 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:43:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:43:25 go: downloading github.com/davecgh/go-spew v1.1.0 20:43:25 go: downloading github.com/pmezard/go-difflib v1.0.0 20:43:25 go: downloading github.com/stretchr/objx v0.1.0 20:43:25 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:43:25 go: downloading github.com/gorilla/websocket v1.4.2 20:43:25 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:43:25 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:43:25 go: downloading github.com/kr/pretty v0.1.0 20:43:25 go: downloading github.com/kr/text v0.1.0 20:43:25 go: downloading github.com/onsi/ginkgo v1.10.1 20:43:25 go: downloading github.com/onsi/gomega v1.7.0 20:43:25 go: downloading gopkg.in/yaml.v2 v2.2.4 20:43:25 go: downloading github.com/hpcloud/tail v1.0.0 20:43:25 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:43:25 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:43:25 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:43:25 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 20:43:26 $ docker stop --time=1 d6189981acc40f5576f7b36ee27800b1e5303b6f1a54988fc2fe818ce9c3f984 20:43:28 $ docker rm -f d6189981acc40f5576f7b36ee27800b1e5303b6f1a54988fc2fe818ce9c3f984 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:28 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] withEnv [Pipeline] { [Pipeline] sh 20:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:29 20:43:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:30 latest: Pulling from edgex-lftools-log-publisher 20:43:30 5eb5b503b376: Pulling fs layer 20:43:30 5c69ac0246d0: Pulling fs layer 20:43:30 ec43610c2a17: Pulling fs layer 20:43:30 3a2ae6a8a46f: Pulling fs layer 20:43:30 33b1e0a273af: Pulling fs layer 20:43:30 5d3b04190fa2: Pulling fs layer 20:43:30 2f39f015ded8: Pulling fs layer 20:43:30 33b1e0a273af: Waiting 20:43:30 5d3b04190fa2: Waiting 20:43:30 2f39f015ded8: Waiting 20:43:30 3a2ae6a8a46f: Waiting 20:43:30 5c69ac0246d0: Verifying Checksum 20:43:30 5c69ac0246d0: Download complete 20:43:30 3a2ae6a8a46f: Verifying Checksum 20:43:30 3a2ae6a8a46f: Download complete 20:43:30 33b1e0a273af: Verifying Checksum 20:43:30 33b1e0a273af: Download complete 20:43:30 5d3b04190fa2: Verifying Checksum 20:43:30 5d3b04190fa2: Download complete 20:43:30 ec43610c2a17: Verifying Checksum 20:43:30 ec43610c2a17: Download complete 20:43:30 5eb5b503b376: Verifying Checksum 20:43:30 5eb5b503b376: Download complete 20:43:30 2f39f015ded8: Download complete 20:43:31 5eb5b503b376: Pull complete 20:43:31 5c69ac0246d0: Pull complete 20:43:32 ec43610c2a17: Pull complete 20:43:32 3a2ae6a8a46f: Pull complete 20:43:32 33b1e0a273af: Pull complete 20:43:32 5d3b04190fa2: Pull complete 20:43:36 2f39f015ded8: Pull complete 20:43:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:43:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:37 prd-ubuntu20.04-docker-8c-8g-168 does not seem to be running inside a container 20:43:37 $ 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-146 -v /w/workspace/xfoundry_go-mod-messaging_PR-146:/w/workspace/xfoundry_go-mod-messaging_PR-146:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-146@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 20:43:39 $ docker top 0013fd5bbac4c61dacae7689ea4eee03c2a159499d9f95d3b35f25a1eb04400e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:39 ---> job-cost.sh 20:43:39 lf-activate-venv: SKIPPING 20:43:39 INFO: No Stack... 20:43:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:40 INFO: Archiving Costs [Pipeline] sh 20:43:40 + cat /w/workspace/xfoundry_go-mod-messaging_PR-146/archives/cost.csv 20:43:40 + cut -d, -f6 [Pipeline] lock 20:43:40 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] 20:43:40 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] did not exist. Created. 20:43:40 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:41 + echo total: 0.2199999988079071 [Pipeline] stash 20:43:41 Stashed 1 file(s) [Pipeline] } 20:43:41 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:41 $ docker stop --time=1 0013fd5bbac4c61dacae7689ea4eee03c2a159499d9f95d3b35f25a1eb04400e 20:43:42 $ docker rm -f 0013fd5bbac4c61dacae7689ea4eee03c2a159499d9f95d3b35f25a1eb04400e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:44:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-169 in /w/workspace/xfoundry_go-mod-messaging_PR-146 [Pipeline] { [Pipeline] ws 20:44:14 Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout 20:44:14 Selected Git installation does not exist. Using Default 20:44:14 The recommended git tool is: NONE 20:44:22 using credential edgex-jenkins-ssh 20:44:22 Cloning the remote Git repository 20:44:22 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 20:44:22 > git init /w/workspace/go-mod-messaging/1 # timeout=10 20:44:22 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 20:44:22 > git --version # timeout=10 20:44:23 > git --version # 'git version 2.25.1' 20:44:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:44:24 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 20:44:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:44:24 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 20:44:24 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 20:44:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 20:44:24 Merging remotes/origin/jakarta commit dd83b31612dcccf925de720e85b797b537de28f9 into PR head commit cfec21207910a795c4d339ff068095140fd0f920 20:44:25 Merge succeeded, producing cfec21207910a795c4d339ff068095140fd0f920 20:44:25 Checking out Revision cfec21207910a795c4d339ff068095140fd0f920 (PR-146) 20:44:24 > git config core.sparsecheckout # timeout=10 20:44:24 > git checkout -f cfec21207910a795c4d339ff068095140fd0f920 # timeout=10 20:44:25 > git remote # timeout=10 20:44:25 > git config --get remote.origin.url # timeout=10 20:44:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:25 > git merge dd83b31612dcccf925de720e85b797b537de28f9 # timeout=10 20:44:25 > git rev-parse HEAD^{commit} # timeout=10 20:44:25 > git config core.sparsecheckout # timeout=10 20:44:25 > git checkout -f cfec21207910a795c4d339ff068095140fd0f920 # timeout=10 20:44:29 Commit message: "fix: (jakarta) Disallow subscribing to same exact topic multiple times" 20:44:29 > git --version # timeout=10 20:44:29 > git --version # 'git version 2.25.1' 20:44:29 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:44:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:44:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:44:30 Dload Upload Total Spent Left Speed 20:44:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh 20:44:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:44:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:44:32 + sudo tee /etc/docker/daemon.new 20:44:32 { 20:44:32 "registry-mirrors": [ 20:44:32 "https://nexus3.edgexfoundry.org:10001" 20:44:32 ], 20:44:32 "bip": "10.250.0.254/24", 20:44:32 "hosts": [ 20:44:32 "tcp://0.0.0.0:5555", 20:44:32 "unix:///var/run/docker.sock" 20:44:32 ], 20:44:32 "mtu": 1458, 20:44:32 "selinux-enabled": true, 20:44:32 "seccomp-profile": "/etc/docker/seccomp.json" 20:44:32 } [Pipeline] sh 20:44:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:44:33 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 20:44:51 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:51 ========================================================= 20:44:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 20:44:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 20:44:52 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 20:44:52 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 20:44:52 9b3977197b4f: Pulling fs layer 20:44:52 1a89e8eeedd5: Pulling fs layer 20:44:52 94645a83ff95: Pulling fs layer 20:44:52 3f3a8bcf1eab: Pulling fs layer 20:44:52 0c92f367c5e7: Pulling fs layer 20:44:52 045706c8da98: Pulling fs layer 20:44:52 d7189365e05b: Pulling fs layer 20:44:52 a32415fbff51: Pulling fs layer 20:44:52 045706c8da98: Waiting 20:44:52 3f3a8bcf1eab: Waiting 20:44:52 d7189365e05b: Waiting 20:44:52 0c92f367c5e7: Waiting 20:44:52 a32415fbff51: Waiting 20:44:52 94645a83ff95: Verifying Checksum 20:44:52 94645a83ff95: Download complete 20:44:52 1a89e8eeedd5: Verifying Checksum 20:44:52 1a89e8eeedd5: Download complete 20:44:52 0c92f367c5e7: Download complete 20:44:52 045706c8da98: Verifying Checksum 20:44:52 045706c8da98: Download complete 20:44:52 9b3977197b4f: Verifying Checksum 20:44:52 9b3977197b4f: Download complete 20:44:52 d7189365e05b: Verifying Checksum 20:44:52 d7189365e05b: Download complete 20:44:53 9b3977197b4f: Pull complete 20:44:53 1a89e8eeedd5: Pull complete 20:44:54 94645a83ff95: Pull complete 20:44:54 a32415fbff51: Verifying Checksum 20:44:54 a32415fbff51: Download complete 20:44:55 3f3a8bcf1eab: Verifying Checksum 20:44:55 3f3a8bcf1eab: Download complete 20:45:07 3f3a8bcf1eab: Pull complete 20:45:07 0c92f367c5e7: Pull complete 20:45:07 045706c8da98: Pull complete 20:45:08 d7189365e05b: Pull complete 20:45:14 a32415fbff51: Pull complete 20:45:14 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 20:45:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 20:45:14 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [Pipeline] sh 20:45:15 + docker tag nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:15 + docker inspect -f . ci-base-image-arm64 20:45:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:15 prd-ubuntu20.04-docker-arm64-4c-16g-169 does not seem to be running inside a container 20:45:15 $ 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 20:45:18 $ docker top 70d78cab2ed3e7a46baf10bb6c6a9a8236fcfd841c41edc06ae35968d59bf290 -eo pid,comm [Pipeline] { [Pipeline] sh 20:45:19 + go version 20:45:19 go version go1.17.6 linux/arm64 [Pipeline] } 20:45:19 $ docker stop --time=1 70d78cab2ed3e7a46baf10bb6c6a9a8236fcfd841c41edc06ae35968d59bf290 20:45:21 $ docker rm -f 70d78cab2ed3e7a46baf10bb6c6a9a8236fcfd841c41edc06ae35968d59bf290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:22 + docker inspect -f . ci-base-image-arm64 20:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:22 prd-ubuntu20.04-docker-arm64-4c-16g-169 does not seem to be running inside a container 20:45:22 $ 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 20:45:23 $ docker top 6337d8f68f9b470fb8f2517aad3d887a44dc9f51143b2de8a6ed0592e11cfb2e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:45:24 + make test 20:45:24 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 20:46:11 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 20:46:33 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.244s coverage: 90.3% of statements 20:46:39 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.108s coverage: 68.7% of statements 20:46:39 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 20:46:57 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.476s coverage: 83.8% of statements 20:46:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.068s coverage: 85.7% of statements 20:46:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.076s coverage: 100.0% of statements 20:46:57 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.046s coverage: 100.0% of statements 20:46:57 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.073s coverage: 90.9% of statements 20:46:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:47:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:47:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 20:47:30 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 20:47:30 + go mod tidy 20:47:31 go: downloading github.com/stretchr/testify v1.7.0 20:47:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:47:31 go: downloading github.com/pebbe/zmq4 v1.2.7 20:47:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:47:31 go: downloading github.com/davecgh/go-spew v1.1.0 20:47:31 go: downloading github.com/pmezard/go-difflib v1.0.0 20:47:31 go: downloading github.com/stretchr/objx v0.1.0 20:47:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 20:47:31 go: downloading github.com/gorilla/websocket v1.4.2 20:47:31 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 20:47:31 go: downloading github.com/onsi/ginkgo v1.10.1 20:47:31 go: downloading github.com/onsi/gomega v1.7.0 20:47:31 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 20:47:31 go: downloading github.com/kr/pretty v0.1.0 20:47:31 go: downloading github.com/kr/text v0.1.0 20:47:31 go: downloading gopkg.in/yaml.v2 v2.2.4 20:47:31 go: downloading github.com/hpcloud/tail v1.0.0 20:47:31 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 20:47:31 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:47:31 go: downloading gopkg.in/fsnotify.v1 v1.4.7 20:47:32 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 20:47:35 $ docker stop --time=1 6337d8f68f9b470fb8f2517aad3d887a44dc9f51143b2de8a6ed0592e11cfb2e 20:47:37 $ docker rm -f 6337d8f68f9b470fb8f2517aad3d887a44dc9f51143b2de8a6ed0592e11cfb2e [Pipeline] // withDockerContainer [Pipeline] sh 20:47:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:38 Warning: overwriting stash ‘coverage-report’ 20:47:39 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] withEnv [Pipeline] { [Pipeline] sh 20:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:39 20:47:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:40 arm64: Pulling from edgex-lftools-log-publisher 20:47:40 8998bd30e6a1: Pulling fs layer 20:47:40 04944245beec: Pulling fs layer 20:47:40 699f458cf7ca: Pulling fs layer 20:47:40 765212b225bb: Pulling fs layer 20:47:40 f23df028b6ca: Pulling fs layer 20:47:40 d65c8cfc05b1: Pulling fs layer 20:47:40 2437ff75d9bd: Pulling fs layer 20:47:40 f23df028b6ca: Waiting 20:47:40 d65c8cfc05b1: Waiting 20:47:40 2437ff75d9bd: Waiting 20:47:40 765212b225bb: Waiting 20:47:40 04944245beec: Verifying Checksum 20:47:40 04944245beec: Download complete 20:47:40 765212b225bb: Verifying Checksum 20:47:40 765212b225bb: Download complete 20:47:40 f23df028b6ca: Verifying Checksum 20:47:40 f23df028b6ca: Download complete 20:47:40 d65c8cfc05b1: Verifying Checksum 20:47:40 d65c8cfc05b1: Download complete 20:47:40 699f458cf7ca: Verifying Checksum 20:47:40 699f458cf7ca: Download complete 20:47:41 8998bd30e6a1: Verifying Checksum 20:47:41 8998bd30e6a1: Download complete 20:47:43 2437ff75d9bd: Verifying Checksum 20:47:43 2437ff75d9bd: Download complete 20:47:45 8998bd30e6a1: Pull complete 20:47:45 04944245beec: Pull complete 20:47:47 699f458cf7ca: Pull complete 20:47:47 765212b225bb: Pull complete 20:47:48 f23df028b6ca: Pull complete 20:47:48 d65c8cfc05b1: Pull complete 20:48:03 2437ff75d9bd: Pull complete 20:48:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:48:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:48:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:04 prd-ubuntu20.04-docker-arm64-4c-16g-169 does not seem to be running inside a container 20:48:04 $ 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 20:48:06 $ docker top 20ecf48781e1d1e0b3a02dc300942070a98b39461ff98b6e16094b6edf987f9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:07 ---> job-cost.sh 20:48:07 lf-activate-venv: SKIPPING 20:48:07 INFO: No Stack... 20:48:07 INFO: Retrieving Pricing Info for: v3-standard-4 20:48:08 INFO: Archiving Costs [Pipeline] sh 20:48:09 + cat /w/workspace/go-mod-messaging/1/archives/cost.csv 20:48:09 + cut -d, -f6 [Pipeline] lock 20:48:09 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] 20:48:09 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] did not exist. Created. 20:48:09 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:48:10 /w/workspace/go-mod-messaging/1@tmp/durable-0a471278/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:48:11 + echo total: 0.10999999940395355 [Pipeline] stash 20:48:11 Warning: overwriting stash ‘stack-cost’ 20:48:11 Stashed 1 file(s) [Pipeline] } 20:48:11 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:48:11 $ docker stop --time=1 20ecf48781e1d1e0b3a02dc300942070a98b39461ff98b6e16094b6edf987f9e 20:48:12 $ docker rm -f 20ecf48781e1d1e0b3a02dc300942070a98b39461ff98b6e16094b6edf987f9e [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 20:48:14 provisioning config files... 20:48:14 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/config8979684208812944320tmp [Pipeline] { [Pipeline] sh 20:48:14 + set +x 20:48:14 + bash -s -- 20:48:14 + curl -s https://codecov.io/bash 20:48:14 20:48:14 _____ _ 20:48:14 / ____| | | 20:48:14 | | ___ __| | ___ ___ _____ __ 20:48:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:48:14 | |___| (_) | (_| | __/ (_| (_) \ V / 20:48:14 \_____\___/ \__,_|\___|\___\___/ \_/ 20:48:14 Bash-1.0.6 20:48:14 20:48:14 20:48:14 ==> git version 2.25.1 found 20:48:14 ==> 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 20:48:14 Release-Date: 2020-01-08 20:48:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:48:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:48:14 ==> Jenkins CI detected. 20:48:14 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-146 20:48:14 project root: . 20:48:14 --> token set from env 20:48:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:48:14 ==> Running gcov in . (disable via -X gcov) 20:48:14 ==> Python coveragepy not found 20:48:14 ==> Searching for coverage reports in: 20:48:14 + . 20:48:14 -> Found 1 reports 20:48:14 ==> Detecting git/mercurial file structure 20:48:14 ==> Reading reports 20:48:14 + ./coverage.out bytes=22776 20:48:14 ==> Appending adjustments 20:48:14 https://docs.codecov.io/docs/fixing-reports 20:48:14 + Found adjustments 20:48:14 ==> Gzipping contents 20:48:14 8.0K /tmp/codecov.s4G0zm.gz 20:48:14 ==> Uploading reports 20:48:14 url: https://codecov.io 20:48:14 query: branch=PR-146&commit=cfec21207910a795c4d339ff068095140fd0f920&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=146&job=&cmd_args= 20:48:14 -> Pinging Codecov 20:48:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-146&commit=cfec21207910a795c4d339ff068095140fd0f920&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-146%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=146&job=&cmd_args= 20:48:14 -> Uploading to 20:48:14 https://storage.googleapis.com/codecov/v4/raw/2022-05-26/F6E385568367DD0E4001BA4F8F1CB792/cfec21207910a795c4d339ff068095140fd0f920/420ffbb2-70e4-443d-b142-6c2b9bd6f97e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T204814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=246381445b5de9855f84f47d37f6fd7769050dc16d8073fd7e6dc78ab72d0c0b 20:48:14 % Total % Received % Xferd Average Speed Time Time Time Current 20:48:14 Dload Upload Total Spent Left Speed 20:48:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6811 0 0 100 6811 0 27244 --:--:-- --:--:-- --:--:-- 27244 20:48:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/cfec21207910a795c4d339ff068095140fd0f920 [Pipeline] } 20:48:15 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 20:48:16 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-146/archives ] 20:48:16 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 20:48:16 total 16 20:48:16 drwxr-xr-x 3 root root 4096 May 26 20:43 . 20:48:16 drwxrwxr-x 10 jenkins jenkins 4096 May 26 20:43 .. 20:48:16 drwxr-xr-x 2 root root 4096 May 26 20:43 cost 20:48:16 -rw-r--r-- 1 root root 87 May 26 20:43 cost.csv 20:48:16 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 20:48:16 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 20:48:16 total 16 20:48:16 drwxr-xr-x 3 jenkins jenkins 4096 May 26 20:43 . 20:48:16 drwxrwxr-x 10 jenkins jenkins 4096 May 26 20:43 .. 20:48:16 drwxr-xr-x 2 jenkins jenkins 4096 May 26 20:43 cost 20:48:16 -rw-r--r-- 1 jenkins jenkins 87 May 26 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:48:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:48:18 ---> package-listing.sh 20:48:18 ++ facter osfamily 20:48:18 ++ tr '[:upper:]' '[:lower:]' 20:48:18 + OS_FAMILY=debian 20:48:18 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-146 20:48:18 + START_PACKAGES=/tmp/packages_start.txt 20:48:18 + END_PACKAGES=/tmp/packages_end.txt 20:48:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:48:18 + PACKAGES=/tmp/packages_start.txt 20:48:18 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-146 ']' 20:48:18 + PACKAGES=/tmp/packages_end.txt 20:48:18 + case "${OS_FAMILY}" in 20:48:18 + dpkg -l 20:48:18 + grep '^ii' 20:48:18 + '[' -f /tmp/packages_start.txt ']' 20:48:18 + '[' -f /tmp/packages_end.txt ']' 20:48:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:48:18 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-146 ']' 20:48:18 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-146/archives/ 20:48:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-146/archives/ [Pipeline] echo 20:48:18 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:48:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:19 prd-ubuntu20.04-docker-8c-8g-168 does not seem to be running inside a container 20:48:19 $ 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-146/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-146 -v /w/workspace/xfoundry_go-mod-messaging_PR-146:/w/workspace/xfoundry_go-mod-messaging_PR-146:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-146@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 20:48:19 $ docker top bb9766808d1a5de24251aa304f081877202594fa8a6ec0dee3cdd83d78dd3bef -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:48:20 + mkdir -p /var/log/sysstat [Pipeline] sh 20:48:20 + ls /var/log/sa-host 20:48:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:20 provisioning config files... 20:48:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/config495189424881510556tmp [Pipeline] { [Pipeline] echo 20:48:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:48:21 ---> create-netrc.sh [Pipeline] } 20:48:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:48:21 ---> python-tools-install.sh [Pipeline] echo 20:48:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:48:22 ---> sudo-logs.sh 20:48:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:48:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:48:22 ---> job-cost.sh 20:48:22 lf-activate-venv: SKIPPING 20:48:22 DEBUG: total: 0.2199999988079071 20:48:22 INFO: Retrieving Stack Cost... 20:48:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:48:23 INFO: Archiving Costs [Pipeline] echo 20:48:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:48:23 ---> logs-deploy.sh 20:48:23 lf-activate-venv: SKIPPING 20:48:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-146/1 20:48:23 INFO: archiving workspace using pattern(s): 20:48:24 Archives upload complete. 20:48:24 INFO: archiving logs to Nexus