Pull request #337 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from e4a9e9116c75de826272515bdf7530e28f36aa40+9e90773c253324884bef3249c78fa76c8e272f85 (a7d7a9c72c6bc21525049b87f9c78fcb8ce43790) 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-ssh10894991573013210699.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-ssh17327298219273932669.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5771615840141166160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6177496776288249110.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7880683291905641304.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12469998085366964586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-41835 in /w/workspace/xfoundry_go-mod-bootstrap_PR-337 [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-337 # 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 9e90773c253324884bef3249c78fa76c8e272f85 into PR head commit e4a9e9116c75de826272515bdf7530e28f36aa40 Merge succeeded, producing e4a9e9116c75de826272515bdf7530e28f36aa40 Checking out Revision e4a9e9116c75de826272515bdf7530e28f36aa40 (PR-337) > 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/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a9e9116c75de826272515bdf7530e28f36aa40 # 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 9e90773c253324884bef3249c78fa76c8e272f85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4a9e9116c75de826272515bdf7530e28f36aa40 # timeout=10 Commit message: "Build: Update change log for 2.2.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:43:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:43:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:43:30 ========================================================= 17:43:30 EdgeX Global Pipelines Version Info 17:43:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:43:31 ------------------- 17:43:31 stable info: 17:43:31 ------------------- 17:43:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:43:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:43:31 Message: update stable to v1.0.227 17:43:32 ------------------- 17:43:32 experimental info: 17:43:32 ------------------- 17:43:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:43:32 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:43:32 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 17:43:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4a9e9116c75de826272515bdf7530e28f36aa40 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4a9e91 [Pipeline] echo 17:43:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:43:34 + git rev-list -1 --merges e4a9e9116c75de826272515bdf7530e28f36aa40~1..e4a9e9116c75de826272515bdf7530e28f36aa40 [Pipeline] echo 17:43:34 -----------> git rev-list -1 --merges e4a9e9116c75de826272515bdf7530e28f36aa40~1..e4a9e9116c75de826272515bdf7530e28f36aa40 e4a9e9116c75de826272515bdf7530e28f36aa40 [false] [Pipeline] sh 17:43:34 + git log --format=format:%s -1 e4a9e9116c75de826272515bdf7530e28f36aa40 [Pipeline] echo 17:43:34 ========================================================= 17:43:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:43:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:43:35 + git log --format=format:%s -1 e4a9e9116c75de826272515bdf7530e28f36aa40 [Pipeline] echo 17:43:35 [semverPrep] GIT_COMMIT: e4a9e9116c75de826272515bdf7530e28f36aa40, Commit Message: Build: Update change log for 2.2.0 [Pipeline] echo 17:43:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:43:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:43:35 + grep -v github /etc/ssh/ssh_known_hosts 17:43:35 + [ -e /tmp/ssh_known_hosts ] 17:43:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:43:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:43:35 + sudo tee -a /etc/ssh/ssh_known_hosts 17:43:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:43:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:43:36 17:43:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:43:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:43:36 latest: Pulling from edgex-devops/py-git-semver 17:43:36 1fe172e4850f: Pulling fs layer 17:43:36 caf521ccaac6: Pulling fs layer 17:43:36 3ead6fa29328: Pulling fs layer 17:43:36 5c2a1cbceb83: Pulling fs layer 17:43:36 a8d5f1318db7: Pulling fs layer 17:43:36 c427282e49a2: Pulling fs layer 17:43:36 1827001aaf11: Pulling fs layer 17:43:36 0714d37db230: Pulling fs layer 17:43:36 ac28cf19c067: Pulling fs layer 17:43:36 ca983d60f3e2: Pulling fs layer 17:43:36 9f894cec8388: Pulling fs layer 17:43:36 5c2a1cbceb83: Waiting 17:43:36 a8d5f1318db7: Waiting 17:43:36 c427282e49a2: Waiting 17:43:36 ca983d60f3e2: Waiting 17:43:36 1827001aaf11: Waiting 17:43:36 9f894cec8388: Waiting 17:43:36 0714d37db230: Waiting 17:43:36 ac28cf19c067: Waiting 17:43:36 caf521ccaac6: Download complete 17:43:36 5c2a1cbceb83: Verifying Checksum 17:43:36 5c2a1cbceb83: Download complete 17:43:37 a8d5f1318db7: Verifying Checksum 17:43:37 a8d5f1318db7: Download complete 17:43:37 c427282e49a2: Verifying Checksum 17:43:37 c427282e49a2: Download complete 17:43:37 3ead6fa29328: Verifying Checksum 17:43:37 3ead6fa29328: Download complete 17:43:37 0714d37db230: Download complete 17:43:37 ac28cf19c067: Download complete 17:43:37 ca983d60f3e2: Download complete 17:43:37 9f894cec8388: Verifying Checksum 17:43:37 9f894cec8388: Download complete 17:43:37 1fe172e4850f: Verifying Checksum 17:43:37 1fe172e4850f: Download complete 17:43:37 1827001aaf11: Verifying Checksum 17:43:37 1827001aaf11: Download complete 17:43:38 1fe172e4850f: Pull complete 17:43:38 caf521ccaac6: Pull complete 17:43:39 3ead6fa29328: Pull complete 17:43:39 5c2a1cbceb83: Pull complete 17:43:39 a8d5f1318db7: Pull complete 17:43:39 c427282e49a2: Pull complete 17:43:41 1827001aaf11: Pull complete 17:43:41 0714d37db230: Pull complete 17:43:41 ac28cf19c067: Pull complete 17:43:41 ca983d60f3e2: Pull complete 17:43:41 9f894cec8388: Pull complete 17:43:41 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:43:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:43:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:43:41 prd-ubuntu20.04-docker-8c-8g-41835 does not seem to be running inside a container 17:43:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:43:43 $ docker top a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a -eo pid,comm 17:43:43 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). 17:43:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:43:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:43 [ssh-agent] Looking for ssh-agent implementation... 17:43:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:43 $ docker exec a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a ssh-agent 17:43:43 SSH_AUTH_SOCK=/tmp/ssh-byZ4zi1FWiFn/agent.34 17:43:43 SSH_AGENT_PID=40 17:43:43 Running ssh-add (command line suppressed) 17:43:44 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_4578999601065545284.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_4578999601065545284.key) 17:43:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:44 + git tag --points-at HEAD [Pipeline] } 17:43:44 $ docker exec --env ******** --env ******** a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a ssh-agent -k 17:43:44 unset SSH_AUTH_SOCK; 17:43:44 unset SSH_AGENT_PID; 17:43:44 echo Agent pid 40 killed; 17:43:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:43:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:43:44 [ssh-agent] Looking for ssh-agent implementation... 17:43:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:43:44 $ docker exec a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a ssh-agent 17:43:44 SSH_AUTH_SOCK=/tmp/ssh-Xu3uv2ngd0Ex/agent.73 17:43:44 SSH_AGENT_PID=79 17:43:44 Running ssh-add (command line suppressed) 17:43:45 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_4652914528416956682.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/private_key_4652914528416956682.key) 17:43:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:43:45 + git semver init 17:43:45 2022-05-09 17:43:45,688 [run_init] DEBUG init version:0.0.0 force:False 17:43:45 2022-05-09 17:43:45,689 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver 17:43:45 2022-05-09 17:43:45,690 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver 17:43:45 2022-05-09 17:43:45,690 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337, universal_newlines=False, shell=None, istream=None) 17:43:46 2022-05-09 17:43:46,487 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.git/info/exclude 17:43:46 2022-05-09 17:43:46,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 with force:False 17:43:46 2022-05-09 17:43:46,488 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 17:43:46 2022-05-09 17:43:46,493 [execute] INFO git cat-file --batch-check 17:43:46 2022-05-09 17:43:46,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver, universal_newlines=False, shell=None, istream=) 17:43:46 2022-05-09 17:43:46,500 [execute] INFO git cat-file --batch 17:43:46 2022-05-09 17:43:46,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver, universal_newlines=False, shell=None, istream=) 17:43:46 2022-05-09 17:43:46,507 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-337/.semver/PR-337 17:43:46 0.0.0 [Pipeline] } 17:43:46 $ docker exec --env ******** --env ******** a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a ssh-agent -k 17:43:46 unset SSH_AUTH_SOCK; 17:43:46 unset SSH_AGENT_PID; 17:43:46 echo Agent pid 79 killed; 17:43:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:43:47 + git semver [Pipeline] } 17:43:47 $ docker stop --time=1 a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a 17:43:48 $ docker rm -f a28d9c2554cba90308c1c1109c043b1a3b5dd4062ab9aa34226411ae2ff1394a [Pipeline] // withDockerContainer [Pipeline] sh 17:43:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:43:49 Stashed 1 file(s) [Pipeline] echo 17:43:49 [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 17:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:43:50 ========================================================= 17:43:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:43:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 17:43:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:43:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:43:50 59bf1c3509f3: Pulling fs layer 17:43:50 666ba61612fd: Pulling fs layer 17:43:50 8ed8ca486205: Pulling fs layer 17:43:50 4fe6c5a15a65: Pulling fs layer 17:43:50 22a0e8bec74d: Pulling fs layer 17:43:50 ca2b28591e48: Pulling fs layer 17:43:50 a51346096db8: Pulling fs layer 17:43:50 daebc70d1ce1: Pulling fs layer 17:43:50 0e18a0eac166: Pulling fs layer 17:43:50 ca2b28591e48: Waiting 17:43:50 a51346096db8: Waiting 17:43:50 daebc70d1ce1: Waiting 17:43:50 0e18a0eac166: Waiting 17:43:50 4fe6c5a15a65: Waiting 17:43:50 22a0e8bec74d: Waiting 17:43:50 8ed8ca486205: Verifying Checksum 17:43:50 8ed8ca486205: Download complete 17:43:50 666ba61612fd: Verifying Checksum 17:43:50 666ba61612fd: Download complete 17:43:50 22a0e8bec74d: Verifying Checksum 17:43:50 22a0e8bec74d: Download complete 17:43:50 ca2b28591e48: Download complete 17:43:50 a51346096db8: Verifying Checksum 17:43:50 a51346096db8: Download complete 17:43:50 59bf1c3509f3: Verifying Checksum 17:43:50 59bf1c3509f3: Download complete 17:43:50 daebc70d1ce1: Verifying Checksum 17:43:50 daebc70d1ce1: Download complete 17:43:50 59bf1c3509f3: Pull complete 17:43:50 666ba61612fd: Pull complete 17:43:51 8ed8ca486205: Pull complete 17:43:51 0e18a0eac166: Verifying Checksum 17:43:51 0e18a0eac166: Download complete 17:43:51 4fe6c5a15a65: Verifying Checksum 17:43:51 4fe6c5a15a65: Download complete 17:43:55 4fe6c5a15a65: Pull complete 17:43:55 22a0e8bec74d: Pull complete 17:43:55 ca2b28591e48: Pull complete 17:43:55 a51346096db8: Pull complete 17:43:55 daebc70d1ce1: Pull complete 17:43:58 0e18a0eac166: Pull complete 17:43:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:43:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:43:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] sh 17:43:58 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] sh 17:43:58 + docker inspect -f . ci-base-image-x86_64 17:43:58 . [Pipeline] withDockerContainer 17:43:58 prd-ubuntu20.04-docker-8c-8g-41835 does not seem to be running inside a container 17:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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-x86_64 cat 17:44:01 $ docker top 5c8ed7f71671fb9cf5b7e5ece4b7db4e23ae3e6e88497c6688d17fc12d845c3a -eo pid,comm [Pipeline] { [Pipeline] sh 17:44:01 + go version 17:44:01 go version go1.17.6 linux/amd64 [Pipeline] } 17:44:01 $ docker stop --time=1 5c8ed7f71671fb9cf5b7e5ece4b7db4e23ae3e6e88497c6688d17fc12d845c3a 17:44:02 $ docker rm -f 5c8ed7f71671fb9cf5b7e5ece4b7db4e23ae3e6e88497c6688d17fc12d845c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:44:03 + docker inspect -f . ci-base-image-x86_64 17:44:03 . [Pipeline] withDockerContainer 17:44:03 prd-ubuntu20.04-docker-8c-8g-41835 does not seem to be running inside a container 17:44:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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-x86_64 cat 17:44:04 $ docker top 51a4b300d79b9635bae5f4f75cfb2b57cf97f946b3723d9ca0e47b1454b47a2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:44:04 + make test 17:44:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:44:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a 17:44:04 go: downloading github.com/stretchr/testify v1.7.1 17:44:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.2.0-dev.28 17:44:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.2.0-dev.12 17:44:04 go: downloading github.com/google/uuid v1.3.0 17:44:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 17:44:04 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.2.0-dev.3 17:44:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.2.0-dev.3 17:44:04 go: downloading github.com/pelletier/go-toml v1.9.4 17:44:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.2.0-dev.8 17:44:04 go: downloading github.com/gorilla/mux v1.8.0 17:44:04 go: downloading github.com/davecgh/go-spew v1.1.1 17:44:04 go: downloading github.com/pmezard/go-difflib v1.0.0 17:44:04 go: downloading github.com/stretchr/objx v0.1.1 17:44:04 go: downloading github.com/hashicorp/errwrap v1.0.0 17:44:04 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 17:44:04 go: downloading github.com/go-kit/log v0.2.0 17:44:04 go: downloading github.com/go-playground/validator/v10 v10.10.1 17:44:04 go: downloading github.com/spiffe/go-spiffe/v2 v2.0.0 17:44:04 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 17:44:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 17:44:04 go: downloading github.com/go-redis/redis/v7 v7.3.0 17:44:04 go: downloading github.com/pebbe/zmq4 v1.2.7 17:44:04 go: downloading github.com/hashicorp/consul/api v1.9.1 17:44:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 17:44:04 go: downloading github.com/go-logfmt/logfmt v0.5.1 17:44:04 go: downloading github.com/x448/float16 v0.8.4 17:44:04 go: downloading github.com/go-playground/universal-translator v0.18.0 17:44:04 go: downloading github.com/leodido/go-urn v1.2.1 17:44:04 go: downloading golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 17:44:04 go: downloading golang.org/x/text v0.3.7 17:44:04 go: downloading github.com/gorilla/websocket v1.4.2 17:44:04 go: downloading golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 17:44:04 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 17:44:04 go: downloading github.com/mitchellh/copystructure v1.0.0 17:44:04 go: downloading github.com/mitchellh/mapstructure v1.1.2 17:44:04 go: downloading github.com/zeebo/errs v1.2.2 17:44:04 go: downloading google.golang.org/grpc v1.42.0 17:44:04 go: downloading github.com/go-playground/locales v0.14.0 17:44:04 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 17:44:04 go: downloading github.com/hashicorp/go-hclog v0.12.0 17:44:04 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 17:44:04 go: downloading github.com/hashicorp/serf v0.9.5 17:44:04 go: downloading github.com/mitchellh/reflectwalk v1.0.0 17:44:04 go: downloading gopkg.in/square/go-jose.v2 v2.4.1 17:44:04 go: downloading google.golang.org/protobuf v1.27.1 17:44:04 go: downloading github.com/fatih/color v1.9.0 17:44:04 go: downloading github.com/mattn/go-isatty v0.0.12 17:44:04 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 17:44:04 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 17:44:04 go: downloading golang.org/x/sys v0.0.0-20220209214540-3681064d5158 17:44:04 go: downloading github.com/mattn/go-colorable v0.1.6 17:44:04 go: downloading github.com/golang/protobuf v1.5.2 17:44:04 Still waiting to schedule task 17:44:04 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:44:05 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 17:44:05 go: downloading github.com/hashicorp/golang-lru v0.5.0 17:44:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap [no test files] 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/config 0.036s coverage: 4.6% of statements 17:44:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container [no test files] 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/environment 0.022s coverage: 92.2% of statements 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/flags 0.012s coverage: 85.3% of statements 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/handlers 1.015s coverage: 54.9% of statements 17:44:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces [no test files] 17:44:17 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces/mocks [no test files] 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/messaging 0.027s coverage: 100.0% of statements 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/metrics 0.325s coverage: 88.1% of statements 17:44:17 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/registration 0.013s coverage: 25.0% of statements 17:44:20 ok github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret 3.025s coverage: 79.6% of statements 17:44:20 ? github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/startup [no test files] 17:44:20 ok github.com/edgexfoundry/go-mod-bootstrap/v2/config 0.009s coverage: 41.7% of statements 17:44:20 ok github.com/edgexfoundry/go-mod-bootstrap/v2/di 0.004s coverage: 91.3% of statements 17:44:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:44:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:44:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 17:44:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:44:30 $ docker stop --time=1 51a4b300d79b9635bae5f4f75cfb2b57cf97f946b3723d9ca0e47b1454b47a2f 17:44:33 $ docker rm -f 51a4b300d79b9635bae5f4f75cfb2b57cf97f946b3723d9ca0e47b1454b47a2f [Pipeline] // withDockerContainer [Pipeline] sh 17:44:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:44:33 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 17:44:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:34 17:44:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:44:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:35 latest: Pulling from edgex-lftools-log-publisher 17:44:35 5eb5b503b376: Pulling fs layer 17:44:35 5c69ac0246d0: Pulling fs layer 17:44:35 ec43610c2a17: Pulling fs layer 17:44:35 3a2ae6a8a46f: Pulling fs layer 17:44:35 33b1e0a273af: Pulling fs layer 17:44:35 5d3b04190fa2: Pulling fs layer 17:44:35 2f39f015ded8: Pulling fs layer 17:44:35 3a2ae6a8a46f: Waiting 17:44:35 33b1e0a273af: Waiting 17:44:35 5d3b04190fa2: Waiting 17:44:35 2f39f015ded8: Waiting 17:44:35 5c69ac0246d0: Verifying Checksum 17:44:35 5c69ac0246d0: Download complete 17:44:35 3a2ae6a8a46f: Download complete 17:44:35 33b1e0a273af: Verifying Checksum 17:44:35 5d3b04190fa2: Verifying Checksum 17:44:35 5d3b04190fa2: Download complete 17:44:35 ec43610c2a17: Verifying Checksum 17:44:35 ec43610c2a17: Download complete 17:44:35 5eb5b503b376: Verifying Checksum 17:44:35 5eb5b503b376: Download complete 17:44:36 2f39f015ded8: Download complete 17:44:36 5eb5b503b376: Pull complete 17:44:36 5c69ac0246d0: Pull complete 17:44:37 ec43610c2a17: Pull complete 17:44:37 3a2ae6a8a46f: Pull complete 17:44:37 33b1e0a273af: Pull complete 17:44:37 5d3b04190fa2: Pull complete 17:44:41 2f39f015ded8: Pull complete 17:44:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:44:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:44:41 prd-ubuntu20.04-docker-8c-8g-41835 does not seem to be running inside a container 17:44:41 $ 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-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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:latest cat 17:44:43 $ docker top 517b5d8f560cff1285fdba0d91088399ef3f244193058f69d4c2af61d8584cd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:44:44 ---> job-cost.sh 17:44:44 lf-activate-venv: SKIPPING 17:44:44 INFO: No Stack... 17:44:44 INFO: Retrieving Pricing Info for: v3-standard-8 17:44:45 INFO: Archiving Costs [Pipeline] sh 17:44:45 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/cost.csv 17:44:45 + cut -d, -f6 [Pipeline] lock 17:44:45 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-1-stack-cost] 17:44:45 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-1-stack-cost] did not exist. Created. 17:44:45 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:44:46 + echo total: 0.2199999988079071 [Pipeline] stash 17:44:46 Stashed 1 file(s) [Pipeline] } 17:44:46 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-337-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:44:46 $ docker stop --time=1 517b5d8f560cff1285fdba0d91088399ef3f244193058f69d4c2af61d8584cd4 17:44:47 $ docker rm -f 517b5d8f560cff1285fdba0d91088399ef3f244193058f69d4c2af61d8584cd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:47:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41837 in /w/workspace/xfoundry_go-mod-bootstrap_PR-337 [Pipeline] { [Pipeline] ws 17:47:11 Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout 17:47:11 Selected Git installation does not exist. Using Default 17:47:11 The recommended git tool is: NONE 17:47:19 using credential edgex-jenkins-ssh 17:47:19 Cloning the remote Git repository 17:47:19 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 17:47:19 > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 17:47:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:47:19 > git --version # timeout=10 17:47:19 > git --version # 'git version 2.25.1' 17:47:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:47:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:47:21 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 17:47:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 17:47:21 using GIT_SSH to set credentials SSH Credentials for GitHub 17:47:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:47:21 Merging remotes/origin/main commit 9e90773c253324884bef3249c78fa76c8e272f85 into PR head commit e4a9e9116c75de826272515bdf7530e28f36aa40 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:47:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } 17:47:21 > git config core.sparsecheckout # timeout=10 17:47:21 > git checkout -f e4a9e9116c75de826272515bdf7530e28f36aa40 # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:47:24 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives ] 17:47:24 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:47:24 total 16 17:47:24 drwxr-xr-x 3 root root 4096 May 9 17:44 . 17:47:24 drwxrwxr-x 9 jenkins jenkins 4096 May 9 17:44 .. 17:47:24 drwxr-xr-x 2 root root 4096 May 9 17:44 cost 17:47:24 -rw-r--r-- 1 root root 87 May 9 17:44 cost.csv 17:47:24 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:47:24 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives 17:47:24 total 16 17:47:24 drwxr-xr-x 3 jenkins jenkins 4096 May 9 17:44 . 17:47:24 drwxrwxr-x 9 jenkins jenkins 4096 May 9 17:44 .. 17:47:24 drwxr-xr-x 2 jenkins jenkins 4096 May 9 17:44 cost 17:47:24 -rw-r--r-- 1 jenkins jenkins 87 May 9 17:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:47:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:47:25 ---> package-listing.sh 17:47:25 ++ facter osfamily 17:47:25 ++ tr '[:upper:]' '[:lower:]' 17:47:25 + OS_FAMILY=debian 17:47:25 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-337 17:47:25 + START_PACKAGES=/tmp/packages_start.txt 17:47:25 + END_PACKAGES=/tmp/packages_end.txt 17:47:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:47:25 + PACKAGES=/tmp/packages_start.txt 17:47:25 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-337 ']' 17:47:25 + PACKAGES=/tmp/packages_end.txt 17:47:25 + case "${OS_FAMILY}" in 17:47:25 + dpkg -l 17:47:25 + grep '^ii' 17:47:25 + '[' -f /tmp/packages_start.txt ']' 17:47:25 + '[' -f /tmp/packages_end.txt ']' 17:47:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:47:25 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-337 ']' 17:47:25 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/ 17:47:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-337/archives/ [Pipeline] echo 17:47:25 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-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:47:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:47:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:47:26 . [Pipeline] withDockerContainer 17:47:26 prd-ubuntu20.04-docker-8c-8g-41835 does not seem to be running inside a container 17:47:26 $ 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-337/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-337 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337:/w/workspace/xfoundry_go-mod-bootstrap_PR-337:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@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 17:47:26 $ docker top 8643b5476fea4e445b7b6bf61366bc507f1f6927b77674f3b01ac14f3ffb7a90 -eo pid,comm [Pipeline] { [Pipeline] sh 17:47:27 + touch /tmp/pre-build-complete [Pipeline] sh 17:47:27 + mkdir -p /var/log/sysstat [Pipeline] sh 17:47:27 + ls /var/log/sa-host 17:47:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:28 provisioning config files... 17:47:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-337@tmp/config2677236036166396756tmp [Pipeline] { [Pipeline] echo 17:47:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:47:28 ---> create-netrc.sh [Pipeline] } 17:47:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:47:28 ---> python-tools-install.sh [Pipeline] echo 17:47:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:47:29 ---> sudo-logs.sh 17:47:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:47:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:47:29 ---> job-cost.sh 17:47:29 lf-activate-venv: SKIPPING 17:47:29 DEBUG: total: 0.2199999988079071 17:47:29 INFO: Retrieving Stack Cost... 17:47:30 INFO: Retrieving Pricing Info for: v3-standard-8 17:47:30 INFO: Archiving Costs [Pipeline] echo 17:47:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:47:31 ---> logs-deploy.sh 17:47:31 lf-activate-venv: SKIPPING 17:47:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-337/1 17:47:31 INFO: archiving workspace using pattern(s): 17:47:32 Archives upload complete. 17:47:32 INFO: archiving logs to Nexus