Pull request #57 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-configuration Obtained Jenkinsfile from 223f8926678812895c4a7c96189490d75c0188cd+53230280edfc871ff53ec5eb8cb7b2f03142bb4d (dfed5b09753c8fd0382dbfdae396285e6844cac5) 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-ssh6075589712103207814.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-ssh3431533163471181483.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-configuration/branches/PR-57/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-configuration/branches/PR-57/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh827083709044091327.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-configuration/branches/PR-57/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4580888028284356463.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-ssh10612196325763768670.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-configuration/branches/PR-57/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-configuration/branches/PR-57/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7608022247784983655.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-configuration, 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-configuration-settings PROJECT: go-mod-configuration 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-configuration DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-745 in /w/workspace/undry_go-mod-configuration_PR-57 [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-configuration.git > git init /w/workspace/undry_go-mod-configuration_PR-57 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.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/undry_go-mod-configuration_PR-57@tmp/jenkins-gitclient-ssh5481240766608764110.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 223f8926678812895c4a7c96189490d75c0188cd Merge succeeded, producing 223f8926678812895c4a7c96189490d75c0188cd Checking out Revision 223f8926678812895c4a7c96189490d75c0188cd (PR-57) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.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-configuration.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.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/undry_go-mod-configuration_PR-57@tmp/jenkins-gitclient-ssh3750775001295565773.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # 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/undry_go-mod-configuration_PR-57@tmp/jenkins-gitclient-ssh5013738523755125262.key > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # 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:38:12.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-05T04:38:12.856Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-05T04:38:12.965Z] ========================================================= [2022-01-05T04:38:12.965Z] EdgeX Global Pipelines Version Info [2022-01-05T04:38:12.965Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:38:14.119Z] ------------------- [2022-01-05T04:38:14.120Z] stable info: [2022-01-05T04:38:14.120Z] ------------------- [2022-01-05T04:38:14.120Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-05T04:38:14.120Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T04:38:14.120Z] Message: update stable to v1.0.217 [2022-01-05T04:38:14.691Z] ------------------- [2022-01-05T04:38:14.691Z] experimental info: [2022-01-05T04:38:14.691Z] ------------------- [2022-01-05T04:38:14.691Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-05T04:38:14.691Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-05T04:38:14.691Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-05T04:38:14.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-configuration-settings [Pipeline] echo [2022-01-05T04:38:15.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-configuration [Pipeline] echo [2022-01-05T04:38:15.099Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-05T04:38:15.143Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-05T04:38:15.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-05T04:38:15.229Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-05T04:38:15.268Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-05T04:38:15.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-05T04:38:15.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-05T04:38:15.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-05T04:38:15.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-05T04:38:15.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-configuration [Pipeline] echo [2022-01-05T04:38:15.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-05T04:38:15.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-05T04:38:15.614Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:38:15.655Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:38:15.697Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:38:15.739Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-05T04:38:15.783Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-05T04:38:15.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-05T04:38:15.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-05T04:38:15.916Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-05T04:38:15.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-05T04:38:16.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-05T04:38:16.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-05T04:38:16.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-05T04:38:16.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-57 [Pipeline] echo [2022-01-05T04:38:16.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-57 [Pipeline] echo [2022-01-05T04:38:16.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-57 [Pipeline] echo [2022-01-05T04:38:16.289Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 223f8926678812895c4a7c96189490d75c0188cd [Pipeline] echo [2022-01-05T04:38:16.333Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 223f892 [Pipeline] echo [2022-01-05T04:38:16.381Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-05T04:38:16.914Z] + git rev-list -1 --merges 223f8926678812895c4a7c96189490d75c0188cd~1..223f8926678812895c4a7c96189490d75c0188cd [Pipeline] echo [2022-01-05T04:38:16.966Z] -----------> git rev-list -1 --merges 223f8926678812895c4a7c96189490d75c0188cd~1..223f8926678812895c4a7c96189490d75c0188cd 223f8926678812895c4a7c96189490d75c0188cd [false] [Pipeline] sh [2022-01-05T04:38:17.285Z] + git log --format=format:%s -1 223f8926678812895c4a7c96189490d75c0188cd [Pipeline] echo [2022-01-05T04:38:17.326Z] ========================================================= [2022-01-05T04:38:17.326Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-05T04:38:17.326Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T04:38:17.785Z] + git log --format=format:%s -1 223f8926678812895c4a7c96189490d75c0188cd [Pipeline] echo [2022-01-05T04:38:17.820Z] [semverPrep] GIT_COMMIT: 223f8926678812895c4a7c96189490d75c0188cd, Commit Message: feat(security): Enable gosec and default linter set [Pipeline] echo [2022-01-05T04:38:17.850Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-05T04:38:18.329Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-05T04:38:18.329Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-05T04:38:18.329Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-05T04:38:18.329Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-05T04:38:18.329Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-05T04:38:18.329Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-05T04:38:18.329Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:38:18.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:38:18.819Z] [2022-01-05T04:38:18.819Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:38:19.190Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:38:19.190Z] latest: Pulling from edgex-devops/git-semver [2022-01-05T04:38:19.190Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T04:38:19.190Z] 3e5f54012d9b: Pulling fs layer [2022-01-05T04:38:19.190Z] 4c7163046ea9: Pulling fs layer [2022-01-05T04:38:19.190Z] 0c2d73faf560: Pulling fs layer [2022-01-05T04:38:19.190Z] 0c2d73faf560: Waiting [2022-01-05T04:38:19.190Z] 3e5f54012d9b: Download complete [2022-01-05T04:38:19.190Z] a0d0a0d46f8b: Download complete [2022-01-05T04:38:19.190Z] 0c2d73faf560: Verifying Checksum [2022-01-05T04:38:19.190Z] 0c2d73faf560: Download complete [2022-01-05T04:38:19.453Z] 4c7163046ea9: Verifying Checksum [2022-01-05T04:38:19.453Z] 4c7163046ea9: Download complete [2022-01-05T04:38:19.453Z] a0d0a0d46f8b: Pull complete [2022-01-05T04:38:19.453Z] 3e5f54012d9b: Pull complete [2022-01-05T04:38:19.715Z] 4c7163046ea9: Pull complete [2022-01-05T04:38:19.975Z] 0c2d73faf560: Pull complete [2022-01-05T04:38:19.975Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-05T04:38:19.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-05T04:38:19.975Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-05T04:38:20.067Z] prd-centos7-docker-4c-2g-745 does not seem to be running inside a container [2022-01-05T04:38:20.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_go-mod-configuration_PR-57 -v /w/workspace/undry_go-mod-configuration_PR-57:/w/workspace/undry_go-mod-configuration_PR-57:rw,z -v /w/workspace/undry_go-mod-configuration_PR-57@tmp:/w/workspace/undry_go-mod-configuration_PR-57@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:38:20.720Z] $ docker top f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-05T04:38:20.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T04:38:20.906Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T04:38:21.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T04:38:21.032Z] $ docker exec f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd ssh-agent [2022-01-05T04:38:21.164Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnPKEAe/agent.14 [2022-01-05T04:38:21.164Z] SSH_AGENT_PID=21 [2022-01-05T04:38:21.173Z] Running ssh-add (command line suppressed) [2022-01-05T04:38:21.291Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-57@tmp/private_key_6913627576433558319.key (/w/workspace/undry_go-mod-configuration_PR-57@tmp/private_key_6913627576433558319.key) [2022-01-05T04:38:21.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T04:38:21.670Z] + git tag --points-at HEAD [Pipeline] } [2022-01-05T04:38:21.697Z] $ docker exec --env ******** --env ******** f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd ssh-agent -k [2022-01-05T04:38:21.810Z] unset SSH_AUTH_SOCK; [2022-01-05T04:38:21.810Z] unset SSH_AGENT_PID; [2022-01-05T04:38:21.810Z] echo Agent pid 21 killed; [2022-01-05T04:38:21.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-05T04:38:21.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-05T04:38:21.915Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-05T04:38:22.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-05T04:38:22.042Z] $ docker exec f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd ssh-agent [2022-01-05T04:38:22.163Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfHhLJh/agent.55 [2022-01-05T04:38:22.163Z] SSH_AGENT_PID=61 [2022-01-05T04:38:22.168Z] Running ssh-add (command line suppressed) [2022-01-05T04:38:22.275Z] Identity added: /w/workspace/undry_go-mod-configuration_PR-57@tmp/private_key_8172555856389699991.key (/w/workspace/undry_go-mod-configuration_PR-57@tmp/private_key_8172555856389699991.key) [2022-01-05T04:38:22.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-05T04:38:22.663Z] + git semver init [2022-01-05T04:38:22.663Z] # -> Open(): unable to determine branch for HEAD [2022-01-05T04:38:22.663Z] # $GIT_DIR = /w/workspace/undry_go-mod-configuration_PR-57/.git [2022-01-05T04:38:22.663Z] # $GIT_WORK_TREE = /w/workspace/undry_go-mod-configuration_PR-57 [2022-01-05T04:38:22.663Z] # $SEMVER_REMOTE_NAME = origin [2022-01-05T04:38:22.663Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-05T04:38:22.663Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-05T04:38:22.663Z] # $SEMVER_BRANCH = PR-57 [2022-01-05T04:38:22.663Z] # $SEMVER_TEMP = /tmp/semver-433910644 [2022-01-05T04:38:22.663Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-configuration.git $SEMVER_TEMP [2022-01-05T04:38:23.235Z] # '/tmp/semver-433910644' -> '/w/workspace/undry_go-mod-configuration_PR-57/.semver' [2022-01-05T04:38:23.235Z] # -> Force: false [2022-01-05T04:38:23.235Z] # $SEMVER_DIR = /w/workspace/undry_go-mod-configuration_PR-57/.semver [Pipeline] } [2022-01-05T04:38:23.259Z] $ docker exec --env ******** --env ******** f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd ssh-agent -k [2022-01-05T04:38:23.349Z] unset SSH_AUTH_SOCK; [2022-01-05T04:38:23.350Z] unset SSH_AGENT_PID; [2022-01-05T04:38:23.350Z] echo Agent pid 61 killed; [2022-01-05T04:38:23.364Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-05T04:38:23.801Z] + git semver [Pipeline] } [2022-01-05T04:38:23.834Z] $ docker stop --time=1 f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd [2022-01-05T04:38:25.060Z] $ docker rm -f f9ded8752faf5cacc30f34fbf0d99b6be7c5f6642ed2a859dc124081045190dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:38:25.473Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-05T04:38:25.743Z] Stashed 1 file(s) [Pipeline] echo [2022-01-05T04:38:25.762Z] [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:38:41.160Z] Still waiting to schedule task [2022-01-05T04:38:41.160Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-745’ [2022-01-05T04:38:41.182Z] Still waiting to schedule task [2022-01-05T04:38:41.182Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-05T04:40:08.336Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-746 in /w/workspace/undry_go-mod-configuration_PR-57 [Pipeline] { [Pipeline] ws [2022-01-05T04:40:08.380Z] Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout [2022-01-05T04:40:08.588Z] Selected Git installation does not exist. Using Default [2022-01-05T04:40:08.589Z] The recommended git tool is: NONE [2022-01-05T04:40:13.233Z] using credential edgex-jenkins-ssh [2022-01-05T04:40:13.252Z] Cloning the remote Git repository [2022-01-05T04:40:13.305Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:13.379Z] > git init /w/workspace/go-mod-configuration/1 # timeout=10 [2022-01-05T04:40:13.458Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:13.459Z] > git --version # timeout=10 [2022-01-05T04:40:13.478Z] > git --version # 'git version 2.17.1' [2022-01-05T04:40:13.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:13.537Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:40:14.547Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2022-01-05T04:40:14.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:40:14.598Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2022-01-05T04:40:14.640Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:14.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:14.661Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T04:40:15.259Z] Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 223f8926678812895c4a7c96189490d75c0188cd [2022-01-05T04:40:15.479Z] Merge succeeded, producing 223f8926678812895c4a7c96189490d75c0188cd [2022-01-05T04:40:15.480Z] Checking out Revision 223f8926678812895c4a7c96189490d75c0188cd (PR-57) [2022-01-05T04:40:15.280Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:40:15.293Z] > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # timeout=10 [2022-01-05T04:40:15.378Z] > git remote # timeout=10 [2022-01-05T04:40:15.396Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T04:40:15.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:15.430Z] > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 [2022-01-05T04:40:15.461Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T04:40:15.488Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:40:15.506Z] > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # timeout=10 [2022-01-05T04:40:19.671Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T04:40:19.735Z] > git --version # timeout=10 [2022-01-05T04:40:19.745Z] > git --version # 'git version 2.17.1' [2022-01-05T04:40:19.761Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-05T04:40:20.880Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-05T04:40:20.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T04:40:20.880Z] Dload Upload Total Spent Left Speed [2022-01-05T04:40:20.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 56846 0 --:--:-- --:--:-- --:--:-- 56574 100 11824 100 11824 0 0 56304 0 --:--:-- --:--:-- --:--:-- 56304 [Pipeline] sh [2022-01-05T04:40:21.424Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-05T04:40:21.786Z] + sudo tee /etc/docker/daemon.new [2022-01-05T04:40:21.786Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-05T04:40:21.786Z] { [2022-01-05T04:40:21.786Z] "registry-mirrors": [ [2022-01-05T04:40:21.786Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-05T04:40:21.786Z] ], [2022-01-05T04:40:21.786Z] "bip": "10.250.0.254/24", [2022-01-05T04:40:21.786Z] "hosts": [ [2022-01-05T04:40:21.786Z] "tcp://0.0.0.0:5555", [2022-01-05T04:40:21.786Z] "unix:///var/run/docker.sock" [2022-01-05T04:40:21.786Z] ], [2022-01-05T04:40:21.786Z] "mtu": 1458, [2022-01-05T04:40:21.786Z] "selinux-enabled": true, [2022-01-05T04:40:21.786Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-05T04:40:21.786Z] } [Pipeline] sh [2022-01-05T04:40:22.151Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-05T04:40:22.620Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-05T04:40:41.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T04:40:41.367Z] ========================================================= [2022-01-05T04:40:41.367Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-05T04:40:41.367Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:40:41.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T04:40:42.415Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-05T04:40:42.415Z] 552d1f2373af: Pulling fs layer [2022-01-05T04:40:42.415Z] ea3f2d53f512: Pulling fs layer [2022-01-05T04:40:42.415Z] 9e70ebbbe112: Pulling fs layer [2022-01-05T04:40:42.415Z] 7a9cfe048b4a: Pulling fs layer [2022-01-05T04:40:42.415Z] 72dc09318566: Pulling fs layer [2022-01-05T04:40:42.415Z] 7a9cfe048b4a: Waiting [2022-01-05T04:40:42.415Z] 72dc09318566: Waiting [2022-01-05T04:40:42.415Z] f4f7b4309257: Pulling fs layer [2022-01-05T04:40:42.415Z] 0ac9a79272e3: Pulling fs layer [2022-01-05T04:40:42.415Z] 0ac9a79272e3: Waiting [2022-01-05T04:40:42.415Z] b78e95d17946: Pulling fs layer [2022-01-05T04:40:42.415Z] b78e95d17946: Waiting [2022-01-05T04:40:42.415Z] 9e70ebbbe112: Verifying Checksum [2022-01-05T04:40:42.415Z] 9e70ebbbe112: Download complete [2022-01-05T04:40:42.415Z] ea3f2d53f512: Verifying Checksum [2022-01-05T04:40:42.415Z] ea3f2d53f512: Download complete [2022-01-05T04:40:42.415Z] 72dc09318566: Download complete [2022-01-05T04:40:42.415Z] f4f7b4309257: Verifying Checksum [2022-01-05T04:40:42.415Z] f4f7b4309257: Download complete [2022-01-05T04:40:42.415Z] 0ac9a79272e3: Verifying Checksum [2022-01-05T04:40:42.415Z] 0ac9a79272e3: Download complete [2022-01-05T04:40:42.415Z] 552d1f2373af: Verifying Checksum [2022-01-05T04:40:42.415Z] 552d1f2373af: Download complete [2022-01-05T04:40:43.024Z] 552d1f2373af: Pull complete [2022-01-05T04:40:43.627Z] ea3f2d53f512: Pull complete [2022-01-05T04:40:44.222Z] 9e70ebbbe112: Pull complete [2022-01-05T04:40:44.222Z] b78e95d17946: Verifying Checksum [2022-01-05T04:40:44.222Z] b78e95d17946: Download complete [2022-01-05T04:40:44.820Z] 7a9cfe048b4a: Verifying Checksum [2022-01-05T04:40:44.820Z] 7a9cfe048b4a: Download complete [2022-01-05T04:40:56.298Z] Running on prd-centos7-docker-4c-2g-747 in /w/workspace/undry_go-mod-configuration_PR-57 [Pipeline] { [Pipeline] ws [2022-01-05T04:40:56.347Z] Running in /w/workspace/go-mod-configuration/1 [Pipeline] { [Pipeline] checkout [2022-01-05T04:40:56.489Z] Selected Git installation does not exist. Using Default [2022-01-05T04:40:56.489Z] The recommended git tool is: NONE [2022-01-05T04:40:57.225Z] 7a9cfe048b4a: Pull complete [2022-01-05T04:40:57.225Z] 72dc09318566: Pull complete [2022-01-05T04:40:57.225Z] f4f7b4309257: Pull complete [2022-01-05T04:40:57.225Z] 0ac9a79272e3: Pull complete [2022-01-05T04:40:58.339Z] using credential edgex-jenkins-ssh [2022-01-05T04:40:58.353Z] Cloning the remote Git repository [2022-01-05T04:40:57.158Z] Cloning repository git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:57.189Z] > git init /w/workspace/go-mod-configuration/1 # timeout=10 [2022-01-05T04:40:57.219Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:57.219Z] > git --version # timeout=10 [2022-01-05T04:40:57.229Z] > git --version # 'git version 2.24.4' [2022-01-05T04:40:57.229Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:57.254Z] [INFO] Currently running in a labeled security context [2022-01-05T04:40:57.254Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:40:57.255Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh6732396557257673958.key [2022-01-05T04:40:57.352Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:40:59.773Z] Merging remotes/origin/main commit 53230280edfc871ff53ec5eb8cb7b2f03142bb4d into PR head commit 223f8926678812895c4a7c96189490d75c0188cd [2022-01-05T04:40:59.882Z] Merge succeeded, producing 223f8926678812895c4a7c96189490d75c0188cd [2022-01-05T04:40:59.882Z] Checking out Revision 223f8926678812895c4a7c96189490d75c0188cd (PR-57) [2022-01-05T04:40:57.993Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2022-01-05T04:40:58.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-05T04:40:58.028Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-configuration.git # timeout=10 [2022-01-05T04:40:58.047Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-configuration.git [2022-01-05T04:40:58.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:58.048Z] [INFO] Currently running in a labeled security context [2022-01-05T04:40:58.048Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:40:58.048Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh710250454900625279.key [2022-01-05T04:40:58.063Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-configuration.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-05T04:40:58.575Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:40:58.589Z] > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # timeout=10 [2022-01-05T04:40:58.620Z] > git remote # timeout=10 [2022-01-05T04:40:58.631Z] > git config --get remote.origin.url # timeout=10 [2022-01-05T04:40:58.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-05T04:40:58.641Z] [INFO] Currently running in a labeled security context [2022-01-05T04:40:58.642Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-05T04:40:58.642Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-configuration/1@tmp/jenkins-gitclient-ssh8321883752551781182.key [2022-01-05T04:40:58.648Z] > git merge 53230280edfc871ff53ec5eb8cb7b2f03142bb4d # timeout=10 [2022-01-05T04:40:58.658Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-05T04:40:58.668Z] > git config core.sparsecheckout # timeout=10 [2022-01-05T04:40:58.676Z] > git checkout -f 223f8926678812895c4a7c96189490d75c0188cd # timeout=10 [2022-01-05T04:41:02.632Z] b78e95d17946: Pull complete [2022-01-05T04:41:02.632Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-05T04:41:02.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-05T04:41:02.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-05T04:41:02.991Z] + 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:41:03.360Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T04:41:03.360Z] . [Pipeline] withDockerContainer [2022-01-05T04:41:03.487Z] Commit message: "feat(security): Enable gosec and default linter set" [2022-01-05T04:41:02.294Z] > git --version # timeout=10 [2022-01-05T04:41:02.313Z] > git --version # 'git version 2.24.4' [2022-01-05T04:41:02.325Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-05T04:41:03.595Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-01-05T04:41:03.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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-05T04:41:06.537Z] $ docker top d8cc31673ee7b1ec3c1e6125305acc1f4c6a3ede860854d93417c0da2cbf8b13 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-01-05T04:41:07.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-05T04:41:07.298Z] ========================================================= [2022-01-05T04:41:07.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-05T04:41:07.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:41:07.477Z] + go version [2022-01-05T04:41:07.477Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-05T04:41:07.555Z] $ docker stop --time=1 d8cc31673ee7b1ec3c1e6125305acc1f4c6a3ede860854d93417c0da2cbf8b13 [2022-01-05T04:41:07.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T04:41:07.797Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-05T04:41:07.797Z] a0d0a0d46f8b: Pulling fs layer [2022-01-05T04:41:07.797Z] 31adcdaf11c8: Pulling fs layer [2022-01-05T04:41:07.797Z] b8b176561691: Pulling fs layer [2022-01-05T04:41:07.797Z] 4527c011a84f: Pulling fs layer [2022-01-05T04:41:07.797Z] 5d74067f8e1e: Pulling fs layer [2022-01-05T04:41:07.797Z] e0aca202a116: Pulling fs layer [2022-01-05T04:41:07.797Z] 3a43be97a3b4: Pulling fs layer [2022-01-05T04:41:07.797Z] 34cad66bf833: Pulling fs layer [2022-01-05T04:41:07.797Z] b4e3c513aaa6: Pulling fs layer [2022-01-05T04:41:07.797Z] 4527c011a84f: Waiting [2022-01-05T04:41:07.797Z] 5d74067f8e1e: Waiting [2022-01-05T04:41:07.797Z] e0aca202a116: Waiting [2022-01-05T04:41:07.797Z] 3a43be97a3b4: Waiting [2022-01-05T04:41:07.797Z] 34cad66bf833: Waiting [2022-01-05T04:41:07.797Z] b4e3c513aaa6: Waiting [2022-01-05T04:41:07.797Z] b8b176561691: Verifying Checksum [2022-01-05T04:41:07.797Z] b8b176561691: Download complete [2022-01-05T04:41:07.797Z] 31adcdaf11c8: Verifying Checksum [2022-01-05T04:41:07.797Z] 31adcdaf11c8: Download complete [2022-01-05T04:41:08.064Z] 5d74067f8e1e: Verifying Checksum [2022-01-05T04:41:08.064Z] 5d74067f8e1e: Download complete [2022-01-05T04:41:08.064Z] e0aca202a116: Verifying Checksum [2022-01-05T04:41:08.064Z] e0aca202a116: Download complete [2022-01-05T04:41:08.064Z] 3a43be97a3b4: Verifying Checksum [2022-01-05T04:41:08.064Z] 3a43be97a3b4: Download complete [2022-01-05T04:41:08.064Z] a0d0a0d46f8b: Verifying Checksum [2022-01-05T04:41:08.064Z] a0d0a0d46f8b: Download complete [2022-01-05T04:41:08.064Z] 34cad66bf833: Verifying Checksum [2022-01-05T04:41:08.064Z] 34cad66bf833: Download complete [2022-01-05T04:41:08.328Z] b4e3c513aaa6: Verifying Checksum [2022-01-05T04:41:08.328Z] b4e3c513aaa6: Download complete [2022-01-05T04:41:08.593Z] 4527c011a84f: Verifying Checksum [2022-01-05T04:41:08.593Z] 4527c011a84f: Download complete [2022-01-05T04:41:08.593Z] a0d0a0d46f8b: Pull complete [2022-01-05T04:41:08.593Z] 31adcdaf11c8: Pull complete [2022-01-05T04:41:08.858Z] b8b176561691: Pull complete [2022-01-05T04:41:09.189Z] $ docker rm -f d8cc31673ee7b1ec3c1e6125305acc1f4c6a3ede860854d93417c0da2cbf8b13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:41:10.191Z] + docker inspect -f . ci-base-image-arm64 [2022-01-05T04:41:10.191Z] . [Pipeline] withDockerContainer [2022-01-05T04:41:10.430Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-01-05T04:41:10.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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-05T04:41:11.841Z] $ docker top cdce02886ebab35d72a7bb542201ba53fd43be8d323d608cd7cfd90b3a0c120e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:41:12.810Z] + make test [2022-01-05T04:41:12.810Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-05T04:41:13.125Z] 4527c011a84f: Pull complete [2022-01-05T04:41:13.125Z] 5d74067f8e1e: Pull complete [2022-01-05T04:41:13.125Z] e0aca202a116: Pull complete [2022-01-05T04:41:13.125Z] 3a43be97a3b4: Pull complete [2022-01-05T04:41:13.125Z] 34cad66bf833: Pull complete [2022-01-05T04:41:13.415Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-05T04:41:13.415Z] go: downloading github.com/pelletier/go-toml v1.9.3 [2022-01-05T04:41:13.415Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-05T04:41:13.415Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-05T04:41:13.415Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-05T04:41:13.415Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-05T04:41:13.415Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-05T04:41:13.415Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-05T04:41:13.415Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-05T04:41:13.415Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-05T04:41:13.690Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-05T04:41:13.690Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-05T04:41:13.690Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-05T04:41:13.690Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-05T04:41:13.690Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-05T04:41:13.690Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-05T04:41:13.690Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-05T04:41:13.690Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-05T04:41:13.690Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2022-01-05T04:41:13.965Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-05T04:41:13.965Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-05T04:41:13.965Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-05T04:41:15.697Z] b4e3c513aaa6: Pull complete [2022-01-05T04:41:15.697Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-05T04:41:15.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-05T04:41:15.697Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-05T04:41:16.112Z] + 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:41:16.447Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T04:41:16.447Z] . [Pipeline] withDockerContainer [2022-01-05T04:41:16.538Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2022-01-05T04:41:16.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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:41:18.835Z] $ docker top 79c48db019ed02e470e20e64fb72e33f573323950cad494b4a7cb776aaf844a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T04:41:19.268Z] + go version [2022-01-05T04:41:19.268Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-05T04:41:19.305Z] $ docker stop --time=1 79c48db019ed02e470e20e64fb72e33f573323950cad494b4a7cb776aaf844a9 [2022-01-05T04:41:20.494Z] $ docker rm -f 79c48db019ed02e470e20e64fb72e33f573323950cad494b4a7cb776aaf844a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:41:21.215Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-05T04:41:21.215Z] . [Pipeline] withDockerContainer [2022-01-05T04:41:21.318Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2022-01-05T04:41:21.363Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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:41:21.718Z] $ docker top 24334b197afcd7c94e0cbaf5694e06e63aff2f4aa65d9087309e544612ca95f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-05T04:41:22.193Z] + make test [2022-01-05T04:41:22.193Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-05T04:41:22.461Z] go: downloading github.com/pelletier/go-toml v1.9.3 [2022-01-05T04:41:22.461Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-05T04:41:22.461Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-05T04:41:22.461Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-05T04:41:22.461Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-05T04:41:22.461Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-05T04:41:22.461Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c [2022-01-05T04:41:22.461Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-05T04:41:22.461Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-05T04:41:22.461Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-05T04:41:22.461Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-05T04:41:22.461Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-05T04:41:22.723Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-05T04:41:22.723Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-05T04:41:22.723Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-05T04:41:22.723Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-05T04:41:22.723Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-05T04:41:22.723Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-05T04:41:22.723Z] go: downloading golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae [2022-01-05T04:41:22.723Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-05T04:41:22.723Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-05T04:41:22.723Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-05T04:41:32.789Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.012s coverage: 85.7% of statements [2022-01-05T04:41:40.977Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.553s coverage: 88.3% of statements [2022-01-05T04:41:40.977Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.004s coverage: 100.0% of statements [2022-01-05T04:41:46.341Z] ok github.com/edgexfoundry/go-mod-configuration/v2/configuration 0.015s coverage: 85.7% of statements [2022-01-05T04:41:49.225Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-05T04:41:51.735Z] ok github.com/edgexfoundry/go-mod-configuration/v2/internal/pkg/consul 6.706s coverage: 88.3% of statements [2022-01-05T04:41:51.735Z] ok github.com/edgexfoundry/go-mod-configuration/v2/pkg/types 0.013s coverage: 100.0% of statements [2022-01-05T04:41:51.735Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-05T04:41:51.735Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-05T04:41:53.469Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T04:41:53.469Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-05T04:41:53.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T04:41:53.544Z] $ docker stop --time=1 24334b197afcd7c94e0cbaf5694e06e63aff2f4aa65d9087309e544612ca95f7 [2022-01-05T04:41:54.966Z] $ docker rm -f 24334b197afcd7c94e0cbaf5694e06e63aff2f4aa65d9087309e544612ca95f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:41:55.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T04:41:55.700Z] 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:41:56.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:41:56.724Z] [2022-01-05T04:41:56.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:41:57.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:41:57.070Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T04:41:57.070Z] b4d181a07f80: Pulling fs layer [2022-01-05T04:41:57.070Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T04:41:57.070Z] ed53099fbce6: Pulling fs layer [2022-01-05T04:41:57.070Z] dc539afda2c1: Pulling fs layer [2022-01-05T04:41:57.070Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T04:41:57.070Z] 9065ff56babe: Pulling fs layer [2022-01-05T04:41:57.070Z] d287ab97295c: Pulling fs layer [2022-01-05T04:41:57.070Z] dc539afda2c1: Waiting [2022-01-05T04:41:57.070Z] 77bc0d833cb6: Waiting [2022-01-05T04:41:57.070Z] 9065ff56babe: Waiting [2022-01-05T04:41:57.070Z] d287ab97295c: Waiting [2022-01-05T04:41:57.070Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T04:41:57.070Z] a1111a8f2ec3: Download complete [2022-01-05T04:41:57.070Z] dc539afda2c1: Verifying Checksum [2022-01-05T04:41:57.070Z] dc539afda2c1: Download complete [2022-01-05T04:41:57.070Z] ed53099fbce6: Verifying Checksum [2022-01-05T04:41:57.070Z] ed53099fbce6: Download complete [2022-01-05T04:41:57.334Z] 9065ff56babe: Verifying Checksum [2022-01-05T04:41:57.334Z] 9065ff56babe: Download complete [2022-01-05T04:41:57.334Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T04:41:57.334Z] 77bc0d833cb6: Download complete [2022-01-05T04:41:57.334Z] b4d181a07f80: Verifying Checksum [2022-01-05T04:41:57.334Z] b4d181a07f80: Download complete [2022-01-05T04:41:57.909Z] d287ab97295c: Download complete [2022-01-05T04:41:58.859Z] b4d181a07f80: Pull complete [2022-01-05T04:41:58.859Z] a1111a8f2ec3: Pull complete [2022-01-05T04:41:59.448Z] ed53099fbce6: Pull complete [2022-01-05T04:41:59.448Z] dc539afda2c1: Pull complete [2022-01-05T04:41:59.715Z] 77bc0d833cb6: Pull complete [2022-01-05T04:41:59.983Z] 9065ff56babe: Pull complete [2022-01-05T04:42:05.323Z] d287ab97295c: Pull complete [2022-01-05T04:42:05.323Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T04:42:05.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:42:05.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T04:42:05.422Z] prd-centos7-docker-4c-2g-747 does not seem to be running inside a container [2022-01-05T04:42:05.457Z] $ 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-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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:42:07.766Z] $ docker top 46703baaacea07e37c06435de109ed30d134959cb3935ed5dd59856d24df79de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:42:08.301Z] ---> job-cost.sh [2022-01-05T04:42:08.301Z] lf-activate-venv: SKIPPING [2022-01-05T04:42:08.301Z] INFO: No Stack... [2022-01-05T04:42:08.563Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T04:42:09.134Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T04:42:09.461Z] + cut -d, -f6 [2022-01-05T04:42:09.461Z] + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [Pipeline] lock [2022-01-05T04:42:09.532Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [2022-01-05T04:42:09.537Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] did not exist. Created. [2022-01-05T04:42:09.537Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T04:42:09.953Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-05T04:42:10.010Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T04:42:10.043Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T04:42:10.141Z] $ docker stop --time=1 46703baaacea07e37c06435de109ed30d134959cb3935ed5dd59856d24df79de [2022-01-05T04:42:11.269Z] $ docker rm -f 46703baaacea07e37c06435de109ed30d134959cb3935ed5dd59856d24df79de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-05T04:42:13.906Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-05T04:42:13.906Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-05T04:42:13.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-05T04:42:13.975Z] $ docker stop --time=1 cdce02886ebab35d72a7bb542201ba53fd43be8d323d608cd7cfd90b3a0c120e [2022-01-05T04:42:15.631Z] $ docker rm -f cdce02886ebab35d72a7bb542201ba53fd43be8d323d608cd7cfd90b3a0c120e [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-05T04:42:16.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-05T04:42:16.660Z] Warning: overwriting stash ‘coverage-report’ [2022-01-05T04:42:17.103Z] 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:42:17.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:42:17.907Z] [2022-01-05T04:42:17.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:42:18.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:42:18.285Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-05T04:42:18.285Z] 448f6bf000e3: Pulling fs layer [2022-01-05T04:42:18.285Z] f757da607395: Pulling fs layer [2022-01-05T04:42:18.285Z] 05883995daec: Pulling fs layer [2022-01-05T04:42:18.285Z] 8603b9c90790: Pulling fs layer [2022-01-05T04:42:18.285Z] 1560dd03e051: Pulling fs layer [2022-01-05T04:42:18.285Z] 27f5ce0e4adf: Pulling fs layer [2022-01-05T04:42:18.285Z] c2d8d7efcc4b: Pulling fs layer [2022-01-05T04:42:18.285Z] 8603b9c90790: Waiting [2022-01-05T04:42:18.285Z] 1560dd03e051: Waiting [2022-01-05T04:42:18.285Z] c2d8d7efcc4b: Waiting [2022-01-05T04:42:18.285Z] 27f5ce0e4adf: Waiting [2022-01-05T04:42:18.557Z] f757da607395: Verifying Checksum [2022-01-05T04:42:18.557Z] f757da607395: Download complete [2022-01-05T04:42:18.557Z] 8603b9c90790: Verifying Checksum [2022-01-05T04:42:18.557Z] 8603b9c90790: Download complete [2022-01-05T04:42:18.557Z] 1560dd03e051: Verifying Checksum [2022-01-05T04:42:18.557Z] 1560dd03e051: Download complete [2022-01-05T04:42:18.557Z] 27f5ce0e4adf: Verifying Checksum [2022-01-05T04:42:18.557Z] 27f5ce0e4adf: Download complete [2022-01-05T04:42:18.557Z] 05883995daec: Verifying Checksum [2022-01-05T04:42:18.557Z] 05883995daec: Download complete [2022-01-05T04:42:18.830Z] 448f6bf000e3: Verifying Checksum [2022-01-05T04:42:18.830Z] 448f6bf000e3: Download complete [2022-01-05T04:42:21.468Z] c2d8d7efcc4b: Verifying Checksum [2022-01-05T04:42:21.468Z] c2d8d7efcc4b: Download complete [2022-01-05T04:42:22.914Z] 448f6bf000e3: Pull complete [2022-01-05T04:42:23.185Z] f757da607395: Pull complete [2022-01-05T04:42:24.636Z] 05883995daec: Pull complete [2022-01-05T04:42:24.911Z] 8603b9c90790: Pull complete [2022-01-05T04:42:25.892Z] 1560dd03e051: Pull complete [2022-01-05T04:42:26.165Z] 27f5ce0e4adf: Pull complete [2022-01-05T04:42:41.274Z] c2d8d7efcc4b: Pull complete [2022-01-05T04:42:41.274Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-05T04:42:41.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-05T04:42:41.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-05T04:42:41.522Z] prd-ubuntu18.04-docker-arm64-4c-16g-746 does not seem to be running inside a container [2022-01-05T04:42:41.603Z] $ 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-configuration/1 -v /w/workspace/go-mod-configuration/1:/w/workspace/go-mod-configuration/1:rw,z -v /w/workspace/go-mod-configuration/1@tmp:/w/workspace/go-mod-configuration/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-05T04:42:44.121Z] $ docker top eb9685edf0743e6d710d97385908f0769640b5ace2ef36ee4c028adec6c6034b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:42:45.112Z] ---> job-cost.sh [2022-01-05T04:42:45.113Z] lf-activate-venv: SKIPPING [2022-01-05T04:42:45.113Z] INFO: No Stack... [2022-01-05T04:42:45.383Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-05T04:42:45.656Z] INFO: Archiving Costs [Pipeline] sh [2022-01-05T04:42:46.340Z] + cat /w/workspace/go-mod-configuration/1/archives/cost.csv [2022-01-05T04:42:46.340Z] + cut -d, -f6 [Pipeline] lock [2022-01-05T04:42:46.429Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [2022-01-05T04:42:46.435Z] Resource [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] did not exist. Created. [2022-01-05T04:42:46.435Z] Lock acquired on [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-05T04:42:47.239Z] /w/workspace/go-mod-configuration/1@tmp/durable-f8ed3d54/script.sh: 1: /w/workspace/go-mod-configuration/1@tmp/durable-f8ed3d54/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-05T04:42:47.974Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-05T04:42:48.016Z] Warning: overwriting stash ‘stack-cost’ [2022-01-05T04:42:48.105Z] Stashed 1 file(s) [Pipeline] } [2022-01-05T04:42:48.122Z] Lock released on resource [jenkins-edgexfoundry-go-mod-configuration-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-05T04:42:48.208Z] $ docker stop --time=1 eb9685edf0743e6d710d97385908f0769640b5ace2ef36ee4c028adec6c6034b [2022-01-05T04:42:49.753Z] $ docker rm -f eb9685edf0743e6d710d97385908f0769640b5ace2ef36ee4c028adec6c6034b [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:42:50.872Z] provisioning config files... [2022-01-05T04:42:50.886Z] copy managed file [go-mod-configuration-codecov-token] to file:/w/workspace/undry_go-mod-configuration_PR-57@tmp/config4508779938942325607tmp [Pipeline] { [Pipeline] sh [2022-01-05T04:42:51.234Z] + set +x [2022-01-05T04:42:51.235Z] + curl -s https://codecov.io/bash [2022-01-05T04:42:51.235Z] + bash -s -- [2022-01-05T04:42:51.235Z] [2022-01-05T04:42:51.235Z] _____ _ [2022-01-05T04:42:51.235Z] / ____| | | [2022-01-05T04:42:51.235Z] | | ___ __| | ___ ___ _____ __ [2022-01-05T04:42:51.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-05T04:42:51.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-05T04:42:51.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-05T04:42:51.235Z] Bash-1.0.6 [2022-01-05T04:42:51.235Z] [2022-01-05T04:42:51.235Z] [2022-01-05T04:42:51.235Z] ==> git version 2.24.4 found [2022-01-05T04:42:51.235Z] ==> 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:42:51.235Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-05T04:42:51.235Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-05T04:42:51.235Z] ==> Jenkins CI detected. [2022-01-05T04:42:51.235Z] current dir:  /w/workspace/undry_go-mod-configuration_PR-57 [2022-01-05T04:42:51.235Z] project root: . [2022-01-05T04:42:51.235Z] --> token set from env [2022-01-05T04:42:51.235Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-05T04:42:51.502Z] ==> Running gcov in . (disable via -X gcov) [2022-01-05T04:42:51.502Z] ==> Python coveragepy not found [2022-01-05T04:42:51.502Z] ==> Searching for coverage reports in: [2022-01-05T04:42:51.502Z] + . [2022-01-05T04:42:51.502Z] -> Found 1 reports [2022-01-05T04:42:51.502Z] ==> Detecting git/mercurial file structure [2022-01-05T04:42:51.502Z] ==> Reading reports [2022-01-05T04:42:51.502Z] + ./coverage.out bytes=17231 [2022-01-05T04:42:51.502Z] ==> Appending adjustments [2022-01-05T04:42:51.502Z] https://docs.codecov.io/docs/fixing-reports [2022-01-05T04:42:51.502Z] + Found adjustments [2022-01-05T04:42:51.502Z] ==> Gzipping contents [2022-01-05T04:42:51.502Z] 4.0K /tmp/codecov.Z57JAg.gz [2022-01-05T04:42:51.502Z] ==> Uploading reports [2022-01-05T04:42:51.502Z] url: https://codecov.io [2022-01-05T04:42:51.502Z] query: branch=PR-57&commit=223f8926678812895c4a7c96189490d75c0188cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=57&job=&cmd_args= [2022-01-05T04:42:51.502Z] -> Pinging Codecov [2022-01-05T04:42:51.502Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=b03387cf-fbed-45a6-9f6b-56101d2ea1b2&branch=PR-57&commit=223f8926678812895c4a7c96189490d75c0188cd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-configuration%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-configuration&service=jenkins&flags=&pr=57&job=&cmd_args= [2022-01-05T04:42:51.763Z] -> Uploading to [2022-01-05T04:42:51.763Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-05/9F92B070CA9CA35F4914AC8684776953/223f8926678812895c4a7c96189490d75c0188cd/b0b091bb-c24f-4ee2-bdbd-22828abd34eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220105T044251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8a16ecf6aae92ff8de381f6da68c45497e2af006c3df10b7b81ddb12b34969e [2022-01-05T04:42:51.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-05T04:42:51.763Z] Dload Upload Total Spent Left Speed [2022-01-05T04:42:52.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2955 0 0 100 2955 0 8614 --:--:-- --:--:-- --:--:-- 8640 [2022-01-05T04:42:52.336Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-configuration/commit/223f8926678812895c4a7c96189490d75c0188cd [Pipeline] } [2022-01-05T04:42:52.368Z] 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:42:54.348Z] + '[' -d /w/workspace/undry_go-mod-configuration_PR-57/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:42:54.686Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:42:55.286Z] ---> package-listing.sh [2022-01-05T04:42:55.286Z] ++ facter osfamily [2022-01-05T04:42:55.286Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-05T04:42:55.552Z] + OS_FAMILY=redhat [2022-01-05T04:42:55.552Z] + workspace=/w/workspace/undry_go-mod-configuration_PR-57 [2022-01-05T04:42:55.552Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-05T04:42:55.552Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-05T04:42:55.552Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-05T04:42:55.552Z] + PACKAGES=/tmp/packages_start.txt [2022-01-05T04:42:55.552Z] + '[' /w/workspace/undry_go-mod-configuration_PR-57 ']' [2022-01-05T04:42:55.552Z] + PACKAGES=/tmp/packages_end.txt [2022-01-05T04:42:55.552Z] + case "${OS_FAMILY}" in [2022-01-05T04:42:55.552Z] + sort [2022-01-05T04:42:55.552Z] + rpm -qa [2022-01-05T04:42:56.125Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-05T04:42:56.125Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-05T04:42:56.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-05T04:42:56.125Z] + '[' /w/workspace/undry_go-mod-configuration_PR-57 ']' [2022-01-05T04:42:56.125Z] + mkdir -p /w/workspace/undry_go-mod-configuration_PR-57/archives/ [2022-01-05T04:42:56.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_go-mod-configuration_PR-57/archives/ [Pipeline] echo [2022-01-05T04:42:56.168Z] 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/undry_go-mod-configuration_PR-57/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:42:56.469Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:42:57.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:42:57.058Z] [2022-01-05T04:42:57.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-05T04:42:57.406Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:42:57.406Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-05T04:42:57.406Z] b4d181a07f80: Pulling fs layer [2022-01-05T04:42:57.406Z] a1111a8f2ec3: Pulling fs layer [2022-01-05T04:42:57.406Z] ed53099fbce6: Pulling fs layer [2022-01-05T04:42:57.406Z] dc539afda2c1: Pulling fs layer [2022-01-05T04:42:57.406Z] 77bc0d833cb6: Pulling fs layer [2022-01-05T04:42:57.406Z] 9065ff56babe: Pulling fs layer [2022-01-05T04:42:57.406Z] d287ab97295c: Pulling fs layer [2022-01-05T04:42:57.406Z] dc539afda2c1: Waiting [2022-01-05T04:42:57.406Z] 77bc0d833cb6: Waiting [2022-01-05T04:42:57.406Z] 9065ff56babe: Waiting [2022-01-05T04:42:57.406Z] d287ab97295c: Waiting [2022-01-05T04:42:57.406Z] a1111a8f2ec3: Verifying Checksum [2022-01-05T04:42:57.406Z] a1111a8f2ec3: Download complete [2022-01-05T04:42:57.406Z] dc539afda2c1: Verifying Checksum [2022-01-05T04:42:57.406Z] dc539afda2c1: Download complete [2022-01-05T04:42:57.406Z] ed53099fbce6: Verifying Checksum [2022-01-05T04:42:57.406Z] ed53099fbce6: Download complete [2022-01-05T04:42:57.406Z] 77bc0d833cb6: Verifying Checksum [2022-01-05T04:42:57.406Z] 77bc0d833cb6: Download complete [2022-01-05T04:42:57.406Z] 9065ff56babe: Verifying Checksum [2022-01-05T04:42:57.406Z] 9065ff56babe: Download complete [2022-01-05T04:42:57.674Z] b4d181a07f80: Verifying Checksum [2022-01-05T04:42:57.674Z] b4d181a07f80: Download complete [2022-01-05T04:42:58.263Z] d287ab97295c: Verifying Checksum [2022-01-05T04:42:58.263Z] d287ab97295c: Download complete [2022-01-05T04:42:59.205Z] b4d181a07f80: Pull complete [2022-01-05T04:42:59.205Z] a1111a8f2ec3: Pull complete [2022-01-05T04:42:59.789Z] ed53099fbce6: Pull complete [2022-01-05T04:42:59.789Z] dc539afda2c1: Pull complete [2022-01-05T04:43:00.058Z] 77bc0d833cb6: Pull complete [2022-01-05T04:43:00.329Z] 9065ff56babe: Pull complete [2022-01-05T04:43:05.648Z] d287ab97295c: Pull complete [2022-01-05T04:43:05.648Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-05T04:43:05.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-05T04:43:05.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-05T04:43:05.749Z] prd-centos7-docker-4c-2g-745 does not seem to be running inside a container [2022-01-05T04:43:05.783Z] $ 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/undry_go-mod-configuration_PR-57/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_go-mod-configuration_PR-57 -v /w/workspace/undry_go-mod-configuration_PR-57:/w/workspace/undry_go-mod-configuration_PR-57:rw,z -v /w/workspace/undry_go-mod-configuration_PR-57@tmp:/w/workspace/undry_go-mod-configuration_PR-57@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:43:07.919Z] $ docker top c7c36ddd521476085f53bcc9704a0de9a717155d03439a2e937a8f81f69bf319 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-05T04:43:08.343Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-05T04:43:08.682Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-05T04:43:09.009Z] + ls /var/log/sa-host [2022-01-05T04:43:09.009Z] + sadf -c /var/log/sa-host/sa05 [2022-01-05T04:43:09.009Z] file_magic: OK [2022-01-05T04:43:09.009Z] HZ: Using current value: 100 [2022-01-05T04:43:09.009Z] file_header: OK [2022-01-05T04:43:09.009Z] 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:43:09.009Z] Statistics: [2022-01-05T04:43:09.009Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T04:43:09.009Z] File successfully converted to sysstat format version 12.0.3 [2022-01-05T04:43:09.009Z] + sadf -c /var/log/sa-host/sa17 [2022-01-05T04:43:09.009Z] file_magic: OK [2022-01-05T04:43:09.009Z] HZ: Using current value: 100 [2022-01-05T04:43:09.009Z] file_header: OK [2022-01-05T04:43:09.009Z] 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:43:09.009Z] Statistics: [2022-01-05T04:43:09.009Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-05T04:43:09.009Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-05T04:43:09.384Z] provisioning config files... [2022-01-05T04:43:09.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_go-mod-configuration_PR-57@tmp/config6901459010585478318tmp [Pipeline] { [Pipeline] echo [2022-01-05T04:43:09.452Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:43:09.774Z] ---> create-netrc.sh [Pipeline] } [2022-01-05T04:43:09.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:43:10.234Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-05T04:43:10.270Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:43:10.599Z] ---> sudo-logs.sh [2022-01-05T04:43:10.599Z] Archiving 'sudo' log.. [2022-01-05T04:43:10.599Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-745.novalocal: Name or service not known [2022-01-05T04:43:10.599Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-745.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-05T04:43:10.682Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:43:11.019Z] ---> job-cost.sh [2022-01-05T04:43:11.019Z] lf-activate-venv: SKIPPING [2022-01-05T04:43:11.019Z] DEBUG: total: 0.10999999940395355 [2022-01-05T04:43:11.019Z] INFO: Retrieving Stack Cost... [2022-01-05T04:43:11.281Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-05T04:43:11.853Z] INFO: Archiving Costs [Pipeline] echo [2022-01-05T04:43:11.892Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-05T04:43:12.220Z] ---> logs-deploy.sh [2022-01-05T04:43:12.220Z] lf-activate-venv: SKIPPING [2022-01-05T04:43:12.220Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-configuration/PR-57/1 [2022-01-05T04:43:12.220Z] INFO: archiving workspace using pattern(s): [2022-01-05T04:43:13.164Z] Archives upload complete. [2022-01-05T04:43:13.164Z] INFO: archiving logs to Nexus