Pull request #302 updated 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 marcpfuller for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at 9fdf17bc37db5cd019d38260d30dde4ed036659d rather than ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 Obtained Jenkinsfile from 9fdf17bc37db5cd019d38260d30dde4ed036659d 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-ssh7006259255526617991.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-ssh12541497159574336066.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-302/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-302/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10802761900994928074.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 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-ssh12889761184868099770.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-302/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-302/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7835751248924007507.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-bootstrap, 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-bootstrap-settings PROJECT: go-mod-bootstrap 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-bootstrap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-947 in /w/workspace/xfoundry_go-mod-bootstrap_PR-302 [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-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-302 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/jenkins-gitclient-ssh2105329025221718212.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9fdf17bc37db5cd019d38260d30dde4ed036659d into PR head commit ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 Merge succeeded, producing ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 Checking out Revision ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 (PR-302) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.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-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/jenkins-gitclient-ssh4231861600261666157.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/jenkins-gitclient-ssh7480053807155624365.key > git merge 9fdf17bc37db5cd019d38260d30dde4ed036659d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 Commit message: "feat: added lint to makefile as well as resolved all errors reprted by lint" First time build. Skipping changelog. > git rev-list --no-walk 204a2cc3bcb38bbd24374349c9a4db1fcfa7d03b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-07T00:37:20.682Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-07T00:37:20.727Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-07T00:37:20.744Z] ========================================================= [2022-01-07T00:37:20.744Z] EdgeX Global Pipelines Version Info [2022-01-07T00:37:20.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:37:21.864Z] ------------------- [2022-01-07T00:37:21.864Z] stable info: [2022-01-07T00:37:21.864Z] ------------------- [2022-01-07T00:37:21.864Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-07T00:37:21.864Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-07T00:37:21.864Z] Message: update stable to v1.0.217 [2022-01-07T00:37:22.436Z] ------------------- [2022-01-07T00:37:22.436Z] experimental info: [2022-01-07T00:37:22.436Z] ------------------- [2022-01-07T00:37:22.437Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-07T00:37:22.437Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-07T00:37:22.437Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-07T00:37:22.565Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2022-01-07T00:37:22.581Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2022-01-07T00:37:22.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-07T00:37:22.604Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-07T00:37:22.617Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-07T00:37:22.629Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-07T00:37:22.641Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-07T00:37:22.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-07T00:37:22.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-07T00:37:22.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-07T00:37:22.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-07T00:37:22.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo [2022-01-07T00:37:22.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-07T00:37:22.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-07T00:37:22.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-01-07T00:37:22.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-07T00:37:22.791Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-07T00:37:22.804Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-07T00:37:22.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-07T00:37:22.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-07T00:37:22.847Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-07T00:37:22.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-07T00:37:22.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-07T00:37:22.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-07T00:37:22.903Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-01-07T00:37:22.921Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-07T00:37:22.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2022-01-07T00:37:22.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2022-01-07T00:37:22.964Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2022-01-07T00:37:22.978Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [Pipeline] echo [2022-01-07T00:37:22.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec8edae [Pipeline] echo [2022-01-07T00:37:23.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-07T00:37:23.357Z] + git rev-list -1 --merges ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9~1..ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [Pipeline] echo [2022-01-07T00:37:23.394Z] -----------> git rev-list -1 --merges ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9~1..ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [false] [Pipeline] sh [2022-01-07T00:37:23.692Z] + git log --format=format:%s -1 ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [Pipeline] echo [2022-01-07T00:37:23.708Z] ========================================================= [2022-01-07T00:37:23.708Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-07T00:37:23.708Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-07T00:37:24.051Z] + git log --format=format:%s -1 ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [Pipeline] echo [2022-01-07T00:37:24.068Z] [semverPrep] GIT_COMMIT: ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9, Commit Message: feat: added lint to makefile as well as resolved all errors reprted by lint [Pipeline] echo [2022-01-07T00:37:24.077Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-07T00:37:24.474Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-07T00:37:24.474Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-07T00:37:24.474Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-07T00:37:24.474Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-07T00:37:24.474Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-07T00:37:24.474Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-07T00:37:24.474Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:37:24.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-07T00:37:24.842Z] [2022-01-07T00:37:24.842Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:37:25.160Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-07T00:37:25.160Z] latest: Pulling from edgex-devops/git-semver [2022-01-07T00:37:25.160Z] a0d0a0d46f8b: Pulling fs layer [2022-01-07T00:37:25.160Z] 3e5f54012d9b: Pulling fs layer [2022-01-07T00:37:25.160Z] 4c7163046ea9: Pulling fs layer [2022-01-07T00:37:25.160Z] 0c2d73faf560: Pulling fs layer [2022-01-07T00:37:25.160Z] 0c2d73faf560: Waiting [2022-01-07T00:37:25.160Z] 3e5f54012d9b: Verifying Checksum [2022-01-07T00:37:25.160Z] 3e5f54012d9b: Download complete [2022-01-07T00:37:25.160Z] a0d0a0d46f8b: Verifying Checksum [2022-01-07T00:37:25.160Z] a0d0a0d46f8b: Download complete [2022-01-07T00:37:25.160Z] 0c2d73faf560: Verifying Checksum [2022-01-07T00:37:25.160Z] 0c2d73faf560: Download complete [2022-01-07T00:37:25.430Z] 4c7163046ea9: Verifying Checksum [2022-01-07T00:37:25.430Z] 4c7163046ea9: Download complete [2022-01-07T00:37:25.430Z] a0d0a0d46f8b: Pull complete [2022-01-07T00:37:25.430Z] 3e5f54012d9b: Pull complete [2022-01-07T00:37:25.697Z] 4c7163046ea9: Pull complete [2022-01-07T00:37:25.959Z] 0c2d73faf560: Pull complete [2022-01-07T00:37:25.959Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-07T00:37:25.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-07T00:37:25.959Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-07T00:37:26.036Z] prd-centos7-docker-4c-2g-947 does not seem to be running inside a container [2022-01-07T00:37:26.093Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-302 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302:/w/workspace/xfoundry_go-mod-bootstrap_PR-302:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-07T00:37:26.832Z] $ docker top bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-07T00:37:26.937Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-07T00:37:26.937Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-07T00:37:27.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-07T00:37:27.046Z] $ docker exec bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d ssh-agent [2022-01-07T00:37:27.157Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMJaDBe/agent.13 [2022-01-07T00:37:27.157Z] SSH_AGENT_PID=19 [2022-01-07T00:37:27.164Z] Running ssh-add (command line suppressed) [2022-01-07T00:37:27.250Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/private_key_4090847199882569952.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/private_key_4090847199882569952.key) [2022-01-07T00:37:27.266Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-07T00:37:27.564Z] + git tag --points-at HEAD [Pipeline] } [2022-01-07T00:37:27.577Z] $ docker exec --env ******** --env ******** bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d ssh-agent -k [2022-01-07T00:37:27.666Z] unset SSH_AUTH_SOCK; [2022-01-07T00:37:27.667Z] unset SSH_AGENT_PID; [2022-01-07T00:37:27.667Z] echo Agent pid 19 killed; [2022-01-07T00:37:27.680Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-07T00:37:27.710Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-07T00:37:27.710Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-07T00:37:27.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-07T00:37:27.820Z] $ docker exec bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d ssh-agent [2022-01-07T00:37:27.919Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbokDjL/agent.53 [2022-01-07T00:37:27.919Z] SSH_AGENT_PID=59 [2022-01-07T00:37:27.925Z] Running ssh-add (command line suppressed) [2022-01-07T00:37:28.013Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/private_key_9003895162011320152.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/private_key_9003895162011320152.key) [2022-01-07T00:37:28.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-07T00:37:28.329Z] + git semver init [2022-01-07T00:37:28.329Z] # -> Open(): unable to determine branch for HEAD [2022-01-07T00:37:28.329Z] # $GIT_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-302/.git [2022-01-07T00:37:28.329Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_go-mod-bootstrap_PR-302 [2022-01-07T00:37:28.329Z] # $SEMVER_REMOTE_NAME = origin [2022-01-07T00:37:28.329Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-07T00:37:28.329Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-07T00:37:28.329Z] # $SEMVER_BRANCH = PR-302 [2022-01-07T00:37:28.329Z] # $SEMVER_TEMP = /tmp/semver-368711346 [2022-01-07T00:37:28.329Z] # git clone --branch semver git@github.com:edgexfoundry/go-mod-bootstrap.git $SEMVER_TEMP [2022-01-07T00:37:29.296Z] # '/tmp/semver-368711346' -> '/w/workspace/xfoundry_go-mod-bootstrap_PR-302/.semver' [2022-01-07T00:37:29.296Z] # -> Force: false [2022-01-07T00:37:29.296Z] # $SEMVER_DIR = /w/workspace/xfoundry_go-mod-bootstrap_PR-302/.semver [Pipeline] } [2022-01-07T00:37:29.305Z] $ docker exec --env ******** --env ******** bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d ssh-agent -k [2022-01-07T00:37:29.406Z] unset SSH_AUTH_SOCK; [2022-01-07T00:37:29.406Z] unset SSH_AGENT_PID; [2022-01-07T00:37:29.406Z] echo Agent pid 59 killed; [2022-01-07T00:37:29.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-07T00:37:29.740Z] + git semver [Pipeline] } [2022-01-07T00:37:29.754Z] $ docker stop --time=1 bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d [2022-01-07T00:37:31.001Z] $ docker rm -f bf2eac006ffd9920b4a30323e6d9f8c0ac1976c34341cd5b9c470078837e693d [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-07T00:37:31.351Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-07T00:37:31.591Z] Stashed 1 file(s) [Pipeline] echo [2022-01-07T00:37:31.595Z] [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-07T00:37:46.687Z] Still waiting to schedule task [2022-01-07T00:37:46.688Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-07T00:37:46.689Z] Still waiting to schedule task [2022-01-07T00:37:46.689Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-07T00:39:33.312Z] Running on prd-centos7-docker-4c-2g-948 in /w/workspace/xfoundry_go-mod-bootstrap_PR-302 [Pipeline] { [Pipeline] ws [2022-01-07T00:39:33.326Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2022-01-07T00:39:33.424Z] Selected Git installation does not exist. Using Default [2022-01-07T00:39:33.424Z] The recommended git tool is: NONE [2022-01-07T00:39:35.009Z] using credential edgex-jenkins-ssh [2022-01-07T00:39:35.020Z] Cloning the remote Git repository [2022-01-07T00:39:34.718Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:39:34.751Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2022-01-07T00:39:34.775Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:39:34.776Z] > git --version # timeout=10 [2022-01-07T00:39:34.781Z] > git --version # 'git version 2.24.4' [2022-01-07T00:39:34.782Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:39:34.803Z] [INFO] Currently running in a labeled security context [2022-01-07T00:39:34.804Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-07T00:39:34.804Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-bootstrap/2@tmp/jenkins-gitclient-ssh3845028249966740028.key [2022-01-07T00:39:34.869Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-07T00:39:36.478Z] Merging remotes/origin/main commit 9fdf17bc37db5cd019d38260d30dde4ed036659d into PR head commit ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [2022-01-07T00:39:36.584Z] Merge succeeded, producing ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [2022-01-07T00:39:36.585Z] Checking out Revision ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 (PR-302) [2022-01-07T00:39:35.617Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-01-07T00:39:35.631Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-07T00:39:35.647Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-01-07T00:39:35.663Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:39:35.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:39:35.665Z] [INFO] Currently running in a labeled security context [2022-01-07T00:39:35.665Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-07T00:39:35.665Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-bootstrap/2@tmp/jenkins-gitclient-ssh1020282718103203442.key [2022-01-07T00:39:35.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-07T00:39:36.168Z] > git config core.sparsecheckout # timeout=10 [2022-01-07T00:39:36.175Z] > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 [2022-01-07T00:39:36.208Z] > git remote # timeout=10 [2022-01-07T00:39:36.216Z] > git config --get remote.origin.url # timeout=10 [2022-01-07T00:39:36.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:39:36.227Z] [INFO] Currently running in a labeled security context [2022-01-07T00:39:36.227Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-07T00:39:36.227Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/go-mod-bootstrap/2@tmp/jenkins-gitclient-ssh8726890967783998019.key [2022-01-07T00:39:36.234Z] > git merge 9fdf17bc37db5cd019d38260d30dde4ed036659d # timeout=10 [2022-01-07T00:39:36.247Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-07T00:39:36.270Z] > git config core.sparsecheckout # timeout=10 [2022-01-07T00:39:36.277Z] > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 [2022-01-07T00:39:40.103Z] Commit message: "feat: added lint to makefile as well as resolved all errors reprted by lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-01-07T00:39:40.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-07T00:39:40.526Z] ========================================================= [2022-01-07T00:39:40.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-07T00:39:40.526Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-07T00:39:40.897Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-07T00:39:40.897Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-07T00:39:40.897Z] a0d0a0d46f8b: Pulling fs layer [2022-01-07T00:39:40.897Z] 31adcdaf11c8: Pulling fs layer [2022-01-07T00:39:40.897Z] b8b176561691: Pulling fs layer [2022-01-07T00:39:40.897Z] 4527c011a84f: Pulling fs layer [2022-01-07T00:39:40.897Z] 5d74067f8e1e: Pulling fs layer [2022-01-07T00:39:40.897Z] e0aca202a116: Pulling fs layer [2022-01-07T00:39:40.897Z] 3a43be97a3b4: Pulling fs layer [2022-01-07T00:39:40.897Z] 34cad66bf833: Pulling fs layer [2022-01-07T00:39:40.897Z] b4e3c513aaa6: Pulling fs layer [2022-01-07T00:39:40.897Z] 4527c011a84f: Waiting [2022-01-07T00:39:40.897Z] 5d74067f8e1e: Waiting [2022-01-07T00:39:40.897Z] e0aca202a116: Waiting [2022-01-07T00:39:40.897Z] 3a43be97a3b4: Waiting [2022-01-07T00:39:40.897Z] 34cad66bf833: Waiting [2022-01-07T00:39:40.897Z] b4e3c513aaa6: Waiting [2022-01-07T00:39:40.898Z] b8b176561691: Verifying Checksum [2022-01-07T00:39:40.898Z] b8b176561691: Download complete [2022-01-07T00:39:40.898Z] 31adcdaf11c8: Verifying Checksum [2022-01-07T00:39:40.898Z] 31adcdaf11c8: Download complete [2022-01-07T00:39:40.898Z] 5d74067f8e1e: Verifying Checksum [2022-01-07T00:39:40.898Z] 5d74067f8e1e: Download complete [2022-01-07T00:39:40.898Z] e0aca202a116: Verifying Checksum [2022-01-07T00:39:40.898Z] e0aca202a116: Download complete [2022-01-07T00:39:40.898Z] 3a43be97a3b4: Verifying Checksum [2022-01-07T00:39:40.898Z] 3a43be97a3b4: Download complete [2022-01-07T00:39:41.167Z] a0d0a0d46f8b: Verifying Checksum [2022-01-07T00:39:41.167Z] a0d0a0d46f8b: Download complete [2022-01-07T00:39:41.167Z] 34cad66bf833: Verifying Checksum [2022-01-07T00:39:41.167Z] 34cad66bf833: Download complete [2022-01-07T00:39:41.438Z] b4e3c513aaa6: Verifying Checksum [2022-01-07T00:39:41.438Z] b4e3c513aaa6: Download complete [2022-01-07T00:39:41.438Z] 4527c011a84f: Verifying Checksum [2022-01-07T00:39:41.438Z] 4527c011a84f: Download complete [2022-01-07T00:39:41.699Z] a0d0a0d46f8b: Pull complete [2022-01-07T00:39:41.699Z] 31adcdaf11c8: Pull complete [2022-01-07T00:39:41.699Z] b8b176561691: Pull complete [2022-01-07T00:39:45.959Z] 4527c011a84f: Pull complete [2022-01-07T00:39:45.959Z] 5d74067f8e1e: Pull complete [2022-01-07T00:39:45.959Z] e0aca202a116: Pull complete [2022-01-07T00:39:45.959Z] 3a43be97a3b4: Pull complete [2022-01-07T00:39:45.959Z] 34cad66bf833: Pull complete [2022-01-07T00:39:48.560Z] b4e3c513aaa6: Pull complete [2022-01-07T00:39:48.560Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-07T00:39:48.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-07T00:39:48.560Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] sh [2022-01-07T00:39:48.940Z] + 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-07T00:39:49.250Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-07T00:39:49.250Z] . [Pipeline] withDockerContainer [2022-01-07T00:39:49.336Z] prd-centos7-docker-4c-2g-948 does not seem to be running inside a container [2022-01-07T00:39:49.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-07T00:39:51.587Z] $ docker top b5c4ba4e7a07b14cf0fba83d7c141af8ea31153ca1981f232f3445c4387f0ee0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-07T00:39:51.953Z] + go version [2022-01-07T00:39:51.953Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-07T00:39:51.963Z] $ docker stop --time=1 b5c4ba4e7a07b14cf0fba83d7c141af8ea31153ca1981f232f3445c4387f0ee0 [2022-01-07T00:39:53.132Z] $ docker rm -f b5c4ba4e7a07b14cf0fba83d7c141af8ea31153ca1981f232f3445c4387f0ee0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:39:53.558Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-07T00:39:53.558Z] . [Pipeline] withDockerContainer [2022-01-07T00:39:53.630Z] prd-centos7-docker-4c-2g-948 does not seem to be running inside a container [2022-01-07T00:39:53.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-07T00:39:54.008Z] $ docker top a4393243a6838336c85a856fc507ae360fe55923e1ef1cbe570bbf2c7f70a102 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-07T00:39:54.385Z] + make test [2022-01-07T00:39:54.385Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-07T00:39:55.775Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-07T00:39:55.775Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-01-07T00:39:55.775Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-07T00:39:55.776Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-07T00:39:55.776Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-07T00:39:55.776Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-07T00:39:55.776Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-07T00:39:56.042Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-07T00:39:56.042Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-07T00:39:56.042Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-07T00:39:56.042Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-07T00:39:56.042Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-07T00:39:56.042Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-07T00:39:56.042Z] go: downloading golang.org/x/text v0.3.6 [2022-01-07T00:39:56.304Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-07T00:39:56.304Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-07T00:39:56.304Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-07T00:39:56.304Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-07T00:39:56.304Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-07T00:39:56.304Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-07T00:39:56.304Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-07T00:39:56.304Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-07T00:39:56.881Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-07T00:39:57.145Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-07T00:39:57.145Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-07T00:39:57.145Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-07T00:39:57.145Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-07T00:39:57.145Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-07T00:39:57.145Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-07T00:39:57.145Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-07T00:39:57.145Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-07T00:40:09.422Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2022-01-07T00:40:09.422Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.009s coverage: 5.1% of statements [2022-01-07T00:40:09.422Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2022-01-07T00:40:09.686Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.006s coverage: 92.2% of statements [2022-01-07T00:40:09.686Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.003s coverage: 85.3% of statements [2022-01-07T00:40:10.267Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.005s coverage: 24.1% of statements [2022-01-07T00:40:10.267Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2022-01-07T00:40:10.542Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2022-01-07T00:40:10.542Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.006s coverage: 100.0% of statements [2022-01-07T00:40:10.807Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.010s coverage: 25.0% of statements [2022-01-07T00:40:15.018Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.013s coverage: 79.7% of statements [2022-01-07T00:40:15.018Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2022-01-07T00:40:15.018Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2022-01-07T00:40:15.018Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.002s coverage: 91.3% of statements [2022-01-07T00:40:27.336Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-07T00:40:32.654Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-07T00:40:32.654Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-07T00:40:32.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-07T00:40:32.690Z] $ docker stop --time=1 a4393243a6838336c85a856fc507ae360fe55923e1ef1cbe570bbf2c7f70a102 [2022-01-07T00:40:34.142Z] $ docker rm -f a4393243a6838336c85a856fc507ae360fe55923e1ef1cbe570bbf2c7f70a102 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-07T00:40:34.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-07T00:40:34.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:40:35.349Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:40:35.349Z] [2022-01-07T00:40:35.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:40:35.656Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:40:35.656Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-07T00:40:35.656Z] b4d181a07f80: Pulling fs layer [2022-01-07T00:40:35.656Z] a1111a8f2ec3: Pulling fs layer [2022-01-07T00:40:35.656Z] ed53099fbce6: Pulling fs layer [2022-01-07T00:40:35.656Z] dc539afda2c1: Pulling fs layer [2022-01-07T00:40:35.656Z] 77bc0d833cb6: Pulling fs layer [2022-01-07T00:40:35.656Z] 9065ff56babe: Pulling fs layer [2022-01-07T00:40:35.656Z] d287ab97295c: Pulling fs layer [2022-01-07T00:40:35.656Z] dc539afda2c1: Waiting [2022-01-07T00:40:35.656Z] 77bc0d833cb6: Waiting [2022-01-07T00:40:35.656Z] 9065ff56babe: Waiting [2022-01-07T00:40:35.656Z] d287ab97295c: Waiting [2022-01-07T00:40:35.656Z] a1111a8f2ec3: Verifying Checksum [2022-01-07T00:40:35.656Z] a1111a8f2ec3: Download complete [2022-01-07T00:40:35.656Z] dc539afda2c1: Verifying Checksum [2022-01-07T00:40:35.656Z] dc539afda2c1: Download complete [2022-01-07T00:40:35.656Z] ed53099fbce6: Verifying Checksum [2022-01-07T00:40:35.656Z] ed53099fbce6: Download complete [2022-01-07T00:40:35.656Z] 9065ff56babe: Verifying Checksum [2022-01-07T00:40:35.656Z] 9065ff56babe: Download complete [2022-01-07T00:40:35.925Z] 77bc0d833cb6: Verifying Checksum [2022-01-07T00:40:35.925Z] 77bc0d833cb6: Download complete [2022-01-07T00:40:35.925Z] b4d181a07f80: Verifying Checksum [2022-01-07T00:40:35.925Z] b4d181a07f80: Download complete [2022-01-07T00:40:36.512Z] d287ab97295c: Verifying Checksum [2022-01-07T00:40:36.512Z] d287ab97295c: Download complete [2022-01-07T00:40:37.464Z] b4d181a07f80: Pull complete [2022-01-07T00:40:37.464Z] a1111a8f2ec3: Pull complete [2022-01-07T00:40:38.037Z] ed53099fbce6: Pull complete [2022-01-07T00:40:38.037Z] dc539afda2c1: Pull complete [2022-01-07T00:40:38.296Z] 77bc0d833cb6: Pull complete [2022-01-07T00:40:38.564Z] 9065ff56babe: Pull complete [2022-01-07T00:40:43.891Z] d287ab97295c: Pull complete [2022-01-07T00:40:43.891Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-07T00:40:43.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:40:43.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-07T00:40:43.950Z] prd-centos7-docker-4c-2g-948 does not seem to be running inside a container [2022-01-07T00:40:43.996Z] $ 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-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-07T00:40:46.214Z] $ docker top b1833de9ecdcdb7f137db0b66e07d43abab79a469a8be5f4a82417738443be70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:40:46.610Z] ---> job-cost.sh [2022-01-07T00:40:46.610Z] lf-activate-venv: SKIPPING [2022-01-07T00:40:46.610Z] INFO: No Stack... [2022-01-07T00:40:46.869Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-07T00:40:47.129Z] INFO: Archiving Costs [Pipeline] sh [2022-01-07T00:40:47.423Z] + cut -d, -f6 [2022-01-07T00:40:47.423Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock [2022-01-07T00:40:47.454Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [2022-01-07T00:40:47.459Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] did not exist. Created. [2022-01-07T00:40:47.459Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-07T00:40:47.763Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-07T00:40:47.794Z] Stashed 1 file(s) [Pipeline] } [2022-01-07T00:40:47.800Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-07T00:40:47.814Z] $ docker stop --time=1 b1833de9ecdcdb7f137db0b66e07d43abab79a469a8be5f4a82417738443be70 [2022-01-07T00:40:48.928Z] $ docker rm -f b1833de9ecdcdb7f137db0b66e07d43abab79a469a8be5f4a82417738443be70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-07T00:41:05.987Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-949 in /w/workspace/xfoundry_go-mod-bootstrap_PR-302 [Pipeline] { [Pipeline] ws [2022-01-07T00:41:06.001Z] Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout [2022-01-07T00:41:06.293Z] Selected Git installation does not exist. Using Default [2022-01-07T00:41:06.293Z] The recommended git tool is: NONE [2022-01-07T00:41:10.771Z] using credential edgex-jenkins-ssh [2022-01-07T00:41:10.788Z] Cloning the remote Git repository [2022-01-07T00:41:10.841Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:41:10.913Z] > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 [2022-01-07T00:41:10.989Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:41:10.990Z] > git --version # timeout=10 [2022-01-07T00:41:11.012Z] > git --version # 'git version 2.17.1' [2022-01-07T00:41:11.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:41:11.178Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-07T00:41:12.320Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-01-07T00:41:12.345Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-07T00:41:12.380Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-01-07T00:41:13.134Z] Merging remotes/origin/main commit 9fdf17bc37db5cd019d38260d30dde4ed036659d into PR head commit ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [2022-01-07T00:41:13.342Z] Merge succeeded, producing ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [2022-01-07T00:41:13.343Z] Checking out Revision ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 (PR-302) [2022-01-07T00:41:12.414Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-01-07T00:41:12.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:41:12.428Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-07T00:41:13.150Z] > git config core.sparsecheckout # timeout=10 [2022-01-07T00:41:13.172Z] > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 [2022-01-07T00:41:13.259Z] > git remote # timeout=10 [2022-01-07T00:41:13.279Z] > git config --get remote.origin.url # timeout=10 [2022-01-07T00:41:13.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-07T00:41:13.301Z] > git merge 9fdf17bc37db5cd019d38260d30dde4ed036659d # timeout=10 [2022-01-07T00:41:13.321Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-07T00:41:13.349Z] > git config core.sparsecheckout # timeout=10 [2022-01-07T00:41:13.359Z] > git checkout -f ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 # timeout=10 [2022-01-07T00:41:17.465Z] Commit message: "feat: added lint to makefile as well as resolved all errors reprted by lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-07T00:41:18.259Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-07T00:41:18.259Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-07T00:41:18.259Z] Dload Upload Total Spent Left Speed [2022-01-07T00:41:18.259Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10506 0 0 59022 0 --:--:-- --:--:-- --:--:-- 58692 100 11843 100 11843 0 0 66162 0 --:--:-- --:--:-- --:--:-- 65794 [Pipeline] sh [2022-01-07T00:41:18.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-07T00:41:19.179Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-07T00:41:19.179Z] + sudo tee /etc/docker/daemon.new [2022-01-07T00:41:19.179Z] { [2022-01-07T00:41:19.179Z] "registry-mirrors": [ [2022-01-07T00:41:19.179Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-07T00:41:19.179Z] ], [2022-01-07T00:41:19.179Z] "bip": "10.250.0.254/24", [2022-01-07T00:41:19.179Z] "hosts": [ [2022-01-07T00:41:19.179Z] "tcp://0.0.0.0:5555", [2022-01-07T00:41:19.179Z] "unix:///var/run/docker.sock" [2022-01-07T00:41:19.179Z] ], [2022-01-07T00:41:19.179Z] "mtu": 1458, [2022-01-07T00:41:19.179Z] "selinux-enabled": true, [2022-01-07T00:41:19.179Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-07T00:41:19.179Z] } [Pipeline] sh [2022-01-07T00:41:19.552Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-07T00:41:19.901Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-01-07T00:41:38.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-07T00:41:38.726Z] ========================================================= [2022-01-07T00:41:38.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-07T00:41:38.726Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-01-07T00:41:39.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-07T00:41:39.672Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-07T00:41:39.672Z] 552d1f2373af: Pulling fs layer [2022-01-07T00:41:39.672Z] ea3f2d53f512: Pulling fs layer [2022-01-07T00:41:39.672Z] 9e70ebbbe112: Pulling fs layer [2022-01-07T00:41:39.672Z] 7a9cfe048b4a: Pulling fs layer [2022-01-07T00:41:39.673Z] 72dc09318566: Pulling fs layer [2022-01-07T00:41:39.673Z] f4f7b4309257: Pulling fs layer [2022-01-07T00:41:39.673Z] 0ac9a79272e3: Pulling fs layer [2022-01-07T00:41:39.673Z] b78e95d17946: Pulling fs layer [2022-01-07T00:41:39.673Z] 7a9cfe048b4a: Waiting [2022-01-07T00:41:39.673Z] 72dc09318566: Waiting [2022-01-07T00:41:39.673Z] f4f7b4309257: Waiting [2022-01-07T00:41:39.673Z] 0ac9a79272e3: Waiting [2022-01-07T00:41:39.673Z] b78e95d17946: Waiting [2022-01-07T00:41:39.673Z] 9e70ebbbe112: Verifying Checksum [2022-01-07T00:41:39.673Z] 9e70ebbbe112: Download complete [2022-01-07T00:41:39.673Z] ea3f2d53f512: Verifying Checksum [2022-01-07T00:41:39.673Z] ea3f2d53f512: Download complete [2022-01-07T00:41:39.673Z] 72dc09318566: Verifying Checksum [2022-01-07T00:41:39.673Z] 72dc09318566: Download complete [2022-01-07T00:41:39.673Z] f4f7b4309257: Verifying Checksum [2022-01-07T00:41:39.673Z] 0ac9a79272e3: Verifying Checksum [2022-01-07T00:41:39.673Z] 0ac9a79272e3: Download complete [2022-01-07T00:41:39.673Z] 552d1f2373af: Download complete [2022-01-07T00:41:40.279Z] 552d1f2373af: Pull complete [2022-01-07T00:41:41.288Z] ea3f2d53f512: Pull complete [2022-01-07T00:41:41.565Z] 9e70ebbbe112: Pull complete [2022-01-07T00:41:41.565Z] b78e95d17946: Verifying Checksum [2022-01-07T00:41:41.565Z] b78e95d17946: Download complete [2022-01-07T00:41:42.180Z] 7a9cfe048b4a: Verifying Checksum [2022-01-07T00:41:42.180Z] 7a9cfe048b4a: Download complete [2022-01-07T00:41:52.344Z] 7a9cfe048b4a: Pull complete [2022-01-07T00:41:52.619Z] 72dc09318566: Pull complete [2022-01-07T00:41:52.896Z] f4f7b4309257: Pull complete [2022-01-07T00:41:53.494Z] 0ac9a79272e3: Pull complete [2022-01-07T00:41:58.906Z] b78e95d17946: Pull complete [2022-01-07T00:41:58.906Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-07T00:41:58.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-07T00:41:58.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] sh [2022-01-07T00:41:59.517Z] + 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-07T00:41:59.863Z] + docker inspect -f . ci-base-image-arm64 [2022-01-07T00:41:59.863Z] . [Pipeline] withDockerContainer [2022-01-07T00:42:00.072Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2022-01-07T00:42:00.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-07T00:42:03.082Z] $ docker top 35c9c8880126d714861b1bec5c362e367776352c07726e522187c62e77279352 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-07T00:42:03.953Z] + go version [2022-01-07T00:42:03.953Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-07T00:42:03.978Z] $ docker stop --time=1 35c9c8880126d714861b1bec5c362e367776352c07726e522187c62e77279352 [2022-01-07T00:42:05.670Z] $ docker rm -f 35c9c8880126d714861b1bec5c362e367776352c07726e522187c62e77279352 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:42:06.278Z] + docker inspect -f . ci-base-image-arm64 [2022-01-07T00:42:06.278Z] . [Pipeline] withDockerContainer [2022-01-07T00:42:06.498Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2022-01-07T00:42:06.588Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-07T00:42:07.984Z] $ docker top 00262f5ec4520ad8d08d71bd832377435db5be10056a47971d72ff8386d16756 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-07T00:42:08.891Z] + make test [2022-01-07T00:42:08.891Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-01-07T00:42:10.866Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-01-07T00:42:10.866Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-01-07T00:42:10.866Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-01-07T00:42:10.866Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-01-07T00:42:10.867Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-01-07T00:42:10.867Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-01-07T00:42:10.867Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-01-07T00:42:11.143Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-01-07T00:42:11.143Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-01-07T00:42:11.143Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-01-07T00:42:11.143Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-01-07T00:42:11.143Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-01-07T00:42:11.143Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-01-07T00:42:11.143Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-01-07T00:42:11.143Z] go: downloading github.com/google/uuid v1.3.0 [2022-01-07T00:42:11.143Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-01-07T00:42:11.143Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-01-07T00:42:11.417Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-01-07T00:42:11.417Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-01-07T00:42:11.417Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-01-07T00:42:11.417Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-01-07T00:42:11.417Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-01-07T00:42:11.417Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-01-07T00:42:11.417Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-01-07T00:42:11.417Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-01-07T00:42:11.697Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-01-07T00:42:11.697Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-01-07T00:42:11.697Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-01-07T00:42:11.697Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-01-07T00:42:11.697Z] go: downloading golang.org/x/text v0.3.6 [2022-01-07T00:42:11.974Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-01-07T00:42:11.974Z] go: downloading github.com/x448/float16 v0.8.4 [2022-01-07T00:42:11.974Z] go: downloading github.com/fatih/color v1.9.0 [2022-01-07T00:42:11.974Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-01-07T00:42:11.974Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-01-07T00:42:11.974Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-01-07T00:42:11.974Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-01-07T00:42:12.249Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-01-07T00:42:12.249Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-01-07T00:42:12.525Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-01-07T00:42:12.525Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-01-07T00:42:59.496Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2022-01-07T00:42:59.496Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.053s coverage: 5.1% of statements [2022-01-07T00:42:59.496Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2022-01-07T00:42:59.497Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.066s coverage: 92.2% of statements [2022-01-07T00:42:59.497Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.036s coverage: 85.3% of statements [2022-01-07T00:42:59.497Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 0.059s coverage: 24.1% of statements [2022-01-07T00:42:59.497Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2022-01-07T00:42:59.497Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2022-01-07T00:42:59.497Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.078s coverage: 100.0% of statements [2022-01-07T00:42:59.497Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.074s coverage: 25.0% of statements [2022-01-07T00:43:02.110Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.061s coverage: 79.7% of statements [2022-01-07T00:43:02.110Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2022-01-07T00:43:02.110Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/config [no test files] [2022-01-07T00:43:02.110Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.023s coverage: 91.3% of statements [2022-01-07T00:43:02.110Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-07T00:43:02.110Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2022-01-07T00:43:24.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-07T00:43:24.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-01-07T00:43:24.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-07T00:43:24.586Z] $ docker stop --time=1 00262f5ec4520ad8d08d71bd832377435db5be10056a47971d72ff8386d16756 [2022-01-07T00:43:26.301Z] $ docker rm -f 00262f5ec4520ad8d08d71bd832377435db5be10056a47971d72ff8386d16756 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-07T00:43:28.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-07T00:43:28.144Z] Warning: overwriting stash ‘coverage-report’ [2022-01-07T00:43:28.612Z] 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-07T00:43:29.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-07T00:43:29.047Z] [2022-01-07T00:43:29.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:43:29.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-07T00:43:29.674Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-07T00:43:29.674Z] 448f6bf000e3: Pulling fs layer [2022-01-07T00:43:29.674Z] f757da607395: Pulling fs layer [2022-01-07T00:43:29.674Z] 05883995daec: Pulling fs layer [2022-01-07T00:43:29.674Z] 8603b9c90790: Pulling fs layer [2022-01-07T00:43:29.674Z] 1560dd03e051: Pulling fs layer [2022-01-07T00:43:29.674Z] 27f5ce0e4adf: Pulling fs layer [2022-01-07T00:43:29.674Z] c2d8d7efcc4b: Pulling fs layer [2022-01-07T00:43:29.674Z] 1560dd03e051: Waiting [2022-01-07T00:43:29.674Z] 27f5ce0e4adf: Waiting [2022-01-07T00:43:29.674Z] c2d8d7efcc4b: Waiting [2022-01-07T00:43:29.674Z] 8603b9c90790: Waiting [2022-01-07T00:43:29.674Z] f757da607395: Verifying Checksum [2022-01-07T00:43:29.674Z] f757da607395: Download complete [2022-01-07T00:43:29.674Z] 8603b9c90790: Verifying Checksum [2022-01-07T00:43:29.674Z] 8603b9c90790: Download complete [2022-01-07T00:43:29.674Z] 1560dd03e051: Verifying Checksum [2022-01-07T00:43:29.674Z] 1560dd03e051: Download complete [2022-01-07T00:43:29.674Z] 27f5ce0e4adf: Verifying Checksum [2022-01-07T00:43:29.674Z] 27f5ce0e4adf: Download complete [2022-01-07T00:43:29.674Z] 05883995daec: Verifying Checksum [2022-01-07T00:43:29.674Z] 05883995daec: Download complete [2022-01-07T00:43:30.281Z] 448f6bf000e3: Verifying Checksum [2022-01-07T00:43:30.281Z] 448f6bf000e3: Download complete [2022-01-07T00:43:32.909Z] c2d8d7efcc4b: Verifying Checksum [2022-01-07T00:43:32.909Z] c2d8d7efcc4b: Download complete [2022-01-07T00:43:33.884Z] 448f6bf000e3: Pull complete [2022-01-07T00:43:34.494Z] f757da607395: Pull complete [2022-01-07T00:43:35.927Z] 05883995daec: Pull complete [2022-01-07T00:43:36.200Z] 8603b9c90790: Pull complete [2022-01-07T00:43:37.188Z] 1560dd03e051: Pull complete [2022-01-07T00:43:37.188Z] 27f5ce0e4adf: Pull complete [2022-01-07T00:43:52.281Z] c2d8d7efcc4b: Pull complete [2022-01-07T00:43:52.281Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-07T00:43:52.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-07T00:43:52.281Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-07T00:43:52.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-949 does not seem to be running inside a container [2022-01-07T00:43:52.554Z] $ 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-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-07T00:43:55.041Z] $ docker top 41caa149691db4cdde9417e0e6e6dbc2e01756b8f443aadcd7c6e0dc2778fa64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:43:55.938Z] ---> job-cost.sh [2022-01-07T00:43:55.938Z] lf-activate-venv: SKIPPING [2022-01-07T00:43:55.938Z] INFO: No Stack... [2022-01-07T00:43:56.209Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-07T00:43:56.481Z] INFO: Archiving Costs [Pipeline] sh [2022-01-07T00:43:57.142Z] + cut -d, -f6 [2022-01-07T00:43:57.143Z] + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv [Pipeline] lock [2022-01-07T00:43:57.208Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [2022-01-07T00:43:57.217Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] did not exist. Created. [2022-01-07T00:43:57.217Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-07T00:43:57.892Z] /w/workspace/go-mod-bootstrap/2@tmp/durable-0d76c959/script.sh: 1: /w/workspace/go-mod-bootstrap/2@tmp/durable-0d76c959/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-07T00:43:58.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-07T00:43:58.587Z] Warning: overwriting stash ‘stack-cost’ [2022-01-07T00:43:58.629Z] Stashed 1 file(s) [Pipeline] } [2022-01-07T00:43:58.636Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-07T00:43:58.658Z] $ docker stop --time=1 41caa149691db4cdde9417e0e6e6dbc2e01756b8f443aadcd7c6e0dc2778fa64 [2022-01-07T00:44:00.144Z] $ docker rm -f 41caa149691db4cdde9417e0e6e6dbc2e01756b8f443aadcd7c6e0dc2778fa64 [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-07T00:44:00.700Z] provisioning config files... [2022-01-07T00:44:00.717Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/config7868545069417911252tmp [Pipeline] { [Pipeline] sh [2022-01-07T00:44:01.024Z] + set +x [2022-01-07T00:44:01.024Z] + curl -s https://codecov.io/bash [2022-01-07T00:44:01.024Z] + bash -s -- [2022-01-07T00:44:01.024Z] [2022-01-07T00:44:01.024Z] _____ _ [2022-01-07T00:44:01.024Z] / ____| | | [2022-01-07T00:44:01.024Z] | | ___ __| | ___ ___ _____ __ [2022-01-07T00:44:01.024Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-07T00:44:01.024Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-07T00:44:01.024Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-07T00:44:01.024Z] Bash-1.0.6 [2022-01-07T00:44:01.024Z] [2022-01-07T00:44:01.024Z] [2022-01-07T00:44:01.024Z] ==> git version 2.24.4 found [2022-01-07T00:44:01.025Z] ==> 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-07T00:44:01.025Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-07T00:44:01.025Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-07T00:44:01.025Z] ==> Jenkins CI detected. [2022-01-07T00:44:01.025Z] current dir:  /w/workspace/xfoundry_go-mod-bootstrap_PR-302 [2022-01-07T00:44:01.025Z] project root: . [2022-01-07T00:44:01.025Z] --> token set from env [2022-01-07T00:44:01.025Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-07T00:44:01.285Z] ==> Running gcov in . (disable via -X gcov) [2022-01-07T00:44:01.285Z] ==> Python coveragepy not found [2022-01-07T00:44:01.285Z] ==> Searching for coverage reports in: [2022-01-07T00:44:01.285Z] + . [2022-01-07T00:44:01.285Z] -> Found 1 reports [2022-01-07T00:44:01.285Z] ==> Detecting git/mercurial file structure [2022-01-07T00:44:01.285Z] ==> Reading reports [2022-01-07T00:44:01.285Z] + ./coverage.out bytes=42223 [2022-01-07T00:44:01.285Z] ==> Appending adjustments [2022-01-07T00:44:01.285Z] https://docs.codecov.io/docs/fixing-reports [2022-01-07T00:44:01.285Z] + Found adjustments [2022-01-07T00:44:01.285Z] ==> Gzipping contents [2022-01-07T00:44:01.285Z] 8.0K /tmp/codecov.fQZKxU.gz [2022-01-07T00:44:01.285Z] ==> Uploading reports [2022-01-07T00:44:01.285Z] url: https://codecov.io [2022-01-07T00:44:01.286Z] query: branch=PR-302&commit=ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=302&job=&cmd_args= [2022-01-07T00:44:01.286Z] -> Pinging Codecov [2022-01-07T00:44:01.286Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c5112490-c224-4931-97ab-fb3b10067c12&branch=PR-302&commit=ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=302&job=&cmd_args= [2022-01-07T00:44:01.858Z] -> Uploading to [2022-01-07T00:44:01.858Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-07/833815588EE85121546D348822E98E2E/ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9/ec04199d-85e1-49cb-a1b0-0a2eacfa34c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220107T004401Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9113cbadb43530df4ec89062290e171a906b1d2c2603ee54c471f24cf65b403 [2022-01-07T00:44:01.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-07T00:44:01.858Z] Dload Upload Total Spent Left Speed [2022-01-07T00:44:02.119Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7120 0 0 100 7120 0 21865 --:--:-- --:--:-- --:--:-- 21907 [2022-01-07T00:44:02.119Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/ec8edae5ff1e24dce877dfab52b3dfc5a4f681a9 [Pipeline] } [2022-01-07T00:44:02.126Z] 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-07T00:44:02.793Z] + '[' -d /w/workspace/xfoundry_go-mod-bootstrap_PR-302/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:03.089Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:03.654Z] ---> package-listing.sh [2022-01-07T00:44:03.654Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-07T00:44:03.654Z] ++ facter osfamily [2022-01-07T00:44:03.917Z] + OS_FAMILY=redhat [2022-01-07T00:44:03.917Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-302 [2022-01-07T00:44:03.917Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-07T00:44:03.917Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-07T00:44:03.917Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-07T00:44:03.917Z] + PACKAGES=/tmp/packages_start.txt [2022-01-07T00:44:03.917Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-302 ']' [2022-01-07T00:44:03.917Z] + PACKAGES=/tmp/packages_end.txt [2022-01-07T00:44:03.917Z] + case "${OS_FAMILY}" in [2022-01-07T00:44:03.917Z] + rpm -qa [2022-01-07T00:44:03.917Z] + sort [2022-01-07T00:44:04.492Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-07T00:44:04.492Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-07T00:44:04.492Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-07T00:44:04.492Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-302 ']' [2022-01-07T00:44:04.492Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-302/archives/ [2022-01-07T00:44:04.492Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-302/archives/ [Pipeline] echo [2022-01-07T00:44:04.505Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-07T00:44:04.785Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:44:05.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:44:05.352Z] [2022-01-07T00:44:05.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-07T00:44:05.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:44:05.658Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-07T00:44:05.658Z] b4d181a07f80: Pulling fs layer [2022-01-07T00:44:05.658Z] a1111a8f2ec3: Pulling fs layer [2022-01-07T00:44:05.658Z] ed53099fbce6: Pulling fs layer [2022-01-07T00:44:05.658Z] dc539afda2c1: Pulling fs layer [2022-01-07T00:44:05.658Z] 77bc0d833cb6: Pulling fs layer [2022-01-07T00:44:05.658Z] 9065ff56babe: Pulling fs layer [2022-01-07T00:44:05.658Z] d287ab97295c: Pulling fs layer [2022-01-07T00:44:05.658Z] dc539afda2c1: Waiting [2022-01-07T00:44:05.658Z] 77bc0d833cb6: Waiting [2022-01-07T00:44:05.658Z] 9065ff56babe: Waiting [2022-01-07T00:44:05.658Z] d287ab97295c: Waiting [2022-01-07T00:44:05.658Z] a1111a8f2ec3: Verifying Checksum [2022-01-07T00:44:05.658Z] a1111a8f2ec3: Download complete [2022-01-07T00:44:05.658Z] dc539afda2c1: Verifying Checksum [2022-01-07T00:44:05.658Z] dc539afda2c1: Download complete [2022-01-07T00:44:05.658Z] ed53099fbce6: Verifying Checksum [2022-01-07T00:44:05.658Z] ed53099fbce6: Download complete [2022-01-07T00:44:05.923Z] 9065ff56babe: Verifying Checksum [2022-01-07T00:44:05.923Z] 9065ff56babe: Download complete [2022-01-07T00:44:05.923Z] 77bc0d833cb6: Verifying Checksum [2022-01-07T00:44:05.923Z] 77bc0d833cb6: Download complete [2022-01-07T00:44:05.923Z] b4d181a07f80: Verifying Checksum [2022-01-07T00:44:05.923Z] b4d181a07f80: Download complete [2022-01-07T00:44:06.496Z] d287ab97295c: Verifying Checksum [2022-01-07T00:44:06.496Z] d287ab97295c: Download complete [2022-01-07T00:44:07.452Z] b4d181a07f80: Pull complete [2022-01-07T00:44:07.452Z] a1111a8f2ec3: Pull complete [2022-01-07T00:44:08.030Z] ed53099fbce6: Pull complete [2022-01-07T00:44:08.030Z] dc539afda2c1: Pull complete [2022-01-07T00:44:08.609Z] 77bc0d833cb6: Pull complete [2022-01-07T00:44:08.609Z] 9065ff56babe: Pull complete [2022-01-07T00:44:13.941Z] d287ab97295c: Pull complete [2022-01-07T00:44:13.941Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-07T00:44:13.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-07T00:44:13.941Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-07T00:44:14.005Z] prd-centos7-docker-4c-2g-947 does not seem to be running inside a container [2022-01-07T00:44:14.040Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-302 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302:/w/workspace/xfoundry_go-mod-bootstrap_PR-302:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-07T00:44:16.762Z] $ docker top 941de3df516ab4288cef6990fd68f5580e71c9ac91e2f806d62e32181158a5c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-07T00:44:17.122Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-07T00:44:17.415Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-07T00:44:17.709Z] + ls /var/log/sa-host [2022-01-07T00:44:17.709Z] + sadf -c /var/log/sa-host/sa07 [2022-01-07T00:44:17.709Z] file_magic: OK [2022-01-07T00:44:17.709Z] HZ: Using current value: 100 [2022-01-07T00:44:17.709Z] file_header: OK [2022-01-07T00:44:17.709Z] 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-07T00:44:17.709Z] Statistics: [2022-01-07T00:44:17.709Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-07T00:44:17.709Z] File successfully converted to sysstat format version 12.0.3 [2022-01-07T00:44:17.709Z] + sadf -c /var/log/sa-host/sa17 [2022-01-07T00:44:17.709Z] file_magic: OK [2022-01-07T00:44:17.709Z] HZ: Using current value: 100 [2022-01-07T00:44:17.709Z] file_header: OK [2022-01-07T00:44:17.710Z] 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-07T00:44:17.710Z] Statistics: [2022-01-07T00:44:17.710Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-07T00:44:17.710Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-07T00:44:17.795Z] provisioning config files... [2022-01-07T00:44:17.805Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-302@tmp/config6453693662590089545tmp [Pipeline] { [Pipeline] echo [2022-01-07T00:44:17.822Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:18.111Z] ---> create-netrc.sh [Pipeline] } [2022-01-07T00:44:18.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:18.454Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-07T00:44:18.464Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:18.754Z] ---> sudo-logs.sh [2022-01-07T00:44:18.754Z] Archiving 'sudo' log.. [2022-01-07T00:44:18.754Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-947.novalocal: Name or service not known [2022-01-07T00:44:18.754Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-947.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-07T00:44:18.779Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:19.082Z] ---> job-cost.sh [2022-01-07T00:44:19.082Z] lf-activate-venv: SKIPPING [2022-01-07T00:44:19.082Z] DEBUG: total: 0.10999999940395355 [2022-01-07T00:44:19.082Z] INFO: Retrieving Stack Cost... [2022-01-07T00:44:19.343Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-07T00:44:19.603Z] INFO: Archiving Costs [Pipeline] echo [2022-01-07T00:44:19.618Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-07T00:44:19.905Z] ---> logs-deploy.sh [2022-01-07T00:44:19.905Z] lf-activate-venv: SKIPPING [2022-01-07T00:44:19.905Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-302/2 [2022-01-07T00:44:19.905Z] INFO: archiving workspace using pattern(s): [2022-01-07T00:44:20.475Z] Archives upload complete. [2022-01-07T00:44:20.734Z] INFO: archiving logs to Nexus