Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/go-mod-messaging Loading trusted files from base branch main at 2433d870dc62e01df1945887488f7bf5711036d5 rather than 42bad6a60ca898d36cd6d0f4a35470989482abec Obtained Jenkinsfile from 2433d870dc62e01df1945887488f7bf5711036d5 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-ssh7834101833272357363.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh1604885598361901998.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-137/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13730493839166582675.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh13556609191382327293.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-137/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-messaging/branches/PR-137/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15922536988606584282.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-messaging, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-messaging-settings PROJECT: go-mod-messaging USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20931 in /w/workspace/xfoundry_go-mod-messaging_PR-137 [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-137 # 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 2433d870dc62e01df1945887488f7bf5711036d5 into PR head commit 42bad6a60ca898d36cd6d0f4a35470989482abec Merge succeeded, producing ff071f8ae9e2285e7383eacdfb2549b331de3d45 Checking out Revision ff071f8ae9e2285e7383eacdfb2549b331de3d45 (PR-137) > 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/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42bad6a60ca898d36cd6d0f4a35470989482abec # 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 2433d870dc62e01df1945887488f7bf5711036d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff071f8ae9e2285e7383eacdfb2549b331de3d45 # timeout=10 Commit message: "Merge commit '2433d870dc62e01df1945887488f7bf5711036d5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-14T08:28:29.443Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-14T08:28:29.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-14T08:28:29.522Z] ========================================================= [2022-04-14T08:28:29.522Z] EdgeX Global Pipelines Version Info [2022-04-14T08:28:29.522Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 87fb9f81f05d8bf03a89f65a1142856a7c01ed03 # timeout=10 [2022-04-14T08:28:30.303Z] ------------------- [2022-04-14T08:28:30.303Z] stable info: [2022-04-14T08:28:30.303Z] ------------------- [2022-04-14T08:28:30.303Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-14T08:28:30.303Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T08:28:30.303Z] Message: update stable to v1.0.221 [2022-04-14T08:28:30.877Z] ------------------- [2022-04-14T08:28:30.877Z] experimental info: [2022-04-14T08:28:30.877Z] ------------------- [2022-04-14T08:28:30.877Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-14T08:28:30.877Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-14T08:28:30.877Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-14T08:28:30.995Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-04-14T08:28:31.008Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-04-14T08:28:31.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-14T08:28:31.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-14T08:28:31.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-14T08:28:31.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-14T08:28:31.134Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-14T08:28:31.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-14T08:28:31.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-14T08:28:31.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-14T08:28:31.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-14T08:28:31.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-04-14T08:28:31.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-14T08:28:31.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-14T08:28:31.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T08:28:31.266Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T08:28:31.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T08:28:31.291Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-14T08:28:31.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-14T08:28:31.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-14T08:28:31.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-14T08:28:31.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-14T08:28:31.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-14T08:28:31.366Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-14T08:28:31.377Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-04-14T08:28:31.390Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-14T08:28:31.407Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo [2022-04-14T08:28:31.420Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo [2022-04-14T08:28:31.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo [2022-04-14T08:28:31.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff071f8ae9e2285e7383eacdfb2549b331de3d45 [Pipeline] echo [2022-04-14T08:28:31.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff071f8 [Pipeline] echo [2022-04-14T08:28:31.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-14T08:28:31.845Z] + git rev-list -1 --merges ff071f8ae9e2285e7383eacdfb2549b331de3d45~1..ff071f8ae9e2285e7383eacdfb2549b331de3d45 [Pipeline] echo [2022-04-14T08:28:31.876Z] -----------> git rev-list -1 --merges ff071f8ae9e2285e7383eacdfb2549b331de3d45~1..ff071f8ae9e2285e7383eacdfb2549b331de3d45 ff071f8ae9e2285e7383eacdfb2549b331de3d45 [2022-04-14T08:28:31.876Z] ff071f8ae9e2285e7383eacdfb2549b331de3d45 [false] [Pipeline] sh [2022-04-14T08:28:32.171Z] + git log --format=format:%s -1 ff071f8ae9e2285e7383eacdfb2549b331de3d45 [Pipeline] echo [2022-04-14T08:28:32.187Z] ========================================================= [2022-04-14T08:28:32.187Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-14T08:28:32.187Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T08:28:32.533Z] + git log --format=format:%s -1 ff071f8ae9e2285e7383eacdfb2549b331de3d45 [Pipeline] echo [2022-04-14T08:28:32.547Z] [semverPrep] GIT_COMMIT: ff071f8ae9e2285e7383eacdfb2549b331de3d45, Commit Message: Merge commit '2433d870dc62e01df1945887488f7bf5711036d5' into HEAD [Pipeline] echo [2022-04-14T08:28:32.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-14T08:28:32.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-14T08:28:32.977Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-14T08:28:32.977Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-14T08:28:32.977Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-14T08:28:32.977Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-14T08:28:32.977Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-14T08:28:32.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:28:33.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T08:28:33.976Z] [2022-04-14T08:28:33.976Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:28:34.277Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T08:28:34.277Z] latest: Pulling from edgex-devops/git-semver [2022-04-14T08:28:34.277Z] a0d0a0d46f8b: Pulling fs layer [2022-04-14T08:28:34.277Z] 3e5f54012d9b: Pulling fs layer [2022-04-14T08:28:34.277Z] 4c7163046ea9: Pulling fs layer [2022-04-14T08:28:34.277Z] 0c2d73faf560: Pulling fs layer [2022-04-14T08:28:34.277Z] 0c2d73faf560: Waiting [2022-04-14T08:28:34.277Z] 3e5f54012d9b: Verifying Checksum [2022-04-14T08:28:34.277Z] 3e5f54012d9b: Download complete [2022-04-14T08:28:34.538Z] a0d0a0d46f8b: Verifying Checksum [2022-04-14T08:28:34.538Z] a0d0a0d46f8b: Download complete [2022-04-14T08:28:34.538Z] 0c2d73faf560: Verifying Checksum [2022-04-14T08:28:34.538Z] 0c2d73faf560: Download complete [2022-04-14T08:28:34.538Z] 4c7163046ea9: Verifying Checksum [2022-04-14T08:28:34.538Z] 4c7163046ea9: Download complete [2022-04-14T08:28:34.538Z] a0d0a0d46f8b: Pull complete [2022-04-14T08:28:34.798Z] 3e5f54012d9b: Pull complete [2022-04-14T08:28:35.058Z] 4c7163046ea9: Pull complete [2022-04-14T08:28:35.320Z] 0c2d73faf560: Pull complete [2022-04-14T08:28:35.320Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-14T08:28:35.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-14T08:28:35.320Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-14T08:28:35.396Z] prd-ubuntu20.04-docker-8c-8g-20931 does not seem to be running inside a container [2022-04-14T08:28:35.456Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-14T08:28:36.440Z] $ docker top e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-14T08:28:36.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T08:28:36.542Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T08:28:36.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T08:28:36.694Z] $ docker exec e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 ssh-agent [2022-04-14T08:28:36.822Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJkFDa/agent.14 [2022-04-14T08:28:36.822Z] SSH_AGENT_PID=20 [2022-04-14T08:28:36.832Z] Running ssh-add (command line suppressed) [2022-04-14T08:28:36.977Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_2087170870778645446.key (/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_2087170870778645446.key) [2022-04-14T08:28:36.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T08:28:37.275Z] + git tag --points-at HEAD [Pipeline] } [2022-04-14T08:28:37.302Z] $ docker exec --env ******** --env ******** e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 ssh-agent -k [2022-04-14T08:28:37.431Z] unset SSH_AUTH_SOCK; [2022-04-14T08:28:37.431Z] unset SSH_AGENT_PID; [2022-04-14T08:28:37.431Z] echo Agent pid 20 killed; [2022-04-14T08:28:37.435Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-14T08:28:37.459Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-14T08:28:37.459Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-14T08:28:37.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-14T08:28:37.618Z] $ docker exec e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 ssh-agent [2022-04-14T08:28:37.735Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlfboHc/agent.54 [2022-04-14T08:28:37.735Z] SSH_AGENT_PID=60 [2022-04-14T08:28:37.741Z] Running ssh-add (command line suppressed) [2022-04-14T08:28:37.880Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_6227517366852787517.key (/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/private_key_6227517366852787517.key) [2022-04-14T08:28:37.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-14T08:28:38.183Z] + git semver init [2022-04-14T08:28:38.183Z] # -> Open(): unable to determine branch for HEAD [2022-04-14T08:28:38.183Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-137/.git [2022-04-14T08:28:38.183Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-137 [2022-04-14T08:28:38.183Z] # $SEMVER_REMOTE_NAME = origin [2022-04-14T08:28:38.183Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-14T08:28:38.183Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-14T08:28:38.183Z] # $SEMVER_BRANCH = PR-137 [2022-04-14T08:28:38.183Z] # $SEMVER_TEMP = /tmp/semver-271975274 [2022-04-14T08:28:38.183Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2022-04-14T08:28:38.758Z] # '/tmp/semver-271975274' -> '/w/workspace/xfoundry_go-mod-messaging_PR-137/.semver' [2022-04-14T08:28:38.758Z] # -> Force: false [2022-04-14T08:28:38.758Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-137/.semver [Pipeline] } [2022-04-14T08:28:38.775Z] $ docker exec --env ******** --env ******** e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 ssh-agent -k [2022-04-14T08:28:38.880Z] unset SSH_AUTH_SOCK; [2022-04-14T08:28:38.880Z] unset SSH_AGENT_PID; [2022-04-14T08:28:38.880Z] echo Agent pid 60 killed; [2022-04-14T08:28:38.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-14T08:28:39.197Z] + git semver [Pipeline] } [2022-04-14T08:28:39.219Z] $ docker stop --time=1 e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 [2022-04-14T08:28:40.623Z] $ docker rm -f e3eeaa8bc1786d89db9533c45d58c0efbbb0eeeff95c546e88f9ab16e10ddd64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T08:28:40.981Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-14T08:28:41.254Z] Stashed 1 file(s) [Pipeline] echo [2022-04-14T08:28:41.257Z] [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 [2022-04-14T08:28:41.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T08:28:41.442Z] ========================================================= [2022-04-14T08:28:41.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-14T08:28:41.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-14T08:28:41.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-14T08:28:41.768Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-14T08:28:41.768Z] 59bf1c3509f3: Pulling fs layer [2022-04-14T08:28:41.768Z] 666ba61612fd: Pulling fs layer [2022-04-14T08:28:41.768Z] 8ed8ca486205: Pulling fs layer [2022-04-14T08:28:41.768Z] 4fe6c5a15a65: Pulling fs layer [2022-04-14T08:28:41.768Z] 22a0e8bec74d: Pulling fs layer [2022-04-14T08:28:41.768Z] 640e595b4fbd: Pulling fs layer [2022-04-14T08:28:41.768Z] 763cafe07f6e: Pulling fs layer [2022-04-14T08:28:41.768Z] 0c0b528cf693: Pulling fs layer [2022-04-14T08:28:41.768Z] 10935f4eaf8b: Pulling fs layer [2022-04-14T08:28:41.768Z] 22a0e8bec74d: Waiting [2022-04-14T08:28:41.768Z] 0c0b528cf693: Waiting [2022-04-14T08:28:41.768Z] 10935f4eaf8b: Waiting [2022-04-14T08:28:41.768Z] 640e595b4fbd: Waiting [2022-04-14T08:28:41.768Z] 763cafe07f6e: Waiting [2022-04-14T08:28:41.768Z] 4fe6c5a15a65: Waiting [2022-04-14T08:28:41.768Z] 8ed8ca486205: Download complete [2022-04-14T08:28:41.768Z] 666ba61612fd: Verifying Checksum [2022-04-14T08:28:41.768Z] 666ba61612fd: Download complete [2022-04-14T08:28:41.768Z] 22a0e8bec74d: Verifying Checksum [2022-04-14T08:28:41.768Z] 22a0e8bec74d: Download complete [2022-04-14T08:28:41.768Z] 640e595b4fbd: Verifying Checksum [2022-04-14T08:28:41.768Z] 640e595b4fbd: Download complete [2022-04-14T08:28:41.768Z] 59bf1c3509f3: Verifying Checksum [2022-04-14T08:28:41.768Z] 59bf1c3509f3: Download complete [2022-04-14T08:28:41.768Z] 763cafe07f6e: Verifying Checksum [2022-04-14T08:28:41.768Z] 763cafe07f6e: Download complete [2022-04-14T08:28:42.029Z] 0c0b528cf693: Verifying Checksum [2022-04-14T08:28:42.029Z] 0c0b528cf693: Download complete [2022-04-14T08:28:42.029Z] 59bf1c3509f3: Pull complete [2022-04-14T08:28:42.289Z] 666ba61612fd: Pull complete [2022-04-14T08:28:42.289Z] 8ed8ca486205: Pull complete [2022-04-14T08:28:42.549Z] 10935f4eaf8b: Download complete [2022-04-14T08:28:42.549Z] 4fe6c5a15a65: Verifying Checksum [2022-04-14T08:28:42.549Z] 4fe6c5a15a65: Download complete [2022-04-14T08:28:47.831Z] 4fe6c5a15a65: Pull complete [2022-04-14T08:28:47.831Z] 22a0e8bec74d: Pull complete [2022-04-14T08:28:47.831Z] 640e595b4fbd: Pull complete [2022-04-14T08:28:47.831Z] 763cafe07f6e: Pull complete [2022-04-14T08:28:47.831Z] 0c0b528cf693: Pull complete [2022-04-14T08:28:50.375Z] 10935f4eaf8b: Pull complete [2022-04-14T08:28:50.375Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-14T08:28:50.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-14T08:28:50.375Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-04-14T08:28:50.667Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:28:50.973Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T08:28:50.973Z] . [Pipeline] withDockerContainer [2022-04-14T08:28:51.048Z] prd-ubuntu20.04-docker-8c-8g-20931 does not seem to be running inside a container [2022-04-14T08:28:51.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T08:28:54.884Z] $ docker top f559617a31798cf66fc50a0dc8217f18e4fbbe0bcb7289a5840f8e492014716c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T08:28:55.261Z] + go version [2022-04-14T08:28:55.261Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-14T08:28:55.282Z] $ docker stop --time=1 f559617a31798cf66fc50a0dc8217f18e4fbbe0bcb7289a5840f8e492014716c [2022-04-14T08:28:56.356Z] Still waiting to schedule task [2022-04-14T08:28:56.357Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-14T08:28:56.643Z] $ docker rm -f f559617a31798cf66fc50a0dc8217f18e4fbbe0bcb7289a5840f8e492014716c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:28:57.091Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-14T08:28:57.092Z] . [Pipeline] withDockerContainer [2022-04-14T08:28:57.201Z] prd-ubuntu20.04-docker-8c-8g-20931 does not seem to be running inside a container [2022-04-14T08:28:57.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-14T08:28:57.685Z] $ docker top 8cda9716ae97b0dab68f6e95e8311d1560c350680d5b8dfe05ef9fe47ccd1631 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T08:28:58.069Z] + make test [2022-04-14T08:28:58.069Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-04-14T08:28:58.069Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-14T08:28:58.069Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/nats-io/nats.go v1.13.1-0.20220308171302-2f2f6968e98d [2022-04-14T08:28:58.069Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-14T08:28:58.069Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-14T08:28:58.069Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-14T08:28:58.069Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-04-14T08:28:58.331Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-04-14T08:28:58.331Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-14T08:28:58.331Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-14T08:28:58.331Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-14T08:28:58.331Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-14T08:28:58.331Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-04-14T08:28:58.331Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-04-14T08:28:58.331Z] go: downloading golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce [2022-04-14T08:29:10.560Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-04-14T08:29:13.861Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.072s coverage: 90.3% of statements [2022-04-14T08:29:13.861Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.046s coverage: 84.2% of statements [2022-04-14T08:29:13.861Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.038s coverage: 14.3% of statements [2022-04-14T08:29:13.861Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/mocks [no test files] [2022-04-14T08:29:13.861Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.046s coverage: 68.7% of statements [2022-04-14T08:29:13.861Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-04-14T08:29:35.828Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.413s coverage: 83.8% of statements [2022-04-14T08:29:35.828Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.045s coverage: 88.9% of statements [2022-04-14T08:29:35.828Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-04-14T08:29:35.828Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.054s coverage: 100.0% of statements [2022-04-14T08:29:35.828Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.045s coverage: 100.0% of statements [2022-04-14T08:29:35.828Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.050s coverage: 90.9% of statements [2022-04-14T08:29:45.829Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-14T08:29:47.740Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T08:29:47.740Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-14T08:29:48.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T08:29:48.038Z] $ docker stop --time=1 8cda9716ae97b0dab68f6e95e8311d1560c350680d5b8dfe05ef9fe47ccd1631 [2022-04-14T08:29:49.759Z] $ docker rm -f 8cda9716ae97b0dab68f6e95e8311d1560c350680d5b8dfe05ef9fe47ccd1631 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T08:29:50.195Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T08:29:50.286Z] 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] sh [2022-04-14T08:29:50.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T08:29:50.824Z] [2022-04-14T08:29:50.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:29:51.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T08:29:51.136Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-14T08:29:51.136Z] 5eb5b503b376: Pulling fs layer [2022-04-14T08:29:51.136Z] 5c69ac0246d0: Pulling fs layer [2022-04-14T08:29:51.136Z] ec43610c2a17: Pulling fs layer [2022-04-14T08:29:51.136Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-14T08:29:51.136Z] 33b1e0a273af: Pulling fs layer [2022-04-14T08:29:51.136Z] 5d3b04190fa2: Pulling fs layer [2022-04-14T08:29:51.136Z] 2f39f015ded8: Pulling fs layer [2022-04-14T08:29:51.136Z] 33b1e0a273af: Waiting [2022-04-14T08:29:51.136Z] 5d3b04190fa2: Waiting [2022-04-14T08:29:51.136Z] 2f39f015ded8: Waiting [2022-04-14T08:29:51.136Z] 5c69ac0246d0: Verifying Checksum [2022-04-14T08:29:51.136Z] 5c69ac0246d0: Download complete [2022-04-14T08:29:51.136Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-14T08:29:51.136Z] 3a2ae6a8a46f: Download complete [2022-04-14T08:29:51.136Z] 33b1e0a273af: Verifying Checksum [2022-04-14T08:29:51.136Z] 33b1e0a273af: Download complete [2022-04-14T08:29:51.395Z] 5d3b04190fa2: Verifying Checksum [2022-04-14T08:29:51.395Z] 5d3b04190fa2: Download complete [2022-04-14T08:29:51.395Z] ec43610c2a17: Verifying Checksum [2022-04-14T08:29:51.395Z] 5eb5b503b376: Download complete [2022-04-14T08:29:51.966Z] 2f39f015ded8: Download complete [2022-04-14T08:29:52.907Z] 5eb5b503b376: Pull complete [2022-04-14T08:29:52.907Z] 5c69ac0246d0: Pull complete [2022-04-14T08:29:53.477Z] ec43610c2a17: Pull complete [2022-04-14T08:29:53.477Z] 3a2ae6a8a46f: Pull complete [2022-04-14T08:29:53.737Z] 33b1e0a273af: Pull complete [2022-04-14T08:29:53.737Z] 5d3b04190fa2: Pull complete [2022-04-14T08:29:57.939Z] 2f39f015ded8: Pull complete [2022-04-14T08:29:57.939Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-14T08:29:57.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T08:29:57.939Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-14T08:29:58.008Z] prd-ubuntu20.04-docker-8c-8g-20931 does not seem to be running inside a container [2022-04-14T08:29:58.050Z] $ 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-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-14T08:30:00.658Z] $ docker top ccc62d1fb962c20d0a0489845416327c04380c21b13b5f6f7401137cf6a2e7df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:30:01.088Z] ---> job-cost.sh [2022-04-14T08:30:01.088Z] lf-activate-venv: SKIPPING [2022-04-14T08:30:01.088Z] INFO: No Stack... [2022-04-14T08:30:01.664Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T08:30:02.235Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T08:30:02.530Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/cost.csv [2022-04-14T08:30:02.530Z] + cut -d, -f6 [Pipeline] lock [2022-04-14T08:30:02.549Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [2022-04-14T08:30:02.555Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] did not exist. Created. [2022-04-14T08:30:02.555Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-14T08:30:02.860Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-14T08:30:02.882Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T08:30:02.889Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T08:30:02.916Z] $ docker stop --time=1 ccc62d1fb962c20d0a0489845416327c04380c21b13b5f6f7401137cf6a2e7df [2022-04-14T08:30:04.090Z] $ docker rm -f ccc62d1fb962c20d0a0489845416327c04380c21b13b5f6f7401137cf6a2e7df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-14T08:30:29.407Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20933 in /w/workspace/xfoundry_go-mod-messaging_PR-137 [Pipeline] { [Pipeline] ws [2022-04-14T08:30:29.422Z] Running in /w/workspace/go-mod-messaging/12 [Pipeline] { [Pipeline] checkout [2022-04-14T08:30:29.729Z] Selected Git installation does not exist. Using Default [2022-04-14T08:30:29.729Z] The recommended git tool is: NONE [2022-04-14T08:30:37.105Z] using credential edgex-jenkins-ssh [2022-04-14T08:30:37.122Z] Cloning the remote Git repository [2022-04-14T08:30:37.182Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-04-14T08:30:37.287Z] > git init /w/workspace/go-mod-messaging/12 # timeout=10 [2022-04-14T08:30:37.437Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-04-14T08:30:37.438Z] > git --version # timeout=10 [2022-04-14T08:30:37.472Z] > git --version # 'git version 2.25.1' [2022-04-14T08:30:37.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T08:30:37.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T08:30:38.478Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-04-14T08:30:38.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-14T08:30:39.628Z] Merging remotes/origin/main commit 2433d870dc62e01df1945887488f7bf5711036d5 into PR head commit 42bad6a60ca898d36cd6d0f4a35470989482abec [2022-04-14T08:30:38.666Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-04-14T08:30:38.760Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-04-14T08:30:38.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T08:30:38.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-14T08:30:39.655Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T08:30:39.703Z] > git checkout -f 42bad6a60ca898d36cd6d0f4a35470989482abec # timeout=10 [2022-04-14T08:30:39.898Z] > git remote # timeout=10 [2022-04-14T08:30:39.981Z] > git config --get remote.origin.url # timeout=10 [2022-04-14T08:30:40.223Z] Merge succeeded, producing 461f5dca6b37fd3df1dcdf4cfc072f422b15aeb1 [2022-04-14T08:30:40.224Z] Checking out Revision 461f5dca6b37fd3df1dcdf4cfc072f422b15aeb1 (PR-137) [2022-04-14T08:30:40.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-14T08:30:40.061Z] > git merge 2433d870dc62e01df1945887488f7bf5711036d5 # timeout=10 [2022-04-14T08:30:40.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-14T08:30:40.239Z] > git config core.sparsecheckout # timeout=10 [2022-04-14T08:30:40.271Z] > git checkout -f 461f5dca6b37fd3df1dcdf4cfc072f422b15aeb1 # timeout=10 [2022-04-14T08:30:44.615Z] Commit message: "Merge commit '2433d870dc62e01df1945887488f7bf5711036d5' into HEAD" [2022-04-14T08:30:44.631Z] > git rev-list --no-walk 87fb9f81f05d8bf03a89f65a1142856a7c01ed03 # timeout=10 [2022-04-14T08:30:44.642Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-14T08:30:45.447Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-14T08:30:45.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T08:30:45.447Z] Dload Upload Total Spent Left Speed [2022-04-14T08:30:45.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh [2022-04-14T08:30:45.996Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-14T08:30:46.346Z] + sudo tee /etc/docker/daemon.new [2022-04-14T08:30:46.346Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-14T08:30:46.346Z] { [2022-04-14T08:30:46.346Z] "registry-mirrors": [ [2022-04-14T08:30:46.346Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-14T08:30:46.346Z] ], [2022-04-14T08:30:46.346Z] "bip": "10.250.0.254/24", [2022-04-14T08:30:46.346Z] "hosts": [ [2022-04-14T08:30:46.346Z] "tcp://0.0.0.0:5555", [2022-04-14T08:30:46.346Z] "unix:///var/run/docker.sock" [2022-04-14T08:30:46.346Z] ], [2022-04-14T08:30:46.346Z] "mtu": 1458, [2022-04-14T08:30:46.346Z] "selinux-enabled": true, [2022-04-14T08:30:46.346Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-14T08:30:46.346Z] } [Pipeline] sh [2022-04-14T08:30:46.711Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-14T08:30:47.054Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-04-14T08:31:06.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-14T08:31:06.016Z] ========================================================= [2022-04-14T08:31:06.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-14T08:31:06.016Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-14T08:31:06.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-14T08:31:07.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-14T08:31:07.368Z] 9b3977197b4f: Pulling fs layer [2022-04-14T08:31:07.368Z] 1a89e8eeedd5: Pulling fs layer [2022-04-14T08:31:07.368Z] 94645a83ff95: Pulling fs layer [2022-04-14T08:31:07.368Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-14T08:31:07.368Z] 0c92f367c5e7: Pulling fs layer [2022-04-14T08:31:07.368Z] f7c0051592d6: Pulling fs layer [2022-04-14T08:31:07.368Z] a227ed2f7395: Pulling fs layer [2022-04-14T08:31:07.368Z] 7b1c46037f91: Pulling fs layer [2022-04-14T08:31:07.368Z] 3f3a8bcf1eab: Waiting [2022-04-14T08:31:07.368Z] f7c0051592d6: Waiting [2022-04-14T08:31:07.368Z] 0c92f367c5e7: Waiting [2022-04-14T08:31:07.368Z] a227ed2f7395: Waiting [2022-04-14T08:31:07.368Z] 7b1c46037f91: Waiting [2022-04-14T08:31:07.368Z] 94645a83ff95: Download complete [2022-04-14T08:31:07.368Z] 1a89e8eeedd5: Verifying Checksum [2022-04-14T08:31:07.368Z] 1a89e8eeedd5: Download complete [2022-04-14T08:31:07.368Z] 0c92f367c5e7: Verifying Checksum [2022-04-14T08:31:07.368Z] 0c92f367c5e7: Download complete [2022-04-14T08:31:07.368Z] f7c0051592d6: Verifying Checksum [2022-04-14T08:31:07.368Z] f7c0051592d6: Download complete [2022-04-14T08:31:07.368Z] 9b3977197b4f: Verifying Checksum [2022-04-14T08:31:07.368Z] 9b3977197b4f: Download complete [2022-04-14T08:31:07.368Z] a227ed2f7395: Verifying Checksum [2022-04-14T08:31:07.368Z] a227ed2f7395: Download complete [2022-04-14T08:31:07.980Z] 9b3977197b4f: Pull complete [2022-04-14T08:31:08.600Z] 1a89e8eeedd5: Pull complete [2022-04-14T08:31:08.878Z] 94645a83ff95: Pull complete [2022-04-14T08:31:09.482Z] 7b1c46037f91: Verifying Checksum [2022-04-14T08:31:09.482Z] 7b1c46037f91: Download complete [2022-04-14T08:31:09.758Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-14T08:31:09.758Z] 3f3a8bcf1eab: Download complete [2022-04-14T08:31:22.204Z] 3f3a8bcf1eab: Pull complete [2022-04-14T08:31:22.204Z] 0c92f367c5e7: Pull complete [2022-04-14T08:31:22.479Z] f7c0051592d6: Pull complete [2022-04-14T08:31:22.767Z] a227ed2f7395: Pull complete [2022-04-14T08:31:29.511Z] 7b1c46037f91: Pull complete [2022-04-14T08:31:29.511Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-14T08:31:29.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-14T08:31:29.511Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-04-14T08:31:29.853Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:31:30.205Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T08:31:30.205Z] . [Pipeline] withDockerContainer [2022-04-14T08:31:30.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-20933 does not seem to be running inside a container [2022-04-14T08:31:30.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/12 -v /w/workspace/go-mod-messaging/12:/w/workspace/go-mod-messaging/12:rw,z -v /w/workspace/go-mod-messaging/12@tmp:/w/workspace/go-mod-messaging/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T08:31:33.496Z] $ docker top c6144ebe2381e933f4b42d80bed0dda28997c3dfa8370bad6e58df8bae852372 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T08:31:34.406Z] + go version [2022-04-14T08:31:34.406Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-14T08:31:34.437Z] $ docker stop --time=1 c6144ebe2381e933f4b42d80bed0dda28997c3dfa8370bad6e58df8bae852372 [2022-04-14T08:31:36.111Z] $ docker rm -f c6144ebe2381e933f4b42d80bed0dda28997c3dfa8370bad6e58df8bae852372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:31:36.750Z] + docker inspect -f . ci-base-image-arm64 [2022-04-14T08:31:36.750Z] . [Pipeline] withDockerContainer [2022-04-14T08:31:36.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-20933 does not seem to be running inside a container [2022-04-14T08:31:37.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-messaging/12 -v /w/workspace/go-mod-messaging/12:/w/workspace/go-mod-messaging/12:rw,z -v /w/workspace/go-mod-messaging/12@tmp:/w/workspace/go-mod-messaging/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-14T08:31:38.413Z] $ docker top 852d21bcb89fe046652b4aed08b3292a79aa18bc47b45b6de5a4d29f84e9599c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-14T08:31:39.338Z] + make test [2022-04-14T08:31:39.338Z] CGO_ENABLED=1 GO111MODULE=on go test -race ./... -coverprofile=coverage.out ./... [2022-04-14T08:31:39.338Z] go: downloading github.com/nats-io/nats.go v1.13.1-0.20220308171302-2f2f6968e98d [2022-04-14T08:31:39.338Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-04-14T08:31:39.613Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-14T08:31:39.613Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-14T08:31:39.613Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-14T08:31:39.613Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-14T08:31:39.613Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-14T08:31:39.613Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-14T08:31:39.889Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-04-14T08:31:39.889Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-14T08:31:39.889Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-04-14T08:31:39.889Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-04-14T08:31:39.889Z] go: downloading github.com/nats-io/nkeys v0.3.0 [2022-04-14T08:31:39.889Z] go: downloading github.com/nats-io/nuid v1.0.1 [2022-04-14T08:31:39.889Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-14T08:31:39.889Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-14T08:31:39.889Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-14T08:31:39.889Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-14T08:31:40.167Z] go: downloading golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce [2022-04-14T08:32:36.809Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-04-14T08:32:59.030Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.192s coverage: 90.3% of statements [2022-04-14T08:33:04.475Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats 0.179s coverage: 84.2% of statements [2022-04-14T08:33:05.468Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/jetstream 0.077s coverage: 14.3% of statements [2022-04-14T08:33:05.468Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/nats/mocks [no test files] [2022-04-14T08:33:06.462Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.114s coverage: 68.7% of statements [2022-04-14T08:33:06.462Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-04-14T08:33:24.791Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.518s coverage: 83.8% of statements [2022-04-14T08:33:24.791Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.081s coverage: 88.9% of statements [2022-04-14T08:33:24.791Z] ? github.com/edgexfoundry/go-mod-messaging/v2/messaging/mocks [no test files] [2022-04-14T08:33:24.791Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.072s coverage: 100.0% of statements [2022-04-14T08:33:24.791Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.099s coverage: 100.0% of statements [2022-04-14T08:33:24.791Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.063s coverage: 90.9% of statements [2022-04-14T08:33:24.791Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-14T08:33:24.791Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-14T08:34:03.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-14T08:34:03.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-14T08:34:03.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-14T08:34:03.902Z] $ docker stop --time=1 852d21bcb89fe046652b4aed08b3292a79aa18bc47b45b6de5a4d29f84e9599c [2022-04-14T08:34:05.704Z] $ docker rm -f 852d21bcb89fe046652b4aed08b3292a79aa18bc47b45b6de5a4d29f84e9599c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-14T08:34:06.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-14T08:34:06.911Z] Warning: overwriting stash ‘coverage-report’ [2022-04-14T08:34:07.467Z] 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] sh [2022-04-14T08:34:07.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T08:34:07.899Z] [2022-04-14T08:34:07.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:34:08.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T08:34:08.522Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-14T08:34:08.522Z] 8998bd30e6a1: Pulling fs layer [2022-04-14T08:34:08.522Z] 04944245beec: Pulling fs layer [2022-04-14T08:34:08.522Z] 699f458cf7ca: Pulling fs layer [2022-04-14T08:34:08.522Z] 765212b225bb: Pulling fs layer [2022-04-14T08:34:08.522Z] f23df028b6ca: Pulling fs layer [2022-04-14T08:34:08.522Z] d65c8cfc05b1: Pulling fs layer [2022-04-14T08:34:08.522Z] 2437ff75d9bd: Pulling fs layer [2022-04-14T08:34:08.522Z] f23df028b6ca: Waiting [2022-04-14T08:34:08.522Z] 2437ff75d9bd: Waiting [2022-04-14T08:34:08.522Z] 765212b225bb: Waiting [2022-04-14T08:34:08.522Z] 04944245beec: Verifying Checksum [2022-04-14T08:34:08.522Z] 04944245beec: Download complete [2022-04-14T08:34:08.522Z] 765212b225bb: Verifying Checksum [2022-04-14T08:34:08.522Z] 765212b225bb: Download complete [2022-04-14T08:34:08.522Z] f23df028b6ca: Verifying Checksum [2022-04-14T08:34:08.522Z] f23df028b6ca: Download complete [2022-04-14T08:34:08.522Z] d65c8cfc05b1: Verifying Checksum [2022-04-14T08:34:08.522Z] d65c8cfc05b1: Download complete [2022-04-14T08:34:08.796Z] 699f458cf7ca: Verifying Checksum [2022-04-14T08:34:08.796Z] 699f458cf7ca: Download complete [2022-04-14T08:34:09.079Z] 8998bd30e6a1: Verifying Checksum [2022-04-14T08:34:09.079Z] 8998bd30e6a1: Download complete [2022-04-14T08:34:11.072Z] 2437ff75d9bd: Verifying Checksum [2022-04-14T08:34:13.052Z] 8998bd30e6a1: Pull complete [2022-04-14T08:34:13.652Z] 04944245beec: Pull complete [2022-04-14T08:34:15.100Z] 699f458cf7ca: Pull complete [2022-04-14T08:34:15.373Z] 765212b225bb: Pull complete [2022-04-14T08:34:15.969Z] f23df028b6ca: Pull complete [2022-04-14T08:34:16.244Z] d65c8cfc05b1: Pull complete [2022-04-14T08:34:31.437Z] 2437ff75d9bd: Pull complete [2022-04-14T08:34:31.437Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-14T08:34:31.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-14T08:34:31.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-14T08:34:31.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-20933 does not seem to be running inside a container [2022-04-14T08:34:31.809Z] $ 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/12 -v /w/workspace/go-mod-messaging/12:/w/workspace/go-mod-messaging/12:rw,z -v /w/workspace/go-mod-messaging/12@tmp:/w/workspace/go-mod-messaging/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-14T08:34:34.351Z] $ docker top bd7c84a3ac4952bad29bb1e85f4dc0fea434e8dbe4c5f670409f33428b332719 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:35.253Z] ---> job-cost.sh [2022-04-14T08:34:35.253Z] lf-activate-venv: SKIPPING [2022-04-14T08:34:35.253Z] INFO: No Stack... [2022-04-14T08:34:35.848Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-14T08:34:36.829Z] INFO: Archiving Costs [Pipeline] sh [2022-04-14T08:34:37.499Z] + cut -d, -f6 [2022-04-14T08:34:37.499Z] + cat /w/workspace/go-mod-messaging/12/archives/cost.csv [Pipeline] lock [2022-04-14T08:34:37.566Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [2022-04-14T08:34:37.571Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] did not exist. Created. [2022-04-14T08:34:37.571Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-14T08:34:38.239Z] /w/workspace/go-mod-messaging/12@tmp/durable-ea165dc9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-14T08:34:38.917Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-14T08:34:38.939Z] Warning: overwriting stash ‘stack-cost’ [2022-04-14T08:34:38.990Z] Stashed 1 file(s) [Pipeline] } [2022-04-14T08:34:38.996Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-137-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-14T08:34:39.025Z] $ docker stop --time=1 bd7c84a3ac4952bad29bb1e85f4dc0fea434e8dbe4c5f670409f33428b332719 [2022-04-14T08:34:40.524Z] $ docker rm -f bd7c84a3ac4952bad29bb1e85f4dc0fea434e8dbe4c5f670409f33428b332719 [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 [2022-04-14T08:34:41.038Z] provisioning config files... [2022-04-14T08:34:41.051Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/config5608843639299635470tmp [Pipeline] { [Pipeline] sh [2022-04-14T08:34:41.346Z] + set +x [2022-04-14T08:34:41.347Z] + curl -s https://codecov.io/bash [2022-04-14T08:34:41.347Z] + bash -s -- [2022-04-14T08:34:41.347Z] [2022-04-14T08:34:41.347Z] _____ _ [2022-04-14T08:34:41.347Z] / ____| | | [2022-04-14T08:34:41.347Z] | | ___ __| | ___ ___ _____ __ [2022-04-14T08:34:41.347Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-14T08:34:41.347Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-14T08:34:41.347Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-14T08:34:41.347Z] Bash-1.0.6 [2022-04-14T08:34:41.347Z] [2022-04-14T08:34:41.347Z] [2022-04-14T08:34:41.347Z] ==> git version 2.25.1 found [2022-04-14T08:34:41.608Z] ==> 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 [2022-04-14T08:34:41.608Z] Release-Date: 2020-01-08 [2022-04-14T08:34:41.608Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-14T08:34:41.608Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-14T08:34:41.608Z] ==> Jenkins CI detected. [2022-04-14T08:34:41.608Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-137 [2022-04-14T08:34:41.608Z] project root: . [2022-04-14T08:34:41.608Z] --> token set from env [2022-04-14T08:34:41.608Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-14T08:34:41.608Z] ==> Running gcov in . (disable via -X gcov) [2022-04-14T08:34:41.608Z] ==> Python coveragepy not found [2022-04-14T08:34:41.608Z] ==> Searching for coverage reports in: [2022-04-14T08:34:41.608Z] + . [2022-04-14T08:34:41.608Z] -> Found 1 reports [2022-04-14T08:34:41.608Z] ==> Detecting git/mercurial file structure [2022-04-14T08:34:41.608Z] ==> Reading reports [2022-04-14T08:34:41.608Z] + ./coverage.out bytes=35882 [2022-04-14T08:34:41.608Z] ==> Appending adjustments [2022-04-14T08:34:41.608Z] https://docs.codecov.io/docs/fixing-reports [2022-04-14T08:34:41.869Z] + Found adjustments [2022-04-14T08:34:41.869Z] ==> Gzipping contents [2022-04-14T08:34:41.869Z] 8.0K /tmp/codecov.ybzjyx.gz [2022-04-14T08:34:41.869Z] ==> Uploading reports [2022-04-14T08:34:41.869Z] url: https://codecov.io [2022-04-14T08:34:41.869Z] query: branch=PR-137&commit=ff071f8ae9e2285e7383eacdfb2549b331de3d45&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-137%2F12%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=137&job=&cmd_args= [2022-04-14T08:34:41.869Z] -> Pinging Codecov [2022-04-14T08:34:41.869Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-137&commit=ff071f8ae9e2285e7383eacdfb2549b331de3d45&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-137%2F12%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=137&job=&cmd_args= [2022-04-14T08:34:42.130Z] -> Uploading to [2022-04-14T08:34:42.131Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-14/F6E385568367DD0E4001BA4F8F1CB792/ff071f8ae9e2285e7383eacdfb2549b331de3d45/71e19e56-c7ab-4d20-af6f-fa18775f72b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220414T083441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=940c1d0763d31cc03183fec01bb772745f298a1b9a61454f4615fc678adda8b3 [2022-04-14T08:34:42.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-14T08:34:42.131Z] Dload Upload Total Spent Left Speed [2022-04-14T08:34:42.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7818 0 0 100 7818 0 36532 --:--:-- --:--:-- --:--:-- 36532 [2022-04-14T08:34:42.392Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/ff071f8ae9e2285e7383eacdfb2549b331de3d45 [Pipeline] } [2022-04-14T08:34:42.401Z] 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 [2022-04-14T08:34:43.130Z] + [ -d /w/workspace/xfoundry_go-mod-messaging_PR-137/archives ] [2022-04-14T08:34:43.130Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-137/archives [2022-04-14T08:34:43.130Z] total 16 [2022-04-14T08:34:43.130Z] drwxr-xr-x 3 root root 4096 Apr 14 08:30 . [2022-04-14T08:34:43.130Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 08:30 .. [2022-04-14T08:34:43.130Z] drwxr-xr-x 2 root root 4096 Apr 14 08:30 cost [2022-04-14T08:34:43.130Z] -rw-r--r-- 1 root root 88 Apr 14 08:30 cost.csv [2022-04-14T08:34:43.130Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-137/archives [2022-04-14T08:34:43.130Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-137/archives [2022-04-14T08:34:43.130Z] total 16 [2022-04-14T08:34:43.130Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 14 08:30 . [2022-04-14T08:34:43.130Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 08:30 .. [2022-04-14T08:34:43.130Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 14 08:30 cost [2022-04-14T08:34:43.130Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 14 08:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:43.427Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:44.298Z] ---> package-listing.sh [2022-04-14T08:34:44.298Z] ++ facter osfamily [2022-04-14T08:34:44.298Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-14T08:34:44.559Z] + OS_FAMILY=debian [2022-04-14T08:34:44.559Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-137 [2022-04-14T08:34:44.559Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-14T08:34:44.559Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-14T08:34:44.559Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-14T08:34:44.559Z] + PACKAGES=/tmp/packages_start.txt [2022-04-14T08:34:44.559Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-137 ']' [2022-04-14T08:34:44.559Z] + PACKAGES=/tmp/packages_end.txt [2022-04-14T08:34:44.559Z] + case "${OS_FAMILY}" in [2022-04-14T08:34:44.559Z] + dpkg -l [2022-04-14T08:34:44.559Z] + grep '^ii' [2022-04-14T08:34:44.559Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-14T08:34:44.559Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-14T08:34:44.559Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-14T08:34:44.559Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-137 ']' [2022-04-14T08:34:44.559Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/ [2022-04-14T08:34:44.559Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-137/archives/ [Pipeline] echo [2022-04-14T08:34:44.572Z] 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-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-14T08:34:44.852Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-14T08:34:45.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-14T08:34:45.415Z] . [Pipeline] withDockerContainer [2022-04-14T08:34:45.488Z] prd-ubuntu20.04-docker-8c-8g-20931 does not seem to be running inside a container [2022-04-14T08:34:45.598Z] $ 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-137/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-137 -v /w/workspace/xfoundry_go-mod-messaging_PR-137:/w/workspace/xfoundry_go-mod-messaging_PR-137:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-14T08:34:46.045Z] $ docker top cb44b2e04df7faa4cde97e8cf5177c27711fee7b2fe6bd7532335bf7245c0812 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-14T08:34:46.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-14T08:34:46.690Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-14T08:34:46.979Z] + ls /var/log/sa-host [2022-04-14T08:34:46.979Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-14T08:34:47.195Z] provisioning config files... [2022-04-14T08:34:47.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-137@tmp/config3050017361414139332tmp [Pipeline] { [Pipeline] echo [2022-04-14T08:34:47.223Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:47.509Z] ---> create-netrc.sh [Pipeline] } [2022-04-14T08:34:47.517Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:47.858Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-14T08:34:47.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:48.154Z] ---> sudo-logs.sh [2022-04-14T08:34:48.154Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-14T08:34:48.182Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:48.470Z] ---> job-cost.sh [2022-04-14T08:34:48.470Z] lf-activate-venv: SKIPPING [2022-04-14T08:34:48.470Z] DEBUG: total: 0.2199999988079071 [2022-04-14T08:34:48.470Z] INFO: Retrieving Stack Cost... [2022-04-14T08:34:48.732Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-14T08:34:49.308Z] INFO: Archiving Costs [Pipeline] echo [2022-04-14T08:34:49.323Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-14T08:34:49.612Z] ---> logs-deploy.sh [2022-04-14T08:34:49.612Z] lf-activate-venv: SKIPPING [2022-04-14T08:34:49.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-137/12 [2022-04-14T08:34:49.612Z] INFO: archiving workspace using pattern(s): [2022-04-14T08:34:50.559Z] Archives upload complete. [2022-04-14T08:34:50.821Z] INFO: archiving logs to Nexus [2022-04-14T08:34:51.394Z] ---> uname -a: [2022-04-14T08:34:51.394Z] Linux prd-ubuntu20-04-docker-8c-8g-20931 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-04-14T08:34:51.394Z] [2022-04-14T08:34:51.394Z] [2022-04-14T08:34:51.394Z] ---> lscpu: [2022-04-14T08:34:51.394Z] Architecture: x86_64 [2022-04-14T08:34:51.394Z] CPU op-mode(s): 32-bit, 64-bit [2022-04-14T08:34:51.394Z] Byte Order: Little Endian [2022-04-14T08:34:51.394Z] Address sizes: 40 bits physical, 48 bits virtual [2022-04-14T08:34:51.394Z] CPU(s): 8 [2022-04-14T08:34:51.394Z] On-line CPU(s) list: 0-7 [2022-04-14T08:34:51.394Z] Thread(s) per core: 1 [2022-04-14T08:34:51.394Z] Core(s) per socket: 1 [2022-04-14T08:34:51.394Z] Socket(s): 8 [2022-04-14T08:34:51.394Z] NUMA node(s): 1 [2022-04-14T08:34:51.394Z] Vendor ID: AuthenticAMD [2022-04-14T08:34:51.394Z] CPU family: 23 [2022-04-14T08:34:51.394Z] Model: 49 [2022-04-14T08:34:51.394Z] Model name: AMD EPYC-Rome Processor [2022-04-14T08:34:51.394Z] Stepping: 0 [2022-04-14T08:34:51.394Z] CPU MHz: 2799.994 [2022-04-14T08:34:51.394Z] BogoMIPS: 5599.98 [2022-04-14T08:34:51.394Z] Virtualization: AMD-V [2022-04-14T08:34:51.394Z] Hypervisor vendor: KVM [2022-04-14T08:34:51.394Z] Virtualization type: full [2022-04-14T08:34:51.394Z] L1d cache: 256 KiB [2022-04-14T08:34:51.394Z] L1i cache: 256 KiB [2022-04-14T08:34:51.394Z] L2 cache: 4 MiB [2022-04-14T08:34:51.394Z] L3 cache: 128 MiB [2022-04-14T08:34:51.394Z] NUMA node0 CPU(s): 0-7 [2022-04-14T08:34:51.395Z] Vulnerability Itlb multihit: Not affected [2022-04-14T08:34:51.395Z] Vulnerability L1tf: Not affected [2022-04-14T08:34:51.395Z] Vulnerability Mds: Not affected [2022-04-14T08:34:51.395Z] Vulnerability Meltdown: Not affected [2022-04-14T08:34:51.395Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-04-14T08:34:51.395Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-04-14T08:34:51.395Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-04-14T08:34:51.395Z] Vulnerability Srbds: Not affected [2022-04-14T08:34:51.395Z] Vulnerability Tsx async abort: Not affected [2022-04-14T08:34:51.395Z] 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 [2022-04-14T08:34:51.395Z] [2022-04-14T08:34:51.395Z] [2022-04-14T08:34:51.395Z] ---> nproc: [2022-04-14T08:34:51.395Z] 8 [2022-04-14T08:34:51.395Z] [2022-04-14T08:34:51.395Z]