Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc54e75114a7bb3d8a3835bcd3b9757a127af91c+259bd563e06e51d1d05c56b550cf7f6cc992db1a (1043edd8a0a933d27b79dc0ce5e47dc3a30cadf8) 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-ssh2902669739712133412.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4923036827074185450.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-326/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-326/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6030226249609651040.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh911218739137461931.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-326/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-326/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2629317334148907421.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-33692’ Running on prd-ubuntu20.04-docker-8c-8g-33694 in /w/workspace/xfoundry_go-mod-bootstrap_PR-326 [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-326 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 259bd563e06e51d1d05c56b550cf7f6cc992db1a into PR head commit bc54e75114a7bb3d8a3835bcd3b9757a127af91c Merge succeeded, producing ee15013dd2d0e1b24a5bc3773a942aebfc092e98 Checking out Revision ee15013dd2d0e1b24a5bc3773a942aebfc092e98 (PR-326) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc54e75114a7bb3d8a3835bcd3b9757a127af91c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 259bd563e06e51d1d05c56b550cf7f6cc992db1a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee15013dd2d0e1b24a5bc3773a942aebfc092e98 # timeout=10 Commit message: "Merge commit '259bd563e06e51d1d05c56b550cf7f6cc992db1a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-28T19:00:59.104Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-28T19:00:59.158Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-28T19:00:59.175Z] ========================================================= [2022-04-28T19:00:59.175Z] EdgeX Global Pipelines Version Info [2022-04-28T19:00:59.175Z] ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 0ca8cf523336e8493d319ff32654299be0d49324 # timeout=10 [Pipeline] sh [2022-04-28T19:00:59.935Z] ------------------- [2022-04-28T19:00:59.935Z] stable info: [2022-04-28T19:00:59.935Z] ------------------- [2022-04-28T19:00:59.935Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-28T19:00:59.935Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T19:00:59.935Z] Message: update stable to v1.0.227 [2022-04-28T19:01:00.506Z] ------------------- [2022-04-28T19:01:00.506Z] experimental info: [2022-04-28T19:01:00.506Z] ------------------- [2022-04-28T19:01:00.506Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-28T19:01:00.506Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-04-28T19:01:00.506Z] Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-28T19:01:00.633Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2022-04-28T19:01:00.646Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2022-04-28T19:01:00.661Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-28T19:01:00.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-28T19:01:00.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-28T19:01:00.701Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-28T19:01:00.717Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-28T19:01:00.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-28T19:01:00.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-28T19:01:00.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-28T19:01:00.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-28T19:01:00.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo [2022-04-28T19:01:00.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-28T19:01:00.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-28T19:01:00.847Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T19:01:00.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T19:01:00.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T19:01:00.893Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-28T19:01:00.908Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-28T19:01:00.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-28T19:01:00.936Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-28T19:01:00.953Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-28T19:01:00.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-28T19:01:00.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-28T19:01:00.991Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2022-04-28T19:01:01.005Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-28T19:01:01.019Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-326 [Pipeline] echo [2022-04-28T19:01:01.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-326 [Pipeline] echo [2022-04-28T19:01:01.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-326 [Pipeline] echo [2022-04-28T19:01:01.064Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [Pipeline] echo [2022-04-28T19:01:01.078Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee15013 [Pipeline] echo [2022-04-28T19:01:01.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-28T19:01:01.445Z] + git rev-list -1 --merges ee15013dd2d0e1b24a5bc3773a942aebfc092e98~1..ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [Pipeline] echo [2022-04-28T19:01:01.475Z] -----------> git rev-list -1 --merges ee15013dd2d0e1b24a5bc3773a942aebfc092e98~1..ee15013dd2d0e1b24a5bc3773a942aebfc092e98 ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [2022-04-28T19:01:01.475Z] ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [false] [Pipeline] sh [2022-04-28T19:01:01.772Z] + git log --format=format:%s -1 ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [Pipeline] echo [2022-04-28T19:01:01.789Z] ========================================================= [2022-04-28T19:01:01.789Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-28T19:01:01.789Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T19:01:02.134Z] + git log --format=format:%s -1 ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [Pipeline] echo [2022-04-28T19:01:02.148Z] [semverPrep] GIT_COMMIT: ee15013dd2d0e1b24a5bc3773a942aebfc092e98, Commit Message: Merge commit '259bd563e06e51d1d05c56b550cf7f6cc992db1a' into HEAD [Pipeline] echo [2022-04-28T19:01:02.162Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-28T19:01:02.538Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-28T19:01:02.538Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-28T19:01:02.538Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-28T19:01:02.538Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-28T19:01:02.538Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-28T19:01:02.538Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-28T19:01:02.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:01:02.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T19:01:03.141Z] [2022-04-28T19:01:03.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:01:03.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T19:01:03.448Z] latest: Pulling from edgex-devops/py-git-semver [2022-04-28T19:01:03.448Z] 1fe172e4850f: Pulling fs layer [2022-04-28T19:01:03.448Z] caf521ccaac6: Pulling fs layer [2022-04-28T19:01:03.448Z] 3ead6fa29328: Pulling fs layer [2022-04-28T19:01:03.448Z] 5c2a1cbceb83: Pulling fs layer [2022-04-28T19:01:03.448Z] a8d5f1318db7: Pulling fs layer [2022-04-28T19:01:03.448Z] c427282e49a2: Pulling fs layer [2022-04-28T19:01:03.448Z] 5c2a1cbceb83: Waiting [2022-04-28T19:01:03.448Z] 1827001aaf11: Pulling fs layer [2022-04-28T19:01:03.448Z] 1827001aaf11: Waiting [2022-04-28T19:01:03.448Z] 0714d37db230: Pulling fs layer [2022-04-28T19:01:03.448Z] ac28cf19c067: Pulling fs layer [2022-04-28T19:01:03.448Z] ca983d60f3e2: Pulling fs layer [2022-04-28T19:01:03.448Z] ac28cf19c067: Waiting [2022-04-28T19:01:03.448Z] 9f894cec8388: Pulling fs layer [2022-04-28T19:01:03.448Z] ca983d60f3e2: Waiting [2022-04-28T19:01:03.448Z] 9f894cec8388: Waiting [2022-04-28T19:01:03.448Z] a8d5f1318db7: Waiting [2022-04-28T19:01:03.448Z] 0714d37db230: Waiting [2022-04-28T19:01:03.448Z] caf521ccaac6: Verifying Checksum [2022-04-28T19:01:03.448Z] caf521ccaac6: Download complete [2022-04-28T19:01:03.448Z] 5c2a1cbceb83: Verifying Checksum [2022-04-28T19:01:03.448Z] 5c2a1cbceb83: Download complete [2022-04-28T19:01:03.708Z] 3ead6fa29328: Verifying Checksum [2022-04-28T19:01:03.708Z] 3ead6fa29328: Download complete [2022-04-28T19:01:03.708Z] a8d5f1318db7: Verifying Checksum [2022-04-28T19:01:03.708Z] a8d5f1318db7: Download complete [2022-04-28T19:01:03.708Z] c427282e49a2: Download complete [2022-04-28T19:01:03.708Z] 0714d37db230: Download complete [2022-04-28T19:01:03.708Z] ac28cf19c067: Download complete [2022-04-28T19:01:03.708Z] ca983d60f3e2: Download complete [2022-04-28T19:01:03.708Z] 9f894cec8388: Download complete [2022-04-28T19:01:03.708Z] 1fe172e4850f: Verifying Checksum [2022-04-28T19:01:03.708Z] 1fe172e4850f: Download complete [2022-04-28T19:01:03.970Z] 1827001aaf11: Verifying Checksum [2022-04-28T19:01:03.970Z] 1827001aaf11: Download complete [2022-04-28T19:01:04.906Z] 1fe172e4850f: Pull complete [2022-04-28T19:01:05.164Z] caf521ccaac6: Pull complete [2022-04-28T19:01:05.732Z] 3ead6fa29328: Pull complete [2022-04-28T19:01:05.732Z] 5c2a1cbceb83: Pull complete [2022-04-28T19:01:05.994Z] a8d5f1318db7: Pull complete [2022-04-28T19:01:06.254Z] c427282e49a2: Pull complete [2022-04-28T19:01:08.170Z] 1827001aaf11: Pull complete [2022-04-28T19:01:08.170Z] 0714d37db230: Pull complete [2022-04-28T19:01:08.170Z] ac28cf19c067: Pull complete [2022-04-28T19:01:08.170Z] ca983d60f3e2: Pull complete [2022-04-28T19:01:08.432Z] 9f894cec8388: Pull complete [2022-04-28T19:01:08.432Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-04-28T19:01:08.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-04-28T19:01:08.432Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-04-28T19:01:08.570Z] prd-ubuntu20.04-docker-8c-8g-33694 does not seem to be running inside a container [2022-04-28T19:01:08.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-326 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326:/w/workspace/xfoundry_go-mod-bootstrap_PR-326:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-04-28T19:01:09.905Z] $ docker top b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f -eo pid,comm [2022-04-28T19:01:09.982Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-04-28T19:01:09.982Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-28T19:01:10.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T19:01:10.013Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T19:01:10.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T19:01:10.137Z] $ docker exec b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f ssh-agent [2022-04-28T19:01:10.277Z] SSH_AUTH_SOCK=/tmp/ssh-uN7G81b0WpiS/agent.32 [2022-04-28T19:01:10.277Z] SSH_AGENT_PID=38 [2022-04-28T19:01:10.287Z] Running ssh-add (command line suppressed) [2022-04-28T19:01:10.421Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/private_key_4189080846462458195.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/private_key_4189080846462458195.key) [2022-04-28T19:01:10.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T19:01:10.741Z] + git tag --points-at HEAD [Pipeline] } [2022-04-28T19:01:10.752Z] $ docker exec --env ******** --env ******** b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f ssh-agent -k [2022-04-28T19:01:10.883Z] unset SSH_AUTH_SOCK; [2022-04-28T19:01:10.884Z] unset SSH_AGENT_PID; [2022-04-28T19:01:10.884Z] echo Agent pid 38 killed; [2022-04-28T19:01:10.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-28T19:01:10.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-28T19:01:10.929Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-28T19:01:11.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-28T19:01:11.051Z] $ docker exec b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f ssh-agent [2022-04-28T19:01:11.188Z] SSH_AUTH_SOCK=/tmp/ssh-lOD9UtJFMguc/agent.73 [2022-04-28T19:01:11.188Z] SSH_AGENT_PID=80 [2022-04-28T19:01:11.194Z] Running ssh-add (command line suppressed) [2022-04-28T19:01:11.318Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/private_key_5294041571431169222.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/private_key_5294041571431169222.key) [2022-04-28T19:01:11.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-28T19:01:11.634Z] + git semver init [2022-04-28T19:01:11.896Z] 2022-04-28 19:01:11,816 [run_init] DEBUG init version:0.0.0 force:False [2022-04-28T19:01:11.896Z] 2022-04-28 19:01:11,816 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver [2022-04-28T19:01:11.896Z] 2022-04-28 19:01:11,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver [2022-04-28T19:01:11.896Z] 2022-04-28 19:01:11,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-326, universal_newlines=False, shell=None, istream=None) [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,576 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.git/info/exclude [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver/PR-326 with force:False [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,577 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver/PR-326 [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,581 [execute] INFO git cat-file --batch-check [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,588 [execute] INFO git cat-file --batch [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver, universal_newlines=False, shell=None, istream=) [2022-04-28T19:01:12.844Z] 2022-04-28 19:01:12,593 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-326/.semver/PR-326 [2022-04-28T19:01:12.844Z] 0.0.0 [Pipeline] } [2022-04-28T19:01:12.849Z] $ docker exec --env ******** --env ******** b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f ssh-agent -k [2022-04-28T19:01:12.956Z] unset SSH_AUTH_SOCK; [2022-04-28T19:01:12.957Z] unset SSH_AGENT_PID; [2022-04-28T19:01:12.957Z] echo Agent pid 80 killed; [2022-04-28T19:01:12.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-28T19:01:13.290Z] + git semver [Pipeline] } [2022-04-28T19:01:13.560Z] $ docker stop --time=1 b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f [2022-04-28T19:01:14.984Z] $ docker rm -f b53721e8f5d116dcc67e2d98ddaf2d62b2c193c78ab96ce7662fe48fa386572f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T19:01:15.347Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-28T19:01:15.606Z] Stashed 1 file(s) [Pipeline] echo [2022-04-28T19:01:15.610Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2022-04-28T19:01:15.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T19:01:15.822Z] ========================================================= [2022-04-28T19:01:15.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-28T19:01:15.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-28T19:01:16.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T19:01:16.127Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-28T19:01:16.127Z] 59bf1c3509f3: Pulling fs layer [2022-04-28T19:01:16.127Z] 666ba61612fd: Pulling fs layer [2022-04-28T19:01:16.127Z] 8ed8ca486205: Pulling fs layer [2022-04-28T19:01:16.127Z] 4fe6c5a15a65: Pulling fs layer [2022-04-28T19:01:16.127Z] 22a0e8bec74d: Pulling fs layer [2022-04-28T19:01:16.127Z] ca2b28591e48: Pulling fs layer [2022-04-28T19:01:16.127Z] a51346096db8: Pulling fs layer [2022-04-28T19:01:16.127Z] daebc70d1ce1: Pulling fs layer [2022-04-28T19:01:16.127Z] 0e18a0eac166: Pulling fs layer [2022-04-28T19:01:16.127Z] 4fe6c5a15a65: Waiting [2022-04-28T19:01:16.127Z] 22a0e8bec74d: Waiting [2022-04-28T19:01:16.127Z] ca2b28591e48: Waiting [2022-04-28T19:01:16.127Z] a51346096db8: Waiting [2022-04-28T19:01:16.127Z] daebc70d1ce1: Waiting [2022-04-28T19:01:16.127Z] 0e18a0eac166: Waiting [2022-04-28T19:01:16.127Z] 8ed8ca486205: Verifying Checksum [2022-04-28T19:01:16.127Z] 8ed8ca486205: Download complete [2022-04-28T19:01:16.127Z] 666ba61612fd: Download complete [2022-04-28T19:01:16.127Z] 22a0e8bec74d: Download complete [2022-04-28T19:01:16.127Z] ca2b28591e48: Verifying Checksum [2022-04-28T19:01:16.127Z] ca2b28591e48: Download complete [2022-04-28T19:01:16.127Z] a51346096db8: Download complete [2022-04-28T19:01:16.127Z] 59bf1c3509f3: Verifying Checksum [2022-04-28T19:01:16.127Z] 59bf1c3509f3: Download complete [2022-04-28T19:01:16.127Z] daebc70d1ce1: Verifying Checksum [2022-04-28T19:01:16.127Z] daebc70d1ce1: Download complete [2022-04-28T19:01:16.386Z] 59bf1c3509f3: Pull complete [2022-04-28T19:01:16.386Z] 666ba61612fd: Pull complete [2022-04-28T19:01:16.386Z] 8ed8ca486205: Pull complete [2022-04-28T19:01:16.958Z] 0e18a0eac166: Verifying Checksum [2022-04-28T19:01:16.958Z] 0e18a0eac166: Download complete [2022-04-28T19:01:16.958Z] 4fe6c5a15a65: Download complete [2022-04-28T19:01:20.253Z] 4fe6c5a15a65: Pull complete [2022-04-28T19:01:20.253Z] 22a0e8bec74d: Pull complete [2022-04-28T19:01:20.253Z] ca2b28591e48: Pull complete [2022-04-28T19:01:20.513Z] a51346096db8: Pull complete [2022-04-28T19:01:20.513Z] daebc70d1ce1: Pull complete [2022-04-28T19:01:23.048Z] 0e18a0eac166: Pull complete [2022-04-28T19:01:23.048Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-28T19:01:23.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-28T19:01:23.048Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh [2022-04-28T19:01:23.338Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:01:23.634Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T19:01:23.634Z] . [Pipeline] withDockerContainer [2022-04-28T19:01:23.705Z] prd-ubuntu20.04-docker-8c-8g-33694 does not seem to be running inside a container [2022-04-28T19:01:23.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-326 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326:/w/workspace/xfoundry_go-mod-bootstrap_PR-326:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T19:01:25.268Z] $ docker top 42ed36a9a5d06839ead24fb41bbeb705a0f5ea117952e26e283479989d88849f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T19:01:25.615Z] + go version [2022-04-28T19:01:25.615Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-28T19:01:25.632Z] $ docker stop --time=1 42ed36a9a5d06839ead24fb41bbeb705a0f5ea117952e26e283479989d88849f [2022-04-28T19:01:26.908Z] $ docker rm -f 42ed36a9a5d06839ead24fb41bbeb705a0f5ea117952e26e283479989d88849f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:01:27.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-28T19:01:27.320Z] . [Pipeline] withDockerContainer [2022-04-28T19:01:27.396Z] prd-ubuntu20.04-docker-8c-8g-33694 does not seem to be running inside a container [2022-04-28T19:01:27.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-326 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326:/w/workspace/xfoundry_go-mod-bootstrap_PR-326:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-28T19:01:27.821Z] $ docker top 0e14f0e3ea587a16fbb5d026b03c8395855115b37925b8e7ee5c0e869c62c18b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T19:01:28.196Z] + make test [2022-04-28T19:01:28.196Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-28T19:01:28.196Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-04-28T19:01:28.196Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-28T19:01:28.196Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 [2022-04-28T19:01:28.196Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 [2022-04-28T19:01:28.196Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-04-28T19:01:28.196Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 [2022-04-28T19:01:28.196Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 [2022-04-28T19:01:28.196Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-28T19:01:28.196Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-28T19:01:28.456Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 [2022-04-28T19:01:28.456Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-28T19:01:28.456Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-28T19:01:28.456Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-28T19:01:28.456Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-28T19:01:28.456Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-28T19:01:28.456Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-28T19:01:28.456Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-04-28T19:01:28.456Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-04-28T19:01:28.456Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-28T19:01:28.456Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-28T19:01:28.456Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-28T19:01:28.456Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-28T19:01:28.456Z] go: downloading golang.org/x/text v0.3.7 [2022-04-28T19:01:28.456Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-28T19:01:28.456Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-28T19:01:28.456Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-28T19:01:28.715Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-28T19:01:28.715Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-28T19:01:28.715Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-04-28T19:01:28.715Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-04-28T19:01:28.715Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-04-28T19:01:28.715Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-04-28T19:01:28.715Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-04-28T19:01:28.715Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-28T19:01:28.715Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-28T19:01:28.975Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-28T19:01:28.975Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-04-28T19:01:28.975Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-04-28T19:01:28.975Z] go: downloading github.com/fatih/color v1.9.0 [2022-04-28T19:01:28.975Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-04-28T19:01:28.975Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-04-28T19:01:28.975Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-28T19:01:28.975Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-04-28T19:01:28.975Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-28T19:01:28.975Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-04-28T19:01:28.975Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-28T19:01:28.975Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-04-28T19:01:28.975Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-04-28T19:01:30.734Z] Still waiting to schedule task [2022-04-28T19:01:30.734Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33693’ [2022-04-28T19:01:41.196Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.032s coverage: 4.6% of statements [2022-04-28T19:01:41.196Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.045s coverage: 92.2% of statements [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.020s coverage: 85.3% of statements [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.016s coverage: 55.0% of statements [2022-04-28T19:01:41.196Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2022-04-28T19:01:41.196Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.011s coverage: 100.0% of statements [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.320s coverage: 88.1% of statements [2022-04-28T19:01:41.196Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.015s coverage: 25.0% of statements [2022-04-28T19:01:43.740Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.029s coverage: 79.6% of statements [2022-04-28T19:01:43.740Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2022-04-28T19:01:43.740Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.026s coverage: 41.7% of statements [2022-04-28T19:01:43.740Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.007s coverage: 91.3% of statements [2022-04-28T19:01:50.340Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-28T19:01:53.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T19:01:53.653Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-28T19:01:53.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T19:01:53.694Z] $ docker stop --time=1 0e14f0e3ea587a16fbb5d026b03c8395855115b37925b8e7ee5c0e869c62c18b [2022-04-28T19:01:56.205Z] $ docker rm -f 0e14f0e3ea587a16fbb5d026b03c8395855115b37925b8e7ee5c0e869c62c18b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T19:01:56.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T19:01:56.899Z] 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-04-28T19:01:57.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T19:01:57.336Z] [2022-04-28T19:01:57.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:01:57.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T19:01:57.634Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-28T19:01:57.634Z] 5eb5b503b376: Pulling fs layer [2022-04-28T19:01:57.634Z] 5c69ac0246d0: Pulling fs layer [2022-04-28T19:01:57.634Z] ec43610c2a17: Pulling fs layer [2022-04-28T19:01:57.634Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-28T19:01:57.634Z] 33b1e0a273af: Pulling fs layer [2022-04-28T19:01:57.634Z] 5d3b04190fa2: Pulling fs layer [2022-04-28T19:01:57.634Z] 2f39f015ded8: Pulling fs layer [2022-04-28T19:01:57.634Z] 5d3b04190fa2: Waiting [2022-04-28T19:01:57.634Z] 2f39f015ded8: Waiting [2022-04-28T19:01:57.634Z] 3a2ae6a8a46f: Waiting [2022-04-28T19:01:57.634Z] 33b1e0a273af: Waiting [2022-04-28T19:01:57.634Z] 5c69ac0246d0: Download complete [2022-04-28T19:01:57.634Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-28T19:01:57.634Z] 3a2ae6a8a46f: Download complete [2022-04-28T19:01:57.634Z] 33b1e0a273af: Verifying Checksum [2022-04-28T19:01:57.634Z] 33b1e0a273af: Download complete [2022-04-28T19:01:57.634Z] 5d3b04190fa2: Verifying Checksum [2022-04-28T19:01:57.634Z] 5d3b04190fa2: Download complete [2022-04-28T19:01:57.894Z] ec43610c2a17: Download complete [2022-04-28T19:01:57.894Z] 5eb5b503b376: Verifying Checksum [2022-04-28T19:01:57.894Z] 5eb5b503b376: Download complete [2022-04-28T19:01:58.465Z] 2f39f015ded8: Download complete [2022-04-28T19:01:59.428Z] 5eb5b503b376: Pull complete [2022-04-28T19:01:59.428Z] 5c69ac0246d0: Pull complete [2022-04-28T19:01:59.692Z] ec43610c2a17: Pull complete [2022-04-28T19:01:59.692Z] 3a2ae6a8a46f: Pull complete [2022-04-28T19:01:59.954Z] 33b1e0a273af: Pull complete [2022-04-28T19:02:00.258Z] 5d3b04190fa2: Pull complete [2022-04-28T19:02:04.467Z] 2f39f015ded8: Pull complete [2022-04-28T19:02:04.467Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-28T19:02:04.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T19:02:04.467Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-28T19:02:04.533Z] prd-ubuntu20.04-docker-8c-8g-33694 does not seem to be running inside a container [2022-04-28T19:02:04.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-326 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326:/w/workspace/xfoundry_go-mod-bootstrap_PR-326:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T19:02:06.652Z] $ docker top 57ff541b9ee3a7d6ca0636f9651187ef0a97248d48da2aa6fff4f405c270b60a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:02:07.028Z] ---> job-cost.sh [2022-04-28T19:02:07.028Z] lf-activate-venv: SKIPPING [2022-04-28T19:02:07.028Z] INFO: No Stack... [2022-04-28T19:02:07.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T19:02:08.171Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T19:02:08.475Z] + cut -d, -f6 [2022-04-28T19:02:08.475Z] + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives/cost.csv [Pipeline] lock [2022-04-28T19:02:08.493Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [2022-04-28T19:02:08.501Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] did not exist. Created. [2022-04-28T19:02:08.501Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T19:02:08.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-28T19:02:08.830Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T19:02:08.837Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T19:02:08.871Z] $ docker stop --time=1 57ff541b9ee3a7d6ca0636f9651187ef0a97248d48da2aa6fff4f405c270b60a [2022-04-28T19:02:10.028Z] $ docker rm -f 57ff541b9ee3a7d6ca0636f9651187ef0a97248d48da2aa6fff4f405c270b60a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-28T19:03:54.147Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33696 in /w/workspace/xfoundry_go-mod-bootstrap_PR-326 [Pipeline] { [Pipeline] ws [2022-04-28T19:03:54.161Z] Running in /w/workspace/go-mod-bootstrap/5 [Pipeline] { [Pipeline] checkout [2022-04-28T19:03:54.460Z] Selected Git installation does not exist. Using Default [2022-04-28T19:03:54.460Z] The recommended git tool is: NONE [2022-04-28T19:04:01.442Z] using credential edgex-jenkins-ssh [2022-04-28T19:04:01.461Z] Cloning the remote Git repository [2022-04-28T19:04:01.532Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-04-28T19:04:01.611Z] > git init /w/workspace/go-mod-bootstrap/5 # timeout=10 [2022-04-28T19:04:01.779Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-04-28T19:04:01.780Z] > git --version # timeout=10 [2022-04-28T19:04:01.818Z] > git --version # 'git version 2.25.1' [2022-04-28T19:04:01.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T19:04:01.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T19:04:03.103Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-04-28T19:04:03.125Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-28T19:04:03.156Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2022-04-28T19:04:03.198Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2022-04-28T19:04:03.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T19:04:03.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-28T19:04:03.810Z] Merging remotes/origin/main commit 259bd563e06e51d1d05c56b550cf7f6cc992db1a into PR head commit bc54e75114a7bb3d8a3835bcd3b9757a127af91c [2022-04-28T19:04:04.121Z] Merge succeeded, producing b1f8cbff987835908ff85bfdbc44dcc488b5f0c3 [2022-04-28T19:04:04.122Z] Checking out Revision b1f8cbff987835908ff85bfdbc44dcc488b5f0c3 (PR-326) [2022-04-28T19:04:03.839Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T19:04:03.853Z] > git checkout -f bc54e75114a7bb3d8a3835bcd3b9757a127af91c # timeout=10 [2022-04-28T19:04:03.963Z] > git remote # timeout=10 [2022-04-28T19:04:03.988Z] > git config --get remote.origin.url # timeout=10 [2022-04-28T19:04:04.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-28T19:04:04.025Z] > git merge 259bd563e06e51d1d05c56b550cf7f6cc992db1a # timeout=10 [2022-04-28T19:04:04.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-28T19:04:04.136Z] > git config core.sparsecheckout # timeout=10 [2022-04-28T19:04:04.152Z] > git checkout -f b1f8cbff987835908ff85bfdbc44dcc488b5f0c3 # timeout=10 [2022-04-28T19:04:08.246Z] Commit message: "Merge commit '259bd563e06e51d1d05c56b550cf7f6cc992db1a' into HEAD" [2022-04-28T19:04:08.266Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-28T19:04:09.100Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-28T19:04:09.100Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T19:04:09.100Z] Dload Upload Total Spent Left Speed [2022-04-28T19:04:09.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 231k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2022-04-28T19:04:08.259Z] > git rev-list --no-walk 0ca8cf523336e8493d319ff32654299be0d49324 # timeout=10 [2022-04-28T19:04:09.630Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-28T19:04:09.983Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-28T19:04:09.983Z] + sudo tee /etc/docker/daemon.new [2022-04-28T19:04:09.983Z] { [2022-04-28T19:04:09.983Z] "registry-mirrors": [ [2022-04-28T19:04:09.983Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-28T19:04:09.983Z] ], [2022-04-28T19:04:09.983Z] "bip": "10.250.0.254/24", [2022-04-28T19:04:09.983Z] "hosts": [ [2022-04-28T19:04:09.983Z] "tcp://0.0.0.0:5555", [2022-04-28T19:04:09.983Z] "unix:///var/run/docker.sock" [2022-04-28T19:04:09.983Z] ], [2022-04-28T19:04:09.983Z] "mtu": 1458, [2022-04-28T19:04:09.983Z] "selinux-enabled": true, [2022-04-28T19:04:09.983Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-28T19:04:09.983Z] } [Pipeline] sh [2022-04-28T19:04:10.327Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-28T19:04:10.674Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2022-04-28T19:04:29.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-28T19:04:29.492Z] ========================================================= [2022-04-28T19:04:29.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-28T19:04:29.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-04-28T19:04:29.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T19:04:30.815Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-28T19:04:30.815Z] 9b3977197b4f: Pulling fs layer [2022-04-28T19:04:30.815Z] 1a89e8eeedd5: Pulling fs layer [2022-04-28T19:04:30.815Z] 94645a83ff95: Pulling fs layer [2022-04-28T19:04:30.815Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-28T19:04:30.815Z] 0c92f367c5e7: Pulling fs layer [2022-04-28T19:04:30.815Z] 3096ccb668a1: Pulling fs layer [2022-04-28T19:04:30.815Z] e8cf19c19ddd: Pulling fs layer [2022-04-28T19:04:30.815Z] a4caa8a26152: Pulling fs layer [2022-04-28T19:04:30.815Z] 3096ccb668a1: Waiting [2022-04-28T19:04:30.815Z] 0c92f367c5e7: Waiting [2022-04-28T19:04:30.815Z] 3f3a8bcf1eab: Waiting [2022-04-28T19:04:30.815Z] e8cf19c19ddd: Waiting [2022-04-28T19:04:30.815Z] a4caa8a26152: Waiting [2022-04-28T19:04:30.815Z] 94645a83ff95: Verifying Checksum [2022-04-28T19:04:30.815Z] 94645a83ff95: Download complete [2022-04-28T19:04:30.815Z] 1a89e8eeedd5: Verifying Checksum [2022-04-28T19:04:30.815Z] 1a89e8eeedd5: Download complete [2022-04-28T19:04:30.815Z] 0c92f367c5e7: Verifying Checksum [2022-04-28T19:04:30.815Z] 0c92f367c5e7: Download complete [2022-04-28T19:04:30.815Z] 3096ccb668a1: Verifying Checksum [2022-04-28T19:04:30.815Z] 3096ccb668a1: Download complete [2022-04-28T19:04:30.815Z] 9b3977197b4f: Verifying Checksum [2022-04-28T19:04:30.815Z] 9b3977197b4f: Download complete [2022-04-28T19:04:30.815Z] e8cf19c19ddd: Verifying Checksum [2022-04-28T19:04:30.815Z] e8cf19c19ddd: Download complete [2022-04-28T19:04:31.415Z] 9b3977197b4f: Pull complete [2022-04-28T19:04:32.030Z] 1a89e8eeedd5: Pull complete [2022-04-28T19:04:32.315Z] 94645a83ff95: Pull complete [2022-04-28T19:04:32.922Z] a4caa8a26152: Verifying Checksum [2022-04-28T19:04:32.922Z] a4caa8a26152: Download complete [2022-04-28T19:04:33.196Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-28T19:04:33.196Z] 3f3a8bcf1eab: Download complete [2022-04-28T19:04:45.712Z] 3f3a8bcf1eab: Pull complete [2022-04-28T19:04:45.712Z] 0c92f367c5e7: Pull complete [2022-04-28T19:04:45.712Z] 3096ccb668a1: Pull complete [2022-04-28T19:04:45.997Z] e8cf19c19ddd: Pull complete [2022-04-28T19:04:52.738Z] a4caa8a26152: Pull complete [2022-04-28T19:04:52.738Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-28T19:04:52.738Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-28T19:04:52.738Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] sh [2022-04-28T19:04:53.082Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:04:53.440Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T19:04:53.440Z] . [Pipeline] withDockerContainer [2022-04-28T19:04:53.713Z] prd-ubuntu20.04-docker-arm64-4c-16g-33696 does not seem to be running inside a container [2022-04-28T19:04:53.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-28T19:04:56.045Z] $ docker top 0cb39779b4a2b322755033504fbd749917714f11422c57e848f6e44eacecf7f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T19:04:56.974Z] + go version [2022-04-28T19:04:56.974Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-28T19:04:57.006Z] $ docker stop --time=1 0cb39779b4a2b322755033504fbd749917714f11422c57e848f6e44eacecf7f2 [2022-04-28T19:04:58.680Z] $ docker rm -f 0cb39779b4a2b322755033504fbd749917714f11422c57e848f6e44eacecf7f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:04:59.317Z] + docker inspect -f . ci-base-image-arm64 [2022-04-28T19:04:59.317Z] . [Pipeline] withDockerContainer [2022-04-28T19:04:59.549Z] prd-ubuntu20.04-docker-arm64-4c-16g-33696 does not seem to be running inside a container [2022-04-28T19:04:59.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-28T19:05:02.325Z] $ docker top f8f189b38082bd143498ee8d60e0909bfcaea608319b645cb0fdf7dffb3050ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-28T19:05:03.236Z] + make test [2022-04-28T19:05:03.236Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-28T19:05:03.236Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 [2022-04-28T19:05:03.236Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.26 [2022-04-28T19:05:03.236Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2022-04-28T19:05:03.510Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.6 [2022-04-28T19:05:03.510Z] go: downloading github.com/stretchr/testify v1.7.1 [2022-04-28T19:05:03.790Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 [2022-04-28T19:05:03.790Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a [2022-04-28T19:05:03.790Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 [2022-04-28T19:05:03.790Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-04-28T19:05:03.790Z] go: downloading github.com/google/uuid v1.3.0 [2022-04-28T19:05:03.790Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2022-04-28T19:05:04.065Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-04-28T19:05:04.065Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-04-28T19:05:04.065Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-04-28T19:05:04.065Z] go: downloading github.com/go-kit/log v0.2.0 [2022-04-28T19:05:04.065Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-04-28T19:05:04.065Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 [2022-04-28T19:05:04.065Z] go: downloading github.com/go-playground/validator/v10 v10.10.1 [2022-04-28T19:05:04.065Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2022-04-28T19:05:04.338Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-04-28T19:05:04.338Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-04-28T19:05:04.338Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-04-28T19:05:04.338Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2022-04-28T19:05:04.338Z] go: downloading github.com/zeebo/errs v1.2.2 [2022-04-28T19:05:04.338Z] go: downloading google.golang.org/grpc v1.42.0 [2022-04-28T19:05:05.321Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-04-28T19:05:05.321Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-04-28T19:05:05.321Z] go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 [2022-04-28T19:05:05.321Z] go: downloading golang.org/x/text v0.3.7 [2022-04-28T19:05:05.321Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-04-28T19:05:05.595Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-04-28T19:05:05.595Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-04-28T19:05:05.595Z] go: downloading github.com/x448/float16 v0.8.4 [2022-04-28T19:05:05.595Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-04-28T19:05:05.875Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-04-28T19:05:05.875Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-04-28T19:05:05.875Z] go: downloading gopkg.in/square/go-jose.v2 v2.4.1 [2022-04-28T19:05:05.875Z] go: downloading google.golang.org/protobuf v1.27.1 [2022-04-28T19:05:06.855Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-04-28T19:05:06.855Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-04-28T19:05:06.855Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-04-28T19:05:06.855Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-04-28T19:05:06.855Z] go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa [2022-04-28T19:05:06.855Z] go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 [2022-04-28T19:05:07.132Z] go: downloading github.com/go-playground/locales v0.14.0 [2022-04-28T19:05:07.749Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-04-28T19:05:08.026Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-04-28T19:05:08.026Z] go: downloading github.com/fatih/color v1.9.0 [2022-04-28T19:05:08.026Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-04-28T19:05:08.026Z] go: downloading github.com/golang/protobuf v1.5.2 [2022-04-28T19:05:08.305Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-04-28T19:05:08.305Z] go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 [2022-04-28T19:05:09.309Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-04-28T19:05:09.309Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-04-28T19:05:09.584Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-04-28T19:06:31.428Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] [2022-04-28T19:06:31.428Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.071s coverage: 4.6% of statements [2022-04-28T19:06:31.428Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] [2022-04-28T19:06:31.428Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.084s coverage: 92.2% of statements [2022-04-28T19:06:31.428Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.027s coverage: 85.3% of statements [2022-04-28T19:06:39.764Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.094s coverage: 55.0% of statements [2022-04-28T19:06:39.764Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] [2022-04-28T19:06:39.764Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] [2022-04-28T19:06:39.764Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.082s coverage: 100.0% of statements [2022-04-28T19:06:39.764Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.455s coverage: 88.1% of statements [2022-04-28T19:06:39.764Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.103s coverage: 25.0% of statements [2022-04-28T19:06:49.957Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.097s coverage: 79.6% of statements [2022-04-28T19:06:49.957Z] ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] [2022-04-28T19:06:49.957Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.041s coverage: 41.7% of statements [2022-04-28T19:06:49.957Z] ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.029s coverage: 91.3% of statements [2022-04-28T19:06:49.957Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-28T19:06:49.957Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-28T19:07:16.840Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-28T19:07:16.840Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2022-04-28T19:07:16.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-28T19:07:16.886Z] $ docker stop --time=1 f8f189b38082bd143498ee8d60e0909bfcaea608319b645cb0fdf7dffb3050ab [2022-04-28T19:07:18.723Z] $ docker rm -f f8f189b38082bd143498ee8d60e0909bfcaea608319b645cb0fdf7dffb3050ab [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-28T19:07:21.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-28T19:07:21.536Z] Warning: overwriting stash ‘coverage-report’ [2022-04-28T19:07:22.085Z] 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-04-28T19:07:22.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T19:07:22.524Z] [2022-04-28T19:07:22.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:07:22.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T19:07:23.166Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-28T19:07:23.166Z] 8998bd30e6a1: Pulling fs layer [2022-04-28T19:07:23.166Z] 04944245beec: Pulling fs layer [2022-04-28T19:07:23.166Z] 699f458cf7ca: Pulling fs layer [2022-04-28T19:07:23.166Z] 765212b225bb: Pulling fs layer [2022-04-28T19:07:23.166Z] f23df028b6ca: Pulling fs layer [2022-04-28T19:07:23.166Z] d65c8cfc05b1: Pulling fs layer [2022-04-28T19:07:23.166Z] 2437ff75d9bd: Pulling fs layer [2022-04-28T19:07:23.166Z] f23df028b6ca: Waiting [2022-04-28T19:07:23.166Z] d65c8cfc05b1: Waiting [2022-04-28T19:07:23.166Z] 2437ff75d9bd: Waiting [2022-04-28T19:07:23.166Z] 765212b225bb: Waiting [2022-04-28T19:07:23.166Z] 04944245beec: Verifying Checksum [2022-04-28T19:07:23.166Z] 04944245beec: Download complete [2022-04-28T19:07:23.166Z] 765212b225bb: Download complete [2022-04-28T19:07:23.166Z] f23df028b6ca: Download complete [2022-04-28T19:07:23.166Z] d65c8cfc05b1: Verifying Checksum [2022-04-28T19:07:23.166Z] d65c8cfc05b1: Download complete [2022-04-28T19:07:23.443Z] 699f458cf7ca: Verifying Checksum [2022-04-28T19:07:23.443Z] 699f458cf7ca: Download complete [2022-04-28T19:07:23.721Z] 8998bd30e6a1: Verifying Checksum [2022-04-28T19:07:23.721Z] 8998bd30e6a1: Download complete [2022-04-28T19:07:26.376Z] 2437ff75d9bd: Verifying Checksum [2022-04-28T19:07:26.376Z] 2437ff75d9bd: Download complete [2022-04-28T19:07:28.374Z] 8998bd30e6a1: Pull complete [2022-04-28T19:07:28.977Z] 04944245beec: Pull complete [2022-04-28T19:07:30.420Z] 699f458cf7ca: Pull complete [2022-04-28T19:07:30.694Z] 765212b225bb: Pull complete [2022-04-28T19:07:31.680Z] f23df028b6ca: Pull complete [2022-04-28T19:07:31.680Z] d65c8cfc05b1: Pull complete [2022-04-28T19:07:46.793Z] 2437ff75d9bd: Pull complete [2022-04-28T19:07:46.793Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-28T19:07:46.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-28T19:07:46.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-28T19:07:47.041Z] prd-ubuntu20.04-docker-arm64-4c-16g-33696 does not seem to be running inside a container [2022-04-28T19:07:47.145Z] $ 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/5 -v /w/workspace/go-mod-bootstrap/5:/w/workspace/go-mod-bootstrap/5:rw,z -v /w/workspace/go-mod-bootstrap/5@tmp:/w/workspace/go-mod-bootstrap/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-28T19:07:49.717Z] $ docker top 6ce90b3950d46531da925a3105f9d523af7112ada49ef783703634ace8de8666 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:07:50.656Z] ---> job-cost.sh [2022-04-28T19:07:50.656Z] lf-activate-venv: SKIPPING [2022-04-28T19:07:50.656Z] INFO: No Stack... [2022-04-28T19:07:51.249Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-28T19:07:51.843Z] INFO: Archiving Costs [Pipeline] sh [2022-04-28T19:07:52.531Z] + cut -d, -f6 [2022-04-28T19:07:52.531Z] + cat /w/workspace/go-mod-bootstrap/5/archives/cost.csv [Pipeline] lock [2022-04-28T19:07:52.596Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [2022-04-28T19:07:52.601Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] did not exist. Created. [2022-04-28T19:07:52.601Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-28T19:07:53.285Z] /w/workspace/go-mod-bootstrap/5@tmp/durable-f45f5806/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-28T19:07:53.979Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-28T19:07:54.011Z] Warning: overwriting stash ‘stack-cost’ [2022-04-28T19:07:54.065Z] Stashed 1 file(s) [Pipeline] } [2022-04-28T19:07:54.071Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-326-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-28T19:07:54.102Z] $ docker stop --time=1 6ce90b3950d46531da925a3105f9d523af7112ada49ef783703634ace8de8666 [2022-04-28T19:07:55.647Z] $ docker rm -f 6ce90b3950d46531da925a3105f9d523af7112ada49ef783703634ace8de8666 [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-04-28T19:07:56.109Z] provisioning config files... [2022-04-28T19:07:56.120Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/config8741609228193451581tmp [Pipeline] { [Pipeline] sh [2022-04-28T19:07:56.413Z] + set +x [2022-04-28T19:07:56.414Z] + + curl -s https://codecov.io/bash [2022-04-28T19:07:56.414Z] bash -s -- [2022-04-28T19:07:56.414Z] [2022-04-28T19:07:56.414Z] _____ _ [2022-04-28T19:07:56.414Z] / ____| | | [2022-04-28T19:07:56.414Z] | | ___ __| | ___ ___ _____ __ [2022-04-28T19:07:56.414Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-28T19:07:56.414Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-28T19:07:56.414Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-28T19:07:56.414Z] Bash-1.0.6 [2022-04-28T19:07:56.414Z] [2022-04-28T19:07:56.414Z] [2022-04-28T19:07:56.414Z] ==> git version 2.25.1 found [2022-04-28T19:07:56.414Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-28T19:07:56.414Z] Release-Date: 2020-01-08 [2022-04-28T19:07:56.414Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-28T19:07:56.414Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-28T19:07:56.414Z] ==> Jenkins CI detected. [2022-04-28T19:07:56.414Z] current dir:  /w/workspace/xfoundry_go-mod-bootstrap_PR-326 [2022-04-28T19:07:56.414Z] project root: . [2022-04-28T19:07:56.414Z] --> token set from env [2022-04-28T19:07:56.414Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-28T19:07:56.414Z] ==> Running gcov in . (disable via -X gcov) [2022-04-28T19:07:56.414Z] ==> Python coveragepy not found [2022-04-28T19:07:56.414Z] ==> Searching for coverage reports in: [2022-04-28T19:07:56.414Z] + . [2022-04-28T19:07:56.414Z] -> Found 1 reports [2022-04-28T19:07:56.414Z] ==> Detecting git/mercurial file structure [2022-04-28T19:07:56.414Z] ==> Reading reports [2022-04-28T19:07:56.414Z] + ./coverage.out bytes=55983 [2022-04-28T19:07:56.414Z] ==> Appending adjustments [2022-04-28T19:07:56.414Z] https://docs.codecov.io/docs/fixing-reports [2022-04-28T19:07:56.674Z] + Found adjustments [2022-04-28T19:07:56.674Z] ==> Gzipping contents [2022-04-28T19:07:56.674Z] 12K /tmp/codecov.Fz4geJ.gz [2022-04-28T19:07:56.674Z] ==> Uploading reports [2022-04-28T19:07:56.674Z] url: https://codecov.io [2022-04-28T19:07:56.674Z] query: branch=PR-326&commit=ee15013dd2d0e1b24a5bc3773a942aebfc092e98&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-326%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=326&job=&cmd_args= [2022-04-28T19:07:56.674Z] -> Pinging Codecov [2022-04-28T19:07:56.674Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c5112490-c224-4931-97ab-fb3b10067c12&branch=PR-326&commit=ee15013dd2d0e1b24a5bc3773a942aebfc092e98&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-bootstrap%2Fjob%2FPR-326%2F5%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-bootstrap&service=jenkins&flags=&pr=326&job=&cmd_args= [2022-04-28T19:07:56.935Z] -> Uploading to [2022-04-28T19:07:56.935Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-28/833815588EE85121546D348822E98E2E/ee15013dd2d0e1b24a5bc3773a942aebfc092e98/0e804db0-1b1d-40aa-b9c1-80ad423eb624.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T190756Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75fca69d2754c884ff0a97843e2819938e822a74fc7473639fde77128001f682 [2022-04-28T19:07:56.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-28T19:07:56.935Z] Dload Upload Total Spent Left Speed [2022-04-28T19:07:57.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9295 0 0 100 9295 0 32162 --:--:-- --:--:-- --:--:-- 32162 [2022-04-28T19:07:57.196Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/go-mod-bootstrap/commit/ee15013dd2d0e1b24a5bc3773a942aebfc092e98 [Pipeline] } [2022-04-28T19:07:57.205Z] 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-04-28T19:07:57.884Z] + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives ] [2022-04-28T19:07:57.884Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives [2022-04-28T19:07:57.884Z] total 16 [2022-04-28T19:07:57.884Z] drwxr-xr-x 3 root root 4096 Apr 28 19:02 . [2022-04-28T19:07:57.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 19:02 .. [2022-04-28T19:07:57.884Z] drwxr-xr-x 2 root root 4096 Apr 28 19:02 cost [2022-04-28T19:07:57.884Z] -rw-r--r-- 1 root root 87 Apr 28 19:02 cost.csv [2022-04-28T19:07:57.884Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives [2022-04-28T19:07:57.884Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives [2022-04-28T19:07:57.884Z] total 16 [2022-04-28T19:07:57.884Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 19:02 . [2022-04-28T19:07:57.884Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 28 19:02 .. [2022-04-28T19:07:57.884Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 19:02 cost [2022-04-28T19:07:57.884Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 28 19:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:07:58.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:07:59.042Z] ---> package-listing.sh [2022-04-28T19:07:59.042Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-28T19:07:59.042Z] ++ facter osfamily [2022-04-28T19:07:59.301Z] + OS_FAMILY=debian [2022-04-28T19:07:59.301Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-326 [2022-04-28T19:07:59.301Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-28T19:07:59.301Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-28T19:07:59.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-28T19:07:59.301Z] + PACKAGES=/tmp/packages_start.txt [2022-04-28T19:07:59.301Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-326 ']' [2022-04-28T19:07:59.301Z] + PACKAGES=/tmp/packages_end.txt [2022-04-28T19:07:59.301Z] + case "${OS_FAMILY}" in [2022-04-28T19:07:59.301Z] + dpkg -l [2022-04-28T19:07:59.301Z] + grep '^ii' [2022-04-28T19:07:59.301Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-28T19:07:59.301Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-28T19:07:59.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-28T19:07:59.301Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-326 ']' [2022-04-28T19:07:59.302Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives/ [2022-04-28T19:07:59.302Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-326/archives/ [Pipeline] echo [2022-04-28T19:07:59.313Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-28T19:07:59.589Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-28T19:08:00.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-28T19:08:00.141Z] . [Pipeline] withDockerContainer [2022-04-28T19:08:00.204Z] prd-ubuntu20.04-docker-8c-8g-33694 does not seem to be running inside a container [2022-04-28T19:08:00.256Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326/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-326 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326:/w/workspace/xfoundry_go-mod-bootstrap_PR-326:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-28T19:08:00.465Z] $ docker top cf07a59274d7080a0663bc24a030964728466f7783e0de4636a8f739c5e82fa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-28T19:08:00.800Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-28T19:08:01.094Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-28T19:08:01.383Z] + ls /var/log/sa-host [2022-04-28T19:08:01.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-28T19:08:01.467Z] provisioning config files... [2022-04-28T19:08:01.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-326@tmp/config693467063520717366tmp [Pipeline] { [Pipeline] echo [2022-04-28T19:08:01.495Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:08:01.784Z] ---> create-netrc.sh [Pipeline] } [2022-04-28T19:08:01.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:08:02.123Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-28T19:08:02.135Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:08:02.429Z] ---> sudo-logs.sh [2022-04-28T19:08:02.429Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-28T19:08:02.452Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:08:02.736Z] ---> job-cost.sh [2022-04-28T19:08:02.736Z] lf-activate-venv: SKIPPING [2022-04-28T19:08:02.736Z] DEBUG: total: 0.2199999988079071 [2022-04-28T19:08:02.736Z] INFO: Retrieving Stack Cost... [2022-04-28T19:08:02.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-28T19:08:03.565Z] INFO: Archiving Costs [Pipeline] echo [2022-04-28T19:08:03.579Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-28T19:08:03.869Z] ---> logs-deploy.sh [2022-04-28T19:08:03.869Z] lf-activate-venv: SKIPPING [2022-04-28T19:08:03.869Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-326/5 [2022-04-28T19:08:03.869Z] INFO: archiving workspace using pattern(s): [2022-04-28T19:08:04.853Z] Archives upload complete. [2022-04-28T19:08:04.853Z] INFO: archiving logs to Nexus