Pull request #95 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-registry Obtained Jenkinsfile from 4863bf5596a337a08dc82d014a0705d1bc6be8bb+701dbf025da75315bacd470193a43cbff08e44d9 (8880d27e0b11121c97dcd94744145e80767389f5) 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-ssh10889381848891535822.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-ssh12628773443759802909.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-registry/branches/PR-95/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-registry/branches/PR-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2107149885719168263.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-registry/branches/PR-95/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5988122019196844196.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-ssh4389377751477456441.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-registry/branches/PR-95/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-registry/branches/PR-95/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14156066842846023615.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-registry, 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-registry-settings PROJECT: go-mod-registry 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-registry 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-1284 in /w/workspace/gexfoundry_go-mod-registry_PR-95 [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-registry.git > git init /w/workspace/gexfoundry_go-mod-registry_PR-95 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.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/gexfoundry_go-mod-registry_PR-95@tmp/jenkins-gitclient-ssh1268483574652487108.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 701dbf025da75315bacd470193a43cbff08e44d9 into PR head commit 4863bf5596a337a08dc82d014a0705d1bc6be8bb Merge succeeded, producing 4863bf5596a337a08dc82d014a0705d1bc6be8bb Checking out Revision 4863bf5596a337a08dc82d014a0705d1bc6be8bb (PR-95) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.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/gexfoundry_go-mod-registry_PR-95@tmp/jenkins-gitclient-ssh6603890711493572681.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # 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/gexfoundry_go-mod-registry_PR-95@tmp/jenkins-gitclient-ssh7872749181790100007.key > git merge 701dbf025da75315bacd470193a43cbff08e44d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # 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:53:00.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T21:53:00.952Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T21:53:01.056Z] ========================================================= [2022-01-11T21:53:01.056Z] EdgeX Global Pipelines Version Info [2022-01-11T21:53:01.056Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:53:02.238Z] ------------------- [2022-01-11T21:53:02.238Z] stable info: [2022-01-11T21:53:02.238Z] ------------------- [2022-01-11T21:53:02.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T21:53:02.238Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:53:02.238Z] Message: update stable to v1.0.218 [2022-01-11T21:53:02.816Z] ------------------- [2022-01-11T21:53:02.817Z] experimental info: [2022-01-11T21:53:02.817Z] ------------------- [2022-01-11T21:53:02.817Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T21:53:02.817Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T21:53:02.817Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T21:53:03.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2022-01-11T21:53:03.150Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2022-01-11T21:53:03.195Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T21:53:03.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T21:53:03.279Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T21:53:03.325Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T21:53:03.381Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T21:53:03.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-11T21:53:03.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T21:53:03.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T21:53:03.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T21:53:03.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2022-01-11T21:53:03.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T21:53:03.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T21:53:03.718Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:53:03.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:53:03.806Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:53:03.850Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T21:53:03.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T21:53:03.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T21:53:03.977Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-11T21:53:04.020Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-11T21:53:04.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T21:53:04.103Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T21:53:04.148Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-11T21:53:04.195Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T21:53:04.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-95 [Pipeline] echo [2022-01-11T21:53:04.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-95 [Pipeline] echo [2022-01-11T21:53:04.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-95 [Pipeline] echo [2022-01-11T21:53:04.377Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo [2022-01-11T21:53:04.418Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4863bf5 [Pipeline] echo [2022-01-11T21:53:04.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T21:53:04.957Z] + git rev-list -1 --merges 4863bf5596a337a08dc82d014a0705d1bc6be8bb~1..4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo [2022-01-11T21:53:05.011Z] -----------> git rev-list -1 --merges 4863bf5596a337a08dc82d014a0705d1bc6be8bb~1..4863bf5596a337a08dc82d014a0705d1bc6be8bb 4863bf5596a337a08dc82d014a0705d1bc6be8bb [false] [Pipeline] sh [2022-01-11T21:53:05.331Z] + git log --format=format:%s -1 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo [2022-01-11T21:53:05.365Z] ========================================================= [2022-01-11T21:53:05.365Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T21:53:05.365Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:53:05.830Z] + git log --format=format:%s -1 4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] echo [2022-01-11T21:53:05.864Z] [semverPrep] GIT_COMMIT: 4863bf5596a337a08dc82d014a0705d1bc6be8bb, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-11T21:53:05.893Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T21:53:06.305Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T21:53:06.305Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T21:53:06.305Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T21:53:06.305Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T21:53:06.305Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T21:53:06.305Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T21:53:06.305Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:06.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:53:06.692Z] [2022-01-11T21:53:06.692Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:07.048Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:53:07.048Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T21:53:07.048Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T21:53:07.048Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T21:53:07.048Z] 4c7163046ea9: Pulling fs layer [2022-01-11T21:53:07.048Z] 0c2d73faf560: Pulling fs layer [2022-01-11T21:53:07.048Z] 0c2d73faf560: Waiting [2022-01-11T21:53:07.048Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T21:53:07.048Z] 3e5f54012d9b: Download complete [2022-01-11T21:53:07.048Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T21:53:07.048Z] a0d0a0d46f8b: Download complete [2022-01-11T21:53:07.048Z] 0c2d73faf560: Verifying Checksum [2022-01-11T21:53:07.048Z] 0c2d73faf560: Download complete [2022-01-11T21:53:07.048Z] 4c7163046ea9: Verifying Checksum [2022-01-11T21:53:07.048Z] 4c7163046ea9: Download complete [2022-01-11T21:53:07.315Z] a0d0a0d46f8b: Pull complete [2022-01-11T21:53:07.315Z] 3e5f54012d9b: Pull complete [2022-01-11T21:53:07.578Z] 4c7163046ea9: Pull complete [2022-01-11T21:53:07.842Z] 0c2d73faf560: Pull complete [2022-01-11T21:53:07.842Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T21:53:07.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T21:53:07.842Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T21:53:07.941Z] prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container [2022-01-11T21:53:07.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-11T21:53:08.029Z] $ docker top 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T21:53:08.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:53:08.762Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:53:08.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:53:08.333Z] $ docker exec 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent [2022-01-11T21:53:08.956Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoNinFI/agent.15 [2022-01-11T21:53:08.956Z] SSH_AGENT_PID=21 [2022-01-11T21:53:08.965Z] Running ssh-add (command line suppressed) [2022-01-11T21:53:08.546Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_6968876613145067397.key (/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_6968876613145067397.key) [2022-01-11T21:53:09.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:53:09.408Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T21:53:08.950Z] $ docker exec --env ******** --env ******** 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent -k [2022-01-11T21:53:09.071Z] unset SSH_AUTH_SOCK; [2022-01-11T21:53:09.071Z] unset SSH_AGENT_PID; [2022-01-11T21:53:09.071Z] echo Agent pid 21 killed; [2022-01-11T21:53:09.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T21:53:09.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T21:53:09.634Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T21:53:09.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T21:53:09.291Z] $ docker exec 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent [2022-01-11T21:53:09.870Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIAbMeM/agent.55 [2022-01-11T21:53:09.870Z] SSH_AGENT_PID=62 [2022-01-11T21:53:09.876Z] Running ssh-add (command line suppressed) [2022-01-11T21:53:09.549Z] Identity added: /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_5913609611960044168.key (/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/private_key_5913609611960044168.key) [2022-01-11T21:53:09.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T21:53:10.337Z] + git semver init [2022-01-11T21:53:10.337Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T21:53:10.337Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-95/.git [2022-01-11T21:53:10.337Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-registry_PR-95 [2022-01-11T21:53:10.337Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T21:53:10.337Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T21:53:10.337Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T21:53:10.337Z] # $SEMVER_BRANCH = PR-95 [2022-01-11T21:53:10.337Z] # $SEMVER_TEMP = /tmp/semver-838189490 [2022-01-11T21:53:10.337Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-registry.git $SEMVER_TEMP [2022-01-11T21:53:11.724Z] # '/tmp/semver-838189490' -> '/w/workspace/gexfoundry_go-mod-registry_PR-95/.semver' [2022-01-11T21:53:11.724Z] # -> Force: false [2022-01-11T21:53:11.724Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-registry_PR-95/.semver [Pipeline] } [2022-01-11T21:53:11.469Z] $ docker exec --env ******** --env ******** 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 ssh-agent -k [2022-01-11T21:53:11.561Z] unset SSH_AUTH_SOCK; [2022-01-11T21:53:11.566Z] unset SSH_AGENT_PID; [2022-01-11T21:53:11.566Z] echo Agent pid 62 killed; [2022-01-11T21:53:11.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T21:53:12.307Z] + git semver [Pipeline] } [2022-01-11T21:53:12.101Z] $ docker stop --time=1 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 [2022-01-11T21:53:13.355Z] $ docker rm -f 183f854dc04e124789f5d91aee20c8b40ee635b55dad8bf3c404294098fd6dd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:53:13.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T21:53:14.201Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T21:53:14.219Z] [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:53:14.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:53:14.864Z] ========================================================= [2022-01-11T21:53:14.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T21:53:14.864Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:53:15.274Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T21:53:15.274Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T21:53:15.274Z] a0d0a0d46f8b: Already exists [2022-01-11T21:53:15.274Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T21:53:15.274Z] b8b176561691: Pulling fs layer [2022-01-11T21:53:15.274Z] 4527c011a84f: Pulling fs layer [2022-01-11T21:53:15.274Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T21:53:15.274Z] e0aca202a116: Pulling fs layer [2022-01-11T21:53:15.274Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T21:53:15.274Z] 34cad66bf833: Pulling fs layer [2022-01-11T21:53:15.274Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T21:53:15.274Z] 5d74067f8e1e: Waiting [2022-01-11T21:53:15.274Z] e0aca202a116: Waiting [2022-01-11T21:53:15.274Z] 3a43be97a3b4: Waiting [2022-01-11T21:53:15.274Z] 34cad66bf833: Waiting [2022-01-11T21:53:15.274Z] b4e3c513aaa6: Waiting [2022-01-11T21:53:15.274Z] b8b176561691: Verifying Checksum [2022-01-11T21:53:15.274Z] b8b176561691: Download complete [2022-01-11T21:53:15.274Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T21:53:15.274Z] 31adcdaf11c8: Download complete [2022-01-11T21:53:15.274Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T21:53:15.274Z] 5d74067f8e1e: Download complete [2022-01-11T21:53:15.274Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T21:53:15.274Z] 3a43be97a3b4: Download complete [2022-01-11T21:53:15.274Z] e0aca202a116: Verifying Checksum [2022-01-11T21:53:15.274Z] e0aca202a116: Download complete [2022-01-11T21:53:15.541Z] 34cad66bf833: Verifying Checksum [2022-01-11T21:53:15.541Z] 34cad66bf833: Download complete [2022-01-11T21:53:15.541Z] 31adcdaf11c8: Pull complete [2022-01-11T21:53:15.541Z] b8b176561691: Pull complete [2022-01-11T21:53:15.802Z] 4527c011a84f: Download complete [2022-01-11T21:53:16.071Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T21:53:16.071Z] b4e3c513aaa6: Download complete [2022-01-11T21:53:19.402Z] 4527c011a84f: Pull complete [2022-01-11T21:53:19.402Z] 5d74067f8e1e: Pull complete [2022-01-11T21:53:19.662Z] e0aca202a116: Pull complete [2022-01-11T21:53:19.662Z] 3a43be97a3b4: Pull complete [2022-01-11T21:53:19.933Z] 34cad66bf833: Pull complete [2022-01-11T21:53:21.881Z] b4e3c513aaa6: Pull complete [2022-01-11T21:53:22.144Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T21:53:22.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T21:53:22.144Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-11T21:53:22.475Z] + 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:53:22.812Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:53:22.812Z] . [Pipeline] withDockerContainer [2022-01-11T21:53:22.904Z] prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container [2022-01-11T21:53:22.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@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 ******** ci-base-image-x86_64 cat [2022-01-11T21:53:24.896Z] $ docker top bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:53:25.294Z] + go version [2022-01-11T21:53:25.294Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T21:53:25.325Z] $ docker stop --time=1 bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 [2022-01-11T21:53:26.490Z] $ docker rm -f bd06bbc3206e755e7c2007f7835fbfb0cbcc14702b685312d68090a48f1eecd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:27.150Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T21:53:27.150Z] . [Pipeline] withDockerContainer [2022-01-11T21:53:27.250Z] prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container [2022-01-11T21:53:27.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@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 ******** ci-base-image-x86_64 cat [2022-01-11T21:53:27.637Z] $ docker top 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:53:28.101Z] + make test [2022-01-11T21:53:28.101Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-11T21:53:28.362Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-11T21:53:28.625Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-11T21:53:28.625Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-11T21:53:28.625Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-11T21:53:28.625Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-01-11T21:53:28.625Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-11T21:53:28.625Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-11T21:53:28.625Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-11T21:53:28.625Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-11T21:53:28.625Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-11T21:53:28.625Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-11T21:53:28.625Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-11T21:53:28.625Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-11T21:53:28.625Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-11T21:53:28.625Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2022-01-11T21:53:28.625Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-11T21:53:28.884Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-11T21:53:28.884Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-11T21:53:29.633Z] Still waiting to schedule task [2022-01-11T21:53:29.634Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-11T21:53:41.204Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.026s coverage: 89.4% of statements [2022-01-11T21:53:41.204Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2022-01-11T21:53:41.204Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.003s coverage: 85.7% of statements [2022-01-11T21:53:41.204Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2022-01-11T21:53:47.884Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-11T21:53:52.135Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:53:52.135Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-11T21:53:52.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:53:52.209Z] $ docker stop --time=1 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d [2022-01-11T21:53:53.801Z] $ docker rm -f 9666dd2160bc4eb0a30333f79c1aa44195a0cdf1535a7635a946728fe6375a7d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:53:54.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:53:54.364Z] 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:53:55.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:53:55.297Z] [2022-01-11T21:53:55.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:53:55.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:53:55.644Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T21:53:55.644Z] b4d181a07f80: Pulling fs layer [2022-01-11T21:53:55.644Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T21:53:55.644Z] ed53099fbce6: Pulling fs layer [2022-01-11T21:53:55.644Z] dc539afda2c1: Pulling fs layer [2022-01-11T21:53:55.644Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T21:53:55.644Z] 9065ff56babe: Pulling fs layer [2022-01-11T21:53:55.644Z] d287ab97295c: Pulling fs layer [2022-01-11T21:53:55.644Z] 77bc0d833cb6: Waiting [2022-01-11T21:53:55.644Z] 9065ff56babe: Waiting [2022-01-11T21:53:55.644Z] d287ab97295c: Waiting [2022-01-11T21:53:55.644Z] dc539afda2c1: Waiting [2022-01-11T21:53:55.644Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T21:53:55.644Z] a1111a8f2ec3: Download complete [2022-01-11T21:53:55.644Z] dc539afda2c1: Verifying Checksum [2022-01-11T21:53:55.644Z] dc539afda2c1: Download complete [2022-01-11T21:53:55.905Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T21:53:55.905Z] 77bc0d833cb6: Download complete [2022-01-11T21:53:55.905Z] 9065ff56babe: Verifying Checksum [2022-01-11T21:53:55.905Z] 9065ff56babe: Download complete [2022-01-11T21:53:55.905Z] ed53099fbce6: Verifying Checksum [2022-01-11T21:53:55.905Z] ed53099fbce6: Download complete [2022-01-11T21:53:55.905Z] b4d181a07f80: Verifying Checksum [2022-01-11T21:53:55.905Z] b4d181a07f80: Download complete [2022-01-11T21:53:56.483Z] d287ab97295c: Verifying Checksum [2022-01-11T21:53:56.483Z] d287ab97295c: Download complete [2022-01-11T21:53:57.448Z] b4d181a07f80: Pull complete [2022-01-11T21:53:57.726Z] a1111a8f2ec3: Pull complete [2022-01-11T21:53:58.308Z] ed53099fbce6: Pull complete [2022-01-11T21:53:58.308Z] dc539afda2c1: Pull complete [2022-01-11T21:53:58.574Z] 77bc0d833cb6: Pull complete [2022-01-11T21:53:58.574Z] 9065ff56babe: Pull complete [2022-01-11T21:54:03.893Z] d287ab97295c: Pull complete [2022-01-11T21:54:03.893Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T21:54:03.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:54:03.894Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T21:54:03.982Z] prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container [2022-01-11T21:54:04.017Z] $ 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/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@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:54:05.991Z] $ docker top 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:54:06.454Z] ---> job-cost.sh [2022-01-11T21:54:06.454Z] lf-activate-venv: SKIPPING [2022-01-11T21:54:06.454Z] INFO: No Stack... [2022-01-11T21:54:06.714Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:54:06.975Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:54:07.295Z] + cat /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/cost.csv [2022-01-11T21:54:07.295Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T21:54:07.338Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [2022-01-11T21:54:07.344Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] did not exist. Created. [2022-01-11T21:54:07.344Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:54:07.753Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T21:54:07.805Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:54:07.832Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:54:07.907Z] $ docker stop --time=1 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 [2022-01-11T21:54:09.048Z] $ docker rm -f 78149962ba180a7926e50e64d32b14fdfbdd9dfaa6083421ca7e8761629bc5d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T21:56:08.513Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1285 in /w/workspace/gexfoundry_go-mod-registry_PR-95 [Pipeline] { [Pipeline] ws [2022-01-11T21:56:08.555Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2022-01-11T21:56:08.759Z] Selected Git installation does not exist. Using Default [2022-01-11T21:56:08.760Z] The recommended git tool is: NONE [2022-01-11T21:56:13.285Z] using credential edgex-jenkins-ssh [2022-01-11T21:56:13.305Z] Cloning the remote Git repository [2022-01-11T21:56:13.365Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2022-01-11T21:56:13.440Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2022-01-11T21:56:13.536Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2022-01-11T21:56:13.536Z] > git --version # timeout=10 [2022-01-11T21:56:13.559Z] > git --version # 'git version 2.17.1' [2022-01-11T21:56:13.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:56:13.655Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:56:14.598Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2022-01-11T21:56:14.627Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T21:56:14.658Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2022-01-11T21:56:14.689Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2022-01-11T21:56:14.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:56:14.702Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/95/head:refs/remotes/origin/PR-95 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-11T21:56:15.345Z] Merging remotes/origin/main commit 701dbf025da75315bacd470193a43cbff08e44d9 into PR head commit 4863bf5596a337a08dc82d014a0705d1bc6be8bb [2022-01-11T21:56:15.593Z] Merge succeeded, producing 4863bf5596a337a08dc82d014a0705d1bc6be8bb [2022-01-11T21:56:15.594Z] Checking out Revision 4863bf5596a337a08dc82d014a0705d1bc6be8bb (PR-95) [2022-01-11T21:56:15.367Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:56:15.391Z] > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # timeout=10 [2022-01-11T21:56:15.469Z] > git remote # timeout=10 [2022-01-11T21:56:15.489Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T21:56:15.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T21:56:15.529Z] > git merge 701dbf025da75315bacd470193a43cbff08e44d9 # timeout=10 [2022-01-11T21:56:15.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T21:56:15.603Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T21:56:15.650Z] > git checkout -f 4863bf5596a337a08dc82d014a0705d1bc6be8bb # timeout=10 [2022-01-11T21:56:19.729Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-11T21:56:19.788Z] > git --version # timeout=10 [2022-01-11T21:56:19.798Z] > git --version # 'git version 2.17.1' [2022-01-11T21:56:19.810Z] fatal: bad object 7a502be46133bd83b74f613648f1d59e9d9e8641 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T21:56:20.862Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T21:56:20.862Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:56:20.862Z] Dload Upload Total Spent Left Speed [2022-01-11T21:56:22.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 11843 100 11843 0 0 7500 0 0:00:01 0:00:01 --:--:-- 7495 [Pipeline] sh [2022-01-11T21:56:22.958Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T21:56:23.317Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-01-11T21:56:23.317Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T21:56:23.317Z] { [2022-01-11T21:56:23.317Z] "registry-mirrors": [ [2022-01-11T21:56:23.317Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T21:56:23.317Z] ], [2022-01-11T21:56:23.317Z] "bip": "10.250.0.254/24", [2022-01-11T21:56:23.317Z] "hosts": [ [2022-01-11T21:56:23.317Z] "tcp://0.0.0.0:5555", [2022-01-11T21:56:23.317Z] "unix:///var/run/docker.sock" [2022-01-11T21:56:23.317Z] ], [2022-01-11T21:56:23.317Z] "mtu": 1458, [2022-01-11T21:56:23.317Z] "selinux-enabled": true, [2022-01-11T21:56:23.317Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T21:56:23.317Z] } [Pipeline] sh [2022-01-11T21:56:23.678Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T21:56:24.143Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-11T21:56:42.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T21:56:42.908Z] ========================================================= [2022-01-11T21:56:42.908Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T21:56:42.908Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:56:43.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T21:56:43.968Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T21:56:43.968Z] 552d1f2373af: Pulling fs layer [2022-01-11T21:56:43.968Z] ea3f2d53f512: Pulling fs layer [2022-01-11T21:56:43.968Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T21:56:43.968Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T21:56:43.968Z] 72dc09318566: Pulling fs layer [2022-01-11T21:56:43.968Z] f4f7b4309257: Pulling fs layer [2022-01-11T21:56:43.968Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T21:56:43.968Z] b78e95d17946: Pulling fs layer [2022-01-11T21:56:43.968Z] 7a9cfe048b4a: Waiting [2022-01-11T21:56:43.968Z] f4f7b4309257: Waiting [2022-01-11T21:56:43.968Z] 72dc09318566: Waiting [2022-01-11T21:56:43.968Z] 0ac9a79272e3: Waiting [2022-01-11T21:56:43.968Z] b78e95d17946: Waiting [2022-01-11T21:56:43.968Z] 9e70ebbbe112: Download complete [2022-01-11T21:56:43.968Z] ea3f2d53f512: Verifying Checksum [2022-01-11T21:56:43.968Z] ea3f2d53f512: Download complete [2022-01-11T21:56:43.968Z] 72dc09318566: Verifying Checksum [2022-01-11T21:56:43.968Z] 72dc09318566: Download complete [2022-01-11T21:56:43.968Z] f4f7b4309257: Verifying Checksum [2022-01-11T21:56:43.968Z] f4f7b4309257: Download complete [2022-01-11T21:56:43.968Z] 0ac9a79272e3: Verifying Checksum [2022-01-11T21:56:43.968Z] 0ac9a79272e3: Download complete [2022-01-11T21:56:43.968Z] 552d1f2373af: Download complete [2022-01-11T21:56:44.962Z] 552d1f2373af: Pull complete [2022-01-11T21:56:45.238Z] ea3f2d53f512: Pull complete [2022-01-11T21:56:45.518Z] 9e70ebbbe112: Pull complete [2022-01-11T21:56:45.800Z] b78e95d17946: Verifying Checksum [2022-01-11T21:56:45.800Z] b78e95d17946: Download complete [2022-01-11T21:56:46.398Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T21:56:46.398Z] 7a9cfe048b4a: Download complete [2022-01-11T21:56:58.806Z] 7a9cfe048b4a: Pull complete [2022-01-11T21:56:58.806Z] 72dc09318566: Pull complete [2022-01-11T21:56:58.806Z] f4f7b4309257: Pull complete [2022-01-11T21:56:58.806Z] 0ac9a79272e3: Pull complete [2022-01-11T21:57:04.209Z] b78e95d17946: Pull complete [2022-01-11T21:57:04.209Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T21:57:04.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T21:57:04.209Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-11T21:57:04.561Z] + 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:57:04.942Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:57:04.942Z] . [Pipeline] withDockerContainer [2022-01-11T21:57:05.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container [2022-01-11T21:57:05.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** ci-base-image-arm64 cat [2022-01-11T21:57:08.164Z] $ docker top 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:57:09.114Z] + go version [2022-01-11T21:57:09.114Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T21:57:09.153Z] $ docker stop --time=1 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 [2022-01-11T21:57:10.843Z] $ docker rm -f 5053bbff15fb42e92428bbc7e838f4721b2c5f717d18efdc7072fc76191510a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:57:11.710Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T21:57:11.710Z] . [Pipeline] withDockerContainer [2022-01-11T21:57:11.943Z] prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container [2022-01-11T21:57:12.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** ci-base-image-arm64 cat [2022-01-11T21:57:13.339Z] $ docker top 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T21:57:14.331Z] + make test [2022-01-11T21:57:14.331Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-11T21:57:14.927Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-11T21:57:14.927Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-11T21:57:14.927Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-11T21:57:14.927Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-11T21:57:14.927Z] go: downloading github.com/stretchr/objx v0.1.0 [2022-01-11T21:57:14.927Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-11T21:57:14.927Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-11T21:57:14.927Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-11T21:57:14.927Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-11T21:57:14.927Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-11T21:57:14.927Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-11T21:57:15.198Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-11T21:57:15.198Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-11T21:57:15.198Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-11T21:57:15.198Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2022-01-11T21:57:15.472Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-11T21:57:15.472Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-11T21:57:15.472Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-11T21:57:47.855Z] ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.134s coverage: 89.4% of statements [2022-01-11T21:57:47.855Z] ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] [2022-01-11T21:57:47.855Z] ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.015s coverage: 85.7% of statements [2022-01-11T21:57:47.855Z] ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] [2022-01-11T21:57:47.855Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-11T21:57:47.855Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-11T21:58:02.934Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-11T21:58:02.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-11T21:58:02.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-11T21:58:03.013Z] $ docker stop --time=1 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d [2022-01-11T21:58:04.748Z] $ docker rm -f 585beef7871845596c331083989818030e0a07f61826514e41c3d8e8baab8a7d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T21:58:05.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-11T21:58:05.778Z] Warning: overwriting stash ‘coverage-report’ [2022-01-11T21:58:06.202Z] 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:58:06.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:58:06.988Z] [2022-01-11T21:58:06.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:58:07.365Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:58:07.637Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T21:58:07.637Z] 448f6bf000e3: Pulling fs layer [2022-01-11T21:58:07.637Z] f757da607395: Pulling fs layer [2022-01-11T21:58:07.637Z] 05883995daec: Pulling fs layer [2022-01-11T21:58:07.637Z] 8603b9c90790: Pulling fs layer [2022-01-11T21:58:07.637Z] 1560dd03e051: Pulling fs layer [2022-01-11T21:58:07.637Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T21:58:07.637Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T21:58:07.637Z] 8603b9c90790: Waiting [2022-01-11T21:58:07.637Z] 1560dd03e051: Waiting [2022-01-11T21:58:07.637Z] 27f5ce0e4adf: Waiting [2022-01-11T21:58:07.637Z] c2d8d7efcc4b: Waiting [2022-01-11T21:58:07.637Z] f757da607395: Verifying Checksum [2022-01-11T21:58:07.637Z] f757da607395: Download complete [2022-01-11T21:58:07.637Z] 8603b9c90790: Verifying Checksum [2022-01-11T21:58:07.637Z] 8603b9c90790: Download complete [2022-01-11T21:58:07.912Z] 1560dd03e051: Verifying Checksum [2022-01-11T21:58:07.912Z] 1560dd03e051: Download complete [2022-01-11T21:58:07.912Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T21:58:07.912Z] 27f5ce0e4adf: Download complete [2022-01-11T21:58:07.912Z] 05883995daec: Verifying Checksum [2022-01-11T21:58:07.912Z] 05883995daec: Download complete [2022-01-11T21:58:08.184Z] 448f6bf000e3: Verifying Checksum [2022-01-11T21:58:08.184Z] 448f6bf000e3: Download complete [2022-01-11T21:58:10.808Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T21:58:10.808Z] c2d8d7efcc4b: Download complete [2022-01-11T21:58:11.786Z] 448f6bf000e3: Pull complete [2022-01-11T21:58:12.387Z] f757da607395: Pull complete [2022-01-11T21:58:13.837Z] 05883995daec: Pull complete [2022-01-11T21:58:14.111Z] 8603b9c90790: Pull complete [2022-01-11T21:58:15.091Z] 1560dd03e051: Pull complete [2022-01-11T21:58:15.091Z] 27f5ce0e4adf: Pull complete [2022-01-11T21:58:30.174Z] c2d8d7efcc4b: Pull complete [2022-01-11T21:58:30.174Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T21:58:30.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T21:58:30.174Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T21:58:30.384Z] prd-ubuntu18.04-docker-arm64-4c-16g-1285 does not seem to be running inside a container [2022-01-11T21:58:30.460Z] $ 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-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T21:58:32.948Z] $ docker top 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:33.878Z] ---> job-cost.sh [2022-01-11T21:58:33.878Z] lf-activate-venv: SKIPPING [2022-01-11T21:58:33.878Z] INFO: No Stack... [2022-01-11T21:58:34.148Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T21:58:34.738Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T21:58:35.410Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2022-01-11T21:58:35.410Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T21:58:35.487Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [2022-01-11T21:58:35.491Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] did not exist. Created. [2022-01-11T21:58:35.492Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T21:58:36.234Z] /w/workspace/go-mod-registry/1@tmp/durable-21ad6798/script.sh: 1: /w/workspace/go-mod-registry/1@tmp/durable-21ad6798/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T21:58:36.925Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T21:58:36.964Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T21:58:36.997Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T21:58:37.013Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-95-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T21:58:37.088Z] $ docker stop --time=1 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb [2022-01-11T21:58:38.563Z] $ docker rm -f 4b3ebe9df97473450b30765a0c20c30d4f396374a44e00bc58c7e65e4e8fdedb [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:58:39.576Z] provisioning config files... [2022-01-11T21:58:39.594Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/config8017718702871217952tmp [Pipeline] { [Pipeline] sh [2022-01-11T21:58:39.940Z] + set +x [2022-01-11T21:58:39.940Z] + curl -s https://codecov.io/bash [2022-01-11T21:58:39.940Z] + bash -s -- [2022-01-11T21:58:39.940Z] [2022-01-11T21:58:39.940Z] _____ _ [2022-01-11T21:58:39.940Z] / ____| | | [2022-01-11T21:58:39.940Z] | | ___ __| | ___ ___ _____ __ [2022-01-11T21:58:39.940Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-11T21:58:39.940Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-11T21:58:39.940Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-11T21:58:39.940Z] Bash-1.0.6 [2022-01-11T21:58:39.940Z] [2022-01-11T21:58:39.940Z] [2022-01-11T21:58:39.940Z] ==> git version 2.24.4 found [2022-01-11T21:58:39.940Z] ==> 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:58:39.940Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-11T21:58:39.940Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-11T21:58:39.940Z] ==> Jenkins CI detected. [2022-01-11T21:58:39.940Z] current dir:  /w/workspace/gexfoundry_go-mod-registry_PR-95 [2022-01-11T21:58:39.940Z] project root: . [2022-01-11T21:58:39.940Z] --> token set from env [2022-01-11T21:58:39.940Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-11T21:58:39.940Z] ==> Running gcov in . (disable via -X gcov) [2022-01-11T21:58:39.940Z] ==> Python coveragepy not found [2022-01-11T21:58:39.940Z] ==> Searching for coverage reports in: [2022-01-11T21:58:39.940Z] + . [2022-01-11T21:58:39.940Z] -> Found 1 reports [2022-01-11T21:58:39.940Z] ==> Detecting git/mercurial file structure [2022-01-11T21:58:39.940Z] ==> Reading reports [2022-01-11T21:58:39.940Z] + ./coverage.out bytes=12273 [2022-01-11T21:58:39.940Z] ==> Appending adjustments [2022-01-11T21:58:39.940Z] https://docs.codecov.io/docs/fixing-reports [2022-01-11T21:58:40.203Z] + Found adjustments [2022-01-11T21:58:40.203Z] ==> Gzipping contents [2022-01-11T21:58:40.203Z] 4.0K /tmp/codecov.6UU79b.gz [2022-01-11T21:58:40.203Z] ==> Uploading reports [2022-01-11T21:58:40.203Z] url: https://codecov.io [2022-01-11T21:58:40.203Z] query: branch=PR-95&commit=4863bf5596a337a08dc82d014a0705d1bc6be8bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-01-11T21:58:40.203Z] -> Pinging Codecov [2022-01-11T21:58:40.203Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=PR-95&commit=4863bf5596a337a08dc82d014a0705d1bc6be8bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-95%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=95&job=&cmd_args= [2022-01-11T21:58:40.463Z] -> Uploading to [2022-01-11T21:58:40.463Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-11/05B643FFA8DEACB6C25F95B2D4D12284/4863bf5596a337a08dc82d014a0705d1bc6be8bb/345d6489-47d5-4155-8acf-6fd2d5d4c858.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220111T215840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89b226896971e6673f047e5c94a99d2c999f29f7065067012f26b7b6f4f45803 [2022-01-11T21:58:40.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T21:58:40.463Z] Dload Upload Total Spent Left Speed [2022-01-11T21:58:40.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2278 0 0 100 2278 0 6677 --:--:-- --:--:-- --:--:-- 6660 100 2278 0 0 100 2278 0 6673 --:--:-- --:--:-- --:--:-- 6660 [2022-01-11T21:58:40.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-registry/commit/4863bf5596a337a08dc82d014a0705d1bc6be8bb [Pipeline] } [2022-01-11T21:58:40.753Z] 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:58:42.508Z] + '[' -d /w/workspace/gexfoundry_go-mod-registry_PR-95/archives ']' [2022-01-11T21:58:42.508Z] + ls -al /w/workspace/gexfoundry_go-mod-registry_PR-95/archives [2022-01-11T21:58:42.508Z] total 8 [2022-01-11T21:58:42.508Z] drwxr-xr-x. 3 root root 34 Jan 11 21:54 . [2022-01-11T21:58:42.508Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:54 .. [2022-01-11T21:58:42.508Z] drwxr-xr-x. 2 root root 6 Jan 11 21:54 cost [2022-01-11T21:58:42.508Z] -rw-r--r--. 1 root root 85 Jan 11 21:54 cost.csv [2022-01-11T21:58:42.508Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_go-mod-registry_PR-95/archives [2022-01-11T21:58:42.508Z] + ls -al /w/workspace/gexfoundry_go-mod-registry_PR-95/archives [2022-01-11T21:58:42.508Z] total 8 [2022-01-11T21:58:42.508Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 21:54 . [2022-01-11T21:58:42.508Z] drwxrwxr-x. 9 jenkins jenkins 4096 Jan 11 21:54 .. [2022-01-11T21:58:42.508Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 21:54 cost [2022-01-11T21:58:42.508Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 11 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:42.853Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:43.440Z] ---> package-listing.sh [2022-01-11T21:58:43.440Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T21:58:43.440Z] ++ facter osfamily [2022-01-11T21:58:43.715Z] + OS_FAMILY=redhat [2022-01-11T21:58:43.715Z] + workspace=/w/workspace/gexfoundry_go-mod-registry_PR-95 [2022-01-11T21:58:43.715Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T21:58:43.715Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T21:58:43.715Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T21:58:43.715Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T21:58:43.715Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-95 ']' [2022-01-11T21:58:43.715Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T21:58:43.715Z] + case "${OS_FAMILY}" in [2022-01-11T21:58:43.715Z] + sort [2022-01-11T21:58:43.715Z] + rpm -qa [2022-01-11T21:58:44.288Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T21:58:44.288Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T21:58:44.288Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T21:58:44.288Z] + '[' /w/workspace/gexfoundry_go-mod-registry_PR-95 ']' [2022-01-11T21:58:44.288Z] + mkdir -p /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/ [2022-01-11T21:58:44.288Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-registry_PR-95/archives/ [Pipeline] echo [2022-01-11T21:58:44.324Z] 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/gexfoundry_go-mod-registry_PR-95/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:58:44.631Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T21:58:45.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T21:58:45.215Z] . [Pipeline] withDockerContainer [2022-01-11T21:58:45.298Z] prd-centos7-docker-4c-2g-1284 does not seem to be running inside a container [2022-01-11T21:58:45.330Z] $ 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/gexfoundry_go-mod-registry_PR-95/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-registry_PR-95 -v /w/workspace/gexfoundry_go-mod-registry_PR-95:/w/workspace/gexfoundry_go-mod-registry_PR-95:rw,z -v /w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-11T21:58:45.533Z] $ docker top 8d97905eff5bc107e0b11139fef8b655b6e741df4a199a3a175aba7d08787d48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T21:58:45.950Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T21:58:46.261Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T21:58:46.574Z] + ls /var/log/sa-host [2022-01-11T21:58:46.574Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T21:58:46.574Z] file_magic: OK [2022-01-11T21:58:46.574Z] HZ: Using current value: 100 [2022-01-11T21:58:46.574Z] file_header: OK [2022-01-11T21:58:46.574Z] 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:58:46.574Z] Statistics: [2022-01-11T21:58:46.574Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:58:46.574Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T21:58:46.574Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T21:58:46.574Z] file_magic: OK [2022-01-11T21:58:46.574Z] HZ: Using current value: 100 [2022-01-11T21:58:46.574Z] file_header: OK [2022-01-11T21:58:46.574Z] 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:58:46.574Z] Statistics: [2022-01-11T21:58:46.574Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T21:58:46.574Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T21:58:46.725Z] provisioning config files... [2022-01-11T21:58:46.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-registry_PR-95@tmp/config8306396923513093253tmp [Pipeline] { [Pipeline] echo [2022-01-11T21:58:46.782Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:47.135Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T21:58:47.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:47.634Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T21:58:47.677Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:48.000Z] ---> sudo-logs.sh [2022-01-11T21:58:48.000Z] Archiving 'sudo' log.. [2022-01-11T21:58:48.000Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1284.novalocal: Name or service not known [2022-01-11T21:58:48.000Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1284.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T21:58:48.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:48.417Z] ---> job-cost.sh [2022-01-11T21:58:48.417Z] lf-activate-venv: SKIPPING [2022-01-11T21:58:48.417Z] DEBUG: total: 0.05999999865889549 [2022-01-11T21:58:48.417Z] INFO: Retrieving Stack Cost... [2022-01-11T21:58:48.678Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T21:58:48.968Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T21:58:49.037Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T21:58:49.512Z] ---> logs-deploy.sh [2022-01-11T21:58:49.512Z] lf-activate-venv: SKIPPING [2022-01-11T21:58:49.512Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-95/1 [2022-01-11T21:58:49.512Z] INFO: archiving workspace using pattern(s): [2022-01-11T21:58:50.084Z] Archives upload complete. [2022-01-11T21:58:50.084Z] INFO: archiving logs to Nexus [2022-01-11T21:58:50.662Z] ---> uname -a: [2022-01-11T21:58:50.662Z] Linux prd-centos7-docker-4c-2g-1284.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] ---> lscpu: [2022-01-11T21:58:50.662Z] Architecture: x86_64 [2022-01-11T21:58:50.662Z] CPU op-mode(s): 32-bit, 64-bit [2022-01-11T21:58:50.662Z] Byte Order: Little Endian [2022-01-11T21:58:50.662Z] Address sizes: 40 bits physical, 48 bits virtual [2022-01-11T21:58:50.662Z] CPU(s): 2 [2022-01-11T21:58:50.662Z] On-line CPU(s) list: 0,1 [2022-01-11T21:58:50.662Z] Thread(s) per core: 1 [2022-01-11T21:58:50.662Z] Core(s) per socket: 1 [2022-01-11T21:58:50.662Z] Socket(s): 2 [2022-01-11T21:58:50.662Z] NUMA node(s): 1 [2022-01-11T21:58:50.662Z] Vendor ID: AuthenticAMD [2022-01-11T21:58:50.662Z] CPU family: 23 [2022-01-11T21:58:50.662Z] Model: 49 [2022-01-11T21:58:50.662Z] Model name: AMD EPYC-Rome Processor [2022-01-11T21:58:50.662Z] Stepping: 0 [2022-01-11T21:58:50.662Z] CPU MHz: 2800.000 [2022-01-11T21:58:50.662Z] BogoMIPS: 5600.00 [2022-01-11T21:58:50.662Z] Virtualization: AMD-V [2022-01-11T21:58:50.662Z] Hypervisor vendor: KVM [2022-01-11T21:58:50.662Z] Virtualization type: full [2022-01-11T21:58:50.662Z] L1d cache: 32K [2022-01-11T21:58:50.662Z] L1i cache: 32K [2022-01-11T21:58:50.662Z] L2 cache: 512K [2022-01-11T21:58:50.662Z] L3 cache: 16384K [2022-01-11T21:58:50.662Z] NUMA node0 CPU(s): 0,1 [2022-01-11T21:58:50.662Z] 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 art rep_good nopl extd_apicid eagerfpu 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 retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] ---> nproc: [2022-01-11T21:58:50.662Z] 2 [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] ---> df -h: [2022-01-11T21:58:50.662Z] Filesystem Size Used Avail Use% Mounted on [2022-01-11T21:58:50.662Z] overlay 40G 8.2G 32G 21% / [2022-01-11T21:58:50.662Z] tmpfs 64M 0 64M 0% /dev [2022-01-11T21:58:50.662Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2022-01-11T21:58:50.662Z] shm 64M 0 64M 0% /dev/shm [2022-01-11T21:58:50.662Z] /dev/vda1 40G 8.2G 32G 21% /facter-os [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] ---> sar -b -r -n DEV: [2022-01-11T21:58:50.662Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:52:28 LINUX RESTART (2 CPU) [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:53:01 tps rtps wtps bread/s bwrtn/s [2022-01-11T21:58:50.662Z] 21:54:01 130.21 2.88 127.33 2249.78 24727.22 [2022-01-11T21:58:50.662Z] 21:55:01 61.30 0.00 61.30 0.00 17637.24 [2022-01-11T21:58:50.662Z] 21:56:01 0.18 0.00 0.18 0.00 2.81 [2022-01-11T21:58:50.662Z] 21:57:01 0.15 0.00 0.15 0.00 2.28 [2022-01-11T21:58:50.662Z] 21:58:01 0.25 0.00 0.25 0.00 3.78 [2022-01-11T21:58:50.662Z] Average: 38.43 0.58 37.86 450.15 8477.16 [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2022-01-11T21:58:50.662Z] 21:54:01 4401156 0 840492 10.49 2620 2764672 1581880 17.46 943560 2303460 506400 [2022-01-11T21:58:50.662Z] 21:55:01 4417220 0 841520 10.51 2620 2747580 1208428 13.34 843008 2362460 20 [2022-01-11T21:58:50.662Z] 21:56:01 4403560 0 855180 10.68 2620 2747580 1167828 12.89 857764 2362460 20 [2022-01-11T21:58:50.662Z] 21:57:01 4421088 0 837644 10.46 2620 2747588 1169948 12.92 839820 2362460 16 [2022-01-11T21:58:50.662Z] 21:58:01 4421996 0 836732 10.45 2620 2747592 1166288 12.88 839776 2362460 20 [2022-01-11T21:58:50.662Z] Average: 4413004 0 842314 10.52 2620 2751002 1258874 13.90 864786 2350660 101295 [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2022-01-11T21:58:50.662Z] 21:54:01 eth0 310.69 197.29 6244.87 39.90 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:54:01 docker0 21.79 23.07 1.98 80.46 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:55:01 eth0 12.46 8.24 12.01 4.23 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:56:01 eth0 10.13 3.83 10.65 0.37 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:57:01 eth0 0.53 0.33 0.26 0.20 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:58:01 eth0 0.27 0.18 0.08 0.05 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] 21:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] Average: eth0 66.84 41.99 1254.12 8.95 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] Average: docker0 4.36 4.62 0.40 16.10 0.00 0.00 0.00 0.00 [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] ---> sar -P ALL: [2022-01-11T21:58:50.662Z] Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 01/11/22 _x86_64_ (2 CPU) [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:52:28 LINUX RESTART (2 CPU) [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] 21:53:01 CPU %user %nice %system %iowait %steal %idle [2022-01-11T21:58:50.662Z] 21:54:01 all 42.97 0.00 9.56 2.19 0.09 45.20 [2022-01-11T21:58:50.662Z] 21:54:01 0 43.19 0.00 9.67 2.35 0.09 44.71 [2022-01-11T21:58:50.662Z] 21:54:01 1 42.75 0.00 9.45 2.02 0.09 45.69 [2022-01-11T21:58:50.662Z] 21:55:01 all 2.12 0.00 1.18 0.60 0.03 96.07 [2022-01-11T21:58:50.662Z] 21:55:01 0 1.93 0.00 1.22 0.70 0.03 96.11 [2022-01-11T21:58:50.662Z] 21:55:01 1 2.30 0.00 1.13 0.50 0.03 96.03 [2022-01-11T21:58:50.662Z] 21:56:01 all 0.28 0.00 0.08 0.00 0.02 99.63 [2022-01-11T21:58:50.662Z] 21:56:01 0 0.17 0.00 0.08 0.00 0.02 99.73 [2022-01-11T21:58:50.662Z] 21:56:01 1 0.38 0.00 0.07 0.00 0.02 99.53 [2022-01-11T21:58:50.662Z] 21:57:01 all 0.20 0.00 0.05 0.00 0.03 99.72 [2022-01-11T21:58:50.662Z] 21:57:01 0 0.28 0.00 0.07 0.00 0.03 99.61 [2022-01-11T21:58:50.662Z] 21:57:01 1 0.12 0.00 0.03 0.00 0.02 99.83 [2022-01-11T21:58:50.662Z] 21:58:01 all 0.22 0.00 0.05 0.00 0.03 99.71 [2022-01-11T21:58:50.662Z] 21:58:01 0 0.28 0.00 0.05 0.00 0.02 99.65 [2022-01-11T21:58:50.662Z] 21:58:01 1 0.15 0.00 0.05 0.00 0.03 99.77 [2022-01-11T21:58:50.662Z] Average: all 8.70 0.00 2.08 0.54 0.04 88.64 [2022-01-11T21:58:50.662Z] Average: 0 8.71 0.00 2.12 0.59 0.04 88.55 [2022-01-11T21:58:50.662Z] Average: 1 8.69 0.00 2.05 0.48 0.04 88.74 [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z] [2022-01-11T21:58:50.662Z]