Pull request #213 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b59930efa5af43b07a7fbe5e49c014c87a8bc029+63deac893c3bdfb12abd19ac49e08ddb312e4fc2 (ff48d366df189218dccf0b7aa25fc8d0ec2edaab) 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-ssh2328662842104699032.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4288780570984921506.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-213/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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15649187540625153514.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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9124233414940626632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3883882267348457378.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-213/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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2958580829185743521.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4681’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4682 in /w/workspace/xfoundry_go-mod-messaging_PR-213 [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-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63deac893c3bdfb12abd19ac49e08ddb312e4fc2 into PR head commit b59930efa5af43b07a7fbe5e49c014c87a8bc029 Merge succeeded, producing b59930efa5af43b07a7fbe5e49c014c87a8bc029 Checking out Revision b59930efa5af43b07a7fbe5e49c014c87a8bc029 (PR-213) Commit message: "build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.12" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T16:03:15.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f b59930efa5af43b07a7fbe5e49c014c87a8bc029 # 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 63deac893c3bdfb12abd19ac49e08ddb312e4fc2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b59930efa5af43b07a7fbe5e49c014c87a8bc029 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T16:03:16.176Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T16:03:16.278Z] ========================================================= [2023-02-06T16:03:16.278Z] EdgeX Global Pipelines Version Info [2023-02-06T16:03:16.278Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:03:17.031Z] ------------------- [2023-02-06T16:03:17.031Z] stable info: [2023-02-06T16:03:17.031Z] ------------------- [2023-02-06T16:03:17.031Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T16:03:17.031Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T16:03:17.031Z] Message: update stable to v1.0.244 [2023-02-06T16:03:17.604Z] ------------------- [2023-02-06T16:03:17.604Z] experimental info: [2023-02-06T16:03:17.604Z] ------------------- [2023-02-06T16:03:17.604Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T16:03:17.604Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T16:03:17.604Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T16:03:17.914Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2023-02-06T16:03:17.956Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2023-02-06T16:03:18.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T16:03:18.045Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T16:03:18.092Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T16:03:18.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T16:03:18.179Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T16:03:18.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-06T16:03:18.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T16:03:18.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T16:03:18.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T16:03:18.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2023-02-06T16:03:18.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T16:03:18.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T16:03:18.501Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T16:03:18.545Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T16:03:18.595Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T16:03:18.645Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T16:03:18.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T16:03:18.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T16:03:18.774Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-06T16:03:18.816Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-06T16:03:18.859Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T16:03:18.903Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T16:03:18.945Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-02-06T16:03:18.986Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T16:03:19.030Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T16:03:19.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo [2023-02-06T16:03:19.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo [2023-02-06T16:03:19.167Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo [2023-02-06T16:03:19.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b59930efa5af43b07a7fbe5e49c014c87a8bc029 [Pipeline] echo [2023-02-06T16:03:19.259Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b59930e [Pipeline] echo [2023-02-06T16:03:19.300Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T16:03:19.823Z] + git rev-list -1 --merges b59930efa5af43b07a7fbe5e49c014c87a8bc029~1..b59930efa5af43b07a7fbe5e49c014c87a8bc029 [Pipeline] echo [2023-02-06T16:03:19.895Z] -----------> git rev-list -1 --merges b59930efa5af43b07a7fbe5e49c014c87a8bc029~1..b59930efa5af43b07a7fbe5e49c014c87a8bc029 b59930efa5af43b07a7fbe5e49c014c87a8bc029 [false] [Pipeline] sh [2023-02-06T16:03:20.210Z] + git log --format=format:%s -1 b59930efa5af43b07a7fbe5e49c014c87a8bc029 [Pipeline] echo [2023-02-06T16:03:20.245Z] ========================================================= [2023-02-06T16:03:20.245Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T16:03:20.245Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T16:03:20.671Z] + git log --format=format:%s -1 b59930efa5af43b07a7fbe5e49c014c87a8bc029 [Pipeline] echo [2023-02-06T16:03:20.704Z] [semverPrep] GIT_COMMIT: b59930efa5af43b07a7fbe5e49c014c87a8bc029, Commit Message: build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.12 [Pipeline] echo [2023-02-06T16:03:20.733Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T16:03:21.116Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T16:03:21.116Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T16:03:21.116Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T16:03:21.116Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T16:03:21.116Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T16:03:21.116Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T16:03:21.116Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:03:21.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T16:03:21.831Z] [2023-02-06T16:03:21.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:03:22.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T16:03:22.219Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T16:03:22.219Z] b85a868b505f: Pulling fs layer [2023-02-06T16:03:22.219Z] e2be974225ed: Pulling fs layer [2023-02-06T16:03:22.219Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T16:03:22.219Z] 988bab9f4d93: Pulling fs layer [2023-02-06T16:03:22.219Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T16:03:22.219Z] eaf3925da568: Pulling fs layer [2023-02-06T16:03:22.219Z] bab4dde63d76: Pulling fs layer [2023-02-06T16:03:22.219Z] bde34c3a00c8: Pulling fs layer [2023-02-06T16:03:22.219Z] b352a97aabf1: Pulling fs layer [2023-02-06T16:03:22.219Z] 4872d77fe225: Pulling fs layer [2023-02-06T16:03:22.219Z] 5851b861e8e6: Pulling fs layer [2023-02-06T16:03:22.219Z] eaf3925da568: Waiting [2023-02-06T16:03:22.219Z] b352a97aabf1: Waiting [2023-02-06T16:03:22.219Z] 1469e6f7b9e6: Waiting [2023-02-06T16:03:22.219Z] 4872d77fe225: Waiting [2023-02-06T16:03:22.219Z] 5851b861e8e6: Waiting [2023-02-06T16:03:22.219Z] bde34c3a00c8: Waiting [2023-02-06T16:03:22.219Z] bab4dde63d76: Waiting [2023-02-06T16:03:22.219Z] 988bab9f4d93: Waiting [2023-02-06T16:03:22.485Z] e2be974225ed: Verifying Checksum [2023-02-06T16:03:22.485Z] e2be974225ed: Download complete [2023-02-06T16:03:22.485Z] 988bab9f4d93: Verifying Checksum [2023-02-06T16:03:22.485Z] 988bab9f4d93: Download complete [2023-02-06T16:03:22.485Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T16:03:22.485Z] 1469e6f7b9e6: Download complete [2023-02-06T16:03:22.485Z] eaf3925da568: Download complete [2023-02-06T16:03:22.485Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T16:03:22.485Z] 339a4e72a1f5: Download complete [2023-02-06T16:03:22.747Z] bde34c3a00c8: Verifying Checksum [2023-02-06T16:03:22.747Z] bde34c3a00c8: Download complete [2023-02-06T16:03:22.747Z] b352a97aabf1: Verifying Checksum [2023-02-06T16:03:22.747Z] b352a97aabf1: Download complete [2023-02-06T16:03:22.747Z] 4872d77fe225: Download complete [2023-02-06T16:03:22.747Z] 5851b861e8e6: Verifying Checksum [2023-02-06T16:03:22.747Z] b85a868b505f: Download complete [2023-02-06T16:03:23.007Z] bab4dde63d76: Verifying Checksum [2023-02-06T16:03:23.007Z] bab4dde63d76: Download complete [2023-02-06T16:03:23.946Z] b85a868b505f: Pull complete [2023-02-06T16:03:24.206Z] e2be974225ed: Pull complete [2023-02-06T16:03:24.775Z] 339a4e72a1f5: Pull complete [2023-02-06T16:03:24.775Z] 988bab9f4d93: Pull complete [2023-02-06T16:03:25.035Z] 1469e6f7b9e6: Pull complete [2023-02-06T16:03:25.294Z] eaf3925da568: Pull complete [2023-02-06T16:03:27.202Z] bab4dde63d76: Pull complete [2023-02-06T16:03:27.202Z] bde34c3a00c8: Pull complete [2023-02-06T16:03:27.202Z] b352a97aabf1: Pull complete [2023-02-06T16:03:27.465Z] 4872d77fe225: Pull complete [2023-02-06T16:03:27.465Z] 5851b861e8e6: Pull complete [2023-02-06T16:03:27.465Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T16:03:27.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T16:03:27.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:03:27.702Z] prd-ubuntu20.04-docker-8c-8g-4682 does not seem to be running inside a container [2023-02-06T16:03:27.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-213 -v /w/workspace/xfoundry_go-mod-messaging_PR-213:/w/workspace/xfoundry_go-mod-messaging_PR-213:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-213@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-02-06T16:03:29.194Z] $ docker top b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 -eo pid,comm [2023-02-06T16:03:29.255Z] 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). [2023-02-06T16:03:29.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T16:03:29.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T16:03:29.381Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T16:03:29.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T16:03:29.511Z] $ docker exec b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 ssh-agent [2023-02-06T16:03:29.624Z] SSH_AUTH_SOCK=/tmp/ssh-dnAcOSVqzhYl/agent.32 [2023-02-06T16:03:29.624Z] SSH_AGENT_PID=38 [2023-02-06T16:03:29.631Z] Running ssh-add (command line suppressed) [2023-02-06T16:03:29.744Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/private_key_10515042218713807188.key (/w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/private_key_10515042218713807188.key) [2023-02-06T16:03:29.762Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T16:03:30.096Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T16:03:30.120Z] $ docker exec --env ******** --env ******** b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 ssh-agent -k [2023-02-06T16:03:30.223Z] unset SSH_AUTH_SOCK; [2023-02-06T16:03:30.224Z] unset SSH_AGENT_PID; [2023-02-06T16:03:30.224Z] echo Agent pid 38 killed; [2023-02-06T16:03:30.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T16:03:30.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T16:03:30.325Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T16:03:30.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T16:03:30.456Z] $ docker exec b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 ssh-agent [2023-02-06T16:03:30.578Z] SSH_AUTH_SOCK=/tmp/ssh-U1QRbyLGrEpK/agent.70 [2023-02-06T16:03:30.578Z] SSH_AGENT_PID=76 [2023-02-06T16:03:30.583Z] Running ssh-add (command line suppressed) [2023-02-06T16:03:30.690Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/private_key_1464789314674506310.key (/w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/private_key_1464789314674506310.key) [2023-02-06T16:03:30.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T16:03:31.048Z] + git semver init [2023-02-06T16:03:31.309Z] 2023-02-06 16:03:31,250 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T16:03:31.309Z] 2023-02-06 16:03:31,251 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver [2023-02-06T16:03:31.309Z] 2023-02-06 16:03:31,251 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-messaging.git /w/workspace/xfoundry_go-mod-messaging_PR-213/.semver [2023-02-06T16:03:31.309Z] 2023-02-06 16:03:31,251 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-messaging.git', '/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-213, universal_newlines=False, shell=None, istream=None) [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,089 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-messaging_PR-213/.git/info/exclude [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,090 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver/PR-213 with force:False [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,090 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver/PR-213 [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,097 [execute] INFO git cat-file --batch-check [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,106 [execute] INFO git cat-file --batch [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-messaging_PR-213/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T16:03:32.249Z] 2023-02-06 16:03:32,113 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-messaging_PR-213/.semver/PR-213 [2023-02-06T16:03:32.249Z] 0.0.0 [Pipeline] } [2023-02-06T16:03:32.278Z] $ docker exec --env ******** --env ******** b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 ssh-agent -k [2023-02-06T16:03:32.379Z] unset SSH_AUTH_SOCK; [2023-02-06T16:03:32.380Z] unset SSH_AGENT_PID; [2023-02-06T16:03:32.380Z] echo Agent pid 76 killed; [2023-02-06T16:03:32.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T16:03:32.816Z] + git semver [Pipeline] } [2023-02-06T16:03:33.411Z] $ docker stop --time=1 b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 [2023-02-06T16:03:34.793Z] $ docker rm -f --volumes b8d4f7945c949d84e8734576112a86609826228b7ec31cf79e5035a73bb6bfd5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T16:03:35.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T16:03:35.564Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T16:03:35.589Z] [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-02-06T16:03:36.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T16:03:36.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T16:03:36.247Z] ========================================================= [2023-02-06T16:03:36.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T16:03:36.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-06T16:03:36.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T16:03:36.639Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T16:03:36.639Z] 213ec9aee27d: Pulling fs layer [2023-02-06T16:03:36.639Z] 4583459ba037: Pulling fs layer [2023-02-06T16:03:36.639Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T16:03:36.639Z] 53926ce57604: Pulling fs layer [2023-02-06T16:03:36.639Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T16:03:36.639Z] 22ff95d597cd: Pulling fs layer [2023-02-06T16:03:36.640Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T16:03:36.640Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T16:03:36.640Z] a7acece74701: Pulling fs layer [2023-02-06T16:03:36.640Z] 12d6caf4c0d1: Waiting [2023-02-06T16:03:36.640Z] 21b2b0c7a3f4: Waiting [2023-02-06T16:03:36.640Z] 96b7cbca73a9: Waiting [2023-02-06T16:03:36.640Z] 22ff95d597cd: Waiting [2023-02-06T16:03:36.640Z] a7acece74701: Waiting [2023-02-06T16:03:36.640Z] 53926ce57604: Waiting [2023-02-06T16:03:36.640Z] 93c1e223e6f2: Verifying Checksum [2023-02-06T16:03:36.640Z] 93c1e223e6f2: Download complete [2023-02-06T16:03:36.640Z] 4583459ba037: Download complete [2023-02-06T16:03:36.640Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T16:03:36.640Z] 21b2b0c7a3f4: Download complete [2023-02-06T16:03:36.640Z] 22ff95d597cd: Verifying Checksum [2023-02-06T16:03:36.640Z] 22ff95d597cd: Download complete [2023-02-06T16:03:36.906Z] 213ec9aee27d: Download complete [2023-02-06T16:03:36.906Z] 12d6caf4c0d1: Verifying Checksum [2023-02-06T16:03:36.906Z] 12d6caf4c0d1: Download complete [2023-02-06T16:03:36.906Z] 213ec9aee27d: Pull complete [2023-02-06T16:03:37.179Z] 4583459ba037: Pull complete [2023-02-06T16:03:37.179Z] 93c1e223e6f2: Pull complete [2023-02-06T16:03:37.456Z] a7acece74701: Verifying Checksum [2023-02-06T16:03:37.456Z] a7acece74701: Download complete [2023-02-06T16:03:38.033Z] 53926ce57604: Verifying Checksum [2023-02-06T16:03:38.033Z] 53926ce57604: Download complete [2023-02-06T16:03:38.033Z] 96b7cbca73a9: Download complete [2023-02-06T16:03:42.224Z] 53926ce57604: Pull complete [2023-02-06T16:03:42.224Z] 21b2b0c7a3f4: Pull complete [2023-02-06T16:03:42.224Z] 22ff95d597cd: Pull complete [2023-02-06T16:03:42.224Z] 12d6caf4c0d1: Pull complete [2023-02-06T16:03:44.757Z] 96b7cbca73a9: Pull complete [2023-02-06T16:03:45.338Z] a7acece74701: Pull complete [2023-02-06T16:03:45.338Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T16:03:45.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T16:03:45.338Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-02-06T16:03:45.656Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:03:46.038Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T16:03:46.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:03:46.195Z] prd-ubuntu20.04-docker-8c-8g-4682 does not seem to be running inside a container [2023-02-06T16:03:46.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-213 -v /w/workspace/xfoundry_go-mod-messaging_PR-213:/w/workspace/xfoundry_go-mod-messaging_PR-213:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-213@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-02-06T16:03:48.108Z] $ docker top 10a26ca39273296bae3866680f609841c5e9fccd170a0c8cb848f5ee3de4ec0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T16:03:48.509Z] + go version [2023-02-06T16:03:48.509Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T16:03:48.541Z] $ docker stop --time=1 10a26ca39273296bae3866680f609841c5e9fccd170a0c8cb848f5ee3de4ec0e [2023-02-06T16:03:49.847Z] $ docker rm -f --volumes 10a26ca39273296bae3866680f609841c5e9fccd170a0c8cb848f5ee3de4ec0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:03:50.620Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T16:03:50.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:03:50.775Z] prd-ubuntu20.04-docker-8c-8g-4682 does not seem to be running inside a container [2023-02-06T16:03:50.808Z] $ 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-213 -v /w/workspace/xfoundry_go-mod-messaging_PR-213:/w/workspace/xfoundry_go-mod-messaging_PR-213:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-213@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-02-06T16:03:51.000Z] Still waiting to schedule task [2023-02-06T16:03:51.000Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4684’ is offline [2023-02-06T16:03:51.233Z] $ docker top 9ebd760a7d453235aaa38db81002d86db9828be7c172745c9261d39f35a5f850 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T16:03:51.733Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-messaging_PR-213 [Pipeline] fileExists [Pipeline] sh [2023-02-06T16:03:52.097Z] + make test [2023-02-06T16:03:52.097Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-02-06T16:03:52.097Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-02-06T16:03:52.097Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-02-06T16:03:52.097Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.6 [2023-02-06T16:03:52.357Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/nats-io/nats.go v1.23.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.12 [2023-02-06T16:03:52.357Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-02-06T16:03:52.357Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-06T16:03:52.357Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-06T16:03:52.357Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-06T16:03:52.357Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2023-02-06T16:03:52.357Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-02-06T16:03:52.357Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-02-06T16:03:52.357Z] go: downloading golang.org/x/net v0.5.0 [2023-02-06T16:03:52.357Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-02-06T16:03:52.357Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-06T16:03:52.357Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-06T16:03:52.357Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2023-02-06T16:03:52.357Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-06T16:03:52.357Z] go: downloading golang.org/x/text v0.6.0 [2023-02-06T16:03:52.357Z] go: downloading github.com/go-playground/locales v0.14.0 [2023-02-06T16:03:52.924Z] go: downloading golang.org/x/time v0.3.0 [2023-02-06T16:03:52.924Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-02-06T16:03:52.924Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-02-06T16:03:52.924Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-02-06T16:03:52.924Z] go: downloading golang.org/x/sys v0.4.0 [2023-02-06T16:04:14.869Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.054s coverage: 66.4% of statements [2023-02-06T16:04:14.869Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] [2023-02-06T16:04:14.869Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.105s coverage: 91.1% of statements [2023-02-06T16:04:14.869Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.056s coverage: 87.5% of statements [2023-02-06T16:04:14.869Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-02-06T16:04:14.869Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.108s coverage: 35.9% of statements [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.034s coverage: 68.0% of statements [2023-02-06T16:04:21.436Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.055s coverage: 87.5% of statements [2023-02-06T16:04:21.436Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.039s coverage: 100.0% of statements [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.031s coverage: 100.0% of statements [2023-02-06T16:04:21.436Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.026s coverage: 95.1% of statements [2023-02-06T16:04:31.414Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-06T16:04:31.414Z] go vet ./... [2023-02-06T16:04:33.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T16:04:33.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-02-06T16:04:33.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T16:04:33.394Z] $ docker stop --time=1 9ebd760a7d453235aaa38db81002d86db9828be7c172745c9261d39f35a5f850 [2023-02-06T16:04:35.185Z] $ docker rm -f --volumes 9ebd760a7d453235aaa38db81002d86db9828be7c172745c9261d39f35a5f850 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T16:04:35.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T16:04:35.879Z] 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-02-06T16:04:36.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T16:04:36.831Z] [2023-02-06T16:04:36.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:04:37.205Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T16:04:37.205Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T16:04:37.205Z] 5eb5b503b376: Pulling fs layer [2023-02-06T16:04:37.205Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T16:04:37.205Z] ec43610c2a17: Pulling fs layer [2023-02-06T16:04:37.205Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T16:04:37.205Z] 33b1e0a273af: Pulling fs layer [2023-02-06T16:04:37.205Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T16:04:37.205Z] 2f39f015ded8: Pulling fs layer [2023-02-06T16:04:37.205Z] 3a2ae6a8a46f: Waiting [2023-02-06T16:04:37.205Z] 33b1e0a273af: Waiting [2023-02-06T16:04:37.205Z] 5d3b04190fa2: Waiting [2023-02-06T16:04:37.205Z] 2f39f015ded8: Waiting [2023-02-06T16:04:37.205Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T16:04:37.205Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-06T16:04:37.205Z] 3a2ae6a8a46f: Download complete [2023-02-06T16:04:37.467Z] 33b1e0a273af: Verifying Checksum [2023-02-06T16:04:37.467Z] 33b1e0a273af: Download complete [2023-02-06T16:04:37.467Z] 5d3b04190fa2: Verifying Checksum [2023-02-06T16:04:37.467Z] 5d3b04190fa2: Download complete [2023-02-06T16:04:37.467Z] ec43610c2a17: Verifying Checksum [2023-02-06T16:04:37.467Z] ec43610c2a17: Download complete [2023-02-06T16:04:37.728Z] 5eb5b503b376: Verifying Checksum [2023-02-06T16:04:37.728Z] 5eb5b503b376: Download complete [2023-02-06T16:04:38.299Z] 2f39f015ded8: Download complete [2023-02-06T16:04:39.236Z] 5eb5b503b376: Pull complete [2023-02-06T16:04:39.236Z] 5c69ac0246d0: Pull complete [2023-02-06T16:04:39.803Z] ec43610c2a17: Pull complete [2023-02-06T16:04:39.803Z] 3a2ae6a8a46f: Pull complete [2023-02-06T16:04:40.060Z] 33b1e0a273af: Pull complete [2023-02-06T16:04:40.060Z] 5d3b04190fa2: Pull complete [2023-02-06T16:04:44.367Z] 2f39f015ded8: Pull complete [2023-02-06T16:04:44.367Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T16:04:44.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T16:04:44.367Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:04:44.586Z] prd-ubuntu20.04-docker-8c-8g-4682 does not seem to be running inside a container [2023-02-06T16:04:44.613Z] $ 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-213 -v /w/workspace/xfoundry_go-mod-messaging_PR-213:/w/workspace/xfoundry_go-mod-messaging_PR-213:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-213@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-02-06T16:04:46.235Z] $ docker top bc6027dc5d86402b9d965991e346a25ac287a4b4115b8208714a96edf0ea11ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:04:46.692Z] ---> job-cost.sh [2023-02-06T16:04:46.692Z] lf-activate-venv: SKIPPING [2023-02-06T16:04:46.692Z] INFO: No Stack... [2023-02-06T16:04:47.633Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T16:04:47.894Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T16:04:48.213Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-213/archives/cost.csv [2023-02-06T16:04:48.213Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T16:04:48.251Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [2023-02-06T16:04:48.257Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] did not exist. Created. [2023-02-06T16:04:48.257Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T16:04:48.645Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T16:04:48.714Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T16:04:48.732Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T16:04:48.804Z] $ docker stop --time=1 bc6027dc5d86402b9d965991e346a25ac287a4b4115b8208714a96edf0ea11ed [2023-02-06T16:04:50.036Z] $ docker rm -f --volumes bc6027dc5d86402b9d965991e346a25ac287a4b4115b8208714a96edf0ea11ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-06T16:06:02.746Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4686 in /w/workspace/xfoundry_go-mod-messaging_PR-213 [Pipeline] { [Pipeline] ws [2023-02-06T16:06:02.803Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2023-02-06T16:06:02.884Z] Selected Git installation does not exist. Using Default [2023-02-06T16:06:02.885Z] The recommended git tool is: NONE [2023-02-06T16:06:08.532Z] using credential edgex-jenkins-ssh [2023-02-06T16:06:08.551Z] Cloning the remote Git repository [2023-02-06T16:06:08.607Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2023-02-06T16:06:08.697Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2023-02-06T16:06:08.880Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-02-06T16:06:08.881Z] > git --version # timeout=10 [2023-02-06T16:06:08.905Z] > git --version # 'git version 2.25.1' [2023-02-06T16:06:08.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T16:06:08.973Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T16:06:09.950Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-02-06T16:06:09.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T16:06:11.065Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2023-02-06T16:06:11.116Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2023-02-06T16:06:11.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T16:06:11.136Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T16:06:11.758Z] Merging remotes/origin/main commit 63deac893c3bdfb12abd19ac49e08ddb312e4fc2 into PR head commit b59930efa5af43b07a7fbe5e49c014c87a8bc029 [2023-02-06T16:06:12.045Z] Merge succeeded, producing b59930efa5af43b07a7fbe5e49c014c87a8bc029 [2023-02-06T16:06:12.045Z] Checking out Revision b59930efa5af43b07a7fbe5e49c014c87a8bc029 (PR-213) [2023-02-06T16:06:12.651Z] Commit message: "build(deps): bump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.12" [2023-02-06T16:06:12.720Z] > git --version # timeout=10 [2023-02-06T16:06:12.735Z] > git --version # 'git version 2.25.1' [2023-02-06T16:06:12.769Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T16:06:11.783Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T16:06:11.805Z] > git checkout -f b59930efa5af43b07a7fbe5e49c014c87a8bc029 # timeout=10 [2023-02-06T16:06:11.922Z] > git remote # timeout=10 [2023-02-06T16:06:11.942Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T16:06:11.975Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T16:06:11.992Z] > git merge 63deac893c3bdfb12abd19ac49e08ddb312e4fc2 # timeout=10 [2023-02-06T16:06:12.025Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T16:06:12.055Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T16:06:12.072Z] > git checkout -f b59930efa5af43b07a7fbe5e49c014c87a8bc029 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T16:06:13.904Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T16:06:13.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T16:06:13.904Z] Dload Upload Total Spent Left Speed [2023-02-06T16:06:13.904Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-02-06T16:06:14.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T16:06:14.957Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T16:06:14.957Z] + sudo tee /etc/docker/daemon.new [2023-02-06T16:06:14.957Z] { [2023-02-06T16:06:14.957Z] "registry-mirrors": [ [2023-02-06T16:06:14.957Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T16:06:14.957Z] ], [2023-02-06T16:06:14.957Z] "bip": "10.250.0.254/24", [2023-02-06T16:06:14.957Z] "hosts": [ [2023-02-06T16:06:14.957Z] "tcp://0.0.0.0:5555", [2023-02-06T16:06:14.957Z] "unix:///var/run/docker.sock" [2023-02-06T16:06:14.957Z] ], [2023-02-06T16:06:14.957Z] "mtu": 1458, [2023-02-06T16:06:14.957Z] "selinux-enabled": true, [2023-02-06T16:06:14.957Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T16:06:14.957Z] } [Pipeline] sh [2023-02-06T16:06:15.316Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T16:06:15.678Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-02-06T16:06:34.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T16:06:34.274Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T16:06:34.308Z] ========================================================= [2023-02-06T16:06:34.308Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T16:06:34.308Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-06T16:06:34.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T16:06:35.326Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T16:06:35.326Z] 9b18e9b68314: Pulling fs layer [2023-02-06T16:06:35.326Z] 35d82f9e3411: Pulling fs layer [2023-02-06T16:06:35.326Z] e16973657156: Pulling fs layer [2023-02-06T16:06:35.326Z] fc693d55d65f: Pulling fs layer [2023-02-06T16:06:35.326Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T16:06:35.326Z] dda99020689f: Pulling fs layer [2023-02-06T16:06:35.326Z] db1c61fa0a46: Pulling fs layer [2023-02-06T16:06:35.326Z] 891c053d2c06: Pulling fs layer [2023-02-06T16:06:35.326Z] dda99020689f: Waiting [2023-02-06T16:06:35.326Z] db1c61fa0a46: Waiting [2023-02-06T16:06:35.326Z] 891c053d2c06: Waiting [2023-02-06T16:06:35.326Z] 7e9fc2657dce: Waiting [2023-02-06T16:06:35.326Z] fc693d55d65f: Waiting [2023-02-06T16:06:35.326Z] e16973657156: Verifying Checksum [2023-02-06T16:06:35.326Z] e16973657156: Download complete [2023-02-06T16:06:35.326Z] 35d82f9e3411: Download complete [2023-02-06T16:06:35.326Z] 7e9fc2657dce: Download complete [2023-02-06T16:06:35.326Z] dda99020689f: Verifying Checksum [2023-02-06T16:06:35.326Z] dda99020689f: Download complete [2023-02-06T16:06:35.326Z] 9b18e9b68314: Verifying Checksum [2023-02-06T16:06:35.326Z] 9b18e9b68314: Download complete [2023-02-06T16:06:36.305Z] 891c053d2c06: Verifying Checksum [2023-02-06T16:06:36.305Z] 891c053d2c06: Download complete [2023-02-06T16:06:37.286Z] 9b18e9b68314: Pull complete [2023-02-06T16:06:37.558Z] db1c61fa0a46: Verifying Checksum [2023-02-06T16:06:37.558Z] db1c61fa0a46: Download complete [2023-02-06T16:06:37.558Z] 35d82f9e3411: Pull complete [2023-02-06T16:06:37.829Z] e16973657156: Pull complete [2023-02-06T16:06:38.099Z] fc693d55d65f: Verifying Checksum [2023-02-06T16:06:38.099Z] fc693d55d65f: Download complete [2023-02-06T16:06:50.457Z] fc693d55d65f: Pull complete [2023-02-06T16:06:50.457Z] 7e9fc2657dce: Pull complete [2023-02-06T16:06:50.457Z] dda99020689f: Pull complete [2023-02-06T16:06:55.920Z] db1c61fa0a46: Pull complete [2023-02-06T16:06:57.939Z] 891c053d2c06: Pull complete [2023-02-06T16:06:57.939Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T16:06:57.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T16:06:57.939Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-02-06T16:06:58.287Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:06:58.697Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T16:06:58.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:06:58.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container [2023-02-06T16:06:59.060Z] $ 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-02-06T16:07:02.612Z] $ docker top b911cad34f8823f795f233a2c81418beedddf44d52eaa5a75378f8e75b3c9c6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T16:07:03.522Z] + go version [2023-02-06T16:07:03.522Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T16:07:03.554Z] $ docker stop --time=1 b911cad34f8823f795f233a2c81418beedddf44d52eaa5a75378f8e75b3c9c6e [2023-02-06T16:07:05.258Z] $ docker rm -f --volumes b911cad34f8823f795f233a2c81418beedddf44d52eaa5a75378f8e75b3c9c6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:07:06.118Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T16:07:06.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:07:06.387Z] prd-ubuntu20.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container [2023-02-06T16:07:06.456Z] $ 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-02-06T16:07:07.722Z] $ docker top cdbd28cc2ab00281215434ff40927f330de035808bd775b3dbf1c8755ffde8c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T16:07:08.645Z] + git config --global --add safe.directory /w/workspace/go-mod-messaging/1 [Pipeline] fileExists [Pipeline] sh [2023-02-06T16:07:09.366Z] + make test [2023-02-06T16:07:09.366Z] go test -tags=include_nats_messaging -race ./... -coverprofile=coverage.out ./... [2023-02-06T16:07:09.366Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.6 [2023-02-06T16:07:09.962Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-02-06T16:07:09.962Z] go: downloading github.com/nats-io/nats.go v1.23.0 [2023-02-06T16:07:09.962Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-02-06T16:07:09.962Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-06T16:07:09.962Z] go: downloading github.com/nats-io/nats-server/v2 v2.9.12 [2023-02-06T16:07:09.962Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-02-06T16:07:10.233Z] go: downloading github.com/go-playground/validator/v10 v10.11.1 [2023-02-06T16:07:10.233Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-06T16:07:10.501Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-06T16:07:10.501Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-06T16:07:10.501Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-06T16:07:10.501Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-06T16:07:10.501Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2023-02-06T16:07:10.501Z] go: downloading github.com/nats-io/nuid v1.0.1 [2023-02-06T16:07:10.501Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-02-06T16:07:10.501Z] go: downloading golang.org/x/net v0.5.0 [2023-02-06T16:07:10.769Z] go: downloading golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [2023-02-06T16:07:10.769Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2023-02-06T16:07:10.769Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-06T16:07:10.769Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-06T16:07:11.040Z] go: downloading golang.org/x/text v0.6.0 [2023-02-06T16:07:11.040Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-06T16:07:11.644Z] go: downloading github.com/go-playground/locales v0.14.0 [2023-02-06T16:07:11.644Z] go: downloading github.com/klauspost/compress v1.15.15 [2023-02-06T16:07:11.644Z] go: downloading github.com/minio/highwayhash v1.0.2 [2023-02-06T16:07:11.644Z] go: downloading github.com/nats-io/jwt/v2 v2.3.0 [2023-02-06T16:07:11.912Z] go: downloading golang.org/x/time v0.3.0 [2023-02-06T16:09:03.614Z] ok github.com/edgexfoundry/go-mod-messaging/v3/clients 0.294s coverage: 66.4% of statements [2023-02-06T16:09:03.614Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg [no test files] [2023-02-06T16:09:03.614Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/mqtt 0.281s coverage: 91.1% of statements [2023-02-06T16:09:03.614Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats 0.253s coverage: 87.5% of statements [2023-02-06T16:09:03.614Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces [no test files] [2023-02-06T16:09:03.614Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/interfaces/mocks [no test files] [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/nats/jetstream 0.314s coverage: 35.9% of statements [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis 0.212s coverage: 68.0% of statements [2023-02-06T16:10:11.504Z] ? github.com/edgexfoundry/go-mod-messaging/v3/internal/pkg/redis/mocks [no test files] [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging 0.077s coverage: 87.5% of statements [2023-02-06T16:10:11.504Z] ? github.com/edgexfoundry/go-mod-messaging/v3/messaging/mocks [no test files] [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/mqtt 0.137s coverage: 100.0% of statements [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/messaging/redis 0.059s coverage: 100.0% of statements [2023-02-06T16:10:11.504Z] ok github.com/edgexfoundry/go-mod-messaging/v3/pkg/types 0.083s coverage: 95.1% of statements [2023-02-06T16:10:11.504Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T16:10:11.504Z] go vet ./... [2023-02-06T16:10:58.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T16:10:58.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-02-06T16:10:58.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T16:10:58.444Z] $ docker stop --time=1 cdbd28cc2ab00281215434ff40927f330de035808bd775b3dbf1c8755ffde8c5 [2023-02-06T16:11:00.302Z] $ docker rm -f --volumes cdbd28cc2ab00281215434ff40927f330de035808bd775b3dbf1c8755ffde8c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T16:11:02.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T16:11:02.424Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T16:11:02.943Z] 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-02-06T16:11:03.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T16:11:03.747Z] [2023-02-06T16:11:03.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:11:04.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T16:11:04.142Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T16:11:04.142Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T16:11:04.142Z] 04944245beec: Pulling fs layer [2023-02-06T16:11:04.142Z] 699f458cf7ca: Pulling fs layer [2023-02-06T16:11:04.142Z] 765212b225bb: Pulling fs layer [2023-02-06T16:11:04.142Z] f23df028b6ca: Pulling fs layer [2023-02-06T16:11:04.142Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T16:11:04.142Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T16:11:04.142Z] f23df028b6ca: Waiting [2023-02-06T16:11:04.142Z] d65c8cfc05b1: Waiting [2023-02-06T16:11:04.415Z] 2437ff75d9bd: Waiting [2023-02-06T16:11:04.415Z] 765212b225bb: Waiting [2023-02-06T16:11:04.415Z] 04944245beec: Verifying Checksum [2023-02-06T16:11:04.415Z] 04944245beec: Download complete [2023-02-06T16:11:04.415Z] 765212b225bb: Verifying Checksum [2023-02-06T16:11:04.415Z] 765212b225bb: Download complete [2023-02-06T16:11:04.685Z] f23df028b6ca: Verifying Checksum [2023-02-06T16:11:04.685Z] f23df028b6ca: Download complete [2023-02-06T16:11:04.685Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T16:11:04.685Z] d65c8cfc05b1: Download complete [2023-02-06T16:11:04.685Z] 699f458cf7ca: Verifying Checksum [2023-02-06T16:11:04.685Z] 699f458cf7ca: Download complete [2023-02-06T16:11:05.273Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T16:11:05.273Z] 8998bd30e6a1: Download complete [2023-02-06T16:11:07.854Z] 2437ff75d9bd: Verifying Checksum [2023-02-06T16:11:10.438Z] 8998bd30e6a1: Pull complete [2023-02-06T16:11:10.438Z] 04944245beec: Pull complete [2023-02-06T16:11:12.397Z] 699f458cf7ca: Pull complete [2023-02-06T16:11:12.666Z] 765212b225bb: Pull complete [2023-02-06T16:11:15.261Z] f23df028b6ca: Pull complete [2023-02-06T16:11:16.239Z] d65c8cfc05b1: Pull complete [2023-02-06T16:11:34.473Z] 2437ff75d9bd: Pull complete [2023-02-06T16:11:34.473Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T16:11:34.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T16:11:34.473Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:11:34.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-4686 does not seem to be running inside a container [2023-02-06T16:11:34.872Z] $ 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-02-06T16:11:36.838Z] $ docker top 0d7cd81886cba63288bcd311d764569f3838d45e07f274beb34c0697c87bb657 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:37.445Z] ---> job-cost.sh [2023-02-06T16:11:37.712Z] lf-activate-venv: SKIPPING [2023-02-06T16:11:37.712Z] INFO: No Stack... [2023-02-06T16:11:37.979Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T16:11:38.936Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T16:11:39.593Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2023-02-06T16:11:39.593Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T16:11:39.677Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [2023-02-06T16:11:39.682Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] did not exist. Created. [2023-02-06T16:11:39.682Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T16:11:40.101Z] /w/workspace/go-mod-messaging/1@tmp/durable-212fe5a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T16:11:40.453Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T16:11:40.493Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T16:11:40.542Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T16:11:40.558Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T16:11:40.632Z] $ docker stop --time=1 0d7cd81886cba63288bcd311d764569f3838d45e07f274beb34c0697c87bb657 [2023-02-06T16:11:42.138Z] $ docker rm -f --volumes 0d7cd81886cba63288bcd311d764569f3838d45e07f274beb34c0697c87bb657 [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-02-06T16:11:43.305Z] provisioning config files... [2023-02-06T16:11:43.317Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/config18048925853862946702tmp [Pipeline] { [Pipeline] sh [2023-02-06T16:11:43.659Z] + set +x [2023-02-06T16:11:43.659Z] + curl -s https://codecov.io/bash [2023-02-06T16:11:43.659Z] + bash -s -- [2023-02-06T16:11:43.659Z] [2023-02-06T16:11:43.659Z] _____ _ [2023-02-06T16:11:43.659Z] / ____| | | [2023-02-06T16:11:43.659Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T16:11:43.659Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T16:11:43.659Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T16:11:43.659Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T16:11:43.659Z] Bash-1.0.6 [2023-02-06T16:11:43.659Z] [2023-02-06T16:11:43.659Z] [2023-02-06T16:11:43.659Z] ==> git version 2.25.1 found [2023-02-06T16:11:43.659Z] ==> 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-02-06T16:11:43.659Z] Release-Date: 2020-01-08 [2023-02-06T16:11:43.659Z] 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-02-06T16:11:43.659Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T16:11:43.659Z] ==> Jenkins CI detected. [2023-02-06T16:11:43.659Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-213 [2023-02-06T16:11:43.659Z] project root: . [2023-02-06T16:11:43.659Z] --> token set from env [2023-02-06T16:11:43.659Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T16:11:43.659Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T16:11:43.659Z] ==> Python coveragepy not found [2023-02-06T16:11:43.659Z] ==> Searching for coverage reports in: [2023-02-06T16:11:43.659Z] + . [2023-02-06T16:11:43.659Z] -> Found 1 reports [2023-02-06T16:11:43.659Z] ==> Detecting git/mercurial file structure [2023-02-06T16:11:43.659Z] ==> Reading reports [2023-02-06T16:11:43.920Z] + ./coverage.out bytes=36245 [2023-02-06T16:11:43.920Z] ==> Appending adjustments [2023-02-06T16:11:43.920Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T16:11:43.920Z] + Found adjustments [2023-02-06T16:11:43.920Z] ==> Gzipping contents [2023-02-06T16:11:43.920Z] 8.0K /tmp/codecov.a5Ui0h.gz [2023-02-06T16:11:43.920Z] ==> Uploading reports [2023-02-06T16:11:43.920Z] url: https://codecov.io [2023-02-06T16:11:43.920Z] query: branch=PR-213&commit=b59930efa5af43b07a7fbe5e49c014c87a8bc029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=213&job=&cmd_args= [2023-02-06T16:11:43.920Z] -> Pinging Codecov [2023-02-06T16:11:43.920Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-213&commit=b59930efa5af43b07a7fbe5e49c014c87a8bc029&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=213&job=&cmd_args= [2023-02-06T16:11:44.491Z] -> Uploading to [2023-02-06T16:11:44.492Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/F6E385568367DD0E4001BA4F8F1CB792/b59930efa5af43b07a7fbe5e49c014c87a8bc029/cf65afa1-b345-417e-8d01-42103b8a08c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T161144Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f737134c9304fde81921d10f65abc486c458e3baf57f91eb7ceeee09b2910eac [2023-02-06T16:11:44.492Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T16:11:44.492Z] Dload Upload Total Spent Left Speed [2023-02-06T16:11:44.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7509 0 0 100 7509 0 25627 --:--:-- --:--:-- --:--:-- 25627 [2023-02-06T16:11:44.751Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-messaging/commit/b59930efa5af43b07a7fbe5e49c014c87a8bc029 [Pipeline] } [2023-02-06T16:11:44.778Z] 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-02-06T16:11:46.614Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-213/archives ] [2023-02-06T16:11:46.614Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-213/archives [2023-02-06T16:11:46.614Z] total 16 [2023-02-06T16:11:46.614Z] drwxr-xr-x 3 root root 4096 Feb 6 16:04 . [2023-02-06T16:11:46.614Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 16:04 .. [2023-02-06T16:11:46.614Z] drwxr-xr-x 2 root root 4096 Feb 6 16:04 cost [2023-02-06T16:11:46.614Z] -rw-r--r-- 1 root root 88 Feb 6 16:04 cost.csv [2023-02-06T16:11:46.614Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-213/archives [2023-02-06T16:11:46.614Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-213/archives [2023-02-06T16:11:46.614Z] total 16 [2023-02-06T16:11:46.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 16:04 . [2023-02-06T16:11:46.614Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 16:04 .. [2023-02-06T16:11:46.614Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 16:04 cost [2023-02-06T16:11:46.614Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 6 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:46.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:47.843Z] ---> package-listing.sh [2023-02-06T16:11:47.843Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T16:11:47.843Z] ++ facter osfamily [2023-02-06T16:11:48.106Z] + OS_FAMILY=debian [2023-02-06T16:11:48.106Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-213 [2023-02-06T16:11:48.106Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T16:11:48.106Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T16:11:48.106Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T16:11:48.106Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T16:11:48.106Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-213 ']' [2023-02-06T16:11:48.106Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T16:11:48.106Z] + case "${OS_FAMILY}" in [2023-02-06T16:11:48.106Z] + dpkg -l [2023-02-06T16:11:48.106Z] + grep '^ii' [2023-02-06T16:11:48.106Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T16:11:48.106Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T16:11:48.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T16:11:48.106Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-213 ']' [2023-02-06T16:11:48.106Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-213/archives/ [2023-02-06T16:11:48.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-213/archives/ [Pipeline] echo [2023-02-06T16:11:48.140Z] 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T16:11:48.441Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T16:11:49.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T16:11:49.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T16:11:49.222Z] prd-ubuntu20.04-docker-8c-8g-4682 does not seem to be running inside a container [2023-02-06T16:11:49.250Z] $ 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-213/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-213 -v /w/workspace/xfoundry_go-mod-messaging_PR-213:/w/workspace/xfoundry_go-mod-messaging_PR-213:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-213@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-213@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-02-06T16:11:49.474Z] $ docker top c4cf50d33b8ade84523dd81c022aab838dd744543b42d1b65bda771f53b74c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T16:11:49.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T16:11:50.196Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T16:11:50.511Z] + ls /var/log/sa-host [2023-02-06T16:11:50.511Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T16:11:50.661Z] provisioning config files... [2023-02-06T16:11:50.675Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-213@tmp/config12387236774196542501tmp [Pipeline] { [Pipeline] echo [2023-02-06T16:11:50.720Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:51.040Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T16:11:51.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:51.456Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T16:11:51.492Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:51.811Z] ---> sudo-logs.sh [2023-02-06T16:11:51.811Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T16:11:51.897Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:52.207Z] ---> job-cost.sh [2023-02-06T16:11:52.207Z] lf-activate-venv: SKIPPING [2023-02-06T16:11:52.207Z] DEBUG: total: 0.2199999988079071 [2023-02-06T16:11:52.207Z] INFO: Retrieving Stack Cost... [2023-02-06T16:11:52.778Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T16:11:53.037Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T16:11:53.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T16:11:53.383Z] ---> logs-deploy.sh [2023-02-06T16:11:53.383Z] lf-activate-venv: SKIPPING [2023-02-06T16:11:53.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-213/1 [2023-02-06T16:11:53.383Z] INFO: archiving workspace using pattern(s): [2023-02-06T16:11:54.321Z] Archives upload complete. [2023-02-06T16:11:54.582Z] INFO: archiving logs to Nexus [2023-02-06T16:11:55.152Z] ---> uname -a: [2023-02-06T16:11:55.152Z] Linux prd-ubuntu20-04-docker-8c-8g-4682 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-06T16:11:55.152Z] [2023-02-06T16:11:55.152Z] [2023-02-06T16:11:55.152Z] ---> lscpu: [2023-02-06T16:11:55.152Z] Architecture: x86_64 [2023-02-06T16:11:55.152Z] CPU op-mode(s): 32-bit, 64-bit [2023-02-06T16:11:55.152Z] Byte Order: Little Endian [2023-02-06T16:11:55.152Z] Address sizes: 40 bits physical, 48 bits virtual [2023-02-06T16:11:55.152Z] CPU(s): 8 [2023-02-06T16:11:55.152Z] On-line CPU(s) list: 0-7 [2023-02-06T16:11:55.152Z] Thread(s) per core: 1 [2023-02-06T16:11:55.152Z] Core(s) per socket: 1 [2023-02-06T16:11:55.152Z] Socket(s): 8 [2023-02-06T16:11:55.152Z] NUMA node(s): 1 [2023-02-06T16:11:55.152Z] Vendor ID: AuthenticAMD [2023-02-06T16:11:55.152Z] CPU family: 23 [2023-02-06T16:11:55.152Z] Model: 49 [2023-02-06T16:11:55.152Z] Model name: AMD EPYC-Rome Processor [2023-02-06T16:11:55.152Z] Stepping: 0 [2023-02-06T16:11:55.152Z] CPU MHz: 2799.998 [2023-02-06T16:11:55.152Z] BogoMIPS: 5599.99 [2023-02-06T16:11:55.152Z] Virtualization: AMD-V [2023-02-06T16:11:55.152Z] Hypervisor vendor: KVM [2023-02-06T16:11:55.152Z] Virtualization type: full [2023-02-06T16:11:55.152Z] L1d cache: 256 KiB [2023-02-06T16:11:55.152Z] L1i cache: 256 KiB [2023-02-06T16:11:55.152Z] L2 cache: 4 MiB [2023-02-06T16:11:55.152Z] L3 cache: 128 MiB [2023-02-06T16:11:55.152Z] NUMA node0 CPU(s): 0-7 [2023-02-06T16:11:55.152Z] Vulnerability Itlb multihit: Not affected [2023-02-06T16:11:55.152Z] Vulnerability L1tf: Not affected [2023-02-06T16:11:55.152Z] Vulnerability Mds: Not affected [2023-02-06T16:11:55.152Z] Vulnerability Meltdown: Not affected [2023-02-06T16:11:55.152Z] Vulnerability Mmio stale data: Not affected [2023-02-06T16:11:55.152Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-02-06T16:11:55.152Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-02-06T16:11:55.152Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-02-06T16:11:55.152Z] Vulnerability Srbds: Not affected [2023-02-06T16:11:55.152Z] Vulnerability Tsx async abort: Not affected [2023-02-06T16:11:55.152Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-02-06T16:11:55.152Z] [2023-02-06T16:11:55.152Z] [2023-02-06T16:11:55.152Z] ---> nproc: [2023-02-06T16:11:55.152Z] 8 [2023-02-06T16:11:55.152Z] [2023-02-06T16:11:55.152Z]