Pull request #248 reopened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18fdf184f3034bbd5e71a8a47e81bb08697dceed+6d27e029019d07096c08211709fa1a1bfe5725bf (b485775f72bc9207b1b2a4799c34cc42466406f4) 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-ssh7253537657571830619.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh9857538835749898695.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-248/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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4013146368868567995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh17341408811319100853.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-248/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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17978856944084363212.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-12323 in /w/workspace/xfoundry_go-mod-messaging_PR-248 [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-248 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6d27e029019d07096c08211709fa1a1bfe5725bf into PR head commit 18fdf184f3034bbd5e71a8a47e81bb08697dceed > 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/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing b307fd836497dd40ed5e2a4ea486d64f4bc4af24 Checking out Revision b307fd836497dd40ed5e2a4ea486d64f4bc4af24 (PR-248) > git config core.sparsecheckout # timeout=10 > git checkout -f 18fdf184f3034bbd5e71a8a47e81bb08697dceed # 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 6d27e029019d07096c08211709fa1a1bfe5725bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b307fd836497dd40ed5e2a4ea486d64f4bc4af24 # timeout=10 Commit message: "Merge commit '6d27e029019d07096c08211709fa1a1bfe5725bf' into HEAD" > git rev-list --no-walk 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:32:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:32:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:32:44 ========================================================= 06:32:44 EdgeX Global Pipelines Version Info 06:32:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:32:44 ------------------- 06:32:44 stable info: 06:32:44 ------------------- 06:32:44 Commited By: Bill Mahoney bill.mahoney@intel.com 06:32:44 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:32:44 Message: update stable to v1.0.248 06:32:45 ------------------- 06:32:45 experimental info: 06:32:45 ------------------- 06:32:45 Commited By: **** collab-it+edgex@linuxfoundation.org 06:32:45 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:32:45 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:32:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b307fd8 [Pipeline] echo 06:32:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:32:46 + git rev-list -1 --merges b307fd836497dd40ed5e2a4ea486d64f4bc4af24~1..b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [Pipeline] echo 06:32:46 -----------> git rev-list -1 --merges b307fd836497dd40ed5e2a4ea486d64f4bc4af24~1..b307fd836497dd40ed5e2a4ea486d64f4bc4af24 b307fd836497dd40ed5e2a4ea486d64f4bc4af24 06:32:46 b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [false] [Pipeline] sh 06:32:46 + git log --format=format:%s -1 b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [Pipeline] echo 06:32:46 ========================================================= 06:32:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:32:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:47 + git log --format=format:%s -1 b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [Pipeline] echo 06:32:47 [semverPrep] GIT_COMMIT: b307fd836497dd40ed5e2a4ea486d64f4bc4af24, Commit Message: Merge commit '6d27e029019d07096c08211709fa1a1bfe5725bf' into HEAD [Pipeline] echo 06:32:47 [semverPrep] This is not a build commit. [Pipeline] sh 06:32:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:32:47 + grep -v github /etc/ssh/ssh_known_hosts 06:32:47 + [ -e /tmp/ssh_known_hosts ] 06:32:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:32:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:32:47 + sudo tee -a /etc/ssh/ssh_known_hosts 06:32:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:48 06:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:48 0.1.4: Pulling from edgex-devops/py-git-semver 06:32:48 b85a868b505f: Pulling fs layer 06:32:48 e2be974225ed: Pulling fs layer 06:32:48 339a4e72a1f5: Pulling fs layer 06:32:48 988bab9f4d93: Pulling fs layer 06:32:48 1469e6f7b9e6: Pulling fs layer 06:32:48 eaf3925da568: Pulling fs layer 06:32:48 bab4dde63d76: Pulling fs layer 06:32:48 bde34c3a00c8: Pulling fs layer 06:32:48 b352a97aabf1: Pulling fs layer 06:32:48 4872d77fe225: Pulling fs layer 06:32:48 5851b861e8e6: Pulling fs layer 06:32:48 988bab9f4d93: Waiting 06:32:48 1469e6f7b9e6: Waiting 06:32:48 b352a97aabf1: Waiting 06:32:48 4872d77fe225: Waiting 06:32:48 eaf3925da568: Waiting 06:32:48 bde34c3a00c8: Waiting 06:32:48 5851b861e8e6: Waiting 06:32:48 e2be974225ed: Download complete 06:32:48 988bab9f4d93: Verifying Checksum 06:32:48 988bab9f4d93: Download complete 06:32:48 1469e6f7b9e6: Verifying Checksum 06:32:48 1469e6f7b9e6: Download complete 06:32:48 eaf3925da568: Verifying Checksum 06:32:48 eaf3925da568: Download complete 06:32:48 339a4e72a1f5: Download complete 06:32:48 bde34c3a00c8: Verifying Checksum 06:32:48 bde34c3a00c8: Download complete 06:32:48 b352a97aabf1: Download complete 06:32:48 4872d77fe225: Verifying Checksum 06:32:48 4872d77fe225: Download complete 06:32:48 5851b861e8e6: Download complete 06:32:48 b85a868b505f: Verifying Checksum 06:32:48 b85a868b505f: Download complete 06:32:48 bab4dde63d76: Verifying Checksum 06:32:48 bab4dde63d76: Download complete 06:32:49 b85a868b505f: Pull complete 06:32:49 e2be974225ed: Pull complete 06:32:50 339a4e72a1f5: Pull complete 06:32:50 988bab9f4d93: Pull complete 06:32:50 1469e6f7b9e6: Pull complete 06:32:50 eaf3925da568: Pull complete 06:32:52 bab4dde63d76: Pull complete 06:32:52 bde34c3a00c8: Pull complete 06:32:52 b352a97aabf1: Pull complete 06:32:52 4872d77fe225: Pull complete 06:32:52 5851b861e8e6: Pull complete 06:32:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:32:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:32:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:52 prd-ubuntu20.04-docker-8c-8g-12323 does not seem to be running inside a container 06:32:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-248 -v /w/workspace/xfoundry_go-mod-messaging_PR-248:/w/workspace/xfoundry_go-mod-messaging_PR-248:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-248@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:0.1.4 cat 06:32:54 $ docker top 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 -eo pid,comm 06:32:54 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). 06:32:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:54 [ssh-agent] Looking for ssh-agent implementation... 06:32:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:54 $ docker exec 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 ssh-agent 06:32:54 SSH_AUTH_SOCK=/tmp/ssh-3ilGwitSjwqH/agent.32 06:32:54 SSH_AGENT_PID=38 06:32:54 Running ssh-add (command line suppressed) 06:32:54 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_3210273558059869475.key (/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_3210273558059869475.key) 06:32:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:55 + git tag --points-at HEAD [Pipeline] } 06:32:55 $ docker exec --env ******** --env ******** 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 ssh-agent -k 06:32:55 unset SSH_AUTH_SOCK; 06:32:55 unset SSH_AGENT_PID; 06:32:55 echo Agent pid 38 killed; 06:32:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:32:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:55 [ssh-agent] Looking for ssh-agent implementation... 06:32:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:55 $ docker exec 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 ssh-agent 06:32:55 SSH_AUTH_SOCK=/tmp/ssh-hCYjy5RtnO34/agent.70 06:32:55 SSH_AGENT_PID=76 06:32:55 Running ssh-add (command line suppressed) 06:32:55 Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_2623197984401683637.key (/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_2623197984401683637.key) 06:32:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:55 + git semver init 06:32:56 2023-05-02 06:32:56,127 [run_init] DEBUG init version:0.0.0 force:False 06:32:56 2023-05-02 06:32:56,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver 06:32:56 2023-05-02 06:32:56,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-248/.semver 06:32:56 2023-05-02 06:32:56,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-248, universal_newlines=False, shell=None, istream=None) 06:32:57 2023-05-02 06:32:56,826 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-248/.git/info/exclude 06:32:57 2023-05-02 06:32:56,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 with force:False 06:32:57 2023-05-02 06:32:56,827 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 06:32:57 2023-05-02 06:32:56,831 [execute] INFO git cat-file --batch-check 06:32:57 2023-05-02 06:32:56,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver, universal_newlines=False, shell=None, istream=) 06:32:57 2023-05-02 06:32:56,836 [execute] INFO git cat-file --batch 06:32:57 2023-05-02 06:32:56,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver, universal_newlines=False, shell=None, istream=) 06:32:57 2023-05-02 06:32:56,842 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 06:32:57 0.0.0 [Pipeline] } 06:32:57 $ docker exec --env ******** --env ******** 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 ssh-agent -k 06:32:57 unset SSH_AUTH_SOCK; 06:32:57 unset SSH_AGENT_PID; 06:32:57 echo Agent pid 76 killed; 06:32:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:57 + git semver [Pipeline] } 06:32:57 $ docker stop --time=1 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 06:32:59 $ docker rm -f --volumes 3cf05624bce55aaadac1f287c024240f647002bc84b5724e10662fd03a713be6 [Pipeline] // withDockerContainer [Pipeline] sh 06:32:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:32:59 Stashed 1 file(s) [Pipeline] echo 06:32:59 [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 06:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:32:59 ========================================================= 06:32:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:32:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 06:33:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12330 in /w/workspace/xfoundry_go-mod-messaging_PR-248 [Pipeline] { [Pipeline] ws 06:33:00 Running in /w/workspace/go-mod-messaging/2 [Pipeline] { [Pipeline] checkout 06:33:00 Selected Git installation does not exist. Using Default 06:33:00 The recommended git tool is: NONE 06:33:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:33:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:33:00 f56be85fc22e: Pulling fs layer 06:33:00 85791d961cd3: Pulling fs layer 06:33:00 d694b5ae8c79: Pulling fs layer 06:33:00 9f32a84ed3da: Pulling fs layer 06:33:00 4d19c01a9841: Pulling fs layer 06:33:00 9325e15d5711: Pulling fs layer 06:33:00 556b6ee489ea: Pulling fs layer 06:33:00 c5a4b2cf53e6: Pulling fs layer 06:33:00 9f32a84ed3da: Waiting 06:33:00 4d19c01a9841: Waiting 06:33:00 9325e15d5711: Waiting 06:33:00 c5a4b2cf53e6: Waiting 06:33:00 556b6ee489ea: Waiting 06:33:00 85791d961cd3: Download complete 06:33:00 9f32a84ed3da: Verifying Checksum 06:33:00 9f32a84ed3da: Download complete 06:33:00 4d19c01a9841: Verifying Checksum 06:33:00 4d19c01a9841: Download complete 06:33:00 f56be85fc22e: Verifying Checksum 06:33:00 f56be85fc22e: Download complete 06:33:00 9325e15d5711: Verifying Checksum 06:33:00 9325e15d5711: Download complete 06:33:00 f56be85fc22e: Pull complete 06:33:00 85791d961cd3: Pull complete 06:33:00 c5a4b2cf53e6: Verifying Checksum 06:33:00 c5a4b2cf53e6: Download complete 06:33:00 d694b5ae8c79: Verifying Checksum 06:33:00 d694b5ae8c79: Download complete 06:33:00 556b6ee489ea: Verifying Checksum 06:33:00 556b6ee489ea: Download complete 06:33:04 d694b5ae8c79: Pull complete 06:33:04 9f32a84ed3da: Pull complete 06:33:04 4d19c01a9841: Pull complete 06:33:04 9325e15d5711: Pull complete 06:33:05 using credential edgex-jenkins-ssh 06:33:05 Cloning the remote Git repository 06:33:06 556b6ee489ea: Pull complete 06:33:05 Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git 06:33:05 > git init /w/workspace/go-mod-messaging/2 # timeout=10 06:33:05 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 06:33:05 > git --version # timeout=10 06:33:05 > git --version # 'git version 2.25.1' 06:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:06 c5a4b2cf53e6: Pull complete 06:33:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:33:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:33:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 06:33:06 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:07 + docker inspect -f . ci-base-image-x86_64 06:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:07 prd-ubuntu20.04-docker-8c-8g-12323 does not seem to be running inside a container 06:33:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-248 -v /w/workspace/xfoundry_go-mod-messaging_PR-248:/w/workspace/xfoundry_go-mod-messaging_PR-248:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-248@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 06:33:06 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 06:33:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 06:33:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git 06:33:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:33:07 Merging remotes/origin/main commit 6d27e029019d07096c08211709fa1a1bfe5725bf into PR head commit 18fdf184f3034bbd5e71a8a47e81bb08697dceed 06:33:08 Merge succeeded, producing 1e00b94e5caa4a6e53783a57272b2b1091619a59 06:33:08 Checking out Revision 1e00b94e5caa4a6e53783a57272b2b1091619a59 (PR-248) 06:33:07 > git config core.sparsecheckout # timeout=10 06:33:08 > git checkout -f 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 06:33:08 > git remote # timeout=10 06:33:08 > git config --get remote.origin.url # timeout=10 06:33:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:08 > git merge 6d27e029019d07096c08211709fa1a1bfe5725bf # timeout=10 06:33:08 > git rev-parse HEAD^{commit} # timeout=10 06:33:08 > git config core.sparsecheckout # timeout=10 06:33:08 > git checkout -f 1e00b94e5caa4a6e53783a57272b2b1091619a59 # timeout=10 06:33:09 $ docker top 077eae9eb614dc461b017cd9148d766c80432440ce497897862b7e4a367c2503 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:10 + go version 06:33:10 go version go1.20.2 linux/amd64 [Pipeline] } 06:33:10 $ docker stop --time=1 077eae9eb614dc461b017cd9148d766c80432440ce497897862b7e4a367c2503 06:33:11 $ docker rm -f --volumes 077eae9eb614dc461b017cd9148d766c80432440ce497897862b7e4a367c2503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:11 Commit message: "Merge commit '6d27e029019d07096c08211709fa1a1bfe5725bf' into HEAD" 06:33:11 > git rev-list --no-walk 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 [Pipeline] withEnv [Pipeline] { 06:33:11 + docker inspect -f . ci-base-image-x86_64 06:33:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:12 prd-ubuntu20.04-docker-8c-8g-12323 does not seem to be running inside a container 06:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-messaging_PR-248 -v /w/workspace/xfoundry_go-mod-messaging_PR-248:/w/workspace/xfoundry_go-mod-messaging_PR-248:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-248@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 06:33:12 $ docker top 1811199079d0c214d2d801fc275c0adcfd33e01a64c5a861e19f9dbfc3ae293f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:12 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-248 [Pipeline] fileExists [Pipeline] sh 06:33:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:33:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:33:13 Dload Upload Total Spent Left Speed 06:33:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 06:33:13 + make test 06:33:13 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 06:33:13 go: downloading github.com/nats-io/nats.go v1.25.0 06:33:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 06:33:13 go: downloading github.com/stretchr/testify v1.8.2 06:33:13 go: downloading github.com/google/uuid v1.3.0 06:33:13 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 06:33:13 go: downloading github.com/hashicorp/go-multierror v1.1.1 06:33:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 06:33:13 go: downloading github.com/go-redis/redis/v7 v7.3.0 06:33:13 go: downloading github.com/davecgh/go-spew v1.1.1 06:33:13 go: downloading github.com/pmezard/go-difflib v1.0.0 06:33:13 go: downloading github.com/stretchr/objx v0.5.0 06:33:13 go: downloading gopkg.in/yaml.v3 v3.0.1 06:33:13 go: downloading github.com/go-playground/validator/v10 v10.12.0 06:33:13 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 06:33:13 go: downloading github.com/nats-io/nkeys v0.4.4 06:33:13 go: downloading github.com/nats-io/nuid v1.0.1 06:33:13 go: downloading github.com/hashicorp/errwrap v1.0.0 06:33:13 go: downloading github.com/gorilla/websocket v1.4.2 06:33:13 go: downloading golang.org/x/net v0.9.0 06:33:13 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 06:33:13 go: downloading golang.org/x/crypto v0.8.0 06:33:13 go: downloading github.com/x448/float16 v0.8.4 06:33:13 go: downloading github.com/leodido/go-urn v1.2.2 06:33:13 go: downloading github.com/go-playground/universal-translator v0.18.1 06:33:13 go: downloading golang.org/x/text v0.9.0 [Pipeline] sh 06:33:13 go: downloading github.com/go-playground/locales v0.14.1 06:33:13 go: downloading github.com/klauspost/compress v1.16.4 06:33:13 go: downloading github.com/minio/highwayhash v1.0.2 06:33:13 go: downloading github.com/nats-io/jwt/v2 v2.4.1 06:33:13 go: downloading golang.org/x/time v0.3.0 06:33:13 go: downloading golang.org/x/sys v0.7.0 06:33:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:33:14 + sudo tee /etc/docker/daemon.new 06:33:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:33:14 { 06:33:14 "registry-mirrors": [ 06:33:14 "https://nexus3.edgexfoundry.org:10001" 06:33:14 ], 06:33:14 "bip": "10.250.0.254/24", 06:33:14 "hosts": [ 06:33:14 "tcp://0.0.0.0:5555", 06:33:14 "unix:///var/run/docker.sock" 06:33:14 ], 06:33:14 "mtu": 1458, 06:33:14 "selinux-enabled": true, 06:33:14 "seccomp-profile": "/etc/docker/seccomp.json" 06:33:14 } [Pipeline] sh 06:33:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:33:14 + sudo service docker restart 06:33:31 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.055s coverage: 88.6% of statements 06:33:31 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 06:33:31 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [Pipeline] unstash [Pipeline] echo 06:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:33:33 ========================================================= 06:33:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:33:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 06:33:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:33:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:33:34 c41833b44d91: Pulling fs layer 06:33:34 ed15518f5707: Pulling fs layer 06:33:34 feae8fd75edb: Pulling fs layer 06:33:34 242c74f7c9fa: Pulling fs layer 06:33:34 3cdef696dda3: Pulling fs layer 06:33:34 242c74f7c9fa: Waiting 06:33:34 2ced38df9373: Pulling fs layer 06:33:34 58f1dce35555: Pulling fs layer 06:33:34 3cdef696dda3: Waiting 06:33:34 58f1dce35555: Waiting 06:33:34 2ced38df9373: Waiting 06:33:34 ed15518f5707: Verifying Checksum 06:33:34 ed15518f5707: Download complete 06:33:34 242c74f7c9fa: Verifying Checksum 06:33:34 242c74f7c9fa: Download complete 06:33:34 3cdef696dda3: Verifying Checksum 06:33:34 3cdef696dda3: Download complete 06:33:34 c41833b44d91: Verifying Checksum 06:33:34 c41833b44d91: Download complete 06:33:35 c41833b44d91: Pull complete 06:33:35 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.052s coverage: 19.8% of statements 06:33:35 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.068s coverage: 88.8% of statements 06:33:35 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.070s coverage: 89.1% of statements 06:33:35 58f1dce35555: Verifying Checksum 06:33:35 58f1dce35555: Download complete 06:33:35 ed15518f5707: Pull complete 06:33:36 feae8fd75edb: Verifying Checksum 06:33:36 feae8fd75edb: Download complete 06:33:36 2ced38df9373: Download complete 06:33:41 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 06:33:41 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.102s coverage: 35.9% of statements 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.163s coverage: 61.3% of statements 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.051s coverage: 87.5% of statements 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.051s coverage: 100.0% of statements 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.054s coverage: 100.0% of statements 06:33:41 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.058s coverage: 95.1% of statements 06:33:49 feae8fd75edb: Pull complete 06:33:49 242c74f7c9fa: Pull complete 06:33:49 3cdef696dda3: Pull complete 06:33:55 2ced38df9373: Pull complete 06:33:55 go vet ./... 06:33:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:33:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:33:57 $ docker stop --time=1 1811199079d0c214d2d801fc275c0adcfd33e01a64c5a861e19f9dbfc3ae293f 06:33:58 58f1dce35555: Pull complete 06:33:58 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:33:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:33:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:33:59 $ docker rm -f --volumes 1811199079d0c214d2d801fc275c0adcfd33e01a64c5a861e19f9dbfc3ae293f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 06:34:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:00 Stashed 1 file(s) [Pipeline] } 06:34:00 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 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 06:34:00 + docker inspect -f . ci-base-image-arm64 06:34:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:01 06:34:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:01 prd-ubuntu20.04-docker-arm64-4c-16g-12330 does not seem to be running inside a container 06:34:01 $ 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 ******** ci-base-image-arm64 cat 06:34:03 $ docker top d7772a4f00e3d0319d9a8f3c5b9497c9e8af00dfdcc4a773c6f8147364ff040e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:04 latest: Pulling from edgex-lftools-log-publisher 06:34:04 5eb5b503b376: Pulling fs layer 06:34:04 5c69ac0246d0: Pulling fs layer 06:34:04 ec43610c2a17: Pulling fs layer 06:34:04 3a2ae6a8a46f: Pulling fs layer 06:34:04 33b1e0a273af: Pulling fs layer 06:34:04 5d3b04190fa2: Pulling fs layer 06:34:04 2f39f015ded8: Pulling fs layer 06:34:04 3a2ae6a8a46f: Waiting 06:34:04 33b1e0a273af: Waiting 06:34:04 5d3b04190fa2: Waiting 06:34:04 2f39f015ded8: Waiting 06:34:04 5c69ac0246d0: Verifying Checksum 06:34:04 5c69ac0246d0: Download complete 06:34:04 3a2ae6a8a46f: Verifying Checksum 06:34:04 3a2ae6a8a46f: Download complete 06:34:04 33b1e0a273af: Verifying Checksum 06:34:04 33b1e0a273af: Download complete 06:34:04 ec43610c2a17: Verifying Checksum 06:34:04 ec43610c2a17: Download complete 06:34:04 5d3b04190fa2: Download complete 06:34:04 5eb5b503b376: Verifying Checksum 06:34:04 5eb5b503b376: Download complete 06:34:04 + go version 06:34:04 go version go1.20.2 linux/arm64 [Pipeline] } 06:34:04 $ docker stop --time=1 d7772a4f00e3d0319d9a8f3c5b9497c9e8af00dfdcc4a773c6f8147364ff040e 06:34:04 2f39f015ded8: Download complete 06:34:05 5eb5b503b376: Pull complete 06:34:05 5c69ac0246d0: Pull complete 06:34:05 $ docker rm -f --volumes d7772a4f00e3d0319d9a8f3c5b9497c9e8af00dfdcc4a773c6f8147364ff040e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:06 ec43610c2a17: Pull complete 06:34:06 3a2ae6a8a46f: Pull complete 06:34:06 + docker inspect -f . ci-base-image-arm64 06:34:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:06 33b1e0a273af: Pull complete 06:34:06 5d3b04190fa2: Pull complete 06:34:06 prd-ubuntu20.04-docker-arm64-4c-16g-12330 does not seem to be running inside a container 06:34:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat 06:34:07 $ docker top ba7de65dd5b7a7bfb6ec2fe90259ed11f834a82e484296f491db369d21f284f2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:08 + git config --global --add safe.directory /w/workspace/go-mod-messaging/2 [Pipeline] fileExists [Pipeline] sh 06:34:09 + make test 06:34:09 go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... 06:34:09 go: downloading github.com/google/uuid v1.3.0 06:34:09 go: downloading github.com/stretchr/testify v1.8.2 06:34:09 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 06:34:09 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 06:34:09 go: downloading github.com/nats-io/nats.go v1.25.0 06:34:09 go: downloading github.com/nats-io/nats-server/v2 v2.9.16 06:34:09 go: downloading github.com/go-redis/redis/v7 v7.3.0 06:34:09 go: downloading github.com/hashicorp/go-multierror v1.1.1 06:34:10 go: downloading github.com/davecgh/go-spew v1.1.1 06:34:10 go: downloading github.com/pmezard/go-difflib v1.0.0 06:34:10 go: downloading gopkg.in/yaml.v3 v3.0.1 06:34:10 go: downloading github.com/gorilla/websocket v1.4.2 06:34:10 go: downloading golang.org/x/net v0.9.0 06:34:10 go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 06:34:10 go: downloading github.com/go-playground/validator/v10 v10.12.0 06:34:10 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 06:34:10 go: downloading github.com/stretchr/objx v0.5.0 06:34:10 go: downloading github.com/hashicorp/errwrap v1.0.0 06:34:10 go: downloading github.com/nats-io/nkeys v0.4.4 06:34:10 go: downloading github.com/nats-io/nuid v1.0.1 06:34:10 go: downloading github.com/x448/float16 v0.8.4 06:34:10 go: downloading github.com/go-playground/universal-translator v0.18.1 06:34:10 go: downloading github.com/leodido/go-urn v1.2.2 06:34:10 go: downloading golang.org/x/crypto v0.8.0 06:34:10 2f39f015ded8: Pull complete 06:34:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:34:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:34:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:10 prd-ubuntu20.04-docker-8c-8g-12323 does not seem to be running inside a container 06:34:10 $ 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-248 -v /w/workspace/xfoundry_go-mod-messaging_PR-248:/w/workspace/xfoundry_go-mod-messaging_PR-248:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-248@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 06:34:11 go: downloading golang.org/x/text v0.9.0 06:34:11 go: downloading github.com/go-playground/locales v0.14.1 06:34:11 go: downloading github.com/klauspost/compress v1.16.4 06:34:11 go: downloading github.com/minio/highwayhash v1.0.2 06:34:11 go: downloading github.com/nats-io/jwt/v2 v2.4.1 06:34:12 go: downloading golang.org/x/time v0.3.0 06:34:12 $ docker top 495b1a47aa80deb47bf8c1fb5cbda5895cba8d6eff1729bc70a7d15685a1d895 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:13 ---> job-cost.sh 06:34:13 lf-activate-venv: SKIPPING 06:34:13 INFO: No Stack... 06:34:13 INFO: Retrieving Pricing Info for: v3-standard-8 06:34:14 INFO: Archiving Costs [Pipeline] sh 06:34:14 + cat /w/workspace/xfoundry_go-mod-messaging_PR-248/archives/cost.csv 06:34:14 + cut -d, -f6 [Pipeline] lock 06:34:14 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] 06:34:14 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] did not exist. Created. 06:34:14 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:34:14 + echo total: 0.2199999988079071 [Pipeline] stash 06:34:14 Stashed 1 file(s) [Pipeline] } 06:34:14 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:34:14 $ docker stop --time=1 495b1a47aa80deb47bf8c1fb5cbda5895cba8d6eff1729bc70a7d15685a1d895 06:34:15 $ docker rm -f --volumes 495b1a47aa80deb47bf8c1fb5cbda5895cba8d6eff1729bc70a7d15685a1d895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:03 ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.310s coverage: 88.6% of statements 06:36:03 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] 06:36:03 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] 06:36:03 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.237s coverage: 19.8% of statements 06:36:03 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.382s coverage: 88.8% of statements 06:36:03 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.389s coverage: 89.1% of statements 06:37:25 ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.460s coverage: 35.9% of statements 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.382s coverage: 61.3% of statements 06:37:25 ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.234s coverage: 87.5% of statements 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.212s coverage: 100.0% of statements 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.201s coverage: 100.0% of statements 06:37:25 ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.238s coverage: 95.1% of statements 06:37:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:37:25 go vet ./... 06:39:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:39:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:39:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:39:02 $ docker stop --time=1 ba7de65dd5b7a7bfb6ec2fe90259ed11f834a82e484296f491db369d21f284f2 06:39:04 $ docker rm -f --volumes ba7de65dd5b7a7bfb6ec2fe90259ed11f834a82e484296f491db369d21f284f2 [Pipeline] // withDockerContainer [Pipeline] sh 06:39:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:39:06 Warning: overwriting stash ‘coverage-report’ 06:39:06 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 06:39:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:07 06:39:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:07 arm64: Pulling from edgex-lftools-log-publisher 06:39:07 8998bd30e6a1: Pulling fs layer 06:39:07 04944245beec: Pulling fs layer 06:39:07 699f458cf7ca: Pulling fs layer 06:39:07 765212b225bb: Pulling fs layer 06:39:07 f23df028b6ca: Pulling fs layer 06:39:07 d65c8cfc05b1: Pulling fs layer 06:39:07 2437ff75d9bd: Pulling fs layer 06:39:07 f23df028b6ca: Waiting 06:39:07 d65c8cfc05b1: Waiting 06:39:07 765212b225bb: Waiting 06:39:07 04944245beec: Verifying Checksum 06:39:07 04944245beec: Download complete 06:39:07 765212b225bb: Download complete 06:39:07 f23df028b6ca: Verifying Checksum 06:39:07 d65c8cfc05b1: Verifying Checksum 06:39:07 d65c8cfc05b1: Download complete 06:39:08 699f458cf7ca: Verifying Checksum 06:39:08 699f458cf7ca: Download complete 06:39:08 8998bd30e6a1: Download complete 06:39:11 2437ff75d9bd: Verifying Checksum 06:39:11 2437ff75d9bd: Download complete 06:39:12 8998bd30e6a1: Pull complete 06:39:13 04944245beec: Pull complete 06:39:13 699f458cf7ca: Pull complete 06:39:14 765212b225bb: Pull complete 06:39:14 f23df028b6ca: Pull complete 06:39:15 d65c8cfc05b1: Pull complete 06:39:27 2437ff75d9bd: Pull complete 06:39:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:27 prd-ubuntu20.04-docker-arm64-4c-16g-12330 does not seem to be running inside a container 06:39:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:39:31 $ docker top f831b7ffff6f8eec6315f08a71c52b12f8e19adb1ccf2ce390d8dbaf671d6b84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:31 ---> job-cost.sh 06:39:31 lf-activate-venv: SKIPPING 06:39:31 INFO: No Stack... 06:39:32 INFO: Retrieving Pricing Info for: v3-standard-4 06:39:33 INFO: Archiving Costs [Pipeline] sh 06:39:33 + cat /w/workspace/go-mod-messaging/2/archives/cost.csv 06:39:33 + cut -d, -f6 [Pipeline] lock 06:39:33 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] 06:39:33 Resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] did not exist. Created. 06:39:33 Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:39:34 /w/workspace/go-mod-messaging/2@tmp/durable-4b8035eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:39:35 + echo total: 0.10999999940395355 [Pipeline] stash 06:39:35 Warning: overwriting stash ‘stack-cost’ 06:39:35 Stashed 1 file(s) [Pipeline] } 06:39:35 Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:39:35 $ docker stop --time=1 f831b7ffff6f8eec6315f08a71c52b12f8e19adb1ccf2ce390d8dbaf671d6b84 06:39:36 $ docker rm -f --volumes f831b7ffff6f8eec6315f08a71c52b12f8e19adb1ccf2ce390d8dbaf671d6b84 [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 06:39:37 provisioning config files... 06:39:37 copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/config7109261390848239347tmp [Pipeline] { [Pipeline] sh 06:39:37 + set +x 06:39:37 + curl -s https://codecov.io/bash 06:39:37 + bash -s -- 06:39:37 06:39:37 _____ _ 06:39:37 / ____| | | 06:39:37 | | ___ __| | ___ ___ _____ __ 06:39:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:39:37 | |___| (_) | (_| | __/ (_| (_) \ V / 06:39:37 \_____\___/ \__,_|\___|\___\___/ \_/ 06:39:37 Bash-1.0.6 06:39:37 06:39:37 06:39:37 ==> git version 2.25.1 found 06:39:37 ==> 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 06:39:37 Release-Date: 2020-01-08 06:39:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:39:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:39:37 ==> Jenkins CI detected. 06:39:37 current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-248 06:39:37 project root: . 06:39:37 --> token set from env 06:39:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:39:37 ==> Running gcov in . (disable via -X gcov) 06:39:37 ==> Python coveragepy not found 06:39:37 ==> Searching for coverage reports in: 06:39:37 + . 06:39:37 -> Found 1 reports 06:39:37 ==> Detecting git/mercurial file structure 06:39:37 ==> Reading reports 06:39:37 + ./coverage.out bytes=41815 06:39:37 ==> Appending adjustments 06:39:37 https://docs.codecov.io/docs/fixing-reports 06:39:37 + Found adjustments 06:39:37 ==> Gzipping contents 06:39:37 12K /tmp/codecov.IVMiaw.gz 06:39:37 ==> Uploading reports 06:39:37 url: https://codecov.io 06:39:37 query: branch=PR-248&commit=b307fd836497dd40ed5e2a4ea486d64f4bc4af24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=248&job=&cmd_args= 06:39:37 -> Pinging Codecov 06:39:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-248&commit=b307fd836497dd40ed5e2a4ea486d64f4bc4af24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-248%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=248&job=&cmd_args= 06:39:37 -> Uploading to 06:39:37 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/F6E385568367DD0E4001BA4F8F1CB792/b307fd836497dd40ed5e2a4ea486d64f4bc4af24/428401a9-2271-4edf-a748-437e7d56cd2b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T063937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98f3c23668b5121c059572b92d8933e6ed5c6057e117172bb1b2088e65c122a0 06:39:37 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:37 Dload Upload Total Spent Left Speed 06:39:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8282 0 0 100 8282 0 40203 --:--:-- --:--:-- --:--:-- 40203 06:39:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/b307fd836497dd40ed5e2a4ea486d64f4bc4af24 [Pipeline] } 06:39:38 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 06:39:38 + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-248/archives ] 06:39:38 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-248/archives 06:39:38 total 16 06:39:38 drwxr-xr-x 3 root root 4096 May 2 06:34 . 06:39:38 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:34 .. 06:39:38 drwxr-xr-x 2 root root 4096 May 2 06:34 cost 06:39:38 -rw-r--r-- 1 root root 89 May 2 06:34 cost.csv 06:39:38 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-248/archives 06:39:38 + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-248/archives 06:39:38 total 16 06:39:38 drwxr-xr-x 3 jenkins jenkins 4096 May 2 06:34 . 06:39:38 drwxrwxr-x 10 jenkins jenkins 4096 May 2 06:34 .. 06:39:38 drwxr-xr-x 2 jenkins jenkins 4096 May 2 06:34 cost 06:39:38 -rw-r--r-- 1 jenkins jenkins 89 May 2 06:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:39:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:39:40 ---> package-listing.sh 06:39:40 ++ facter osfamily 06:39:40 ++ tr '[:upper:]' '[:lower:]' 06:39:40 + OS_FAMILY=debian 06:39:40 + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-248 06:39:40 + START_PACKAGES=/tmp/packages_start.txt 06:39:40 + END_PACKAGES=/tmp/packages_end.txt 06:39:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:39:40 + PACKAGES=/tmp/packages_start.txt 06:39:40 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-248 ']' 06:39:40 + PACKAGES=/tmp/packages_end.txt 06:39:40 + case "${OS_FAMILY}" in 06:39:40 + dpkg -l 06:39:40 + grep '^ii' 06:39:40 + '[' -f /tmp/packages_start.txt ']' 06:39:40 + '[' -f /tmp/packages_end.txt ']' 06:39:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:39:40 + '[' /w/workspace/xfoundry_go-mod-messaging_PR-248 ']' 06:39:40 + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-248/archives/ 06:39:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-248/archives/ [Pipeline] echo 06:39:40 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-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:39:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:41 prd-ubuntu20.04-docker-8c-8g-12323 does not seem to be running inside a container 06:39:41 $ 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-248/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-248 -v /w/workspace/xfoundry_go-mod-messaging_PR-248:/w/workspace/xfoundry_go-mod-messaging_PR-248:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-248@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 06:39:41 $ docker top 8ee2e59d49799d3d9e82e4206af4e7ddc42fb88c2537e09a025b8220c6fbe5b2 -eo pid,comm [Pipeline] { [Pipeline] sh 06:39:41 + touch /tmp/pre-build-complete [Pipeline] sh 06:39:42 + mkdir -p /var/log/sysstat [Pipeline] sh 06:39:42 + ls /var/log/sa-host 06:39:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:42 provisioning config files... 06:39:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/config7450950923996503399tmp [Pipeline] { [Pipeline] echo 06:39:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:39:42 ---> create-netrc.sh [Pipeline] } 06:39:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:39:43 ---> python-tools-install.sh [Pipeline] echo 06:39:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:39:43 ---> sudo-logs.sh 06:39:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:39:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:39:43 ---> job-cost.sh 06:39:43 lf-activate-venv: SKIPPING 06:39:43 DEBUG: total: 0.2199999988079071 06:39:43 INFO: Retrieving Stack Cost... 06:39:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:44 INFO: Archiving Costs [Pipeline] echo 06:39:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:39:44 ---> logs-deploy.sh 06:39:44 lf-activate-venv: SKIPPING 06:39:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-248/2 06:39:44 INFO: archiving workspace using pattern(s): 06:39:45 Archives upload complete. 06:39:45 INFO: archiving logs to Nexus