Pull request #146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from 9918c0f1afd33c3c5368271d156ac678d8be8c4d+dd83b31612dcccf925de720e85b797b537de28f9 (bbda8f5206f9f108e782affd8fc1f287d86df0f7) 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-ssh7774247128552808939.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-ssh16833294838379086252.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15368675718009557709.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 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-ssh3652262890332422410.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10151257988305056923.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-175’ Running on prd-ubuntu20.04-docker-8c-8g-177 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 Merging remotes/origin/jakarta commit dd83b31612dcccf925de720e85b797b537de28f9 into PR head commit 9918c0f1afd33c3c5368271d156ac678d8be8c4d Merge succeeded, producing 9918c0f1afd33c3c5368271d156ac678d8be8c4d Checking out Revision 9918c0f1afd33c3c5368271d156ac678d8be8c4d (PR-146) > 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/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 9918c0f1afd33c3c5368271d156ac678d8be8c4d # 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 9918c0f1afd33c3c5368271d156ac678d8be8c4d # timeout=10 Commit message: "fix: Tweak from PR feedback" > git rev-list --no-walk cfec21207910a795c4d339ff068095140fd0f920 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:26:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:26:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:26:53 ========================================================= 21:26:53 EdgeX Global Pipelines Version Info 21:26:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:26:54 ------------------- 21:26:54 stable info: 21:26:54 ------------------- 21:26:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:54 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:54 Message: update stable to v1.0.230 21:26:55 ------------------- 21:26:55 experimental info: 21:26:55 ------------------- 21:26:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:55 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:55 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9918c0f1afd33c3c5368271d156ac678d8be8c4d [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9918c0f [Pipeline] echo 21:26:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:26:56 + git rev-list -1 --merges 9918c0f1afd33c3c5368271d156ac678d8be8c4d~1..9918c0f1afd33c3c5368271d156ac678d8be8c4d [Pipeline] echo 21:26:56 -----------> git rev-list -1 --merges 9918c0f1afd33c3c5368271d156ac678d8be8c4d~1..9918c0f1afd33c3c5368271d156ac678d8be8c4d 9918c0f1afd33c3c5368271d156ac678d8be8c4d [false] [Pipeline] sh 21:26:56 + git log --format=format:%s -1 9918c0f1afd33c3c5368271d156ac678d8be8c4d [Pipeline] echo 21:26:56 ========================================================= 21:26:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:26:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:56 + git log --format=format:%s -1 9918c0f1afd33c3c5368271d156ac678d8be8c4d [Pipeline] echo 21:26:56 [semverPrep] GIT_COMMIT: 9918c0f1afd33c3c5368271d156ac678d8be8c4d, Commit Message: fix: Tweak from PR feedback [Pipeline] echo 21:26:56 [semverPrep] This is not a build commit. [Pipeline] sh 21:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:57 + grep -v github /etc/ssh/ssh_known_hosts 21:26:57 + [ -e /tmp/ssh_known_hosts ] 21:26:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:26:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:26:57 + sudo tee -a /etc/ssh/ssh_known_hosts 21:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:57 21:26:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:57 latest: Pulling from edgex-devops/py-git-semver 21:26:57 1fe172e4850f: Pulling fs layer 21:26:57 caf521ccaac6: Pulling fs layer 21:26:57 3ead6fa29328: Pulling fs layer 21:26:57 5c2a1cbceb83: Pulling fs layer 21:26:57 a8d5f1318db7: Pulling fs layer 21:26:57 c427282e49a2: Pulling fs layer 21:26:57 1827001aaf11: Pulling fs layer 21:26:57 0714d37db230: Pulling fs layer 21:26:57 ac28cf19c067: Pulling fs layer 21:26:57 ca983d60f3e2: Pulling fs layer 21:26:57 9f894cec8388: Pulling fs layer 21:26:57 1827001aaf11: Waiting 21:26:57 0714d37db230: Waiting 21:26:57 5c2a1cbceb83: Waiting 21:26:57 ca983d60f3e2: Waiting 21:26:57 9f894cec8388: Waiting 21:26:57 c427282e49a2: Waiting 21:26:58 caf521ccaac6: Verifying Checksum 21:26:58 caf521ccaac6: Download complete 21:26:58 5c2a1cbceb83: Verifying Checksum 21:26:58 5c2a1cbceb83: Download complete 21:26:58 a8d5f1318db7: Verifying Checksum 21:26:58 a8d5f1318db7: Download complete 21:26:58 c427282e49a2: Verifying Checksum 21:26:58 3ead6fa29328: Verifying Checksum 21:26:58 3ead6fa29328: Download complete 21:26:58 0714d37db230: Verifying Checksum 21:26:58 0714d37db230: Download complete 21:26:58 ac28cf19c067: Verifying Checksum 21:26:58 ac28cf19c067: Download complete 21:26:58 ca983d60f3e2: Verifying Checksum 21:26:58 ca983d60f3e2: Download complete 21:26:58 9f894cec8388: Download complete 21:26:58 1fe172e4850f: Verifying Checksum 21:26:58 1fe172e4850f: Download complete 21:26:59 1827001aaf11: Verifying Checksum 21:26:59 1827001aaf11: Download complete 21:27:00 1fe172e4850f: Pull complete 21:27:00 caf521ccaac6: Pull complete 21:27:00 3ead6fa29328: Pull complete 21:27:00 5c2a1cbceb83: Pull complete 21:27:01 a8d5f1318db7: Pull complete 21:27:01 c427282e49a2: Pull complete 21:27:03 1827001aaf11: Pull complete 21:27:03 0714d37db230: Pull complete 21:27:03 ac28cf19c067: Pull complete 21:27:03 ca983d60f3e2: Pull complete 21:27:03 9f894cec8388: Pull complete 21:27:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:27:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:03 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 21:27:03 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:27:05 $ docker top 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 -eo pid,comm 21:27:05 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). 21:27:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:27:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:06 [ssh-agent] Looking for ssh-agent implementation... 21:27:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:06 $ docker exec 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 ssh-agent 21:27:06 SSH_AUTH_SOCK=/tmp/ssh-rDAdTqbo8d6C/agent.35 21:27:06 SSH_AGENT_PID=41 21:27:06 Running ssh-add (command line suppressed) 21:27:06 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_7850238139872549720.key (/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_7850238139872549720.key) 21:27:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:06 + git tag --points-at HEAD [Pipeline] } 21:27:06 $ docker exec --env ******** --env ******** 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 ssh-agent -k 21:27:06 unset SSH_AUTH_SOCK; 21:27:06 unset SSH_AGENT_PID; 21:27:06 echo Agent pid 41 killed; 21:27:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:27:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:27:06 [ssh-agent] Looking for ssh-agent implementation... 21:27:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:27:07 $ docker exec 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 ssh-agent 21:27:07 SSH_AUTH_SOCK=/tmp/ssh-zrvbRXPEwEWa/agent.74 21:27:07 SSH_AGENT_PID=81 21:27:07 Running ssh-add (command line suppressed) 21:27:07 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_3088695291868752392.key (/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/private_key_3088695291868752392.key) 21:27:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:27:07 + git semver init 21:27:07 2022-05-26 21:27:07,861 [run_init] DEBUG init version:0.0.0 force:False 21:27:07 2022-05-26 21:27:07,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver 21:27:07 2022-05-26 21:27:07,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-146/.semver 21:27:07 2022-05-26 21:27:07,862 [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) 21:27:08 2022-05-26 21:27:08,467 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-146/.git/info/exclude 21:27:08 2022-05-26 21:27:08,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 with force:False 21:27:08 2022-05-26 21:27:08,468 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 21:27:08 2022-05-26 21:27:08,471 [execute] INFO git cat-file --batch-check 21:27:08 2022-05-26 21:27:08,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver, universal_newlines=False, shell=None, istream=) 21:27:08 2022-05-26 21:27:08,479 [execute] INFO git cat-file --batch 21:27:08 2022-05-26 21:27:08,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-146/.semver, universal_newlines=False, shell=None, istream=) 21:27:08 2022-05-26 21:27:08,485 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-146/.semver/PR-146 21:27:08 0.0.0 [Pipeline] } 21:27:08 $ docker exec --env ******** --env ******** 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 ssh-agent -k 21:27:08 unset SSH_AUTH_SOCK; 21:27:08 unset SSH_AGENT_PID; 21:27:08 echo Agent pid 81 killed; 21:27:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:27:09 + git semver [Pipeline] } 21:27:09 $ docker stop --time=1 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 21:27:10 $ docker rm -f 36b0ca264ed82bd152ac24c8da66c55b9a6e6796dc33958d616d1256bb0ccf97 [Pipeline] // withDockerContainer [Pipeline] sh 21:27:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:27:11 Stashed 1 file(s) [Pipeline] echo 21:27:11 [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 21:27:11 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:11 ========================================================= 21:27:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 21:27:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:27:11 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 21:27:11 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 21:27:11 59bf1c3509f3: Pulling fs layer 21:27:11 666ba61612fd: Pulling fs layer 21:27:11 8ed8ca486205: Pulling fs layer 21:27:11 4fe6c5a15a65: Pulling fs layer 21:27:11 22a0e8bec74d: Pulling fs layer 21:27:11 5f8736975d2d: Pulling fs layer 21:27:11 fe9c1520953f: Pulling fs layer 21:27:11 ad63dd2c9e3e: Pulling fs layer 21:27:11 15d927b9e438: Pulling fs layer 21:27:11 22a0e8bec74d: Waiting 21:27:11 ad63dd2c9e3e: Waiting 21:27:11 4fe6c5a15a65: Waiting 21:27:11 5f8736975d2d: Waiting 21:27:11 15d927b9e438: Waiting 21:27:11 fe9c1520953f: Waiting 21:27:11 8ed8ca486205: Verifying Checksum 21:27:11 8ed8ca486205: Download complete 21:27:11 666ba61612fd: Download complete 21:27:11 22a0e8bec74d: Download complete 21:27:12 59bf1c3509f3: Verifying Checksum 21:27:12 59bf1c3509f3: Download complete 21:27:12 5f8736975d2d: Verifying Checksum 21:27:12 5f8736975d2d: Download complete 21:27:12 fe9c1520953f: Verifying Checksum 21:27:12 fe9c1520953f: Download complete 21:27:12 59bf1c3509f3: Pull complete 21:27:12 ad63dd2c9e3e: Verifying Checksum 21:27:12 ad63dd2c9e3e: Download complete 21:27:12 666ba61612fd: Pull complete 21:27:12 8ed8ca486205: Pull complete 21:27:13 15d927b9e438: Verifying Checksum 21:27:13 15d927b9e438: Download complete 21:27:13 4fe6c5a15a65: Verifying Checksum 21:27:13 4fe6c5a15a65: Download complete 21:27:17 4fe6c5a15a65: Pull complete 21:27:17 22a0e8bec74d: Pull complete 21:27:17 5f8736975d2d: Pull complete 21:27:17 fe9c1520953f: Pull complete 21:27:17 ad63dd2c9e3e: Pull complete 21:27:20 15d927b9e438: Pull complete 21:27:20 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 21:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 21:27:20 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [Pipeline] sh 21:27:20 + 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 21:27:20 + docker inspect -f . ci-base-image-x86_64 21:27:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:20 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 21:27:20 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:27:23 $ docker top 773a3a5fda66acde394d9bd299e642bf3496a6fda27e6e97270b4c7fb0419b02 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:23 + go version 21:27:23 go version go1.17.6 linux/amd64 [Pipeline] } 21:27:23 $ docker stop --time=1 773a3a5fda66acde394d9bd299e642bf3496a6fda27e6e97270b4c7fb0419b02 21:27:24 $ docker rm -f 773a3a5fda66acde394d9bd299e642bf3496a6fda27e6e97270b4c7fb0419b02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:25 + docker inspect -f . ci-base-image-x86_64 21:27:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:25 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 21:27:25 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:27:25 $ docker top c077d838ce1b919cdcef1a95e5c677d76ecb6282debefdbbe9f9c694b2b1e7fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:27:26 + make test 21:27:26 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 21:27:26 Still waiting to schedule task 21:27:26 ‘prd-ubuntu20.04-docker-arm64-4c-16g-176’ is offline 21:27:36 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 21:27:39 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.055s coverage: 90.3% of statements 21:27:39 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.057s coverage: 68.7% of statements 21:27:39 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 21:28:01 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.382s coverage: 83.8% of statements 21:28:01 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.028s coverage: 85.7% of statements 21:28:01 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.044s coverage: 100.0% of statements 21:28:01 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.026s coverage: 100.0% of statements 21:28:01 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.034s coverage: 90.9% of statements 21:28:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:28:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:28:05 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:28:06 + go mod tidy 21:28:06 go: downloading github.com/stretchr/testify v1.7.0 21:28:06 go: downloading github.com/pebbe/zmq4 v1.2.7 21:28:06 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:28:06 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:28:06 go: downloading github.com/davecgh/go-spew v1.1.0 21:28:06 go: downloading github.com/pmezard/go-difflib v1.0.0 21:28:06 go: downloading github.com/stretchr/objx v0.1.0 21:28:06 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:28:06 go: downloading github.com/onsi/ginkgo v1.10.1 21:28:06 go: downloading github.com/onsi/gomega v1.7.0 21:28:06 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:28:06 go: downloading github.com/kr/pretty v0.1.0 21:28:06 go: downloading github.com/kr/text v0.1.0 21:28:06 go: downloading gopkg.in/yaml.v2 v2.2.4 21:28:06 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:28:06 go: downloading github.com/gorilla/websocket v1.4.2 21:28:06 go: downloading github.com/hpcloud/tail v1.0.0 21:28:06 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:28:06 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:28:06 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:28:06 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 21:28:07 $ docker stop --time=1 c077d838ce1b919cdcef1a95e5c677d76ecb6282debefdbbe9f9c694b2b1e7fc 21:28:09 $ docker rm -f c077d838ce1b919cdcef1a95e5c677d76ecb6282debefdbbe9f9c694b2b1e7fc [Pipeline] // withDockerContainer [Pipeline] sh 21:28:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:09 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 21:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:10 21:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:10 latest: Pulling from edgex-lftools-log-publisher 21:28:10 5eb5b503b376: Pulling fs layer 21:28:10 5c69ac0246d0: Pulling fs layer 21:28:10 ec43610c2a17: Pulling fs layer 21:28:10 3a2ae6a8a46f: Pulling fs layer 21:28:10 33b1e0a273af: Pulling fs layer 21:28:10 5d3b04190fa2: Pulling fs layer 21:28:10 2f39f015ded8: Pulling fs layer 21:28:10 33b1e0a273af: Waiting 21:28:10 5d3b04190fa2: Waiting 21:28:10 3a2ae6a8a46f: Waiting 21:28:10 2f39f015ded8: Waiting 21:28:10 5c69ac0246d0: Verifying Checksum 21:28:10 5c69ac0246d0: Download complete 21:28:10 3a2ae6a8a46f: Download complete 21:28:11 33b1e0a273af: Verifying Checksum 21:28:11 33b1e0a273af: Download complete 21:28:11 ec43610c2a17: Verifying Checksum 21:28:11 ec43610c2a17: Download complete 21:28:11 5d3b04190fa2: Verifying Checksum 21:28:11 5d3b04190fa2: Download complete 21:28:11 5eb5b503b376: Download complete 21:28:11 2f39f015ded8: Verifying Checksum 21:28:11 2f39f015ded8: Download complete 21:28:12 5eb5b503b376: Pull complete 21:28:12 5c69ac0246d0: Pull complete 21:28:13 ec43610c2a17: Pull complete 21:28:13 3a2ae6a8a46f: Pull complete 21:28:13 33b1e0a273af: Pull complete 21:28:13 5d3b04190fa2: Pull complete 21:28:18 2f39f015ded8: Pull complete 21:28:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:18 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 21:28:19 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:21 $ docker top 8fcb9253bcfc884428573cd01ac254d53aa1d96cce689d94b0ed1b9d60f379ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:21 ---> job-cost.sh 21:28:21 lf-activate-venv: SKIPPING 21:28:21 INFO: No Stack... 21:28:22 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:22 INFO: Archiving Costs [Pipeline] sh 21:28:22 + cat /w/workspace/xfoundry_go-mod-messaging_PR-146/archives/cost.csv 21:28:22 + cut -d, -f6 [Pipeline] lock 21:28:22 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] 21:28:22 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] did not exist. Created. 21:28:22 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:23 + echo total: 0.2199999988079071 [Pipeline] stash 21:28:23 Stashed 1 file(s) [Pipeline] } 21:28:23 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:23 $ docker stop --time=1 8fcb9253bcfc884428573cd01ac254d53aa1d96cce689d94b0ed1b9d60f379ca 21:28:24 $ docker rm -f 8fcb9253bcfc884428573cd01ac254d53aa1d96cce689d94b0ed1b9d60f379ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:29:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-179 in /w/workspace/xfoundry_go-mod-messaging_PR-146 [Pipeline] { [Pipeline] ws 21:29:09 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 21:29:09 Selected Git installation does not exist. Using Default 21:29:09 The recommended git tool is: NONE 21:29:16 using credential edgex-jenkins-ssh 21:29:16 Cloning the remote Git repository 21:29:16 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 21:29:16 > git init /w/workspace/go-mod-messaging/2 # timeout=10 21:29:16 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 21:29:16 > git --version # timeout=10 21:29:16 > git --version # 'git version 2.25.1' 21:29:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 21:29:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:17 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 21:29:17 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 21:29:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:17 > 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 21:29:17 Merging remotes/origin/jakarta commit dd83b31612dcccf925de720e85b797b537de28f9 into PR head commit 9918c0f1afd33c3c5368271d156ac678d8be8c4d 21:29:18 Merge succeeded, producing 9918c0f1afd33c3c5368271d156ac678d8be8c4d 21:29:18 Checking out Revision 9918c0f1afd33c3c5368271d156ac678d8be8c4d (PR-146) 21:29:17 > git config core.sparsecheckout # timeout=10 21:29:17 > git checkout -f 9918c0f1afd33c3c5368271d156ac678d8be8c4d # timeout=10 21:29:17 > git remote # timeout=10 21:29:18 > git config --get remote.origin.url # timeout=10 21:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:18 > git merge dd83b31612dcccf925de720e85b797b537de28f9 # timeout=10 21:29:18 > git rev-parse HEAD^{commit} # timeout=10 21:29:18 > git config core.sparsecheckout # timeout=10 21:29:18 > git checkout -f 9918c0f1afd33c3c5368271d156ac678d8be8c4d # timeout=10 21:29:22 Commit message: "fix: Tweak from PR feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:29:23 Dload Upload Total Spent Left Speed 21:29:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82790 0 --:--:-- --:--:-- --:--:-- 82790 [Pipeline] sh 21:29:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:29:24 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:29:24 sudo tee /etc/docker/daemon.new 21:29:24 { 21:29:24 "registry-mirrors": [ 21:29:24 "https://nexus3.edgexfoundry.org:10001" 21:29:24 ], 21:29:24 "bip": "10.250.0.254/24", 21:29:24 "hosts": [ 21:29:24 "tcp://0.0.0.0:5555", 21:29:24 "unix:///var/run/docker.sock" 21:29:24 ], 21:29:24 "mtu": 1458, 21:29:24 "selinux-enabled": true, 21:29:24 "seccomp-profile": "/etc/docker/seccomp.json" 21:29:24 } [Pipeline] sh 21:29:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:29:24 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 21:29:43 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:43 ========================================================= 21:29:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 21:29:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 21:29:44 + docker pull nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 21:29:44 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 21:29:44 9b3977197b4f: Pulling fs layer 21:29:44 1a89e8eeedd5: Pulling fs layer 21:29:44 94645a83ff95: Pulling fs layer 21:29:44 3f3a8bcf1eab: Pulling fs layer 21:29:44 0c92f367c5e7: Pulling fs layer 21:29:44 045706c8da98: Pulling fs layer 21:29:44 d7189365e05b: Pulling fs layer 21:29:44 a32415fbff51: Pulling fs layer 21:29:44 3f3a8bcf1eab: Waiting 21:29:44 0c92f367c5e7: Waiting 21:29:44 045706c8da98: Waiting 21:29:44 d7189365e05b: Waiting 21:29:44 a32415fbff51: Waiting 21:29:44 94645a83ff95: Verifying Checksum 21:29:44 94645a83ff95: Download complete 21:29:44 1a89e8eeedd5: Verifying Checksum 21:29:44 1a89e8eeedd5: Download complete 21:29:44 0c92f367c5e7: Verifying Checksum 21:29:44 0c92f367c5e7: Download complete 21:29:44 045706c8da98: Verifying Checksum 21:29:44 045706c8da98: Download complete 21:29:44 9b3977197b4f: Verifying Checksum 21:29:44 9b3977197b4f: Download complete 21:29:44 d7189365e05b: Verifying Checksum 21:29:44 d7189365e05b: Download complete 21:29:45 9b3977197b4f: Pull complete 21:29:46 1a89e8eeedd5: Pull complete 21:29:46 94645a83ff95: Pull complete 21:29:46 a32415fbff51: Verifying Checksum 21:29:46 a32415fbff51: Download complete 21:29:47 3f3a8bcf1eab: Download complete 21:29:59 3f3a8bcf1eab: Pull complete 21:29:59 0c92f367c5e7: Pull complete 21:29:59 045706c8da98: Pull complete 21:29:59 d7189365e05b: Pull complete 21:30:06 a32415fbff51: Pull complete 21:30:06 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 21:30:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 21:30:06 nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [Pipeline] sh 21:30:06 + 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 21:30:07 + docker inspect -f . ci-base-image-arm64 21:30:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:07 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 21:30:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:30:10 $ docker top 02959d29217d55ded01dc1db6fc24e0b82b3fea484dcb9f80347191ce5ca13ed -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:11 + go version 21:30:11 go version go1.17.6 linux/arm64 [Pipeline] } 21:30:11 $ docker stop --time=1 02959d29217d55ded01dc1db6fc24e0b82b3fea484dcb9f80347191ce5ca13ed 21:30:13 $ docker rm -f 02959d29217d55ded01dc1db6fc24e0b82b3fea484dcb9f80347191ce5ca13ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:13 + docker inspect -f . ci-base-image-arm64 21:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:13 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 21:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:30:15 $ docker top 5854515ed7d92172bd1e6f6122627af06e3431c334ef4981ef7151367c44d6c5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:30:16 + make test 21:30:16 CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... 21:31:12 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] 21:31:25 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.190s coverage: 90.3% of statements 21:31:31 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.106s coverage: 68.7% of statements 21:31:31 ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] 21:31:50 ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.474s coverage: 83.8% of statements 21:31:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.068s coverage: 85.7% of statements 21:31:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.074s coverage: 100.0% of statements 21:31:50 ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.097s coverage: 100.0% of statements 21:31:50 ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.071s coverage: 90.9% of statements 21:31:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:32:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 21:32:22 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:32:23 + go mod tidy 21:32:23 go: downloading github.com/stretchr/testify v1.7.0 21:32:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:32:23 go: downloading github.com/pebbe/zmq4 v1.2.7 21:32:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:32:23 go: downloading github.com/davecgh/go-spew v1.1.0 21:32:23 go: downloading github.com/pmezard/go-difflib v1.0.0 21:32:23 go: downloading github.com/stretchr/objx v0.1.0 21:32:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c 21:32:23 go: downloading github.com/gorilla/websocket v1.4.2 21:32:23 go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 21:32:23 go: downloading github.com/onsi/ginkgo v1.10.1 21:32:23 go: downloading github.com/onsi/gomega v1.7.0 21:32:23 go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 21:32:24 go: downloading github.com/kr/pretty v0.1.0 21:32:24 go: downloading github.com/kr/text v0.1.0 21:32:24 go: downloading gopkg.in/yaml.v2 v2.2.4 21:32:24 go: downloading github.com/hpcloud/tail v1.0.0 21:32:24 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd 21:32:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:32:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 21:32:24 go: downloading golang.org/x/text v0.3.2 [Pipeline] } 21:32:27 $ docker stop --time=1 5854515ed7d92172bd1e6f6122627af06e3431c334ef4981ef7151367c44d6c5 21:32:29 $ docker rm -f 5854515ed7d92172bd1e6f6122627af06e3431c334ef4981ef7151367c44d6c5 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:30 Warning: overwriting stash ‘coverage-report’ 21:32: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] withEnv [Pipeline] { [Pipeline] sh 21:32:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:31 21:32:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:32 arm64: Pulling from edgex-lftools-log-publisher 21:32:32 8998bd30e6a1: Pulling fs layer 21:32:32 04944245beec: Pulling fs layer 21:32:32 699f458cf7ca: Pulling fs layer 21:32:32 765212b225bb: Pulling fs layer 21:32:32 f23df028b6ca: Pulling fs layer 21:32:32 d65c8cfc05b1: Pulling fs layer 21:32:32 2437ff75d9bd: Pulling fs layer 21:32:32 765212b225bb: Waiting 21:32:32 f23df028b6ca: Waiting 21:32:32 d65c8cfc05b1: Waiting 21:32:32 2437ff75d9bd: Waiting 21:32:32 04944245beec: Verifying Checksum 21:32:32 04944245beec: Download complete 21:32:32 765212b225bb: Verifying Checksum 21:32:32 765212b225bb: Download complete 21:32:32 f23df028b6ca: Verifying Checksum 21:32:32 f23df028b6ca: Download complete 21:32:32 699f458cf7ca: Verifying Checksum 21:32:32 699f458cf7ca: Download complete 21:32:32 d65c8cfc05b1: Verifying Checksum 21:32:33 8998bd30e6a1: Verifying Checksum 21:32:33 8998bd30e6a1: Download complete 21:32:35 2437ff75d9bd: Verifying Checksum 21:32:35 2437ff75d9bd: Download complete 21:32:37 8998bd30e6a1: Pull complete 21:32:37 04944245beec: Pull complete 21:32:39 699f458cf7ca: Pull complete 21:32:39 765212b225bb: Pull complete 21:32:40 f23df028b6ca: Pull complete 21:32:40 d65c8cfc05b1: Pull complete 21:32:55 2437ff75d9bd: Pull complete 21:32:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:55 prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container 21:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/2 -v /w/workspace/go-mod-messaging/2:/w/workspace/go-mod-messaging/2:rw,z -v /w/workspace/go-mod-messaging/2@tmp:/w/workspace/go-mod-messaging/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:32:58 $ docker top 5bae37fa59eb33044e844f24ce1bfa537fb9981694896b58fbc69e40e3302e53 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:59 ---> job-cost.sh 21:32:59 lf-activate-venv: SKIPPING 21:32:59 INFO: No Stack... 21:32:59 INFO: Retrieving Pricing Info for: v3-standard-4 21:33:00 INFO: Archiving Costs [Pipeline] sh 21:33:01 + cut -d, -f6 21:33:01 + cat /w/workspace/go-mod-messaging/2/archives/cost.csv [Pipeline] lock 21:33:01 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] 21:33:01 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] did not exist. Created. 21:33:01 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:01 /w/workspace/go-mod-messaging/2@tmp/durable-078ac091/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:33:02 + echo total: 0.10999999940395355 [Pipeline] stash 21:33:02 Warning: overwriting stash ‘stack-cost’ 21:33:02 Stashed 1 file(s) [Pipeline] } 21:33:02 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:33:02 $ docker stop --time=1 5bae37fa59eb33044e844f24ce1bfa537fb9981694896b58fbc69e40e3302e53 21:33:04 $ docker rm -f 5bae37fa59eb33044e844f24ce1bfa537fb9981694896b58fbc69e40e3302e53 [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 21:33:04 provisioning config files... 21:33:04 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/config1023659899333002589tmp [Pipeline] { [Pipeline] sh 21:33:04 + set +x 21:33:04 + curl -s https://codecov.io/bash 21:33:04 + bash -s -- 21:33:04 21:33:04 _____ _ 21:33:04 / ____| | | 21:33:04 | | ___ __| | ___ ___ _____ __ 21:33:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:33:04 | |___| (_) | (_| | __/ (_| (_) \ V / 21:33:04 \_____\___/ \__,_|\___|\___\___/ \_/ 21:33:04 Bash-1.0.6 21:33:04 21:33:04 21:33:04 ==> git version 2.25.1 found 21:33:04 ==> 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 21:33:04 Release-Date: 2020-01-08 21:33:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:33:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:33:04 ==> Jenkins CI detected. 21:33:04 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-146 21:33:04 project root: . 21:33:04 --> token set from env 21:33:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:33:04 ==> Running gcov in . (disable via -X gcov) 21:33:04 ==> Python coveragepy not found 21:33:04 ==> Searching for coverage reports in: 21:33:04 + . 21:33:04 -> Found 1 reports 21:33:04 ==> Detecting git/mercurial file structure 21:33:04 ==> Reading reports 21:33:04 + ./coverage.out bytes=22776 21:33:04 ==> Appending adjustments 21:33:04 https://docs.codecov.io/docs/fixing-reports 21:33:05 + Found adjustments 21:33:05 ==> Gzipping contents 21:33:05 8.0K /tmp/codecov.DgT454.gz 21:33:05 ==> Uploading reports 21:33:05 url: https://codecov.io 21:33:05 query: branch=PR-146&commit=9918c0f1afd33c3c5368271d156ac678d8be8c4d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=146&job=&cmd_args= 21:33:05 -> Pinging Codecov 21:33:05 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=9918c0f1afd33c3c5368271d156ac678d8be8c4d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=146&job=&cmd_args= 21:33:05 -> Uploading to 21:33:05 https://storage.googleapis.com/codecov/v4/raw/2022-05-26/F6E385568367DD0E4001BA4F8F1CB792/9918c0f1afd33c3c5368271d156ac678d8be8c4d/b056afe8-57a2-430d-a7eb-9cb4e4cf1c28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220526T213305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8517a9c487018dc7562466102d4e10f09004976a4fddbbd32aa40ff7dfa1c05 21:33:05 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:05 Dload Upload Total Spent Left Speed 21:33:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6816 0 0 100 6816 0 28759 --:--:-- --:--:-- --:--:-- 28638 21:33:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/9918c0f1afd33c3c5368271d156ac678d8be8c4d [Pipeline] } 21:33:05 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 21:33:06 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-146/archives ] 21:33:06 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 21:33:06 total 16 21:33:06 drwxr-xr-x 3 root root 4096 May 26 21:28 . 21:33:06 drwxrwxr-x 10 jenkins jenkins 4096 May 26 21:28 .. 21:33:06 drwxr-xr-x 2 root root 4096 May 26 21:28 cost 21:33:06 -rw-r--r-- 1 root root 87 May 26 21:28 cost.csv 21:33:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 21:33:06 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-146/archives 21:33:06 total 16 21:33:06 drwxr-xr-x 3 jenkins jenkins 4096 May 26 21:28 . 21:33:06 drwxrwxr-x 10 jenkins jenkins 4096 May 26 21:28 .. 21:33:06 drwxr-xr-x 2 jenkins jenkins 4096 May 26 21:28 cost 21:33:06 -rw-r--r-- 1 jenkins jenkins 87 May 26 21:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:33:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:33:07 ---> package-listing.sh 21:33:07 ++ facter osfamily 21:33:07 ++ tr '[:upper:]' '[:lower:]' 21:33:07 + OS_FAMILY=debian 21:33:07 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-146 21:33:07 + START_PACKAGES=/tmp/packages_start.txt 21:33:07 + END_PACKAGES=/tmp/packages_end.txt 21:33:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:33:07 + PACKAGES=/tmp/packages_start.txt 21:33:07 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-146 ']' 21:33:07 + PACKAGES=/tmp/packages_end.txt 21:33:07 + case "${OS_FAMILY}" in 21:33:07 + dpkg -l 21:33:07 + grep '^ii' 21:33:07 + '[' -f /tmp/packages_start.txt ']' 21:33:07 + '[' -f /tmp/packages_end.txt ']' 21:33:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:33:07 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-146 ']' 21:33:07 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-146/archives/ 21:33:07 + 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 21:33:07 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:33:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:08 prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container 21:33:08 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:33:08 $ docker top dc1db21f5110dd72c3ece95c92722a3c1a058d8aa88155994bc887842265fa4e -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:09 + touch /tmp/pre-build-complete [Pipeline] sh 21:33:09 + mkdir -p /var/log/sysstat [Pipeline] sh 21:33:09 + ls /var/log/sa-host 21:33:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:10 provisioning config files... 21:33:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-146@tmp/config5379752674362549240tmp [Pipeline] { [Pipeline] echo 21:33:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:33:10 ---> create-netrc.sh [Pipeline] } 21:33:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:33:10 ---> python-tools-install.sh [Pipeline] echo 21:33:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:33:10 ---> sudo-logs.sh 21:33:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:33:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:33:11 ---> job-cost.sh 21:33:11 lf-activate-venv: SKIPPING 21:33:11 DEBUG: total: 0.2199999988079071 21:33:11 INFO: Retrieving Stack Cost... 21:33:11 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:12 INFO: Archiving Costs [Pipeline] echo 21:33:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:33:12 ---> logs-deploy.sh 21:33:12 lf-activate-venv: SKIPPING 21:33:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-146/2 21:33:12 INFO: archiving workspace using pattern(s): 21:33:13 Archives upload complete. 21:33:13 INFO: archiving logs to Nexus