Pull request #248 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 18fdf184f3034bbd5e71a8a47e81bb08697dceed+4203778cf83335fa459973e0642568b60e7dbe33 (a47765342f924e33f39dd0f1d69a01c7614baa9c) 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-ssh3068009467452839457.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-ssh7652671637856440791.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9952451028603270172.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4755773968783529078.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3603351329768794634.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh932040119892537207.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-12193 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 4203778cf83335fa459973e0642568b60e7dbe33 into PR head commit 18fdf184f3034bbd5e71a8a47e81bb08697dceed Merge succeeded, producing 18fdf184f3034bbd5e71a8a47e81bb08697dceed Checking out Revision 18fdf184f3034bbd5e71a8a47e81bb08697dceed (PR-248) > 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 > 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 4203778cf83335fa459973e0642568b60e7dbe33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-01T16:57:19.415Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-01T16:57:19.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-01T16:57:19.688Z] ========================================================= [2023-05-01T16:57:19.688Z] EdgeX Global Pipelines Version Info [2023-05-01T16:57:19.688Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:57:20.431Z] ------------------- [2023-05-01T16:57:20.431Z] stable info: [2023-05-01T16:57:20.431Z] ------------------- [2023-05-01T16:57:20.432Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-01T16:57:20.432Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:57:20.432Z] Message: update stable to v1.0.248 [2023-05-01T16:57:21.001Z] ------------------- [2023-05-01T16:57:21.001Z] experimental info: [2023-05-01T16:57:21.001Z] ------------------- [2023-05-01T16:57:21.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-01T16:57:21.001Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:57:21.001Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-01T16:57:21.297Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2023-05-01T16:57:21.342Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2023-05-01T16:57:21.388Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-01T16:57:21.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-01T16:57:21.465Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-01T16:57:21.513Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-01T16:57:21.558Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-01T16:57:21.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-01T16:57:21.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-01T16:57:21.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-01T16:57:21.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-01T16:57:21.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2023-05-01T16:57:21.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-01T16:57:21.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-01T16:57:21.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:57:21.945Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:57:21.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:57:22.030Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:57:22.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-01T16:57:22.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-01T16:57:22.154Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-01T16:57:22.198Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-01T16:57:22.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-01T16:57:22.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-01T16:57:22.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-05-01T16:57:22.362Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-01T16:57:22.401Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-01T16:57:22.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo [2023-05-01T16:57:22.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo [2023-05-01T16:57:22.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo [2023-05-01T16:57:22.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18fdf184f3034bbd5e71a8a47e81bb08697dceed [Pipeline] echo [2023-05-01T16:57:22.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18fdf18 [Pipeline] echo [2023-05-01T16:57:22.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-01T16:57:23.233Z] + git rev-list -1 --merges 18fdf184f3034bbd5e71a8a47e81bb08697dceed~1..18fdf184f3034bbd5e71a8a47e81bb08697dceed [Pipeline] echo [2023-05-01T16:57:23.293Z] -----------> git rev-list -1 --merges 18fdf184f3034bbd5e71a8a47e81bb08697dceed~1..18fdf184f3034bbd5e71a8a47e81bb08697dceed 18fdf184f3034bbd5e71a8a47e81bb08697dceed [false] [Pipeline] sh [2023-05-01T16:57:23.603Z] + git log --format=format:%s -1 18fdf184f3034bbd5e71a8a47e81bb08697dceed [Pipeline] echo [2023-05-01T16:57:23.640Z] ========================================================= [2023-05-01T16:57:23.640Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-01T16:57:23.640Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-01T16:57:24.071Z] + git log --format=format:%s -1 18fdf184f3034bbd5e71a8a47e81bb08697dceed [Pipeline] echo [2023-05-01T16:57:24.106Z] [semverPrep] GIT_COMMIT: 18fdf184f3034bbd5e71a8a47e81bb08697dceed, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-05-01T16:57:24.133Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-01T16:57:24.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-01T16:57:24.500Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-01T16:57:24.500Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-01T16:57:24.500Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-01T16:57:24.500Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-01T16:57:24.500Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-01T16:57:24.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:57:24.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:57:25.181Z] [2023-05-01T16:57:25.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:57:25.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:57:25.560Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-01T16:57:25.560Z] b85a868b505f: Pulling fs layer [2023-05-01T16:57:25.560Z] e2be974225ed: Pulling fs layer [2023-05-01T16:57:25.560Z] 339a4e72a1f5: Pulling fs layer [2023-05-01T16:57:25.560Z] 988bab9f4d93: Pulling fs layer [2023-05-01T16:57:25.560Z] 1469e6f7b9e6: Pulling fs layer [2023-05-01T16:57:25.560Z] eaf3925da568: Pulling fs layer [2023-05-01T16:57:25.560Z] bab4dde63d76: Pulling fs layer [2023-05-01T16:57:25.560Z] bde34c3a00c8: Pulling fs layer [2023-05-01T16:57:25.560Z] b352a97aabf1: Pulling fs layer [2023-05-01T16:57:25.560Z] 4872d77fe225: Pulling fs layer [2023-05-01T16:57:25.560Z] 5851b861e8e6: Pulling fs layer [2023-05-01T16:57:25.560Z] 988bab9f4d93: Waiting [2023-05-01T16:57:25.560Z] bab4dde63d76: Waiting [2023-05-01T16:57:25.560Z] 1469e6f7b9e6: Waiting [2023-05-01T16:57:25.560Z] bde34c3a00c8: Waiting [2023-05-01T16:57:25.560Z] 4872d77fe225: Waiting [2023-05-01T16:57:25.560Z] b352a97aabf1: Waiting [2023-05-01T16:57:25.560Z] eaf3925da568: Waiting [2023-05-01T16:57:25.820Z] e2be974225ed: Download complete [2023-05-01T16:57:25.820Z] 988bab9f4d93: Verifying Checksum [2023-05-01T16:57:25.820Z] 988bab9f4d93: Download complete [2023-05-01T16:57:25.820Z] 1469e6f7b9e6: Verifying Checksum [2023-05-01T16:57:25.820Z] 1469e6f7b9e6: Download complete [2023-05-01T16:57:25.820Z] eaf3925da568: Verifying Checksum [2023-05-01T16:57:25.820Z] eaf3925da568: Download complete [2023-05-01T16:57:25.820Z] 339a4e72a1f5: Verifying Checksum [2023-05-01T16:57:25.820Z] 339a4e72a1f5: Download complete [2023-05-01T16:57:25.820Z] bde34c3a00c8: Download complete [2023-05-01T16:57:25.820Z] b352a97aabf1: Verifying Checksum [2023-05-01T16:57:25.820Z] b352a97aabf1: Download complete [2023-05-01T16:57:25.820Z] 4872d77fe225: Verifying Checksum [2023-05-01T16:57:25.820Z] 5851b861e8e6: Verifying Checksum [2023-05-01T16:57:25.820Z] 5851b861e8e6: Download complete [2023-05-01T16:57:25.820Z] b85a868b505f: Download complete [2023-05-01T16:57:26.080Z] bab4dde63d76: Verifying Checksum [2023-05-01T16:57:26.080Z] bab4dde63d76: Download complete [2023-05-01T16:57:27.457Z] b85a868b505f: Pull complete [2023-05-01T16:57:27.457Z] e2be974225ed: Pull complete [2023-05-01T16:57:28.026Z] 339a4e72a1f5: Pull complete [2023-05-01T16:57:28.026Z] 988bab9f4d93: Pull complete [2023-05-01T16:57:28.285Z] 1469e6f7b9e6: Pull complete [2023-05-01T16:57:28.285Z] eaf3925da568: Pull complete [2023-05-01T16:57:30.189Z] bab4dde63d76: Pull complete [2023-05-01T16:57:30.190Z] bde34c3a00c8: Pull complete [2023-05-01T16:57:30.450Z] b352a97aabf1: Pull complete [2023-05-01T16:57:30.450Z] 4872d77fe225: Pull complete [2023-05-01T16:57:30.450Z] 5851b861e8e6: Pull complete [2023-05-01T16:57:30.450Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-01T16:57:30.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:57:30.450Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:57:30.693Z] prd-ubuntu20.04-docker-8c-8g-12193 does not seem to be running inside a container [2023-05-01T16:57:30.727Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-01T16:57:33.013Z] $ docker top e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-01T16:57:33.204Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-01T16:57:33.204Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-01T16:57:33.322Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-01T16:57:33.325Z] $ docker exec e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a ssh-agent [2023-05-01T16:57:33.441Z] SSH_AUTH_SOCK=/tmp/ssh-XT9o35H99vPU/agent.33 [2023-05-01T16:57:33.441Z] SSH_AGENT_PID=39 [2023-05-01T16:57:33.447Z] Running ssh-add (command line suppressed) [2023-05-01T16:57:33.571Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_2026591645782453206.key (/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_2026591645782453206.key) [2023-05-01T16:57:33.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-01T16:57:33.914Z] + git tag --points-at HEAD [Pipeline] } [2023-05-01T16:57:33.939Z] $ docker exec --env ******** --env ******** e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a ssh-agent -k [2023-05-01T16:57:34.041Z] unset SSH_AUTH_SOCK; [2023-05-01T16:57:34.041Z] unset SSH_AGENT_PID; [2023-05-01T16:57:34.041Z] echo Agent pid 39 killed; [2023-05-01T16:57:34.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-01T16:57:34.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-01T16:57:34.153Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-01T16:57:34.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-01T16:57:34.269Z] $ docker exec e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a ssh-agent [2023-05-01T16:57:34.376Z] SSH_AUTH_SOCK=/tmp/ssh-AjpPjrvYypnF/agent.71 [2023-05-01T16:57:34.376Z] SSH_AGENT_PID=77 [2023-05-01T16:57:34.382Z] Running ssh-add (command line suppressed) [2023-05-01T16:57:34.498Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_844618020902077544.key (/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/private_key_844618020902077544.key) [2023-05-01T16:57:34.514Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-01T16:57:34.852Z] + git semver init [2023-05-01T16:57:35.112Z] 2023-05-01 16:57:35,026 [run_init] DEBUG init version:0.0.0 force:False [2023-05-01T16:57:35.112Z] 2023-05-01 16:57:35,027 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver [2023-05-01T16:57:35.112Z] 2023-05-01 16:57:35,028 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-248/.semver [2023-05-01T16:57:35.112Z] 2023-05-01 16:57:35,028 [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) [2023-05-01T16:57:36.051Z] 2023-05-01 16:57:35,717 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-248/.git/info/exclude [2023-05-01T16:57:36.051Z] 2023-05-01 16:57:35,717 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 with force:False [2023-05-01T16:57:36.051Z] 2023-05-01 16:57:35,718 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 [2023-05-01T16:57:36.051Z] 2023-05-01 16:57:35,722 [execute] INFO git cat-file --batch-check [2023-05-01T16:57:36.052Z] 2023-05-01 16:57:35,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-01T16:57:36.052Z] 2023-05-01 16:57:35,730 [execute] INFO git cat-file --batch [2023-05-01T16:57:36.052Z] 2023-05-01 16:57:35,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-248/.semver, universal_newlines=False, shell=None, istream=) [2023-05-01T16:57:36.052Z] 2023-05-01 16:57:35,736 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-248/.semver/PR-248 [2023-05-01T16:57:36.052Z] 0.0.0 [Pipeline] } [2023-05-01T16:57:36.078Z] $ docker exec --env ******** --env ******** e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a ssh-agent -k [2023-05-01T16:57:36.176Z] unset SSH_AUTH_SOCK; [2023-05-01T16:57:36.176Z] unset SSH_AGENT_PID; [2023-05-01T16:57:36.176Z] echo Agent pid 77 killed; [2023-05-01T16:57:36.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-01T16:57:36.607Z] + git semver [Pipeline] } [2023-05-01T16:57:36.895Z] $ docker stop --time=1 e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a [2023-05-01T16:57:38.205Z] $ docker rm -f --volumes e6e460631f43a51d4c43633b4783f1eae47d4bafa0e4a9b24d85abe0a96da33a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T16:57:38.608Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-01T16:57:38.858Z] Stashed 1 file(s) [Pipeline] echo [2023-05-01T16:57:38.877Z] [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 [2023-05-01T16:57:39.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:57:39.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:57:39.547Z] ========================================================= [2023-05-01T16:57:39.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-01T16:57:39.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-05-01T16:57:39.932Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-01T16:57:39.932Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-01T16:57:39.932Z] f56be85fc22e: Pulling fs layer [2023-05-01T16:57:39.932Z] 85791d961cd3: Pulling fs layer [2023-05-01T16:57:39.932Z] d694b5ae8c79: Pulling fs layer [2023-05-01T16:57:39.932Z] 9f32a84ed3da: Pulling fs layer [2023-05-01T16:57:39.932Z] 4d19c01a9841: Pulling fs layer [2023-05-01T16:57:39.932Z] 9325e15d5711: Pulling fs layer [2023-05-01T16:57:39.932Z] 556b6ee489ea: Pulling fs layer [2023-05-01T16:57:39.932Z] c5a4b2cf53e6: Pulling fs layer [2023-05-01T16:57:39.932Z] 9f32a84ed3da: Waiting [2023-05-01T16:57:39.932Z] 4d19c01a9841: Waiting [2023-05-01T16:57:39.932Z] c5a4b2cf53e6: Waiting [2023-05-01T16:57:39.932Z] 556b6ee489ea: Waiting [2023-05-01T16:57:39.932Z] 85791d961cd3: Download complete [2023-05-01T16:57:39.932Z] 9f32a84ed3da: Verifying Checksum [2023-05-01T16:57:39.932Z] 9f32a84ed3da: Download complete [2023-05-01T16:57:39.932Z] 4d19c01a9841: Download complete [2023-05-01T16:57:39.932Z] f56be85fc22e: Verifying Checksum [2023-05-01T16:57:39.932Z] f56be85fc22e: Download complete [2023-05-01T16:57:39.932Z] 9325e15d5711: Verifying Checksum [2023-05-01T16:57:39.932Z] 9325e15d5711: Download complete [2023-05-01T16:57:40.192Z] f56be85fc22e: Pull complete [2023-05-01T16:57:40.192Z] 85791d961cd3: Pull complete [2023-05-01T16:57:40.452Z] c5a4b2cf53e6: Verifying Checksum [2023-05-01T16:57:40.452Z] c5a4b2cf53e6: Download complete [2023-05-01T16:57:40.711Z] d694b5ae8c79: Verifying Checksum [2023-05-01T16:57:40.711Z] d694b5ae8c79: Download complete [2023-05-01T16:57:40.711Z] 556b6ee489ea: Verifying Checksum [2023-05-01T16:57:40.711Z] 556b6ee489ea: Download complete [2023-05-01T16:57:44.002Z] d694b5ae8c79: Pull complete [2023-05-01T16:57:44.002Z] 9f32a84ed3da: Pull complete [2023-05-01T16:57:44.261Z] 4d19c01a9841: Pull complete [2023-05-01T16:57:44.261Z] 9325e15d5711: Pull complete [2023-05-01T16:57:46.794Z] 556b6ee489ea: Pull complete [2023-05-01T16:57:47.733Z] c5a4b2cf53e6: Pull complete [2023-05-01T16:57:47.733Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-01T16:57:47.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-01T16:57:47.733Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-05-01T16:57:48.073Z] + 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 [2023-05-01T16:57:48.449Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-01T16:57:48.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:57:48.609Z] prd-ubuntu20.04-docker-8c-8g-12193 does not seem to be running inside a container [2023-05-01T16:57:48.637Z] $ 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 ******** ci-base-image-x86_64 cat [2023-05-01T16:57:52.423Z] $ docker top 020f1b7739a89e7fcdb384c58fdacf6c8d06588305a4fc666aac4dcc39f8fef8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:57:52.821Z] + go version [2023-05-01T16:57:52.821Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-01T16:57:52.859Z] $ docker stop --time=1 020f1b7739a89e7fcdb384c58fdacf6c8d06588305a4fc666aac4dcc39f8fef8 [2023-05-01T16:57:54.175Z] $ docker rm -f --volumes 020f1b7739a89e7fcdb384c58fdacf6c8d06588305a4fc666aac4dcc39f8fef8 [Pipeline] // withDockerContainer [Pipeline] } [2023-05-01T16:57:54.305Z] Still waiting to schedule task [2023-05-01T16:57:54.306Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:57:54.928Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-01T16:57:54.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:57:55.101Z] prd-ubuntu20.04-docker-8c-8g-12193 does not seem to be running inside a container [2023-05-01T16:57:55.129Z] $ 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 ******** ci-base-image-x86_64 cat [2023-05-01T16:57:55.486Z] $ docker top 089f20a9736d8cf0a3317d63b90f82007d6d9734b6ac5e8ae9b02dee79a9e349 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:57:55.887Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-248 [Pipeline] fileExists [Pipeline] sh [2023-05-01T16:57:56.256Z] + make test [2023-05-01T16:57:56.256Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-05-01T16:57:56.256Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-05-01T16:57:56.256Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-05-01T16:57:56.256Z] go: downloading github.com/google/uuid v1.3.0 [2023-05-01T16:57:56.256Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 [2023-05-01T16:57:56.256Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-05-01T16:57:56.256Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-05-01T16:57:56.256Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.16 [2023-05-01T16:57:56.515Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-05-01T16:57:56.515Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-05-01T16:57:56.515Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-05-01T16:57:56.515Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-05-01T16:57:56.515Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/go-playground/validator/v10 v10.12.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-05-01T16:57:56.515Z] go: downloading golang.org/x/net v0.9.0 [2023-05-01T16:57:56.515Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-05-01T16:57:56.515Z] go: downloading github.com/x448/float16 v0.8.4 [2023-05-01T16:57:56.515Z] go: downloading golang.org/x/text v0.9.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-05-01T16:57:56.515Z] go: downloading golang.org/x/crypto v0.8.0 [2023-05-01T16:57:56.515Z] go: downloading github.com/leodido/go-urn v1.2.2 [2023-05-01T16:57:56.515Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-05-01T16:57:56.515Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-05-01T16:57:56.515Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-05-01T16:57:56.774Z] go: downloading golang.org/x/sys v0.7.0 [2023-05-01T16:57:56.774Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-05-01T16:57:56.774Z] go: downloading github.com/klauspost/compress v1.16.4 [2023-05-01T16:57:56.774Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-05-01T16:57:56.774Z] go: downloading golang.org/x/time v0.3.0 [2023-05-01T16:58:18.701Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.051s coverage: 88.6% of statements [2023-05-01T16:58:18.701Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-05-01T16:58:18.701Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-05-01T16:58:20.075Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.050s coverage: 19.8% of statements [2023-05-01T16:58:20.075Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.083s coverage: 88.8% of statements [2023-05-01T16:58:20.075Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.086s coverage: 89.1% of statements [2023-05-01T16:58:26.634Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-05-01T16:58:26.634Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.089s coverage: 35.9% of statements [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.162s coverage: 61.3% of statements [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.049s coverage: 87.5% of statements [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.047s coverage: 100.0% of statements [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.046s coverage: 100.0% of statements [2023-05-01T16:58:26.634Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.068s coverage: 95.1% of statements [2023-05-01T16:58:44.734Z] go vet ./... [2023-05-01T16:58:44.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-01T16:58:44.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-05-01T16:58:44.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-01T16:58:44.811Z] $ docker stop --time=1 089f20a9736d8cf0a3317d63b90f82007d6d9734b6ac5e8ae9b02dee79a9e349 [2023-05-01T16:58:47.445Z] $ docker rm -f --volumes 089f20a9736d8cf0a3317d63b90f82007d6d9734b6ac5e8ae9b02dee79a9e349 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T16:58:48.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-01T16:58:48.229Z] 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 [2023-05-01T16:58:49.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:58:49.245Z] [2023-05-01T16:58:49.245Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:58:49.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:58:49.627Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-01T16:58:49.627Z] 5eb5b503b376: Pulling fs layer [2023-05-01T16:58:49.627Z] 5c69ac0246d0: Pulling fs layer [2023-05-01T16:58:49.627Z] ec43610c2a17: Pulling fs layer [2023-05-01T16:58:49.627Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-01T16:58:49.627Z] 33b1e0a273af: Pulling fs layer [2023-05-01T16:58:49.627Z] 5d3b04190fa2: Pulling fs layer [2023-05-01T16:58:49.627Z] 2f39f015ded8: Pulling fs layer [2023-05-01T16:58:49.627Z] 3a2ae6a8a46f: Waiting [2023-05-01T16:58:49.627Z] 33b1e0a273af: Waiting [2023-05-01T16:58:49.627Z] 5d3b04190fa2: Waiting [2023-05-01T16:58:49.627Z] 2f39f015ded8: Waiting [2023-05-01T16:58:49.627Z] 5c69ac0246d0: Download complete [2023-05-01T16:58:49.627Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-01T16:58:49.627Z] 3a2ae6a8a46f: Download complete [2023-05-01T16:58:49.627Z] 33b1e0a273af: Verifying Checksum [2023-05-01T16:58:49.627Z] 33b1e0a273af: Download complete [2023-05-01T16:58:49.627Z] 5d3b04190fa2: Verifying Checksum [2023-05-01T16:58:49.627Z] 5d3b04190fa2: Download complete [2023-05-01T16:58:49.627Z] ec43610c2a17: Verifying Checksum [2023-05-01T16:58:49.627Z] ec43610c2a17: Download complete [2023-05-01T16:58:49.888Z] 5eb5b503b376: Verifying Checksum [2023-05-01T16:58:49.888Z] 5eb5b503b376: Download complete [2023-05-01T16:58:50.456Z] 2f39f015ded8: Download complete [2023-05-01T16:58:51.023Z] 5eb5b503b376: Pull complete [2023-05-01T16:58:51.281Z] 5c69ac0246d0: Pull complete [2023-05-01T16:58:51.849Z] ec43610c2a17: Pull complete [2023-05-01T16:58:51.849Z] 3a2ae6a8a46f: Pull complete [2023-05-01T16:58:52.107Z] 33b1e0a273af: Pull complete [2023-05-01T16:58:52.107Z] 5d3b04190fa2: Pull complete [2023-05-01T16:58:57.378Z] 2f39f015ded8: Pull complete [2023-05-01T16:58:57.378Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-01T16:58:57.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:58:57.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:58:57.606Z] prd-ubuntu20.04-docker-8c-8g-12193 does not seem to be running inside a container [2023-05-01T16:58:57.635Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-01T16:59:01.435Z] $ docker top 8714b1473a6c6eaaff7d0c063dc944c738bac223e2da018ba9a284b6538bfc6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:59:01.894Z] ---> job-cost.sh [2023-05-01T16:59:01.894Z] lf-activate-venv: SKIPPING [2023-05-01T16:59:01.894Z] INFO: No Stack... [2023-05-01T16:59:02.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-01T16:59:02.721Z] INFO: Archiving Costs [Pipeline] sh [2023-05-01T16:59:03.037Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-248/archives/cost.csv [2023-05-01T16:59:03.037Z] + cut -d, -f6 [Pipeline] lock [2023-05-01T16:59:03.078Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [2023-05-01T16:59:03.084Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] did not exist. Created. [2023-05-01T16:59:03.084Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-01T16:59:03.473Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-01T16:59:03.520Z] Stashed 1 file(s) [Pipeline] } [2023-05-01T16:59:03.551Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-01T16:59:03.630Z] $ docker stop --time=1 8714b1473a6c6eaaff7d0c063dc944c738bac223e2da018ba9a284b6538bfc6b [2023-05-01T16:59:04.788Z] $ docker rm -f --volumes 8714b1473a6c6eaaff7d0c063dc944c738bac223e2da018ba9a284b6538bfc6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-01T16:59:33.359Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12195 in /w/workspace/xfoundry_go-mod-messaging_PR-248 [Pipeline] { [Pipeline] ws [2023-05-01T16:59:33.422Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2023-05-01T16:59:33.498Z] Selected Git installation does not exist. Using Default [2023-05-01T16:59:33.498Z] The recommended git tool is: NONE [2023-05-01T16:59:38.479Z] using credential edgex-jenkins-ssh [2023-05-01T16:59:38.495Z] Cloning the remote Git repository [2023-05-01T16:59:38.536Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-01T16:59:38.624Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2023-05-01T16:59:38.762Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-01T16:59:38.763Z] > git --version # timeout=10 [2023-05-01T16:59:38.782Z] > git --version # 'git version 2.25.1' [2023-05-01T16:59:38.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:59:38.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-01T16:59:39.799Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-05-01T16:59:39.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-01T16:59:40.692Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-05-01T16:59:40.747Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-05-01T16:59:40.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:59:40.769Z] > 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 [2023-05-01T16:59:41.317Z] Merging remotes/origin/main commit 4203778cf83335fa459973e0642568b60e7dbe33 into PR head commit 18fdf184f3034bbd5e71a8a47e81bb08697dceed [2023-05-01T16:59:41.617Z] Merge succeeded, producing 18fdf184f3034bbd5e71a8a47e81bb08697dceed [2023-05-01T16:59:41.617Z] Checking out Revision 18fdf184f3034bbd5e71a8a47e81bb08697dceed (PR-248) [2023-05-01T16:59:42.102Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-05-01T16:59:42.152Z] > git --version # timeout=10 [2023-05-01T16:59:42.167Z] > git --version # 'git version 2.25.1' [2023-05-01T16:59:42.183Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:59:41.338Z] > git config core.sparsecheckout # timeout=10 [2023-05-01T16:59:41.417Z] > git checkout -f 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 [2023-05-01T16:59:41.507Z] > git remote # timeout=10 [2023-05-01T16:59:41.530Z] > git config --get remote.origin.url # timeout=10 [2023-05-01T16:59:41.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:59:41.561Z] > git merge 4203778cf83335fa459973e0642568b60e7dbe33 # timeout=10 [2023-05-01T16:59:41.589Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-01T16:59:41.624Z] > git config core.sparsecheckout # timeout=10 [2023-05-01T16:59:41.637Z] > git checkout -f 18fdf184f3034bbd5e71a8a47e81bb08697dceed # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-01T16:59:43.330Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-01T16:59:43.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-01T16:59:43.330Z] Dload Upload Total Spent Left Speed [2023-05-01T16:59:43.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-05-01T16:59:43.976Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-01T16:59:44.324Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-01T16:59:44.324Z] + sudo tee /etc/docker/daemon.new [2023-05-01T16:59:44.324Z] { [2023-05-01T16:59:44.324Z] "registry-mirrors": [ [2023-05-01T16:59:44.324Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-01T16:59:44.324Z] ], [2023-05-01T16:59:44.324Z] "bip": "10.250.0.254/24", [2023-05-01T16:59:44.324Z] "hosts": [ [2023-05-01T16:59:44.324Z] "tcp://0.0.0.0:5555", [2023-05-01T16:59:44.324Z] "unix:///var/run/docker.sock" [2023-05-01T16:59:44.324Z] ], [2023-05-01T16:59:44.324Z] "mtu": 1458, [2023-05-01T16:59:44.324Z] "selinux-enabled": true, [2023-05-01T16:59:44.324Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-01T16:59:44.324Z] } [Pipeline] sh [2023-05-01T16:59:44.666Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-01T16:59:45.012Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-05-01T17:00:03.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T17:00:03.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T17:00:03.580Z] ========================================================= [2023-05-01T17:00:03.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-01T17:00:03.580Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-05-01T17:00:04.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-01T17:00:04.600Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-01T17:00:04.600Z] c41833b44d91: Pulling fs layer [2023-05-01T17:00:04.600Z] ed15518f5707: Pulling fs layer [2023-05-01T17:00:04.600Z] feae8fd75edb: Pulling fs layer [2023-05-01T17:00:04.600Z] 242c74f7c9fa: Pulling fs layer [2023-05-01T17:00:04.600Z] 3cdef696dda3: Pulling fs layer [2023-05-01T17:00:04.600Z] 2ced38df9373: Pulling fs layer [2023-05-01T17:00:04.600Z] 58f1dce35555: Pulling fs layer [2023-05-01T17:00:04.600Z] 242c74f7c9fa: Waiting [2023-05-01T17:00:04.600Z] 3cdef696dda3: Waiting [2023-05-01T17:00:04.600Z] 2ced38df9373: Waiting [2023-05-01T17:00:04.600Z] 58f1dce35555: Waiting [2023-05-01T17:00:04.600Z] ed15518f5707: Verifying Checksum [2023-05-01T17:00:04.600Z] ed15518f5707: Download complete [2023-05-01T17:00:04.600Z] 242c74f7c9fa: Verifying Checksum [2023-05-01T17:00:04.600Z] 242c74f7c9fa: Download complete [2023-05-01T17:00:04.600Z] 3cdef696dda3: Verifying Checksum [2023-05-01T17:00:04.600Z] 3cdef696dda3: Download complete [2023-05-01T17:00:04.600Z] c41833b44d91: Verifying Checksum [2023-05-01T17:00:04.600Z] c41833b44d91: Download complete [2023-05-01T17:00:05.574Z] c41833b44d91: Pull complete [2023-05-01T17:00:06.164Z] 58f1dce35555: Verifying Checksum [2023-05-01T17:00:06.164Z] 58f1dce35555: Download complete [2023-05-01T17:00:06.164Z] ed15518f5707: Pull complete [2023-05-01T17:00:07.140Z] feae8fd75edb: Verifying Checksum [2023-05-01T17:00:07.140Z] feae8fd75edb: Download complete [2023-05-01T17:00:07.140Z] 2ced38df9373: Verifying Checksum [2023-05-01T17:00:07.140Z] 2ced38df9373: Download complete [2023-05-01T17:00:19.504Z] feae8fd75edb: Pull complete [2023-05-01T17:00:19.504Z] 242c74f7c9fa: Pull complete [2023-05-01T17:00:19.504Z] 3cdef696dda3: Pull complete [2023-05-01T17:00:26.162Z] 2ced38df9373: Pull complete [2023-05-01T17:00:29.598Z] 58f1dce35555: Pull complete [2023-05-01T17:00:29.598Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-01T17:00:29.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-01T17:00:29.598Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-05-01T17:00:29.939Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T17:00:30.360Z] + docker inspect -f . ci-base-image-arm64 [2023-05-01T17:00:30.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T17:00:30.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-12195 does not seem to be running inside a container [2023-05-01T17:00:30.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-01T17:00:33.792Z] $ docker top 9e8efffe767ad3f3523c46d6cd7d0668f2ba00750300e8c5d08cc719c604bce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T17:00:34.694Z] + go version [2023-05-01T17:00:34.694Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-01T17:00:34.735Z] $ docker stop --time=1 9e8efffe767ad3f3523c46d6cd7d0668f2ba00750300e8c5d08cc719c604bce1 [2023-05-01T17:00:36.378Z] $ docker rm -f --volumes 9e8efffe767ad3f3523c46d6cd7d0668f2ba00750300e8c5d08cc719c604bce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T17:00:37.261Z] + docker inspect -f . ci-base-image-arm64 [2023-05-01T17:00:37.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T17:00:37.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-12195 does not seem to be running inside a container [2023-05-01T17:00:37.609Z] $ 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/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-01T17:00:41.010Z] $ docker top 4e29da003c46d70801413805ac57eb90bc90e335f44cafb58453aebdebfc793a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T17:00:41.581Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/1 [Pipeline] fileExists [Pipeline] sh [2023-05-01T17:00:41.979Z] + make test [2023-05-01T17:00:41.979Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-05-01T17:00:42.255Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.38 [2023-05-01T17:00:42.844Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-05-01T17:00:42.844Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-05-01T17:00:42.844Z] go: downloading github.com/nats-io/nats.go v1.24.0 [2023-05-01T17:00:42.844Z] go: downloading github.com/google/uuid v1.3.0 [2023-05-01T17:00:42.844Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-05-01T17:00:42.844Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.16 [2023-05-01T17:00:42.844Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-05-01T17:00:43.135Z] go: downloading github.com/go-playground/validator/v10 v10.12.0 [2023-05-01T17:00:43.135Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-05-01T17:00:43.723Z] go: downloading golang.org/x/net v0.9.0 [2023-05-01T17:00:43.723Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-05-01T17:00:43.723Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-05-01T17:00:43.723Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-05-01T17:00:43.723Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-05-01T17:00:43.723Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-05-01T17:00:43.723Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-05-01T17:00:43.723Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-05-01T17:00:43.723Z] go: downloading github.com/nats-io/nkeys v0.4.4 [2023-05-01T17:00:43.723Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-05-01T17:00:43.993Z] go: downloading github.com/x448/float16 v0.8.4 [2023-05-01T17:00:43.993Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-05-01T17:00:43.993Z] go: downloading github.com/leodido/go-urn v1.2.2 [2023-05-01T17:00:43.993Z] go: downloading golang.org/x/crypto v0.8.0 [2023-05-01T17:00:44.262Z] go: downloading golang.org/x/text v0.9.0 [2023-05-01T17:00:44.848Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-05-01T17:00:44.848Z] go: downloading github.com/klauspost/compress v1.16.4 [2023-05-01T17:00:44.848Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-05-01T17:00:44.848Z] go: downloading github.com/nats-io/jwt/v2 v2.4.1 [2023-05-01T17:00:45.116Z] go: downloading golang.org/x/time v0.3.0 [2023-05-01T17:02:36.821Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.316s coverage: 88.6% of statements [2023-05-01T17:02:36.821Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-05-01T17:02:36.821Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-05-01T17:02:37.778Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg 5.236s coverage: 19.8% of statements [2023-05-01T17:02:37.778Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.396s coverage: 88.8% of statements [2023-05-01T17:02:37.778Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.379s coverage: 89.1% of statements [2023-05-01T17:03:59.380Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.488s coverage: 35.9% of statements [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.437s coverage: 61.3% of statements [2023-05-01T17:03:59.380Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.268s coverage: 87.5% of statements [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.249s coverage: 100.0% of statements [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.215s coverage: 100.0% of statements [2023-05-01T17:03:59.380Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.232s coverage: 95.1% of statements [2023-05-01T17:03:59.380Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-01T17:03:59.380Z] go vet ./... [2023-05-01T17:05:36.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-01T17:05:36.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-05-01T17:05:36.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-01T17:05:36.179Z] $ docker stop --time=1 4e29da003c46d70801413805ac57eb90bc90e335f44cafb58453aebdebfc793a [2023-05-01T17:05:38.052Z] $ docker rm -f --volumes 4e29da003c46d70801413805ac57eb90bc90e335f44cafb58453aebdebfc793a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T17:05:40.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-01T17:05:40.347Z] Warning: overwriting stash ‘coverage-report’ [2023-05-01T17:05:40.833Z] 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 [2023-05-01T17:05:41.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T17:05:41.730Z] [2023-05-01T17:05:41.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T17:05:42.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T17:05:42.426Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-01T17:05:42.426Z] 8998bd30e6a1: Pulling fs layer [2023-05-01T17:05:42.426Z] 04944245beec: Pulling fs layer [2023-05-01T17:05:42.426Z] 699f458cf7ca: Pulling fs layer [2023-05-01T17:05:42.426Z] 765212b225bb: Pulling fs layer [2023-05-01T17:05:42.426Z] f23df028b6ca: Pulling fs layer [2023-05-01T17:05:42.426Z] d65c8cfc05b1: Pulling fs layer [2023-05-01T17:05:42.426Z] 2437ff75d9bd: Pulling fs layer [2023-05-01T17:05:42.426Z] f23df028b6ca: Waiting [2023-05-01T17:05:42.426Z] 2437ff75d9bd: Waiting [2023-05-01T17:05:42.426Z] d65c8cfc05b1: Waiting [2023-05-01T17:05:42.426Z] 04944245beec: Verifying Checksum [2023-05-01T17:05:42.426Z] 04944245beec: Download complete [2023-05-01T17:05:42.426Z] 765212b225bb: Verifying Checksum [2023-05-01T17:05:42.426Z] 765212b225bb: Download complete [2023-05-01T17:05:42.694Z] f23df028b6ca: Verifying Checksum [2023-05-01T17:05:42.694Z] f23df028b6ca: Download complete [2023-05-01T17:05:42.694Z] d65c8cfc05b1: Verifying Checksum [2023-05-01T17:05:42.694Z] d65c8cfc05b1: Download complete [2023-05-01T17:05:42.694Z] 699f458cf7ca: Verifying Checksum [2023-05-01T17:05:42.694Z] 699f458cf7ca: Download complete [2023-05-01T17:05:42.963Z] 8998bd30e6a1: Verifying Checksum [2023-05-01T17:05:42.963Z] 8998bd30e6a1: Download complete [2023-05-01T17:05:45.552Z] 2437ff75d9bd: Verifying Checksum [2023-05-01T17:05:45.553Z] 2437ff75d9bd: Download complete [2023-05-01T17:05:47.502Z] 8998bd30e6a1: Pull complete [2023-05-01T17:05:47.502Z] 04944245beec: Pull complete [2023-05-01T17:05:48.912Z] 699f458cf7ca: Pull complete [2023-05-01T17:05:49.179Z] 765212b225bb: Pull complete [2023-05-01T17:05:49.764Z] f23df028b6ca: Pull complete [2023-05-01T17:05:50.033Z] d65c8cfc05b1: Pull complete [2023-05-01T17:06:05.043Z] 2437ff75d9bd: Pull complete [2023-05-01T17:06:05.043Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-01T17:06:05.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T17:06:05.043Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T17:06:05.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-12195 does not seem to be running inside a container [2023-05-01T17:06:05.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-messaging/1 -v /w/workspace/go-mod-messaging/1:/w/workspace/go-mod-messaging/1:rw,z -v /w/workspace/go-mod-messaging/1@tmp:/w/workspace/go-mod-messaging/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-01T17:06:07.837Z] $ docker top b187179da9dd49c222a4950101c9cad3bb0179626c3eb2b1706745b1607b6937 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:08.420Z] ---> job-cost.sh [2023-05-01T17:06:08.688Z] lf-activate-venv: SKIPPING [2023-05-01T17:06:08.688Z] INFO: No Stack... [2023-05-01T17:06:09.271Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-01T17:06:09.856Z] INFO: Archiving Costs [Pipeline] sh [2023-05-01T17:06:10.516Z] + + cat /w/workspace/go-mod-messaging/1/archives/cost.csvcut [2023-05-01T17:06:10.516Z] -d, -f6 [Pipeline] lock [2023-05-01T17:06:10.603Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [2023-05-01T17:06:10.609Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] did not exist. Created. [2023-05-01T17:06:10.609Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-01T17:06:11.022Z] /w/workspace/go-mod-messaging/1@tmp/durable-45c3d397/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-01T17:06:11.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-01T17:06:11.425Z] Warning: overwriting stash ‘stack-cost’ [2023-05-01T17:06:11.472Z] Stashed 1 file(s) [Pipeline] } [2023-05-01T17:06:11.490Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-01T17:06:11.580Z] $ docker stop --time=1 b187179da9dd49c222a4950101c9cad3bb0179626c3eb2b1706745b1607b6937 [2023-05-01T17:06:13.066Z] $ docker rm -f --volumes b187179da9dd49c222a4950101c9cad3bb0179626c3eb2b1706745b1607b6937 [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 [2023-05-01T17:06:14.099Z] provisioning config files... [2023-05-01T17:06:14.109Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/config4130148737715400347tmp [Pipeline] { [Pipeline] sh [2023-05-01T17:06:14.439Z] + set +x [2023-05-01T17:06:14.439Z] + curl -s https://codecov.io/bash [2023-05-01T17:06:14.439Z] + bash -s -- [2023-05-01T17:06:14.439Z] [2023-05-01T17:06:14.439Z] _____ _ [2023-05-01T17:06:14.439Z] / ____| | | [2023-05-01T17:06:14.439Z] | | ___ __| | ___ ___ _____ __ [2023-05-01T17:06:14.439Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-01T17:06:14.439Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-01T17:06:14.439Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-01T17:06:14.439Z] Bash-1.0.6 [2023-05-01T17:06:14.439Z] [2023-05-01T17:06:14.439Z] [2023-05-01T17:06:14.439Z] ==> git version 2.25.1 found [2023-05-01T17:06:14.439Z] ==> 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 [2023-05-01T17:06:14.439Z] Release-Date: 2020-01-08 [2023-05-01T17:06:14.439Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-01T17:06:14.439Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-01T17:06:14.439Z] ==> Jenkins CI detected. [2023-05-01T17:06:14.439Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-248 [2023-05-01T17:06:14.439Z] project root: . [2023-05-01T17:06:14.439Z] --> token set from env [2023-05-01T17:06:14.439Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-01T17:06:14.439Z] ==> Running gcov in . (disable via -X gcov) [2023-05-01T17:06:14.439Z] ==> Python coveragepy not found [2023-05-01T17:06:14.439Z] ==> Searching for coverage reports in: [2023-05-01T17:06:14.439Z] + . [2023-05-01T17:06:14.440Z] -> Found 1 reports [2023-05-01T17:06:14.440Z] ==> Detecting git/mercurial file structure [2023-05-01T17:06:14.698Z] ==> Reading reports [2023-05-01T17:06:14.698Z] + ./coverage.out bytes=41815 [2023-05-01T17:06:14.698Z] ==> Appending adjustments [2023-05-01T17:06:14.698Z] https://docs.codecov.io/docs/fixing-reports [2023-05-01T17:06:14.698Z] + Found adjustments [2023-05-01T17:06:14.698Z] ==> Gzipping contents [2023-05-01T17:06:14.698Z] 12K /tmp/codecov.druwht.gz [2023-05-01T17:06:14.698Z] ==> Uploading reports [2023-05-01T17:06:14.698Z] url: https://codecov.io [2023-05-01T17:06:14.698Z] query: branch=PR-248&commit=18fdf184f3034bbd5e71a8a47e81bb08697dceed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-248%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-01T17:06:14.698Z] -> Pinging Codecov [2023-05-01T17:06:14.699Z] 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=18fdf184f3034bbd5e71a8a47e81bb08697dceed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-248%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=248&job=&cmd_args= [2023-05-01T17:06:14.958Z] -> Uploading to [2023-05-01T17:06:14.958Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-01/F6E385568367DD0E4001BA4F8F1CB792/18fdf184f3034bbd5e71a8a47e81bb08697dceed/dd68a233-9f13-41a8-baf1-dbcab33f3144.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T170614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed2dcd262b37ba28329fd990eca83bea3d10f0bc43fb9350576b40960c18656a [2023-05-01T17:06:14.958Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-01T17:06:14.958Z] Dload Upload Total Spent Left Speed [2023-05-01T17:06:15.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8282 0 0 100 8282 0 30902 --:--:-- --:--:-- --:--:-- 30902 [2023-05-01T17:06:15.217Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/18fdf184f3034bbd5e71a8a47e81bb08697dceed [Pipeline] } [2023-05-01T17:06:15.245Z] 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 [2023-05-01T17:06:17.217Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-248/archives ] [2023-05-01T17:06:17.217Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-248/archives [2023-05-01T17:06:17.217Z] total 16 [2023-05-01T17:06:17.217Z] drwxr-xr-x 3 root root 4096 May 1 16:59 . [2023-05-01T17:06:17.217Z] drwxrwxr-x 10 jenkins jenkins 4096 May 1 16:59 .. [2023-05-01T17:06:17.217Z] drwxr-xr-x 2 root root 4096 May 1 16:59 cost [2023-05-01T17:06:17.217Z] -rw-r--r-- 1 root root 89 May 1 16:59 cost.csv [2023-05-01T17:06:17.217Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-248/archives [2023-05-01T17:06:17.217Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-248/archives [2023-05-01T17:06:17.217Z] total 16 [2023-05-01T17:06:17.217Z] drwxr-xr-x 3 jenkins jenkins 4096 May 1 16:59 . [2023-05-01T17:06:17.217Z] drwxrwxr-x 10 jenkins jenkins 4096 May 1 16:59 .. [2023-05-01T17:06:17.217Z] drwxr-xr-x 2 jenkins jenkins 4096 May 1 16:59 cost [2023-05-01T17:06:17.217Z] -rw-r--r-- 1 jenkins jenkins 89 May 1 16:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:17.542Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:18.430Z] ---> package-listing.sh [2023-05-01T17:06:18.430Z] ++ facter osfamily [2023-05-01T17:06:18.430Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-01T17:06:18.689Z] + OS_FAMILY=debian [2023-05-01T17:06:18.689Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-248 [2023-05-01T17:06:18.689Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-01T17:06:18.689Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-01T17:06:18.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-01T17:06:18.689Z] + PACKAGES=/tmp/packages_start.txt [2023-05-01T17:06:18.689Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-248 ']' [2023-05-01T17:06:18.689Z] + PACKAGES=/tmp/packages_end.txt [2023-05-01T17:06:18.689Z] + case "${OS_FAMILY}" in [2023-05-01T17:06:18.689Z] + dpkg -l [2023-05-01T17:06:18.689Z] + grep '^ii' [2023-05-01T17:06:18.689Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-01T17:06:18.689Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-01T17:06:18.689Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-01T17:06:18.689Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-248 ']' [2023-05-01T17:06:18.689Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-248/archives/ [2023-05-01T17:06:18.689Z] + 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 [2023-05-01T17:06:18.728Z] 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 [2023-05-01T17:06:19.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T17:06:19.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T17:06:19.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T17:06:19.784Z] prd-ubuntu20.04-docker-8c-8g-12193 does not seem to be running inside a container [2023-05-01T17:06:19.814Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-01T17:06:20.017Z] $ docker top 35467dd27a999156510da80680253dd31d491760fe25ce58c08be9877f963174 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T17:06:20.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-01T17:06:20.720Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-01T17:06:21.032Z] + ls /var/log/sa-host [2023-05-01T17:06:21.032Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-01T17:06:21.174Z] provisioning config files... [2023-05-01T17:06:21.183Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-248@tmp/config2143089330855136739tmp [Pipeline] { [Pipeline] echo [2023-05-01T17:06:21.242Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:21.552Z] ---> create-netrc.sh [Pipeline] } [2023-05-01T17:06:21.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:21.994Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-01T17:06:22.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:22.333Z] ---> sudo-logs.sh [2023-05-01T17:06:22.334Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-01T17:06:22.438Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:22.755Z] ---> job-cost.sh [2023-05-01T17:06:22.755Z] lf-activate-venv: SKIPPING [2023-05-01T17:06:22.755Z] DEBUG: total: 0.2199999988079071 [2023-05-01T17:06:22.755Z] INFO: Retrieving Stack Cost... [2023-05-01T17:06:23.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-01T17:06:23.580Z] INFO: Archiving Costs [Pipeline] echo [2023-05-01T17:06:23.698Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T17:06:24.008Z] ---> logs-deploy.sh [2023-05-01T17:06:24.008Z] lf-activate-venv: SKIPPING [2023-05-01T17:06:24.008Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-248/1 [2023-05-01T17:06:24.008Z] INFO: archiving workspace using pattern(s): [2023-05-01T17:06:24.945Z] Archives upload complete. [2023-05-01T17:06:24.945Z] INFO: archiving logs to Nexus