Pull request #126 opened 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 bnevis-i for edgexfoundry/go-mod-messaging Obtained Jenkinsfile from 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9+e9252307a4bce68487e6f36054a8661418bdca63 (3c5b34fb09669cfee1bcd48e984f24b19e58e3b8) 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-ssh11564981420241604579.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh3759041688301217811.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-126/workspace@libs/edgex-global-pipelines # 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-126/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15279940838617818133.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-126/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10003000069886554899.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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 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-ssh8670243161893021120.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-126/workspace@libs/lf-pipelines # 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-126/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16810807153803562522.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 7a502be46133bd83b74f613648f1d59e9d9e8641 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: [[centos7-docker-4c-2g, ubuntu18.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.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-messaging DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1281 in /w/workspace/xfoundry_go-mod-messaging_PR-126 [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-126 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/jenkins-gitclient-ssh4358539928670262833.key > 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 e9252307a4bce68487e6f36054a8661418bdca63 into PR head commit 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 Merge succeeded, producing 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 Checking out Revision 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 (PR-126) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/jenkins-gitclient-ssh1783944072079595332.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/jenkins-gitclient-ssh396392760819730969.key > git merge e9252307a4bce68487e6f36054a8661418bdca63 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 # timeout=10 Commit message: "feat(security): Enable gosec and default linter set" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T21:49:59.003Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T21:49:59.159Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T21:49:59.253Z] ========================================================= [2022-01-11T21:49:59.253Z] EdgeX Global Pipelines Version Info [2022-01-11T21:49:59.253Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:50:00.416Z] ------------------- [2022-01-11T21:50:00.416Z] stable info: [2022-01-11T21:50:00.416Z] ------------------- [2022-01-11T21:50:00.416Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T21:50:00.416Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:50:00.416Z] Message: update stable to v1.0.218 [2022-01-11T21:50:00.997Z] ------------------- [2022-01-11T21:50:00.997Z] experimental info: [2022-01-11T21:50:00.997Z] ------------------- [2022-01-11T21:50:00.997Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T21:50:00.997Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:50:00.997Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T21:50:01.259Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-messaging-settings [Pipeline] echo [2022-01-11T21:50:01.300Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-messaging [Pipeline] echo [2022-01-11T21:50:01.338Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T21:50:01.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T21:50:01.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T21:50:01.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T21:50:01.515Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T21:50:01.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-11T21:50:01.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T21:50:01.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T21:50:01.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T21:50:01.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-messaging [Pipeline] echo [2022-01-11T21:50:01.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T21:50:01.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T21:50:01.838Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:50:01.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:50:01.926Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:50:01.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:50:02.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T21:50:02.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T21:50:02.137Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-11T21:50:02.195Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-11T21:50:02.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T21:50:02.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T21:50:02.320Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-11T21:50:02.356Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T21:50:02.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-126 [Pipeline] echo [2022-01-11T21:50:02.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-126 [Pipeline] echo [2022-01-11T21:50:02.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-126 [Pipeline] echo [2022-01-11T21:50:02.516Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [Pipeline] echo [2022-01-11T21:50:02.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ec7e55 [Pipeline] echo [2022-01-11T21:50:02.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T21:50:03.138Z] + git rev-list -1 --merges 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9~1..0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [Pipeline] echo [2022-01-11T21:50:03.204Z] -----------> git rev-list -1 --merges 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9~1..0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [false] [Pipeline] sh [2022-01-11T21:50:03.521Z] + git log --format=format:%s -1 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [Pipeline] echo [2022-01-11T21:50:03.553Z] ========================================================= [2022-01-11T21:50:03.553Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T21:50:03.553Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:50:03.979Z] + git log --format=format:%s -1 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [Pipeline] echo [2022-01-11T21:50:04.016Z] [semverPrep] GIT_COMMIT: 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-11T21:50:04.048Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T21:50:04.480Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T21:50:04.480Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T21:50:04.480Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T21:50:04.480Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T21:50:04.480Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T21:50:04.480Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T21:50:04.480Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:50:04.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:50:04.876Z] [2022-01-11T21:50:04.876Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:50:05.225Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:50:05.225Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T21:50:05.225Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T21:50:05.225Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T21:50:05.225Z] 4c7163046ea9: Pulling fs layer [2022-01-11T21:50:05.225Z] 0c2d73faf560: Pulling fs layer [2022-01-11T21:50:05.225Z] 0c2d73faf560: Waiting [2022-01-11T21:50:05.225Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T21:50:05.225Z] 3e5f54012d9b: Download complete [2022-01-11T21:50:05.225Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T21:50:05.225Z] a0d0a0d46f8b: Download complete [2022-01-11T21:50:05.225Z] 0c2d73faf560: Verifying Checksum [2022-01-11T21:50:05.225Z] 0c2d73faf560: Download complete [2022-01-11T21:50:05.225Z] 4c7163046ea9: Verifying Checksum [2022-01-11T21:50:05.225Z] 4c7163046ea9: Download complete [2022-01-11T21:50:05.503Z] a0d0a0d46f8b: Pull complete [2022-01-11T21:50:05.503Z] 3e5f54012d9b: Pull complete [2022-01-11T21:50:05.779Z] 4c7163046ea9: Pull complete [2022-01-11T21:50:06.044Z] 0c2d73faf560: Pull complete [2022-01-11T21:50:06.044Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T21:50:06.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:50:06.045Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T21:50:06.138Z] prd-centos7-docker-4c-2g-1281 does not seem to be running inside a container [2022-01-11T21:50:05.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-messaging_PR-126 -v /w/workspace/xfoundry_go-mod-messaging_PR-126:/w/workspace/xfoundry_go-mod-messaging_PR-126:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-126@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:10004/edgex-devops/git-semver:latest cat [2022-01-11T21:50:06.354Z] $ docker top 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T21:50:06.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:50:06.995Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:50:07.115Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:50:06.713Z] $ docker exec 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 ssh-agent [2022-01-11T21:50:07.232Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcaekKJ/agent.13 [2022-01-11T21:50:07.232Z] SSH_AGENT_PID=19 [2022-01-11T21:50:07.241Z] Running ssh-add (command line suppressed) [2022-01-11T21:50:06.965Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/private_key_4712583005812250494.key (/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/private_key_4712583005812250494.key) [2022-01-11T21:50:07.370Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:50:07.716Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T21:50:07.386Z] $ docker exec --env ******** --env ******** 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 ssh-agent -k [2022-01-11T21:50:07.505Z] unset SSH_AUTH_SOCK; [2022-01-11T21:50:07.506Z] unset SSH_AGENT_PID; [2022-01-11T21:50:07.506Z] echo Agent pid 19 killed; [2022-01-11T21:50:07.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T21:50:07.942Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:50:07.942Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:50:08.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:50:07.734Z] $ docker exec 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 ssh-agent [2022-01-11T21:50:08.165Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkcKAki/agent.51 [2022-01-11T21:50:08.165Z] SSH_AGENT_PID=57 [2022-01-11T21:50:08.171Z] Running ssh-add (command line suppressed) [2022-01-11T21:50:07.972Z] Identity added: /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/private_key_6162827131726362423.key (/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/private_key_6162827131726362423.key) [2022-01-11T21:50:08.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:50:08.664Z] + git semver init [2022-01-11T21:50:08.664Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T21:50:08.664Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-126/.git [2022-01-11T21:50:08.664Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-messaging_PR-126 [2022-01-11T21:50:08.664Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T21:50:08.664Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T21:50:08.664Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T21:50:08.664Z] # $SEMVER_BRANCH = PR-126 [2022-01-11T21:50:08.664Z] # $SEMVER_TEMP = /tmp/semver-609265230 [2022-01-11T21:50:08.664Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-messaging.git $SEMVER_TEMP [2022-01-11T21:50:09.239Z] # '/tmp/semver-609265230' -> '/w/workspace/xfoundry_go-mod-messaging_PR-126/.semver' [2022-01-11T21:50:09.239Z] # -> Force: false [2022-01-11T21:50:09.239Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-messaging_PR-126/.semver [Pipeline] } [2022-01-11T21:50:09.037Z] $ docker exec --env ******** --env ******** 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 ssh-agent -k [2022-01-11T21:50:09.143Z] unset SSH_AUTH_SOCK; [2022-01-11T21:50:09.144Z] unset SSH_AGENT_PID; [2022-01-11T21:50:09.144Z] echo Agent pid 57 killed; [2022-01-11T21:50:09.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T21:50:09.812Z] + git semver [Pipeline] } [2022-01-11T21:50:09.667Z] $ docker stop --time=1 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 [2022-01-11T21:50:10.891Z] $ docker rm -f 31c47bab319c714b1160ca9cc78fcc7b8022021b1aea5fa2f18333ee0dea9562 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:50:11.392Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T21:50:11.725Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T21:50:11.748Z] [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-01-11T21:50:12.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:50:12.492Z] ========================================================= [2022-01-11T21:50:12.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T21:50:12.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:50:12.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T21:50:12.943Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T21:50:12.943Z] a0d0a0d46f8b: Already exists [2022-01-11T21:50:12.943Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T21:50:12.943Z] b8b176561691: Pulling fs layer [2022-01-11T21:50:12.943Z] 4527c011a84f: Pulling fs layer [2022-01-11T21:50:12.943Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T21:50:12.943Z] e0aca202a116: Pulling fs layer [2022-01-11T21:50:12.943Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T21:50:12.943Z] 34cad66bf833: Pulling fs layer [2022-01-11T21:50:12.943Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T21:50:12.943Z] 5d74067f8e1e: Waiting [2022-01-11T21:50:12.943Z] e0aca202a116: Waiting [2022-01-11T21:50:12.943Z] 3a43be97a3b4: Waiting [2022-01-11T21:50:12.943Z] 34cad66bf833: Waiting [2022-01-11T21:50:12.943Z] b4e3c513aaa6: Waiting [2022-01-11T21:50:12.943Z] b8b176561691: Verifying Checksum [2022-01-11T21:50:12.943Z] b8b176561691: Download complete [2022-01-11T21:50:12.943Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T21:50:12.943Z] 5d74067f8e1e: Download complete [2022-01-11T21:50:12.943Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T21:50:12.943Z] 31adcdaf11c8: Download complete [2022-01-11T21:50:12.943Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T21:50:12.943Z] 3a43be97a3b4: Download complete [2022-01-11T21:50:12.943Z] e0aca202a116: Verifying Checksum [2022-01-11T21:50:12.943Z] e0aca202a116: Download complete [2022-01-11T21:50:13.206Z] 34cad66bf833: Verifying Checksum [2022-01-11T21:50:13.206Z] 34cad66bf833: Download complete [2022-01-11T21:50:13.206Z] 31adcdaf11c8: Pull complete [2022-01-11T21:50:13.206Z] b8b176561691: Pull complete [2022-01-11T21:50:13.470Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T21:50:13.470Z] b4e3c513aaa6: Download complete [2022-01-11T21:50:13.740Z] 4527c011a84f: Verifying Checksum [2022-01-11T21:50:13.740Z] 4527c011a84f: Download complete [2022-01-11T21:50:18.000Z] 4527c011a84f: Pull complete [2022-01-11T21:50:18.000Z] 5d74067f8e1e: Pull complete [2022-01-11T21:50:18.000Z] e0aca202a116: Pull complete [2022-01-11T21:50:18.000Z] 3a43be97a3b4: Pull complete [2022-01-11T21:50:18.000Z] 34cad66bf833: Pull complete [2022-01-11T21:50:20.576Z] b4e3c513aaa6: Pull complete [2022-01-11T21:50:20.576Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T21:50:20.576Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T21:50:20.576Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-11T21:50:20.903Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:50:21.234Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:50:21.234Z] . [Pipeline] withDockerContainer [2022-01-11T21:50:21.337Z] prd-centos7-docker-4c-2g-1281 does not seem to be running inside a container [2022-01-11T21:50:21.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-126 -v /w/workspace/xfoundry_go-mod-messaging_PR-126:/w/workspace/xfoundry_go-mod-messaging_PR-126:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T21:50:23.302Z] $ docker top e7b012731931af6f71fb80cd228ffbbd975d10c0826700c55c26bbe1760a1b93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:50:23.714Z] + go version [2022-01-11T21:50:23.715Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T21:50:23.750Z] $ docker stop --time=1 e7b012731931af6f71fb80cd228ffbbd975d10c0826700c55c26bbe1760a1b93 [2022-01-11T21:50:24.932Z] $ docker rm -f e7b012731931af6f71fb80cd228ffbbd975d10c0826700c55c26bbe1760a1b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:50:25.619Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:50:25.619Z] . [Pipeline] withDockerContainer [2022-01-11T21:50:25.723Z] prd-centos7-docker-4c-2g-1281 does not seem to be running inside a container [2022-01-11T21:50:25.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-messaging_PR-126 -v /w/workspace/xfoundry_go-mod-messaging_PR-126:/w/workspace/xfoundry_go-mod-messaging_PR-126:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-11T21:50:26.164Z] $ docker top 744a1b5b58c681cfe83be9d6c218a915f0a4c7ee098b0c2cf9db1de5b63be1b7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:50:26.641Z] + make test [2022-01-11T21:50:26.641Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-11T21:50:26.904Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-11T21:50:26.905Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-11T21:50:26.905Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-11T21:50:26.905Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-11T21:50:26.905Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-01-11T21:50:26.905Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-11T21:50:26.905Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-11T21:50:26.905Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-01-11T21:50:27.166Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-11T21:50:27.166Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-01-11T21:50:27.265Z] Still waiting to schedule task [2022-01-11T21:50:27.265Z] ‘prd-centos7-docker-4c-2g-1276’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-11T21:50:27.266Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1277’ is offline [2022-01-11T21:50:27.266Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1282’ is offline [2022-01-11T21:50:30.512Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-01-11T21:50:33.853Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.015s coverage: 90.3% of statements [2022-01-11T21:50:38.101Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.004s coverage: 67.3% of statements [2022-01-11T21:50:38.101Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-01-11T21:51:00.076Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.367s coverage: 83.8% of statements [2022-01-11T21:51:00.076Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.007s coverage: 85.7% of statements [2022-01-11T21:51:00.076Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.004s coverage: 100.0% of statements [2022-01-11T21:51:00.076Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.004s coverage: 100.0% of statements [2022-01-11T21:51:00.076Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.004s coverage: 90.9% of statements [2022-01-11T21:51:06.712Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-11T21:51:10.969Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:51:10.969Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-11T21:51:11.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:51:11.037Z] $ docker stop --time=1 744a1b5b58c681cfe83be9d6c218a915f0a4c7ee098b0c2cf9db1de5b63be1b7 [2022-01-11T21:51:12.323Z] $ docker rm -f 744a1b5b58c681cfe83be9d6c218a915f0a4c7ee098b0c2cf9db1de5b63be1b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:51:12.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:51:12.911Z] 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-01-11T21:51:13.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:51:13.843Z] [2022-01-11T21:51:13.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:51:14.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:51:14.196Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T21:51:14.196Z] b4d181a07f80: Pulling fs layer [2022-01-11T21:51:14.196Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T21:51:14.196Z] ed53099fbce6: Pulling fs layer [2022-01-11T21:51:14.196Z] dc539afda2c1: Pulling fs layer [2022-01-11T21:51:14.196Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T21:51:14.196Z] 9065ff56babe: Pulling fs layer [2022-01-11T21:51:14.196Z] d287ab97295c: Pulling fs layer [2022-01-11T21:51:14.196Z] dc539afda2c1: Waiting [2022-01-11T21:51:14.196Z] 77bc0d833cb6: Waiting [2022-01-11T21:51:14.196Z] 9065ff56babe: Waiting [2022-01-11T21:51:14.196Z] d287ab97295c: Waiting [2022-01-11T21:51:14.196Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T21:51:14.196Z] a1111a8f2ec3: Download complete [2022-01-11T21:51:14.196Z] dc539afda2c1: Verifying Checksum [2022-01-11T21:51:14.196Z] dc539afda2c1: Download complete [2022-01-11T21:51:14.196Z] ed53099fbce6: Verifying Checksum [2022-01-11T21:51:14.196Z] ed53099fbce6: Download complete [2022-01-11T21:51:14.196Z] 9065ff56babe: Verifying Checksum [2022-01-11T21:51:14.196Z] 9065ff56babe: Download complete [2022-01-11T21:51:14.465Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T21:51:14.465Z] 77bc0d833cb6: Download complete [2022-01-11T21:51:14.465Z] b4d181a07f80: Verifying Checksum [2022-01-11T21:51:14.465Z] b4d181a07f80: Download complete [2022-01-11T21:51:15.047Z] d287ab97295c: Verifying Checksum [2022-01-11T21:51:15.047Z] d287ab97295c: Download complete [2022-01-11T21:51:15.999Z] b4d181a07f80: Pull complete [2022-01-11T21:51:15.999Z] a1111a8f2ec3: Pull complete [2022-01-11T21:51:16.573Z] ed53099fbce6: Pull complete [2022-01-11T21:51:16.573Z] dc539afda2c1: Pull complete [2022-01-11T21:51:16.835Z] 77bc0d833cb6: Pull complete [2022-01-11T21:51:16.835Z] 9065ff56babe: Pull complete [2022-01-11T21:51:22.157Z] d287ab97295c: Pull complete [2022-01-11T21:51:22.157Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T21:51:22.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:51:22.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T21:51:22.255Z] prd-centos7-docker-4c-2g-1281 does not seem to be running inside a container [2022-01-11T21:51:22.287Z] $ 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-126 -v /w/workspace/xfoundry_go-mod-messaging_PR-126:/w/workspace/xfoundry_go-mod-messaging_PR-126:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T21:51:24.550Z] $ docker top 19e4d8170a065baab2f9dce165eb5ef90bad425cd6c3f4e95afd508097033352 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:51:25.016Z] ---> job-cost.sh [2022-01-11T21:51:25.016Z] lf-activate-venv: SKIPPING [2022-01-11T21:51:25.016Z] INFO: No Stack... [2022-01-11T21:51:25.587Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:51:25.848Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:51:26.169Z] + cat /w/workspace/xfoundry_go-mod-messaging_PR-126/archives/cost.csv [2022-01-11T21:51:26.169Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T21:51:26.213Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [2022-01-11T21:51:26.218Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] did not exist. Created. [2022-01-11T21:51:26.218Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:51:26.611Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T21:51:26.669Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:51:26.690Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:51:26.775Z] $ docker stop --time=1 19e4d8170a065baab2f9dce165eb5ef90bad425cd6c3f4e95afd508097033352 [2022-01-11T21:51:27.910Z] $ docker rm -f 19e4d8170a065baab2f9dce165eb5ef90bad425cd6c3f4e95afd508097033352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T21:52:26.851Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1283 in /w/workspace/xfoundry_go-mod-messaging_PR-126 [Pipeline] { [Pipeline] ws [2022-01-11T21:52:26.896Z] Running in /w/workspace/go-mod-messaging/1 [Pipeline] { [Pipeline] checkout [2022-01-11T21:52:27.127Z] Selected Git installation does not exist. Using Default [2022-01-11T21:52:27.127Z] The recommended git tool is: NONE [2022-01-11T21:52:32.382Z] using credential edgex-jenkins-ssh [2022-01-11T21:52:32.401Z] Cloning the remote Git repository [2022-01-11T21:52:32.468Z] Cloning repository git@github.com:edgexfoundry/go-mod-messaging.git [2022-01-11T21:52:32.564Z] > git init /w/workspace/go-mod-messaging/1 # timeout=10 [2022-01-11T21:52:32.649Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-01-11T21:52:32.650Z] > git --version # timeout=10 [2022-01-11T21:52:32.671Z] > git --version # 'git version 2.17.1' [2022-01-11T21:52:32.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:52:32.762Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:52:34.470Z] Merging remotes/origin/main commit e9252307a4bce68487e6f36054a8661418bdca63 into PR head commit 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [2022-01-11T21:52:33.612Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-01-11T21:52:33.653Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:52:33.690Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-messaging.git # timeout=10 [2022-01-11T21:52:33.812Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-messaging.git [2022-01-11T21:52:33.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:52:33.830Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-messaging.git +refs/pull/126/head:refs/remotes/origin/PR-126 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T21:52:34.497Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:52:34.518Z] > git checkout -f 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 # timeout=10 [2022-01-11T21:52:34.614Z] > git remote # timeout=10 [2022-01-11T21:52:34.713Z] Merge succeeded, producing 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [2022-01-11T21:52:34.714Z] Checking out Revision 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 (PR-126) [2022-01-11T21:52:34.641Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T21:52:34.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:52:34.676Z] > git merge e9252307a4bce68487e6f36054a8661418bdca63 # timeout=10 [2022-01-11T21:52:34.699Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T21:52:34.723Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:52:34.740Z] > git checkout -f 0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 # timeout=10 [2022-01-11T21:52:39.016Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-11T21:52:39.095Z] > git --version # timeout=10 [2022-01-11T21:52:39.105Z] > git --version # 'git version 2.17.1' [2022-01-11T21:52:39.121Z] fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:52:40.191Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T21:52:40.192Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:52:40.192Z] Dload Upload Total Spent Left Speed [2022-01-11T21:52:40.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-01-11T21:52:40.773Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T21:52:41.150Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T21:52:41.150Z] + sudo tee /etc/docker/daemon.new [2022-01-11T21:52:41.150Z] { [2022-01-11T21:52:41.150Z] "registry-mirrors": [ [2022-01-11T21:52:41.150Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T21:52:41.150Z] ], [2022-01-11T21:52:41.150Z] "bip": "10.250.0.254/24", [2022-01-11T21:52:41.150Z] "hosts": [ [2022-01-11T21:52:41.150Z] "tcp://0.0.0.0:5555", [2022-01-11T21:52:41.150Z] "unix:///var/run/docker.sock" [2022-01-11T21:52:41.150Z] ], [2022-01-11T21:52:41.150Z] "mtu": 1458, [2022-01-11T21:52:41.150Z] "selinux-enabled": true, [2022-01-11T21:52:41.150Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T21:52:41.150Z] } [Pipeline] sh [2022-01-11T21:52:41.529Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T21:52:41.892Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-11T21:53:00.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:53:00.784Z] ========================================================= [2022-01-11T21:53:00.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T21:53:00.784Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:53:01.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T21:53:01.810Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T21:53:01.810Z] 552d1f2373af: Pulling fs layer [2022-01-11T21:53:01.810Z] ea3f2d53f512: Pulling fs layer [2022-01-11T21:53:01.810Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T21:53:01.810Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T21:53:01.810Z] 72dc09318566: Pulling fs layer [2022-01-11T21:53:01.810Z] f4f7b4309257: Pulling fs layer [2022-01-11T21:53:01.810Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T21:53:01.810Z] b78e95d17946: Pulling fs layer [2022-01-11T21:53:01.810Z] 72dc09318566: Waiting [2022-01-11T21:53:01.810Z] f4f7b4309257: Waiting [2022-01-11T21:53:01.810Z] 0ac9a79272e3: Waiting [2022-01-11T21:53:01.810Z] 7a9cfe048b4a: Waiting [2022-01-11T21:53:01.810Z] b78e95d17946: Waiting [2022-01-11T21:53:01.810Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T21:53:01.810Z] ea3f2d53f512: Verifying Checksum [2022-01-11T21:53:01.810Z] ea3f2d53f512: Download complete [2022-01-11T21:53:02.091Z] 72dc09318566: Verifying Checksum [2022-01-11T21:53:02.091Z] 72dc09318566: Download complete [2022-01-11T21:53:02.091Z] f4f7b4309257: Verifying Checksum [2022-01-11T21:53:02.091Z] f4f7b4309257: Download complete [2022-01-11T21:53:02.091Z] 552d1f2373af: Verifying Checksum [2022-01-11T21:53:02.091Z] 552d1f2373af: Download complete [2022-01-11T21:53:02.091Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T21:53:02.091Z] 0ac9a79272e3: Download complete [2022-01-11T21:53:02.693Z] 552d1f2373af: Pull complete [2022-01-11T21:53:03.300Z] ea3f2d53f512: Pull complete [2022-01-11T21:53:03.575Z] 9e70ebbbe112: Pull complete [2022-01-11T21:53:03.856Z] b78e95d17946: Verifying Checksum [2022-01-11T21:53:03.856Z] b78e95d17946: Download complete [2022-01-11T21:53:04.453Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T21:53:04.453Z] 7a9cfe048b4a: Download complete [2022-01-11T21:53:16.855Z] 7a9cfe048b4a: Pull complete [2022-01-11T21:53:16.855Z] 72dc09318566: Pull complete [2022-01-11T21:53:16.855Z] f4f7b4309257: Pull complete [2022-01-11T21:53:16.855Z] 0ac9a79272e3: Pull complete [2022-01-11T21:53:21.155Z] b78e95d17946: Pull complete [2022-01-11T21:53:21.155Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T21:53:21.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T21:53:21.155Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-11T21:53:21.501Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:21.864Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:53:21.864Z] . [Pipeline] withDockerContainer [2022-01-11T21:53:22.082Z] prd-ubuntu18.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-01-11T21:53:22.161Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T21:53:25.211Z] $ docker top 913ca986c2d86c13c2b57932478766d311a648b27f80dadaa71170d373de77e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:53:26.167Z] + go version [2022-01-11T21:53:26.167Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T21:53:26.209Z] $ docker stop --time=1 913ca986c2d86c13c2b57932478766d311a648b27f80dadaa71170d373de77e5 [2022-01-11T21:53:27.812Z] $ docker rm -f 913ca986c2d86c13c2b57932478766d311a648b27f80dadaa71170d373de77e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:28.669Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:53:28.669Z] . [Pipeline] withDockerContainer [2022-01-11T21:53:28.889Z] prd-ubuntu18.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-01-11T21:53:28.970Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T21:53:30.268Z] $ docker top 4f045ef458c951013e64404a910b7d84f1a4e96be2384744d4e74e559c9b1689 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:53:31.250Z] + make test [2022-01-11T21:53:31.250Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-11T21:53:31.522Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-11T21:53:31.522Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-01-11T21:53:31.522Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-01-11T21:53:31.796Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-01-11T21:53:31.796Z] go: downloading github.com/davecgh/go-spew v1.1.0 [2022-01-11T21:53:31.796Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-11T21:53:31.796Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-01-11T21:53:31.796Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-11T21:53:31.796Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-01-11T21:53:31.796Z] go: downloading golang.org/x/net v0.0.0-20200425230154-ff2c4b7c35a0 [2022-01-11T21:53:53.951Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg [no test files] [2022-01-11T21:53:56.591Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/mqtt 0.046s coverage: 90.3% of statements [2022-01-11T21:54:09.016Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis 0.088s coverage: 67.3% of statements [2022-01-11T21:54:09.016Z] ? github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/redis/mocks [no test files] [2022-01-11T21:54:35.792Z] ok github.com/edgexfoundry/go-mod-messaging/v2/internal/pkg/zeromq 21.392s coverage: 83.8% of statements [2022-01-11T21:54:35.792Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging 0.023s coverage: 85.7% of statements [2022-01-11T21:54:35.792Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/mqtt 0.035s coverage: 100.0% of statements [2022-01-11T21:54:35.792Z] ok github.com/edgexfoundry/go-mod-messaging/v2/messaging/redis 0.015s coverage: 100.0% of statements [2022-01-11T21:54:35.792Z] ok github.com/edgexfoundry/go-mod-messaging/v2/pkg/types 0.044s coverage: 90.9% of statements [2022-01-11T21:54:35.792Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T21:54:35.792Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-11T21:54:54.103Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:54:54.103Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-11T21:54:54.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:54:54.172Z] $ docker stop --time=1 4f045ef458c951013e64404a910b7d84f1a4e96be2384744d4e74e559c9b1689 [2022-01-11T21:54:55.832Z] $ docker rm -f 4f045ef458c951013e64404a910b7d84f1a4e96be2384744d4e74e559c9b1689 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:54:56.742Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:54:56.787Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T21:54:57.223Z] 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-01-11T21:54:58.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:54:58.052Z] [2022-01-11T21:54:58.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:54:58.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:54:58.437Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T21:54:58.437Z] 448f6bf000e3: Pulling fs layer [2022-01-11T21:54:58.437Z] f757da607395: Pulling fs layer [2022-01-11T21:54:58.437Z] 05883995daec: Pulling fs layer [2022-01-11T21:54:58.437Z] 8603b9c90790: Pulling fs layer [2022-01-11T21:54:58.437Z] 1560dd03e051: Pulling fs layer [2022-01-11T21:54:58.437Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T21:54:58.437Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T21:54:58.437Z] 1560dd03e051: Waiting [2022-01-11T21:54:58.437Z] c2d8d7efcc4b: Waiting [2022-01-11T21:54:58.437Z] 8603b9c90790: Waiting [2022-01-11T21:54:58.437Z] 27f5ce0e4adf: Waiting [2022-01-11T21:54:58.713Z] f757da607395: Verifying Checksum [2022-01-11T21:54:58.713Z] f757da607395: Download complete [2022-01-11T21:54:58.713Z] 8603b9c90790: Verifying Checksum [2022-01-11T21:54:58.713Z] 8603b9c90790: Download complete [2022-01-11T21:54:58.713Z] 1560dd03e051: Verifying Checksum [2022-01-11T21:54:58.713Z] 1560dd03e051: Download complete [2022-01-11T21:54:58.713Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T21:54:58.713Z] 27f5ce0e4adf: Download complete [2022-01-11T21:54:58.713Z] 05883995daec: Verifying Checksum [2022-01-11T21:54:58.713Z] 05883995daec: Download complete [2022-01-11T21:54:58.987Z] 448f6bf000e3: Verifying Checksum [2022-01-11T21:54:58.987Z] 448f6bf000e3: Download complete [2022-01-11T21:55:01.624Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T21:55:01.624Z] c2d8d7efcc4b: Download complete [2022-01-11T21:55:03.607Z] 448f6bf000e3: Pull complete [2022-01-11T21:55:04.217Z] f757da607395: Pull complete [2022-01-11T21:55:05.655Z] 05883995daec: Pull complete [2022-01-11T21:55:05.929Z] 8603b9c90790: Pull complete [2022-01-11T21:55:06.906Z] 1560dd03e051: Pull complete [2022-01-11T21:55:07.180Z] 27f5ce0e4adf: Pull complete [2022-01-11T21:55:22.275Z] c2d8d7efcc4b: Pull complete [2022-01-11T21:55:22.275Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T21:55:22.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:55:22.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T21:55:22.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-1283 does not seem to be running inside a container [2022-01-11T21:55:22.592Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T21:55:25.180Z] $ docker top 21393b6a540c3ce37e6a85313d2cd7f302ce1753f8367062ee2f950e84367b07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:26.164Z] ---> job-cost.sh [2022-01-11T21:55:26.164Z] lf-activate-venv: SKIPPING [2022-01-11T21:55:26.164Z] INFO: No Stack... [2022-01-11T21:55:26.445Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T21:55:26.719Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:55:27.407Z] + cat /w/workspace/go-mod-messaging/1/archives/cost.csv [2022-01-11T21:55:27.407Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T21:55:27.494Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [2022-01-11T21:55:27.499Z] Resource [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] did not exist. Created. [2022-01-11T21:55:27.499Z] Lock acquired on [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:55:28.253Z] /w/workspace/go-mod-messaging/1@tmp/durable-a561c03d/script.sh: 1: /w/workspace/go-mod-messaging/1@tmp/durable-a561c03d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T21:55:28.946Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T21:55:28.997Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T21:55:29.040Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:55:29.054Z] Lock released on resource [jenkins-edgexfoundry-go-mod-messaging-PR-126-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:55:29.132Z] $ docker stop --time=1 21393b6a540c3ce37e6a85313d2cd7f302ce1753f8367062ee2f950e84367b07 [2022-01-11T21:55:30.605Z] $ docker rm -f 21393b6a540c3ce37e6a85313d2cd7f302ce1753f8367062ee2f950e84367b07 [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-01-11T21:55:31.713Z] provisioning config files... [2022-01-11T21:55:31.728Z] copy managed file [go-mod-messaging-codecov-token] to file:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/config8213752909117337857tmp [Pipeline] { [Pipeline] sh [2022-01-11T21:55:32.067Z] + set +x [2022-01-11T21:55:32.067Z] + curl -s https://codecov.io/bash [2022-01-11T21:55:32.067Z] + bash -s -- [2022-01-11T21:55:32.067Z] [2022-01-11T21:55:32.067Z] _____ _ [2022-01-11T21:55:32.067Z] / ____| | | [2022-01-11T21:55:32.067Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T21:55:32.067Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T21:55:32.067Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T21:55:32.067Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T21:55:32.067Z] Bash-1.0.6 [2022-01-11T21:55:32.067Z] [2022-01-11T21:55:32.067Z] [2022-01-11T21:55:32.067Z] ==> git version 2.24.4 found [2022-01-11T21:55:32.067Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-11T21:55:32.067Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T21:55:32.067Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T21:55:32.067Z] ==> Jenkins CI detected. [2022-01-11T21:55:32.067Z] current dir:  /w/workspace/xfoundry_go-mod-messaging_PR-126 [2022-01-11T21:55:32.067Z] project root: . [2022-01-11T21:55:32.067Z] --> token set from env [2022-01-11T21:55:32.067Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T21:55:32.067Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T21:55:32.067Z] ==> Python coveragepy not found [2022-01-11T21:55:32.067Z] ==> Searching for coverage reports in: [2022-01-11T21:55:32.067Z] + . [2022-01-11T21:55:32.328Z] -> Found 1 reports [2022-01-11T21:55:32.328Z] ==> Detecting git/mercurial file structure [2022-01-11T21:55:32.328Z] ==> Reading reports [2022-01-11T21:55:32.328Z] + ./coverage.out bytes=22526 [2022-01-11T21:55:32.328Z] ==> Appending adjustments [2022-01-11T21:55:32.328Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T21:55:32.328Z] + Found adjustments [2022-01-11T21:55:32.328Z] ==> Gzipping contents [2022-01-11T21:55:32.328Z] 8.0K /tmp/codecov.TvoAA7.gz [2022-01-11T21:55:32.328Z] ==> Uploading reports [2022-01-11T21:55:32.328Z] url: https://codecov.io [2022-01-11T21:55:32.328Z] query: branch=PR-126&commit=0ec7e5529a266e197f6d3409ca7a32f7c195bbd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-01-11T21:55:32.328Z] -> Pinging Codecov [2022-01-11T21:55:32.328Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a6beaebe-80c9-4d50-a0dd-a405d66ec5fd&branch=PR-126&commit=0ec7e5529a266e197f6d3409ca7a32f7c195bbd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-messaging%2Fjob%2FPR-126%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-messaging&service=jenkins&flags=&pr=126&job=&cmd_args= [2022-01-11T21:55:32.588Z] -> Uploading to [2022-01-11T21:55:32.588Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/F6E385568367DD0E4001BA4F8F1CB792/0ec7e5529a266e197f6d3409ca7a32f7c195bbd9/6b01f797-aee6-4dcb-a80f-df2e85296850.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T215532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d54378dad61343c5d8878b95df0ea10e80affd54e82ca948cbdeee47a9a4aa7a [2022-01-11T21:55:32.588Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:55:32.588Z] Dload Upload Total Spent Left Speed [2022-01-11T21:55:33.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 14754 --:--:-- --:--:-- --:--:-- 14769 [2022-01-11T21:55:33.159Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-messaging/commit/0ec7e5529a266e197f6d3409ca7a32f7c195bbd9 [Pipeline] } [2022-01-11T21:55:33.187Z] 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-01-11T21:55:34.978Z] + '[' -d /w/workspace/xfoundry_go-mod-messaging_PR-126/archives ']' [2022-01-11T21:55:34.978Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-126/archives [2022-01-11T21:55:34.978Z] total 8 [2022-01-11T21:55:34.978Z] drwxr-xr-x. 3 root root 34 Jan 11 21:51 . [2022-01-11T21:55:34.978Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:51 .. [2022-01-11T21:55:34.978Z] drwxr-xr-x. 2 root root 6 Jan 11 21:51 cost [2022-01-11T21:55:34.978Z] -rw-r--r--. 1 root root 87 Jan 11 21:51 cost.csv [2022-01-11T21:55:34.978Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-messaging_PR-126/archives [2022-01-11T21:55:34.978Z] + ls -al /w/workspace/xfoundry_go-mod-messaging_PR-126/archives [2022-01-11T21:55:34.978Z] total 8 [2022-01-11T21:55:34.978Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:51 . [2022-01-11T21:55:34.978Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:51 .. [2022-01-11T21:55:34.978Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:51 cost [2022-01-11T21:55:34.978Z] -rw-r--r--. 1 jenkins jenkins 87 Jan 11 21:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:35.325Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:35.919Z] ---> package-listing.sh [2022-01-11T21:55:35.919Z] ++ facter osfamily [2022-01-11T21:55:35.919Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T21:55:36.180Z] + OS_FAMILY=redhat [2022-01-11T21:55:36.180Z] + workspace=/w/workspace/xfoundry_go-mod-messaging_PR-126 [2022-01-11T21:55:36.180Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T21:55:36.180Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T21:55:36.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T21:55:36.180Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T21:55:36.180Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-126 ']' [2022-01-11T21:55:36.180Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T21:55:36.180Z] + case "${OS_FAMILY}" in [2022-01-11T21:55:36.180Z] + sort [2022-01-11T21:55:36.180Z] + rpm -qa [2022-01-11T21:55:36.752Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T21:55:36.752Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T21:55:36.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T21:55:36.752Z] + '[' /w/workspace/xfoundry_go-mod-messaging_PR-126 ']' [2022-01-11T21:55:36.752Z] + mkdir -p /w/workspace/xfoundry_go-mod-messaging_PR-126/archives/ [2022-01-11T21:55:36.752Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-messaging_PR-126/archives/ [Pipeline] echo [2022-01-11T21:55:36.792Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-126/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-11T21:55:37.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:55:37.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:55:37.675Z] . [Pipeline] withDockerContainer [2022-01-11T21:55:37.768Z] prd-centos7-docker-4c-2g-1281 does not seem to be running inside a container [2022-01-11T21:55:37.795Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-messaging_PR-126/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-126 -v /w/workspace/xfoundry_go-mod-messaging_PR-126:/w/workspace/xfoundry_go-mod-messaging_PR-126:rw,z -v /w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T21:55:38.024Z] $ docker top 794c3cbd73c42636f80ff3b4b39346e724845b6502736e24b8fb52fd94302eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:55:38.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T21:55:38.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T21:55:39.316Z] + ls /var/log/sa-host [2022-01-11T21:55:39.316Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T21:55:39.316Z] file_magic: OK [2022-01-11T21:55:39.316Z] HZ: Using current value: 100 [2022-01-11T21:55:39.316Z] file_header: OK [2022-01-11T21:55:39.316Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T21:55:39.316Z] Statistics: [2022-01-11T21:55:39.316Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:55:39.316Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T21:55:39.316Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T21:55:39.316Z] file_magic: OK [2022-01-11T21:55:39.316Z] HZ: Using current value: 100 [2022-01-11T21:55:39.316Z] file_header: OK [2022-01-11T21:55:39.316Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-11T21:55:39.316Z] Statistics: [2022-01-11T21:55:39.316Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:55:39.316Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T21:55:39.469Z] provisioning config files... [2022-01-11T21:55:39.482Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-messaging_PR-126@tmp/config3095209930422213590tmp [Pipeline] { [Pipeline] echo [2022-01-11T21:55:39.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:39.851Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T21:55:39.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:40.287Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T21:55:40.318Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:40.631Z] ---> sudo-logs.sh [2022-01-11T21:55:40.631Z] Archiving 'sudo' log.. [2022-01-11T21:55:40.631Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1281.novalocal: Name or service not known [2022-01-11T21:55:40.631Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1281.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T21:55:40.746Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:41.065Z] ---> job-cost.sh [2022-01-11T21:55:41.065Z] lf-activate-venv: SKIPPING [2022-01-11T21:55:41.065Z] DEBUG: total: 0.05999999865889549 [2022-01-11T21:55:41.065Z] INFO: Retrieving Stack Cost... [2022-01-11T21:55:41.325Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:55:41.895Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T21:55:41.931Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:55:42.243Z] ---> logs-deploy.sh [2022-01-11T21:55:42.244Z] lf-activate-venv: SKIPPING [2022-01-11T21:55:42.244Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-messaging/PR-126/1 [2022-01-11T21:55:42.244Z] INFO: archiving workspace using pattern(s): [2022-01-11T21:55:42.814Z] Archives upload complete. [2022-01-11T21:55:43.075Z] INFO: archiving logs to Nexus