Pull request #137 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-secrets Obtained Jenkinsfile from 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c+7d587d036a6d5356cc7ac91ab640354d66e96f32 (ef88a2014b39b2667840656460a6f352a175107b) 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-ssh5920394992994660784.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh5960141186331573786.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-secrets/branches/PR-137/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-secrets/branches/PR-137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11695528087404869146.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-secrets/branches/PR-137/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14370833330955658732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh3368138118857065658.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-secrets/branches/PR-137/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-secrets/branches/PR-137/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3321225004972937185.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-secrets, 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-secrets-settings PROJECT: go-mod-secrets 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-secrets 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 ‘prd-centos7-docker-4c-2g-745’ is offline Running on prd-centos7-docker-4c-2g-748 in /w/workspace/gexfoundry_go-mod-secrets_PR-137 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git > git init /w/workspace/gexfoundry_go-mod-secrets_PR-137 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets_PR-137@tmp/jenkins-gitclient-ssh2313326324307135212.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7d587d036a6d5356cc7ac91ab640354d66e96f32 into PR head commit 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c Merge succeeded, producing 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c Checking out Revision 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c (PR-137) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.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-secrets.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.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-secrets_PR-137@tmp/jenkins-gitclient-ssh2893183165883993308.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # 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-secrets_PR-137@tmp/jenkins-gitclient-ssh7951996148382773128.key > git merge 7d587d036a6d5356cc7ac91ab640354d66e96f32 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # 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 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-05T04:46:56.610Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-05T04:46:56.773Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-05T04:46:56.872Z] ========================================================= [2022-01-05T04:46:56.872Z] EdgeX Global Pipelines Version Info [2022-01-05T04:46:56.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:46:58.046Z] ------------------- [2022-01-05T04:46:58.046Z] stable info: [2022-01-05T04:46:58.046Z] ------------------- [2022-01-05T04:46:58.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-05T04:46:58.046Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T04:46:58.046Z] Message: update stable to v1.0.217 [2022-01-05T04:46:58.617Z] ------------------- [2022-01-05T04:46:58.617Z] experimental info: [2022-01-05T04:46:58.617Z] ------------------- [2022-01-05T04:46:58.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-05T04:46:58.617Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-05T04:46:58.617Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-05T04:46:58.883Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-secrets-settings [Pipeline] echo [2022-01-05T04:46:58.926Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-secrets [Pipeline] echo [2022-01-05T04:46:58.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-05T04:46:59.024Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-05T04:46:59.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-05T04:46:59.112Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-05T04:46:59.156Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-05T04:46:59.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-05T04:46:59.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-05T04:46:59.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-05T04:46:59.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-05T04:46:59.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-secrets [Pipeline] echo [2022-01-05T04:46:59.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-05T04:46:59.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-05T04:46:59.522Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:46:59.567Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:46:59.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:46:59.655Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:46:59.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-05T04:46:59.747Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-05T04:46:59.792Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-05T04:46:59.838Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-05T04:46:59.882Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-05T04:46:59.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-05T04:46:59.987Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-05T04:47:00.039Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-05T04:47:00.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-137 [Pipeline] echo [2022-01-05T04:47:00.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-137 [Pipeline] echo [2022-01-05T04:47:00.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-137 [Pipeline] echo [2022-01-05T04:47:00.267Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [Pipeline] echo [2022-01-05T04:47:00.324Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05e2b9d [Pipeline] echo [2022-01-05T04:47:00.377Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-05T04:47:00.935Z] + git rev-list -1 --merges 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c~1..05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [Pipeline] echo [2022-01-05T04:47:00.991Z] -----------> git rev-list -1 --merges 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c~1..05e2b9d62a53d6add9237d1d7c64868ab2e1a02c 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [false] [Pipeline] sh [2022-01-05T04:47:01.321Z] + git log --format=format:%s -1 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [Pipeline] echo [2022-01-05T04:47:01.361Z] ========================================================= [2022-01-05T04:47:01.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-05T04:47:01.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T04:47:01.860Z] + git log --format=format:%s -1 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [Pipeline] echo [2022-01-05T04:47:01.901Z] [semverPrep] GIT_COMMIT: 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-05T04:47:01.940Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-05T04:47:02.446Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-05T04:47:02.446Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-05T04:47:02.446Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-05T04:47:02.446Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-05T04:47:02.446Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-05T04:47:02.446Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-05T04:47:02.446Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:47:02.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:47:02.858Z] [2022-01-05T04:47:02.858Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:47:03.232Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:47:03.233Z] latest: Pulling from edgex-devops/git-semver [2022-01-05T04:47:03.233Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T04:47:03.233Z] 3e5f54012d9b: Pulling fs layer [2022-01-05T04:47:03.233Z] 4c7163046ea9: Pulling fs layer [2022-01-05T04:47:03.233Z] 0c2d73faf560: Pulling fs layer [2022-01-05T04:47:03.233Z] 0c2d73faf560: Waiting [2022-01-05T04:47:03.233Z] 3e5f54012d9b: Verifying Checksum [2022-01-05T04:47:03.233Z] 3e5f54012d9b: Download complete [2022-01-05T04:47:03.233Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T04:47:03.233Z] a0d0a0d46f8b: Download complete [2022-01-05T04:47:03.511Z] 0c2d73faf560: Verifying Checksum [2022-01-05T04:47:03.511Z] 0c2d73faf560: Download complete [2022-01-05T04:47:03.511Z] 4c7163046ea9: Verifying Checksum [2022-01-05T04:47:03.511Z] 4c7163046ea9: Download complete [2022-01-05T04:47:03.511Z] a0d0a0d46f8b: Pull complete [2022-01-05T04:47:03.511Z] 3e5f54012d9b: Pull complete [2022-01-05T04:47:03.774Z] 4c7163046ea9: Pull complete [2022-01-05T04:47:04.038Z] 0c2d73faf560: Pull complete [2022-01-05T04:47:04.038Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-05T04:47:04.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:47:04.038Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-05T04:47:04.147Z] prd-centos7-docker-4c-2g-748 does not seem to be running inside a container [2022-01-05T04:47:04.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_go-mod-secrets_PR-137 -v /w/workspace/gexfoundry_go-mod-secrets_PR-137:/w/workspace/gexfoundry_go-mod-secrets_PR-137:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-05T04:47:04.774Z] $ docker top a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-05T04:47:04.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T04:47:04.987Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T04:47:05.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T04:47:05.088Z] $ docker exec a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 ssh-agent [2022-01-05T04:47:05.196Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbBpDBC/agent.13 [2022-01-05T04:47:05.196Z] SSH_AGENT_PID=19 [2022-01-05T04:47:05.203Z] Running ssh-add (command line suppressed) [2022-01-05T04:47:05.284Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/private_key_4631815477200593150.key (/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/private_key_4631815477200593150.key) [2022-01-05T04:47:05.302Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T04:47:05.654Z] + git tag --points-at HEAD [Pipeline] } [2022-01-05T04:47:05.681Z] $ docker exec --env ******** --env ******** a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 ssh-agent -k [2022-01-05T04:47:05.757Z] unset SSH_AUTH_SOCK; [2022-01-05T04:47:05.757Z] unset SSH_AGENT_PID; [2022-01-05T04:47:05.757Z] echo Agent pid 19 killed; [2022-01-05T04:47:05.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-05T04:47:05.874Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T04:47:05.874Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T04:47:05.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T04:47:05.987Z] $ docker exec a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 ssh-agent [2022-01-05T04:47:06.088Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMLmnlL/agent.53 [2022-01-05T04:47:06.088Z] SSH_AGENT_PID=60 [2022-01-05T04:47:06.093Z] Running ssh-add (command line suppressed) [2022-01-05T04:47:06.189Z] Identity added: /w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/private_key_6328047373651737110.key (/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/private_key_6328047373651737110.key) [2022-01-05T04:47:06.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T04:47:06.576Z] + git semver init [2022-01-05T04:47:06.576Z] # -> Open(): unable to determine branch for HEAD [2022-01-05T04:47:06.576Z] # $GIT_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-137/.git [2022-01-05T04:47:06.576Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_go-mod-secrets_PR-137 [2022-01-05T04:47:06.576Z] # $SEMVER_REMOTE_NAME = origin [2022-01-05T04:47:06.576Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-05T04:47:06.576Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-05T04:47:06.576Z] # $SEMVER_BRANCH = PR-137 [2022-01-05T04:47:06.576Z] # $SEMVER_TEMP = /tmp/semver-941937985 [2022-01-05T04:47:06.576Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-secrets.git $SEMVER_TEMP [2022-01-05T04:47:07.156Z] # '/tmp/semver-941937985' -> '/w/workspace/gexfoundry_go-mod-secrets_PR-137/.semver' [2022-01-05T04:47:07.156Z] # -> Force: false [2022-01-05T04:47:07.156Z] # $SEMVER_DIR = /w/workspace/gexfoundry_go-mod-secrets_PR-137/.semver [Pipeline] } [2022-01-05T04:47:07.188Z] $ docker exec --env ******** --env ******** a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 ssh-agent -k [2022-01-05T04:47:07.277Z] unset SSH_AUTH_SOCK; [2022-01-05T04:47:07.277Z] unset SSH_AGENT_PID; [2022-01-05T04:47:07.277Z] echo Agent pid 60 killed; [2022-01-05T04:47:07.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T04:47:07.755Z] + git semver [Pipeline] } [2022-01-05T04:47:07.789Z] $ docker stop --time=1 a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 [2022-01-05T04:47:09.014Z] $ docker rm -f a0fe1a2f542dfecc03fb52b672f1b810dc8824d18ea4cce3744a8907ad4c3c13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:47:09.454Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-05T04:47:09.788Z] Stashed 1 file(s) [Pipeline] echo [2022-01-05T04:47:09.829Z] [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] node [Pipeline] node [2022-01-05T04:47:25.299Z] Still waiting to schedule task [2022-01-05T04:47:25.299Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-05T04:47:25.323Z] Still waiting to schedule task [2022-01-05T04:47:25.324Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-746’ is offline [2022-01-05T04:48:45.648Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-749 in /w/workspace/gexfoundry_go-mod-secrets_PR-137 [Pipeline] { [Pipeline] ws [2022-01-05T04:48:45.696Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2022-01-05T04:48:45.910Z] Selected Git installation does not exist. Using Default [2022-01-05T04:48:45.910Z] The recommended git tool is: NONE [2022-01-05T04:48:50.356Z] using credential edgex-jenkins-ssh [2022-01-05T04:48:50.376Z] Cloning the remote Git repository [2022-01-05T04:48:50.433Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:48:50.505Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2022-01-05T04:48:50.576Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:48:50.577Z] > git --version # timeout=10 [2022-01-05T04:48:50.601Z] > git --version # 'git version 2.17.1' [2022-01-05T04:48:50.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:48:50.687Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:48:51.644Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-01-05T04:48:51.666Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:48:51.690Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-01-05T04:48:51.735Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:48:51.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:48:51.753Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T04:48:52.384Z] Merging remotes/origin/main commit 7d587d036a6d5356cc7ac91ab640354d66e96f32 into PR head commit 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [2022-01-05T04:48:52.597Z] Merge succeeded, producing 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [2022-01-05T04:48:52.597Z] Checking out Revision 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c (PR-137) [2022-01-05T04:48:52.397Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:48:52.412Z] > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # timeout=10 [2022-01-05T04:48:52.498Z] > git remote # timeout=10 [2022-01-05T04:48:52.514Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T04:48:52.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:48:52.549Z] > git merge 7d587d036a6d5356cc7ac91ab640354d66e96f32 # timeout=10 [2022-01-05T04:48:52.570Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T04:48:52.599Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:48:52.615Z] > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # timeout=10 [2022-01-05T04:48:56.931Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T04:48:56.990Z] > git --version # timeout=10 [2022-01-05T04:48:57.001Z] > git --version # 'git version 2.17.1' [2022-01-05T04:48:57.009Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T04:48:58.234Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-05T04:48:58.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T04:48:58.234Z] Dload Upload Total Spent Left Speed [2022-01-05T04:48:58.234Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 99361 0 --:--:-- --:--:-- --:--:-- 99361 [Pipeline] sh [2022-01-05T04:48:58.767Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-05T04:48:59.134Z] + sudo tee /etc/docker/daemon.new [2022-01-05T04:48:59.134Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-05T04:48:59.134Z] { [2022-01-05T04:48:59.134Z] "registry-mirrors": [ [2022-01-05T04:48:59.134Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-05T04:48:59.134Z] ], [2022-01-05T04:48:59.134Z] "bip": "10.250.0.254/24", [2022-01-05T04:48:59.134Z] "hosts": [ [2022-01-05T04:48:59.134Z] "tcp://0.0.0.0:5555", [2022-01-05T04:48:59.134Z] "unix:///var/run/docker.sock" [2022-01-05T04:48:59.134Z] ], [2022-01-05T04:48:59.134Z] "mtu": 1458, [2022-01-05T04:48:59.134Z] "selinux-enabled": true, [2022-01-05T04:48:59.134Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-05T04:48:59.134Z] } [Pipeline] sh [2022-01-05T04:48:59.506Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-05T04:48:59.872Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-05T04:49:18.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T04:49:18.734Z] ========================================================= [2022-01-05T04:49:18.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-05T04:49:18.734Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:49:19.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T04:49:19.772Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-05T04:49:19.772Z] 552d1f2373af: Pulling fs layer [2022-01-05T04:49:19.772Z] ea3f2d53f512: Pulling fs layer [2022-01-05T04:49:19.772Z] 9e70ebbbe112: Pulling fs layer [2022-01-05T04:49:19.772Z] 7a9cfe048b4a: Pulling fs layer [2022-01-05T04:49:19.772Z] 72dc09318566: Pulling fs layer [2022-01-05T04:49:19.772Z] f4f7b4309257: Pulling fs layer [2022-01-05T04:49:19.772Z] 0ac9a79272e3: Pulling fs layer [2022-01-05T04:49:19.772Z] b78e95d17946: Pulling fs layer [2022-01-05T04:49:19.772Z] 72dc09318566: Waiting [2022-01-05T04:49:19.772Z] f4f7b4309257: Waiting [2022-01-05T04:49:19.772Z] 0ac9a79272e3: Waiting [2022-01-05T04:49:19.772Z] b78e95d17946: Waiting [2022-01-05T04:49:19.772Z] 7a9cfe048b4a: Waiting [2022-01-05T04:49:19.772Z] 9e70ebbbe112: Download complete [2022-01-05T04:49:19.772Z] ea3f2d53f512: Download complete [2022-01-05T04:49:19.772Z] 72dc09318566: Download complete [2022-01-05T04:49:19.772Z] f4f7b4309257: Download complete [2022-01-05T04:49:20.049Z] 0ac9a79272e3: Download complete [2022-01-05T04:49:20.049Z] 552d1f2373af: Verifying Checksum [2022-01-05T04:49:20.049Z] 552d1f2373af: Download complete [2022-01-05T04:49:20.655Z] 552d1f2373af: Pull complete [2022-01-05T04:49:21.270Z] ea3f2d53f512: Pull complete [2022-01-05T04:49:21.546Z] 9e70ebbbe112: Pull complete [2022-01-05T04:49:21.821Z] b78e95d17946: Verifying Checksum [2022-01-05T04:49:21.821Z] b78e95d17946: Download complete [2022-01-05T04:49:22.214Z] 7a9cfe048b4a: Verifying Checksum [2022-01-05T04:49:22.214Z] 7a9cfe048b4a: Download complete [2022-01-05T04:49:26.127Z] Running on prd-centos7-docker-4c-2g-750 in /w/workspace/gexfoundry_go-mod-secrets_PR-137 [Pipeline] { [Pipeline] ws [2022-01-05T04:49:26.172Z] Running in /w/workspace/go-mod-secrets/1 [Pipeline] { [Pipeline] checkout [2022-01-05T04:49:26.297Z] Selected Git installation does not exist. Using Default [2022-01-05T04:49:26.297Z] The recommended git tool is: NONE [2022-01-05T04:49:27.950Z] using credential edgex-jenkins-ssh [2022-01-05T04:49:27.963Z] Cloning the remote Git repository [2022-01-05T04:49:27.450Z] Cloning repository git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:49:27.485Z] > git init /w/workspace/go-mod-secrets/1 # timeout=10 [2022-01-05T04:49:27.517Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:49:27.518Z] > git --version # timeout=10 [2022-01-05T04:49:27.525Z] > git --version # 'git version 2.24.4' [2022-01-05T04:49:27.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:49:27.549Z] [INFO] Currently running in a labeled security context [2022-01-05T04:49:27.549Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:49:27.549Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/1@tmp/jenkins-gitclient-ssh7690097255342952064.key [2022-01-05T04:49:27.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:49:29.427Z] Merging remotes/origin/main commit 7d587d036a6d5356cc7ac91ab640354d66e96f32 into PR head commit 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [2022-01-05T04:49:29.550Z] Merge succeeded, producing 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [2022-01-05T04:49:29.550Z] Checking out Revision 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c (PR-137) [2022-01-05T04:49:28.285Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-01-05T04:49:28.293Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:49:28.318Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-secrets.git # timeout=10 [2022-01-05T04:49:28.336Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-secrets.git [2022-01-05T04:49:28.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:49:28.337Z] [INFO] Currently running in a labeled security context [2022-01-05T04:49:28.337Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:49:28.337Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/1@tmp/jenkins-gitclient-ssh6715620319667464054.key [2022-01-05T04:49:28.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-secrets.git +refs/pull/137/head:refs/remotes/origin/PR-137 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T04:49:28.907Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:49:28.921Z] > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # timeout=10 [2022-01-05T04:49:28.958Z] > git remote # timeout=10 [2022-01-05T04:49:28.969Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T04:49:28.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:49:28.979Z] [INFO] Currently running in a labeled security context [2022-01-05T04:49:28.979Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:49:28.979Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-secrets/1@tmp/jenkins-gitclient-ssh8268562456624578248.key [2022-01-05T04:49:28.987Z] > git merge 7d587d036a6d5356cc7ac91ab640354d66e96f32 # timeout=10 [2022-01-05T04:49:29.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T04:49:29.018Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:49:29.030Z] > git checkout -f 05e2b9d62a53d6add9237d1d7c64868ab2e1a02c # timeout=10 [2022-01-05T04:49:33.197Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T04:49:32.688Z] > git --version # timeout=10 [2022-01-05T04:49:32.692Z] > git --version # 'git version 2.24.4' [2022-01-05T04:49:32.701Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-01-05T04:49:33.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T04:49:33.948Z] ========================================================= [2022-01-05T04:49:33.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-05T04:49:33.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:49:34.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T04:49:34.437Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-05T04:49:34.437Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T04:49:34.437Z] 31adcdaf11c8: Pulling fs layer [2022-01-05T04:49:34.437Z] b8b176561691: Pulling fs layer [2022-01-05T04:49:34.437Z] 4527c011a84f: Pulling fs layer [2022-01-05T04:49:34.437Z] 5d74067f8e1e: Pulling fs layer [2022-01-05T04:49:34.437Z] e0aca202a116: Pulling fs layer [2022-01-05T04:49:34.437Z] 3a43be97a3b4: Pulling fs layer [2022-01-05T04:49:34.437Z] 34cad66bf833: Pulling fs layer [2022-01-05T04:49:34.437Z] b4e3c513aaa6: Pulling fs layer [2022-01-05T04:49:34.437Z] e0aca202a116: Waiting [2022-01-05T04:49:34.437Z] 3a43be97a3b4: Waiting [2022-01-05T04:49:34.437Z] 34cad66bf833: Waiting [2022-01-05T04:49:34.437Z] b4e3c513aaa6: Waiting [2022-01-05T04:49:34.437Z] 4527c011a84f: Waiting [2022-01-05T04:49:34.437Z] 5d74067f8e1e: Waiting [2022-01-05T04:49:34.701Z] 7a9cfe048b4a: Pull complete [2022-01-05T04:49:34.701Z] 72dc09318566: Pull complete [2022-01-05T04:49:34.701Z] f4f7b4309257: Pull complete [2022-01-05T04:49:34.701Z] 0ac9a79272e3: Pull complete [2022-01-05T04:49:34.716Z] b8b176561691: Verifying Checksum [2022-01-05T04:49:34.716Z] b8b176561691: Download complete [2022-01-05T04:49:34.716Z] 31adcdaf11c8: Verifying Checksum [2022-01-05T04:49:34.716Z] 31adcdaf11c8: Download complete [2022-01-05T04:49:34.716Z] 5d74067f8e1e: Verifying Checksum [2022-01-05T04:49:34.716Z] 5d74067f8e1e: Download complete [2022-01-05T04:49:34.716Z] e0aca202a116: Verifying Checksum [2022-01-05T04:49:34.716Z] e0aca202a116: Download complete [2022-01-05T04:49:34.716Z] 3a43be97a3b4: Verifying Checksum [2022-01-05T04:49:34.716Z] 3a43be97a3b4: Download complete [2022-01-05T04:49:34.716Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T04:49:34.716Z] a0d0a0d46f8b: Download complete [2022-01-05T04:49:34.716Z] 34cad66bf833: Verifying Checksum [2022-01-05T04:49:34.716Z] 34cad66bf833: Download complete [2022-01-05T04:49:35.313Z] b4e3c513aaa6: Verifying Checksum [2022-01-05T04:49:35.313Z] b4e3c513aaa6: Download complete [2022-01-05T04:49:35.313Z] 4527c011a84f: Verifying Checksum [2022-01-05T04:49:35.313Z] 4527c011a84f: Download complete [2022-01-05T04:49:35.313Z] a0d0a0d46f8b: Pull complete [2022-01-05T04:49:35.313Z] 31adcdaf11c8: Pull complete [2022-01-05T04:49:35.313Z] b8b176561691: Pull complete [2022-01-05T04:49:39.564Z] 4527c011a84f: Pull complete [2022-01-05T04:49:39.564Z] 5d74067f8e1e: Pull complete [2022-01-05T04:49:39.564Z] e0aca202a116: Pull complete [2022-01-05T04:49:39.564Z] 3a43be97a3b4: Pull complete [2022-01-05T04:49:39.564Z] 34cad66bf833: Pull complete [2022-01-05T04:49:40.114Z] b78e95d17946: Pull complete [2022-01-05T04:49:40.114Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-05T04:49:40.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T04:49:40.114Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-05T04:49:40.474Z] + 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-05T04:49:40.849Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T04:49:40.849Z] . [Pipeline] withDockerContainer [2022-01-05T04:49:41.120Z] prd-ubuntu18.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2022-01-05T04:49:41.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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-05T04:49:42.136Z] b4e3c513aaa6: Pull complete [2022-01-05T04:49:42.136Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-05T04:49:42.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T04:49:42.136Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T04:49:44.137Z] $ docker top 02caa0e8e227394c64ef05d308b595159beba3aeacb959dde061a56c0687cac6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2022-01-05T04:49:44.751Z] + 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-05T04:49:45.106Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T04:49:45.106Z] . [Pipeline] withDockerContainer [2022-01-05T04:49:45.167Z] + go version [2022-01-05T04:49:45.167Z] go version go1.16.8 linux/arm64 [2022-01-05T04:49:45.201Z] prd-centos7-docker-4c-2g-750 does not seem to be running inside a container [2022-01-05T04:49:45.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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-x86_64 cat [2022-01-05T04:49:47.703Z] $ docker top 3d94589338f7c205d12c9623350fd6317636867c93f1668b1da44141f873be8e -eo pid,comm [Pipeline] { [Pipeline] } [2022-01-05T04:49:47.866Z] $ docker stop --time=1 02caa0e8e227394c64ef05d308b595159beba3aeacb959dde061a56c0687cac6 [2022-01-05T04:49:49.523Z] $ docker rm -f 02caa0e8e227394c64ef05d308b595159beba3aeacb959dde061a56c0687cac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2022-01-05T04:49:50.106Z] + go version [2022-01-05T04:49:50.106Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-05T04:49:50.177Z] $ docker stop --time=1 3d94589338f7c205d12c9623350fd6317636867c93f1668b1da44141f873be8e [2022-01-05T04:49:51.378Z] $ docker rm -f 3d94589338f7c205d12c9623350fd6317636867c93f1668b1da44141f873be8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:49:51.909Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T04:49:51.909Z] . [Pipeline] withDockerContainer [2022-01-05T04:49:52.070Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T04:49:52.070Z] . [2022-01-05T04:49:52.140Z] prd-ubuntu18.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2022-01-05T04:49:52.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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-05T04:49:53.466Z] $ docker top bcbdbe3c88725739fa9eba3f974f4b16e9eab4951e03dc658a5b672ce4716d68 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2022-01-05T04:49:53.832Z] prd-centos7-docker-4c-2g-750 does not seem to be running inside a container [2022-01-05T04:49:53.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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-x86_64 cat [2022-01-05T04:49:54.230Z] $ docker top 9e0c27d53ee0059061a43bb52ebed18bd56f4bf8176d986f2ae0acaa960a2a36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [Pipeline] sh [2022-01-05T04:49:54.793Z] + make test [2022-01-05T04:49:54.793Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-01-05T04:49:55.070Z] + make test [2022-01-05T04:49:55.070Z] CGO_ENABLED=1 GO111MODULE=on go test -count=1 -race ./... -coverprofile=coverage.out [2022-01-05T04:49:56.504Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-05T04:49:56.504Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-05T04:49:56.715Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-05T04:49:56.715Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-05T04:49:56.715Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-05T04:49:56.715Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-05T04:49:56.715Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-05T04:49:56.715Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-05T04:49:56.715Z] go: downloading golang.org/x/text v0.3.6 [2022-01-05T04:49:56.786Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-05T04:49:56.786Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-05T04:49:56.786Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-05T04:49:56.786Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-05T04:49:56.786Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-05T04:49:56.786Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-05T04:49:56.986Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-05T04:49:56.986Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-05T04:49:57.069Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-05T04:49:57.069Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-05T04:49:57.069Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-05T04:49:57.069Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-05T04:49:57.346Z] go: downloading golang.org/x/text v0.3.6 [2022-01-05T04:49:57.346Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-05T04:49:57.623Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 7.401s coverage: 80.5% of statements [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.047s coverage: 57.1% of statements [2022-01-05T04:50:29.258Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.051s coverage: 96.7% of statements [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.020s coverage: 89.5% of statements [2022-01-05T04:50:29.258Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.021s coverage: 100.0% of statements [2022-01-05T04:50:29.258Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.025s coverage: 84.6% of statements [2022-01-05T04:50:29.258Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.046s coverage: 100.0% of statements [2022-01-05T04:50:29.258Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-01-05T04:50:39.340Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-05T04:50:42.728Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T04:50:42.728Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-05T04:50:42.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T04:50:42.801Z] $ docker stop --time=1 9e0c27d53ee0059061a43bb52ebed18bd56f4bf8176d986f2ae0acaa960a2a36 [2022-01-05T04:50:44.296Z] $ docker rm -f 9e0c27d53ee0059061a43bb52ebed18bd56f4bf8176d986f2ae0acaa960a2a36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:50:44.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T04:50:45.201Z] 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-05T04:50:46.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:50:46.184Z] [2022-01-05T04:50:46.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:50:46.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:50:46.543Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T04:50:46.543Z] b4d181a07f80: Pulling fs layer [2022-01-05T04:50:46.543Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T04:50:46.543Z] ed53099fbce6: Pulling fs layer [2022-01-05T04:50:46.543Z] dc539afda2c1: Pulling fs layer [2022-01-05T04:50:46.543Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T04:50:46.543Z] 9065ff56babe: Pulling fs layer [2022-01-05T04:50:46.543Z] d287ab97295c: Pulling fs layer [2022-01-05T04:50:46.543Z] dc539afda2c1: Waiting [2022-01-05T04:50:46.543Z] 77bc0d833cb6: Waiting [2022-01-05T04:50:46.543Z] 9065ff56babe: Waiting [2022-01-05T04:50:46.543Z] d287ab97295c: Waiting [2022-01-05T04:50:46.543Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T04:50:46.543Z] a1111a8f2ec3: Download complete [2022-01-05T04:50:46.543Z] dc539afda2c1: Verifying Checksum [2022-01-05T04:50:46.543Z] dc539afda2c1: Download complete [2022-01-05T04:50:46.811Z] ed53099fbce6: Verifying Checksum [2022-01-05T04:50:46.811Z] ed53099fbce6: Download complete [2022-01-05T04:50:46.811Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T04:50:46.811Z] 77bc0d833cb6: Download complete [2022-01-05T04:50:46.811Z] 9065ff56babe: Verifying Checksum [2022-01-05T04:50:46.811Z] 9065ff56babe: Download complete [2022-01-05T04:50:46.811Z] b4d181a07f80: Verifying Checksum [2022-01-05T04:50:46.811Z] b4d181a07f80: Download complete [2022-01-05T04:50:47.398Z] d287ab97295c: Verifying Checksum [2022-01-05T04:50:47.398Z] d287ab97295c: Download complete [2022-01-05T04:50:48.357Z] b4d181a07f80: Pull complete [2022-01-05T04:50:48.357Z] a1111a8f2ec3: Pull complete [2022-01-05T04:50:48.940Z] ed53099fbce6: Pull complete [2022-01-05T04:50:48.940Z] dc539afda2c1: Pull complete [2022-01-05T04:50:49.522Z] 77bc0d833cb6: Pull complete [2022-01-05T04:50:49.522Z] 9065ff56babe: Pull complete [2022-01-05T04:50:54.904Z] d287ab97295c: Pull complete [2022-01-05T04:50:54.904Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T04:50:54.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:50:54.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T04:50:55.009Z] prd-centos7-docker-4c-2g-750 does not seem to be running inside a container [2022-01-05T04:50:55.046Z] $ 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-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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:latest cat [2022-01-05T04:50:57.518Z] $ docker top a48ba2a94061b92a4be9dd63a62bbabe6047cc9058b43af8115911774d7dea72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:50:58.030Z] ---> job-cost.sh [2022-01-05T04:50:58.031Z] lf-activate-venv: SKIPPING [2022-01-05T04:50:58.031Z] INFO: No Stack... [2022-01-05T04:50:58.291Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T04:50:58.551Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T04:50:58.892Z] + cat /w/workspace/go-mod-secrets/1/archives/cost.csv [2022-01-05T04:50:58.892Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T04:50:58.943Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [2022-01-05T04:50:58.947Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] did not exist. Created. [2022-01-05T04:50:58.948Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T04:50:59.352Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-05T04:50:59.418Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T04:50:59.451Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T04:50:59.540Z] $ docker stop --time=1 a48ba2a94061b92a4be9dd63a62bbabe6047cc9058b43af8115911774d7dea72 [2022-01-05T04:51:00.677Z] $ docker rm -f a48ba2a94061b92a4be9dd63a62bbabe6047cc9058b43af8115911774d7dea72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/internal/pkg/vault 9.574s coverage: 80.5% of statements [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg 0.162s coverage: 57.1% of statements [2022-01-05T04:51:19.450Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/keys [no test files] [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/listener 9.228s coverage: 96.7% of statements [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader 0.069s coverage: 89.5% of statements [2022-01-05T04:51:19.450Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/authtokenloader/mocks [no test files] [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer 0.070s coverage: 100.0% of statements [2022-01-05T04:51:19.450Z] ? github.com/edgexfoundry/go-mod-secrets/v2/pkg/token/fileioperformer/mocks [no test files] [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/pkg/types 0.058s coverage: 84.6% of statements [2022-01-05T04:51:19.450Z] ok github.com/edgexfoundry/go-mod-secrets/v2/secrets 0.176s coverage: 100.0% of statements [2022-01-05T04:51:19.450Z] ? github.com/edgexfoundry/go-mod-secrets/v2/secrets/mocks [no test files] [2022-01-05T04:51:19.450Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-05T04:51:19.450Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-05T04:51:37.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T04:51:37.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-05T04:51:37.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T04:51:37.887Z] $ docker stop --time=1 bcbdbe3c88725739fa9eba3f974f4b16e9eab4951e03dc658a5b672ce4716d68 [2022-01-05T04:51:39.657Z] $ docker rm -f bcbdbe3c88725739fa9eba3f974f4b16e9eab4951e03dc658a5b672ce4716d68 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:51:41.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T04:51:41.489Z] Warning: overwriting stash ‘coverage-report’ [2022-01-05T04:51:41.967Z] 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-05T04:51:42.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:51:42.827Z] [2022-01-05T04:51:42.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:51:43.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:51:43.222Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-05T04:51:43.222Z] 448f6bf000e3: Pulling fs layer [2022-01-05T04:51:43.222Z] f757da607395: Pulling fs layer [2022-01-05T04:51:43.222Z] 05883995daec: Pulling fs layer [2022-01-05T04:51:43.222Z] 8603b9c90790: Pulling fs layer [2022-01-05T04:51:43.222Z] 1560dd03e051: Pulling fs layer [2022-01-05T04:51:43.222Z] 27f5ce0e4adf: Pulling fs layer [2022-01-05T04:51:43.222Z] c2d8d7efcc4b: Pulling fs layer [2022-01-05T04:51:43.222Z] 1560dd03e051: Waiting [2022-01-05T04:51:43.222Z] 27f5ce0e4adf: Waiting [2022-01-05T04:51:43.222Z] c2d8d7efcc4b: Waiting [2022-01-05T04:51:43.222Z] 8603b9c90790: Waiting [2022-01-05T04:51:43.496Z] f757da607395: Verifying Checksum [2022-01-05T04:51:43.496Z] f757da607395: Download complete [2022-01-05T04:51:43.496Z] 8603b9c90790: Verifying Checksum [2022-01-05T04:51:43.496Z] 8603b9c90790: Download complete [2022-01-05T04:51:43.496Z] 1560dd03e051: Verifying Checksum [2022-01-05T04:51:43.496Z] 1560dd03e051: Download complete [2022-01-05T04:51:43.496Z] 27f5ce0e4adf: Verifying Checksum [2022-01-05T04:51:43.496Z] 27f5ce0e4adf: Download complete [2022-01-05T04:51:43.496Z] 05883995daec: Verifying Checksum [2022-01-05T04:51:43.496Z] 05883995daec: Download complete [2022-01-05T04:51:44.095Z] 448f6bf000e3: Download complete [2022-01-05T04:51:46.738Z] c2d8d7efcc4b: Verifying Checksum [2022-01-05T04:51:46.738Z] c2d8d7efcc4b: Download complete [2022-01-05T04:51:47.725Z] 448f6bf000e3: Pull complete [2022-01-05T04:51:48.001Z] f757da607395: Pull complete [2022-01-05T04:51:49.433Z] 05883995daec: Pull complete [2022-01-05T04:51:49.712Z] 8603b9c90790: Pull complete [2022-01-05T04:51:50.694Z] 1560dd03e051: Pull complete [2022-01-05T04:51:50.965Z] 27f5ce0e4adf: Pull complete [2022-01-05T04:52:06.057Z] c2d8d7efcc4b: Pull complete [2022-01-05T04:52:06.057Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-05T04:52:06.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:52:06.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-05T04:52:06.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2022-01-05T04:52:06.389Z] $ 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-secrets/1 -v /w/workspace/go-mod-secrets/1:/w/workspace/go-mod-secrets/1:rw,z -v /w/workspace/go-mod-secrets/1@tmp:/w/workspace/go-mod-secrets/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-05T04:52:08.712Z] $ docker top 937f3ca06f28b8b1bedc44f4efde5be13d549b96c9f5f1700874ef8e954878f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:09.782Z] ---> job-cost.sh [2022-01-05T04:52:09.782Z] lf-activate-venv: SKIPPING [2022-01-05T04:52:09.782Z] INFO: No Stack... [2022-01-05T04:52:10.083Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-05T04:52:10.684Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T04:52:11.112Z] + cut -d, -f6 [2022-01-05T04:52:11.112Z] + cat /w/workspace/go-mod-secrets/1/archives/cost.csv [Pipeline] lock [2022-01-05T04:52:11.221Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [2022-01-05T04:52:11.226Z] Resource [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] did not exist. Created. [2022-01-05T04:52:11.226Z] Lock acquired on [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T04:52:11.987Z] /w/workspace/go-mod-secrets/1@tmp/durable-70fd163a/script.sh: 1: /w/workspace/go-mod-secrets/1@tmp/durable-70fd163a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-05T04:52:12.683Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-05T04:52:12.724Z] Warning: overwriting stash ‘stack-cost’ [2022-01-05T04:52:12.766Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T04:52:12.788Z] Lock released on resource [jenkins-edgexfoundry-go-mod-secrets-PR-137-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T04:52:12.872Z] $ docker stop --time=1 937f3ca06f28b8b1bedc44f4efde5be13d549b96c9f5f1700874ef8e954878f6 [2022-01-05T04:52:14.346Z] $ docker rm -f 937f3ca06f28b8b1bedc44f4efde5be13d549b96c9f5f1700874ef8e954878f6 [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-05T04:52:15.531Z] provisioning config files... [2022-01-05T04:52:15.549Z] copy managed file [go-mod-secrets-codecov-token] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/config2828738988169025545tmp [Pipeline] { [Pipeline] sh [2022-01-05T04:52:15.892Z] + set +x [2022-01-05T04:52:15.892Z] + curl -s https://codecov.io/bash [2022-01-05T04:52:15.892Z] + bash -s -- [2022-01-05T04:52:15.892Z] [2022-01-05T04:52:15.892Z] _____ _ [2022-01-05T04:52:15.892Z] / ____| | | [2022-01-05T04:52:15.892Z] | | ___ __| | ___ ___ _____ __ [2022-01-05T04:52:15.892Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-05T04:52:15.892Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-05T04:52:15.892Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-05T04:52:15.892Z] Bash-1.0.6 [2022-01-05T04:52:15.892Z] [2022-01-05T04:52:15.892Z] [2022-01-05T04:52:15.892Z] ==> git version 2.24.4 found [2022-01-05T04:52:15.892Z] ==> 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-05T04:52:15.892Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-05T04:52:15.892Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-05T04:52:15.892Z] ==> Jenkins CI detected. [2022-01-05T04:52:15.892Z] current dir:  /w/workspace/gexfoundry_go-mod-secrets_PR-137 [2022-01-05T04:52:15.892Z] project root: . [2022-01-05T04:52:15.892Z] --> token set from env [2022-01-05T04:52:15.892Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-05T04:52:15.892Z] ==> Running gcov in . (disable via -X gcov) [2022-01-05T04:52:15.892Z] ==> Python coveragepy not found [2022-01-05T04:52:15.892Z] ==> Searching for coverage reports in: [2022-01-05T04:52:15.892Z] + . [2022-01-05T04:52:16.155Z] -> Found 1 reports [2022-01-05T04:52:16.155Z] ==> Detecting git/mercurial file structure [2022-01-05T04:52:16.155Z] ==> Reading reports [2022-01-05T04:52:16.155Z] + ./coverage.out bytes=27590 [2022-01-05T04:52:16.155Z] ==> Appending adjustments [2022-01-05T04:52:16.155Z] https://docs.codecov.io/docs/fixing-reports [2022-01-05T04:52:16.155Z] + Found adjustments [2022-01-05T04:52:16.155Z] ==> Gzipping contents [2022-01-05T04:52:16.155Z] 8.0K /tmp/codecov.tyY2uJ.gz [2022-01-05T04:52:16.155Z] ==> Uploading reports [2022-01-05T04:52:16.155Z] url: https://codecov.io [2022-01-05T04:52:16.155Z] query: branch=PR-137&commit=05e2b9d62a53d6add9237d1d7c64868ab2e1a02c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=137&job=&cmd_args= [2022-01-05T04:52:16.155Z] -> Pinging Codecov [2022-01-05T04:52:16.155Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=d0945c7c-0855-4a3f-af61-979f74c5f716&branch=PR-137&commit=05e2b9d62a53d6add9237d1d7c64868ab2e1a02c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-secrets%2Fjob%2FPR-137%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-secrets&service=jenkins&flags=&pr=137&job=&cmd_args= [2022-01-05T04:52:16.729Z] -> Uploading to [2022-01-05T04:52:16.729Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-05/D63849C06B6B67093493C71CE874ED06/05e2b9d62a53d6add9237d1d7c64868ab2e1a02c/dd88b666-443f-49a6-b87c-fedc8f327108.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T045216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=26d62efeeee7a49eb34d5799827fef21b3c3056a4c637c0622f16d254770073f [2022-01-05T04:52:16.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T04:52:16.729Z] Dload Upload Total Spent Left Speed [2022-01-05T04:52:16.991Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5706 0 0 100 5706 0 18170 --:--:-- --:--:-- --:--:-- 18230 [2022-01-05T04:52:16.991Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-secrets/commit/05e2b9d62a53d6add9237d1d7c64868ab2e1a02c [Pipeline] } [2022-01-05T04:52:17.017Z] 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-05T04:52:18.740Z] + '[' -d /w/workspace/gexfoundry_go-mod-secrets_PR-137/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:19.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:19.698Z] ---> package-listing.sh [2022-01-05T04:52:19.698Z] ++ facter osfamily [2022-01-05T04:52:19.698Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-05T04:52:19.959Z] + OS_FAMILY=redhat [2022-01-05T04:52:19.959Z] + workspace=/w/workspace/gexfoundry_go-mod-secrets_PR-137 [2022-01-05T04:52:19.959Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-05T04:52:19.959Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-05T04:52:19.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-05T04:52:19.959Z] + PACKAGES=/tmp/packages_start.txt [2022-01-05T04:52:19.959Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-137 ']' [2022-01-05T04:52:19.959Z] + PACKAGES=/tmp/packages_end.txt [2022-01-05T04:52:19.959Z] + case "${OS_FAMILY}" in [2022-01-05T04:52:19.959Z] + rpm -qa [2022-01-05T04:52:19.959Z] + sort [2022-01-05T04:52:20.537Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-05T04:52:20.538Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-05T04:52:20.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-05T04:52:20.538Z] + '[' /w/workspace/gexfoundry_go-mod-secrets_PR-137 ']' [2022-01-05T04:52:20.538Z] + mkdir -p /w/workspace/gexfoundry_go-mod-secrets_PR-137/archives/ [2022-01-05T04:52:20.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_go-mod-secrets_PR-137/archives/ [Pipeline] echo [2022-01-05T04:52:20.576Z] 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-secrets_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-05T04:52:20.889Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:52:21.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:52:21.467Z] [2022-01-05T04:52:21.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:52:21.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:52:21.831Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T04:52:21.831Z] b4d181a07f80: Pulling fs layer [2022-01-05T04:52:21.831Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T04:52:21.831Z] ed53099fbce6: Pulling fs layer [2022-01-05T04:52:21.831Z] dc539afda2c1: Pulling fs layer [2022-01-05T04:52:21.831Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T04:52:21.831Z] 9065ff56babe: Pulling fs layer [2022-01-05T04:52:21.831Z] d287ab97295c: Pulling fs layer [2022-01-05T04:52:21.831Z] dc539afda2c1: Waiting [2022-01-05T04:52:21.831Z] 77bc0d833cb6: Waiting [2022-01-05T04:52:21.831Z] 9065ff56babe: Waiting [2022-01-05T04:52:21.831Z] d287ab97295c: Waiting [2022-01-05T04:52:21.831Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T04:52:21.831Z] a1111a8f2ec3: Download complete [2022-01-05T04:52:21.831Z] dc539afda2c1: Verifying Checksum [2022-01-05T04:52:21.831Z] dc539afda2c1: Download complete [2022-01-05T04:52:21.831Z] ed53099fbce6: Verifying Checksum [2022-01-05T04:52:21.831Z] ed53099fbce6: Download complete [2022-01-05T04:52:22.110Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T04:52:22.110Z] 77bc0d833cb6: Download complete [2022-01-05T04:52:22.110Z] 9065ff56babe: Verifying Checksum [2022-01-05T04:52:22.110Z] 9065ff56babe: Download complete [2022-01-05T04:52:22.110Z] b4d181a07f80: Verifying Checksum [2022-01-05T04:52:22.110Z] b4d181a07f80: Download complete [2022-01-05T04:52:22.701Z] d287ab97295c: Verifying Checksum [2022-01-05T04:52:22.701Z] d287ab97295c: Download complete [2022-01-05T04:52:23.662Z] b4d181a07f80: Pull complete [2022-01-05T04:52:23.662Z] a1111a8f2ec3: Pull complete [2022-01-05T04:52:24.233Z] ed53099fbce6: Pull complete [2022-01-05T04:52:24.233Z] dc539afda2c1: Pull complete [2022-01-05T04:52:24.499Z] 77bc0d833cb6: Pull complete [2022-01-05T04:52:24.759Z] 9065ff56babe: Pull complete [2022-01-05T04:52:30.113Z] d287ab97295c: Pull complete [2022-01-05T04:52:30.113Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T04:52:30.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:52:30.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T04:52:30.206Z] prd-centos7-docker-4c-2g-748 does not seem to be running inside a container [2022-01-05T04:52:30.241Z] $ 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-secrets_PR-137/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_go-mod-secrets_PR-137 -v /w/workspace/gexfoundry_go-mod-secrets_PR-137:/w/workspace/gexfoundry_go-mod-secrets_PR-137:rw,z -v /w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp:/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-05T04:52:32.426Z] $ docker top 09f77d03b1b643ff3ec49434510f3af3148b44e2e064f6fbb2e287929e2a369c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T04:52:32.879Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-05T04:52:33.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-05T04:52:33.523Z] + ls /var/log/sa-host [2022-01-05T04:52:33.523Z] + sadf -c /var/log/sa-host/sa05 [2022-01-05T04:52:33.523Z] file_magic: OK [2022-01-05T04:52:33.523Z] HZ: Using current value: 100 [2022-01-05T04:52:33.523Z] file_header: OK [2022-01-05T04:52:33.523Z] 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-05T04:52:33.523Z] Statistics: [2022-01-05T04:52:33.523Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T04:52:33.523Z] File successfully converted to sysstat format version 12.0.3 [2022-01-05T04:52:33.523Z] + sadf -c /var/log/sa-host/sa17 [2022-01-05T04:52:33.523Z] file_magic: OK [2022-01-05T04:52:33.523Z] HZ: Using current value: 100 [2022-01-05T04:52:33.523Z] file_header: OK [2022-01-05T04:52:33.523Z] 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-05T04:52:33.523Z] Statistics: [2022-01-05T04:52:33.523Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T04:52:33.523Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T04:52:33.740Z] provisioning config files... [2022-01-05T04:52:33.754Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_go-mod-secrets_PR-137@tmp/config1098173460724945680tmp [Pipeline] { [Pipeline] echo [2022-01-05T04:52:33.805Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:34.130Z] ---> create-netrc.sh [Pipeline] } [2022-01-05T04:52:34.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:34.571Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-05T04:52:34.615Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:34.946Z] ---> sudo-logs.sh [2022-01-05T04:52:34.946Z] Archiving 'sudo' log.. [2022-01-05T04:52:34.946Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-748.novalocal: Name or service not known [2022-01-05T04:52:34.946Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-748.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-05T04:52:35.029Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:35.376Z] ---> job-cost.sh [2022-01-05T04:52:35.376Z] lf-activate-venv: SKIPPING [2022-01-05T04:52:35.376Z] DEBUG: total: 0.10999999940395355 [2022-01-05T04:52:35.376Z] INFO: Retrieving Stack Cost... [2022-01-05T04:52:35.639Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T04:52:36.213Z] INFO: Archiving Costs [Pipeline] echo [2022-01-05T04:52:36.254Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:52:36.575Z] ---> logs-deploy.sh [2022-01-05T04:52:36.575Z] lf-activate-venv: SKIPPING [2022-01-05T04:52:36.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-secrets/PR-137/1 [2022-01-05T04:52:36.575Z] INFO: archiving workspace using pattern(s): [2022-01-05T04:52:37.145Z] Archives upload complete. [2022-01-05T04:52:37.406Z] INFO: archiving logs to Nexus