Pull request #562 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 jinlinGuan for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at 20dbe7d245a9ee6337115d00f7a94c8717a3d64b rather than 02781b4d6e36c608e84036e6eb759620f70d7435 Obtained Jenkinsfile from 20dbe7d245a9ee6337115d00f7a94c8717a3d64b 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-ssh3159173657798984056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9926417793836587668.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13367397598170716810.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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7288570110735835154.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh7144234269925391212.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15826324274684177208.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1147 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-562 # 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 > 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 Merging remotes/origin/main commit 20dbe7d245a9ee6337115d00f7a94c8717a3d64b into PR head commit 02781b4d6e36c608e84036e6eb759620f70d7435 Merge succeeded, producing 02781b4d6e36c608e84036e6eb759620f70d7435 Checking out Revision 02781b4d6e36c608e84036e6eb759620f70d7435 (PR-562) > 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/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # 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 20dbe7d245a9ee6337115d00f7a94c8717a3d64b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:03:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:03:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:03:34 ========================================================= 10:03:34 EdgeX Global Pipelines Version Info 10:03:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:03:35 ------------------- 10:03:35 stable info: 10:03:35 ------------------- 10:03:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:03:35 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:03:35 Message: update stable to v1.0.250 10:03:36 ------------------- 10:03:36 experimental info: 10:03:36 ------------------- 10:03:36 Commited By: **** collab-it+edgex@linuxfoundation.org 10:03:36 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:03:36 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:03:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02781b4 [Pipeline] echo 10:03:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:03:38 + git rev-list -1 --merges 02781b4d6e36c608e84036e6eb759620f70d7435~1..02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo 10:03:38 -----------> git rev-list -1 --merges 02781b4d6e36c608e84036e6eb759620f70d7435~1..02781b4d6e36c608e84036e6eb759620f70d7435 02781b4d6e36c608e84036e6eb759620f70d7435 [false] [Pipeline] sh 10:03:38 + git log --format=format:%s -1 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo 10:03:38 ========================================================= 10:03:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:03:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:39 + git log --format=format:%s -1 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo 10:03:39 [semverPrep] GIT_COMMIT: 02781b4d6e36c608e84036e6eb759620f70d7435, Commit Message: feat: Move all the common APIs into go-mod-bootstrap [Pipeline] echo 10:03:39 [semverPrep] This is not a build commit. [Pipeline] sh 10:03:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:03:39 + grep -v github /etc/ssh/ssh_known_hosts 10:03:39 + [ -e /tmp/ssh_known_hosts ] 10:03:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:03:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:03:39 + sudo tee -a /etc/ssh/ssh_known_hosts 10:03:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:03:40 10:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:03:40 0.1.4: Pulling from edgex-devops/py-git-semver 10:03:40 b85a868b505f: Pulling fs layer 10:03:40 e2be974225ed: Pulling fs layer 10:03:40 339a4e72a1f5: Pulling fs layer 10:03:40 988bab9f4d93: Pulling fs layer 10:03:40 1469e6f7b9e6: Pulling fs layer 10:03:40 eaf3925da568: Pulling fs layer 10:03:40 bab4dde63d76: Pulling fs layer 10:03:40 bde34c3a00c8: Pulling fs layer 10:03:40 b352a97aabf1: Pulling fs layer 10:03:40 4872d77fe225: Pulling fs layer 10:03:40 5851b861e8e6: Pulling fs layer 10:03:40 1469e6f7b9e6: Waiting 10:03:40 bab4dde63d76: Waiting 10:03:40 eaf3925da568: Waiting 10:03:40 bde34c3a00c8: Waiting 10:03:40 b352a97aabf1: Waiting 10:03:40 4872d77fe225: Waiting 10:03:40 5851b861e8e6: Waiting 10:03:40 e2be974225ed: Download complete 10:03:40 988bab9f4d93: Download complete 10:03:40 1469e6f7b9e6: Verifying Checksum 10:03:40 1469e6f7b9e6: Download complete 10:03:40 eaf3925da568: Verifying Checksum 10:03:40 eaf3925da568: Download complete 10:03:40 339a4e72a1f5: Verifying Checksum 10:03:40 339a4e72a1f5: Download complete 10:03:40 bde34c3a00c8: Verifying Checksum 10:03:40 bde34c3a00c8: Download complete 10:03:41 b352a97aabf1: Download complete 10:03:41 4872d77fe225: Verifying Checksum 10:03:41 4872d77fe225: Download complete 10:03:41 5851b861e8e6: Download complete 10:03:41 b85a868b505f: Verifying Checksum 10:03:41 b85a868b505f: Download complete 10:03:41 bab4dde63d76: Verifying Checksum 10:03:41 bab4dde63d76: Download complete 10:03:42 b85a868b505f: Pull complete 10:03:42 e2be974225ed: Pull complete 10:03:43 339a4e72a1f5: Pull complete 10:03:43 988bab9f4d93: Pull complete 10:03:43 1469e6f7b9e6: Pull complete 10:03:43 eaf3925da568: Pull complete 10:03:45 bab4dde63d76: Pull complete 10:03:45 bde34c3a00c8: Pull complete 10:03:45 b352a97aabf1: Pull complete 10:03:45 4872d77fe225: Pull complete 10:03:45 5851b861e8e6: Pull complete 10:03:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:03:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:45 prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container 10:03:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@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:0.1.4 cat 10:03:46 $ docker top 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb -eo pid,comm 10:03:47 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). 10:03:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:03:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:03:47 [ssh-agent] Looking for ssh-agent implementation... 10:03:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:03:47 $ docker exec 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent 10:03:47 SSH_AUTH_SOCK=/tmp/ssh-3rTK6mGhRlod/agent.32 10:03:47 SSH_AGENT_PID=38 10:03:47 Running ssh-add (command line suppressed) 10:03:47 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17438875240339431619.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17438875240339431619.key) 10:03:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:03:47 + git tag --points-at HEAD [Pipeline] } 10:03:47 $ docker exec --env ******** --env ******** 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent -k 10:03:48 unset SSH_AUTH_SOCK; 10:03:48 unset SSH_AGENT_PID; 10:03:48 echo Agent pid 38 killed; 10:03:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:03:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:03:48 [ssh-agent] Looking for ssh-agent implementation... 10:03:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:03:48 $ docker exec 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent 10:03:48 SSH_AUTH_SOCK=/tmp/ssh-kfcjdkMjyxkG/agent.70 10:03:48 SSH_AGENT_PID=76 10:03:48 Running ssh-add (command line suppressed) 10:03:48 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_2371657867633192121.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_2371657867633192121.key) 10:03:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:03:48 + git semver init 10:03:49 2023-07-14 10:03:48,999 [run_init] DEBUG init version:0.0.0 force:False 10:03:49 2023-07-14 10:03:48,999 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 10:03:49 2023-07-14 10:03:49,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver 10:03:49 2023-07-14 10:03:49,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562, universal_newlines=False, shell=None, istream=None) 10:03:49 2023-07-14 10:03:49,777 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.git/info/exclude 10:03:49 2023-07-14 10:03:49,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 with force:False 10:03:49 2023-07-14 10:03:49,778 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 10:03:49 2023-07-14 10:03:49,782 [execute] INFO git cat-file --batch-check 10:03:49 2023-07-14 10:03:49,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 10:03:49 2023-07-14 10:03:49,789 [execute] INFO git cat-file --batch 10:03:49 2023-07-14 10:03:49,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) 10:03:49 2023-07-14 10:03:49,795 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 10:03:49 0.0.0 [Pipeline] } 10:03:50 $ docker exec --env ******** --env ******** 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent -k 10:03:50 unset SSH_AUTH_SOCK; 10:03:50 unset SSH_AGENT_PID; 10:03:50 echo Agent pid 76 killed; 10:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:03:50 + git semver [Pipeline] } 10:03:50 $ docker stop --time=1 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb 10:03:52 $ docker rm -f --volumes 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb [Pipeline] // withDockerContainer [Pipeline] sh 10:03:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:03:52 Stashed 1 file(s) [Pipeline] echo 10:03:52 [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 10:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:03:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:03:53 ========================================================= 10:03:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:03:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 10:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:03:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:03:53 4db1b89c0bd1: Pulling fs layer 10:03:53 6911f1a30b25: Pulling fs layer 10:03:53 e194b8c5c2a9: Pulling fs layer 10:03:53 6863d3e3a2b1: Pulling fs layer 10:03:53 ec0bb842ea78: Pulling fs layer 10:03:53 40a00589a448: Pulling fs layer 10:03:53 6c08303d61cc: Pulling fs layer 10:03:53 798269fcf238: Pulling fs layer 10:03:53 40a00589a448: Waiting 10:03:53 6c08303d61cc: Waiting 10:03:53 798269fcf238: Waiting 10:03:53 6863d3e3a2b1: Waiting 10:03:53 ec0bb842ea78: Waiting 10:03:53 6911f1a30b25: Verifying Checksum 10:03:53 6911f1a30b25: Download complete 10:03:53 6863d3e3a2b1: Verifying Checksum 10:03:53 6863d3e3a2b1: Download complete 10:03:53 ec0bb842ea78: Verifying Checksum 10:03:53 ec0bb842ea78: Download complete 10:03:53 4db1b89c0bd1: Verifying Checksum 10:03:53 4db1b89c0bd1: Download complete 10:03:53 40a00589a448: Verifying Checksum 10:03:53 40a00589a448: Download complete 10:03:59 4db1b89c0bd1: Pull complete 10:03:59 6911f1a30b25: Pull complete 10:03:59 e194b8c5c2a9: Verifying Checksum 10:03:59 e194b8c5c2a9: Download complete 10:04:01 798269fcf238: Verifying Checksum 10:04:01 798269fcf238: Download complete 10:04:01 6c08303d61cc: Verifying Checksum 10:04:01 6c08303d61cc: Download complete 10:04:03 e194b8c5c2a9: Pull complete 10:04:03 6863d3e3a2b1: Pull complete 10:04:03 ec0bb842ea78: Pull complete 10:04:03 40a00589a448: Pull complete 10:04:06 6c08303d61cc: Pull complete 10:04:06 798269fcf238: Pull complete 10:04:06 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:04:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:04:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 10:04:07 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:07 + docker inspect -f . ci-base-image-x86_64 10:04:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:07 prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container 10:04:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@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 10:04:08 Still waiting to schedule task 10:04:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:04:09 $ docker top 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:04:10 + go version 10:04:10 go version go1.20.6 linux/amd64 [Pipeline] } 10:04:10 $ docker stop --time=1 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 10:04:11 $ docker rm -f --volumes 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:12 + docker inspect -f . ci-base-image-x86_64 10:04:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:12 prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container 10:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@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 10:04:12 $ docker top 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 -eo pid,comm [Pipeline] { [Pipeline] sh 10:04:13 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] fileExists [Pipeline] sh 10:04:13 + make test 10:04:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:04:13 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 10:04:13 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 10:04:13 go: downloading github.com/stretchr/testify v1.8.4 10:04:13 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 10:04:13 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 10:04:13 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 10:04:13 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 10:04:13 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 10:04:14 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:04:15 go: downloading github.com/mitchellh/copystructure v1.2.0 10:04:15 go: downloading gopkg.in/yaml.v3 v3.0.1 10:04:15 go: downloading github.com/gorilla/mux v1.8.0 10:04:15 go: downloading github.com/google/uuid v1.3.0 10:04:15 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 10:04:15 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 10:04:15 go: downloading github.com/stretchr/objx v0.5.0 10:04:15 go: downloading github.com/gorilla/websocket v1.5.0 10:04:15 go: downloading golang.org/x/net v0.10.0 10:04:15 go: downloading golang.org/x/sync v0.2.0 10:04:15 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:04:15 go: downloading github.com/go-kit/log v0.2.1 10:04:15 go: downloading github.com/go-playground/validator/v10 v10.14.1 10:04:15 go: downloading github.com/hashicorp/errwrap v1.1.0 10:04:15 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 10:04:15 go: downloading github.com/mitchellh/reflectwalk v1.0.2 10:04:15 go: downloading github.com/hashicorp/consul/api v1.22.0 10:04:15 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:04:15 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:04:15 go: downloading github.com/x448/float16 v0.8.4 10:04:15 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:04:15 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 10:04:15 go: downloading github.com/go-playground/universal-translator v0.18.1 10:04:15 go: downloading github.com/leodido/go-urn v1.2.4 10:04:15 go: downloading golang.org/x/crypto v0.9.0 10:04:15 go: downloading golang.org/x/text v0.9.0 10:04:15 go: downloading github.com/zeebo/errs v1.3.0 10:04:16 go: downloading google.golang.org/grpc v1.53.0 10:04:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:04:16 go: downloading github.com/mitchellh/mapstructure v1.5.0 10:04:16 go: downloading github.com/go-playground/locales v0.14.1 10:04:16 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 10:04:16 go: downloading google.golang.org/protobuf v1.28.1 10:04:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 10:04:16 go: downloading github.com/hashicorp/go-hclog v1.5.0 10:04:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:04:16 go: downloading github.com/hashicorp/serf v0.10.1 10:04:16 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 10:04:16 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 10:04:16 go: downloading github.com/golang/protobuf v1.5.2 10:04:17 go: downloading golang.org/x/sys v0.8.0 10:04:17 go: downloading github.com/fatih/color v1.14.1 10:04:17 go: downloading github.com/mattn/go-isatty v0.0.17 10:04:17 go: downloading github.com/armon/go-metrics v0.4.1 10:04:17 go: downloading github.com/mattn/go-colorable v0.1.13 10:04:17 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 10:04:17 go: downloading github.com/hashicorp/golang-lru v0.5.4 10:04:35 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 10:04:35 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 10:04:35 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 10:04:35 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 10:04:36 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.048s coverage: 34.5% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.019s coverage: 56.9% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.036s coverage: 92.4% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.483s coverage: 82.4% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.004s coverage: 85.0% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.047s coverage: 42.4% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.023s coverage: 100.0% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.326s coverage: 87.7% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.016s coverage: 25.0% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.043s coverage: 79.0% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.013s coverage: 76.1% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.010s coverage: 31.2% of statements 10:04:54 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.008s coverage: 91.3% of statements 10:05:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:05:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 10:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:05:04 $ docker stop --time=1 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 10:05:05 $ docker rm -f --volumes 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:06 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] withEnv [Pipeline] { [Pipeline] sh 10:05:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:07 10:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:08 latest: Pulling from edgex-lftools-log-publisher 10:05:08 5eb5b503b376: Pulling fs layer 10:05:08 5c69ac0246d0: Pulling fs layer 10:05:08 ec43610c2a17: Pulling fs layer 10:05:08 3a2ae6a8a46f: Pulling fs layer 10:05:08 33b1e0a273af: Pulling fs layer 10:05:08 5d3b04190fa2: Pulling fs layer 10:05:08 3a2ae6a8a46f: Waiting 10:05:08 33b1e0a273af: Waiting 10:05:08 2f39f015ded8: Pulling fs layer 10:05:08 5d3b04190fa2: Waiting 10:05:08 2f39f015ded8: Waiting 10:05:08 5c69ac0246d0: Download complete 10:05:08 3a2ae6a8a46f: Verifying Checksum 10:05:08 3a2ae6a8a46f: Download complete 10:05:08 33b1e0a273af: Download complete 10:05:08 5d3b04190fa2: Verifying Checksum 10:05:08 5d3b04190fa2: Download complete 10:05:08 ec43610c2a17: Download complete 10:05:08 5eb5b503b376: Verifying Checksum 10:05:08 5eb5b503b376: Download complete 10:05:08 2f39f015ded8: Download complete 10:05:09 5eb5b503b376: Pull complete 10:05:09 5c69ac0246d0: Pull complete 10:05:10 ec43610c2a17: Pull complete 10:05:10 3a2ae6a8a46f: Pull complete 10:05:10 33b1e0a273af: Pull complete 10:05:10 5d3b04190fa2: Pull complete 10:05:14 2f39f015ded8: Pull complete 10:05:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:05:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:14 prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container 10:05:14 $ 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-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@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 10:05:16 $ docker top e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:17 ---> job-cost.sh 10:05:17 lf-activate-venv: SKIPPING 10:05:17 INFO: No Stack... 10:05:17 INFO: Retrieving Pricing Info for: v3-standard-8 10:05:18 INFO: Archiving Costs [Pipeline] sh 10:05:18 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/cost.csv 10:05:18 + cut -d, -f6 [Pipeline] lock 10:05:18 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] 10:05:18 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] did not exist. Created. 10:05:18 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:05:19 + echo total: 0.2199999988079071 [Pipeline] stash 10:05:19 Stashed 1 file(s) [Pipeline] } 10:05:19 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:05:19 $ docker stop --time=1 e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 10:05:20 $ docker rm -f --volumes e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:05:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1149 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] ws 10:05:42 Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout 10:05:43 The recommended git tool is: git 10:05:47 using credential edgex-jenkins-ssh 10:05:47 Cloning the remote Git repository 10:05:47 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 10:05:48 > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 10:05:48 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 10:05:48 > git --version # timeout=10 10:05:48 > git --version # 'git version 2.25.1' 10:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:49 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 10:05:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:50 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 10:05:50 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 10:05:50 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:05:51 Merging remotes/origin/main commit 20dbe7d245a9ee6337115d00f7a94c8717a3d64b into PR head commit 02781b4d6e36c608e84036e6eb759620f70d7435 10:05:51 Merge succeeded, producing 02781b4d6e36c608e84036e6eb759620f70d7435 10:05:51 Checking out Revision 02781b4d6e36c608e84036e6eb759620f70d7435 (PR-562) 10:05:51 > git config core.sparsecheckout # timeout=10 10:05:51 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 10:05:51 > git remote # timeout=10 10:05:51 > git config --get remote.origin.url # timeout=10 10:05:51 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:51 > git merge 20dbe7d245a9ee6337115d00f7a94c8717a3d64b # timeout=10 10:05:51 > git rev-parse HEAD^{commit} # timeout=10 10:05:51 > git config core.sparsecheckout # timeout=10 10:05:51 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 10:05:54 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" 10:05:54 > git --version # timeout=10 10:05:54 > git --version # 'git version 2.25.1' 10:05:54 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:05:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:05:56 Dload Upload Total Spent Left Speed 10:05:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 10:05:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:05:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:05:57 + sudo tee /etc/docker/daemon.new 10:05:57 { 10:05:57 "registry-mirrors": [ 10:05:57 "https://nexus3.edgexfoundry.org:10001" 10:05:57 ], 10:05:57 "bip": "10.250.0.254/24", 10:05:57 "hosts": [ 10:05:57 "tcp://0.0.0.0:5555", 10:05:57 "unix:///var/run/docker.sock" 10:05:57 ], 10:05:57 "mtu": 1458, 10:05:57 "selinux-enabled": true, 10:05:57 "seccomp-profile": "/etc/docker/seccomp.json" 10:05:57 } [Pipeline] sh 10:05:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:05:57 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 10:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:06:16 ========================================================= 10:06:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:06:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 10:06:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:06:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:06:17 edb6bdbacee9: Pulling fs layer 10:06:17 5f9638ab2659: Pulling fs layer 10:06:17 8d51d6327a98: Pulling fs layer 10:06:17 8b374f2dd631: Pulling fs layer 10:06:17 ec14aa9079de: Pulling fs layer 10:06:17 2f466654f4bb: Pulling fs layer 10:06:17 554e91adad29: Pulling fs layer 10:06:17 554e91adad29: Waiting 10:06:17 ec14aa9079de: Waiting 10:06:17 8b374f2dd631: Waiting 10:06:17 5f9638ab2659: Download complete 10:06:17 8b374f2dd631: Verifying Checksum 10:06:17 8b374f2dd631: Download complete 10:06:17 ec14aa9079de: Verifying Checksum 10:06:17 ec14aa9079de: Download complete 10:06:17 edb6bdbacee9: Verifying Checksum 10:06:17 edb6bdbacee9: Download complete 10:06:18 554e91adad29: Verifying Checksum 10:06:18 554e91adad29: Download complete 10:06:19 2f466654f4bb: Verifying Checksum 10:06:19 2f466654f4bb: Download complete 10:06:19 8d51d6327a98: Verifying Checksum 10:06:19 8d51d6327a98: Download complete 10:06:20 edb6bdbacee9: Pull complete 10:06:20 5f9638ab2659: Pull complete 10:06:35 8d51d6327a98: Pull complete 10:06:35 8b374f2dd631: Pull complete 10:06:35 ec14aa9079de: Pull complete 10:06:42 2f466654f4bb: Pull complete 10:06:44 554e91adad29: Pull complete 10:06:44 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:06:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:06:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 10:06:44 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:44 + docker inspect -f . ci-base-image-arm64 10:06:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:45 prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container 10:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:49 $ docker top 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:50 + go version 10:06:50 go version go1.20.6 linux/arm64 [Pipeline] } 10:06:50 $ docker stop --time=1 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 10:06:51 $ docker rm -f --volumes 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:52 + docker inspect -f . ci-base-image-arm64 10:06:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:06:52 prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container 10:06:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:53 $ docker top a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:54 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/1 [Pipeline] fileExists [Pipeline] sh 10:06:54 + make test 10:06:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:06:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 10:06:55 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 10:06:55 go: downloading github.com/gorilla/mux v1.8.0 10:06:55 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 10:06:55 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 10:06:55 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 10:06:55 go: downloading github.com/mitchellh/copystructure v1.2.0 10:06:55 go: downloading gopkg.in/yaml.v3 v3.0.1 10:06:55 go: downloading github.com/google/uuid v1.3.0 10:06:55 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 10:06:56 go: downloading github.com/stretchr/testify v1.8.4 10:06:56 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 10:06:56 go: downloading github.com/hashicorp/go-multierror v1.1.1 10:06:56 go: downloading github.com/go-kit/log v0.2.1 10:06:56 go: downloading github.com/go-playground/validator/v10 v10.14.1 10:06:56 go: downloading github.com/mitchellh/reflectwalk v1.0.2 10:06:56 go: downloading github.com/gorilla/websocket v1.5.0 10:06:56 go: downloading golang.org/x/net v0.10.0 10:06:56 go: downloading golang.org/x/sync v0.2.0 10:06:56 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 10:06:56 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 10:06:56 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 10:06:56 go: downloading github.com/stretchr/objx v0.5.0 10:06:56 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 10:06:56 go: downloading github.com/hashicorp/consul/api v1.22.0 10:06:56 go: downloading github.com/hashicorp/errwrap v1.1.0 10:06:56 go: downloading github.com/go-logfmt/logfmt v0.5.1 10:06:56 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 10:06:57 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 10:06:57 go: downloading github.com/go-playground/universal-translator v0.18.1 10:06:57 go: downloading github.com/leodido/go-urn v1.2.4 10:06:57 go: downloading golang.org/x/crypto v0.9.0 10:06:57 go: downloading golang.org/x/text v0.9.0 10:06:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 10:06:57 go: downloading github.com/zeebo/errs v1.3.0 10:06:57 go: downloading google.golang.org/grpc v1.53.0 10:06:59 go: downloading github.com/x448/float16 v0.8.4 10:06:59 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 10:06:59 go: downloading github.com/mitchellh/mapstructure v1.5.0 10:06:59 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 10:06:59 go: downloading github.com/hashicorp/go-hclog v1.5.0 10:06:59 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 10:06:59 go: downloading github.com/hashicorp/serf v0.10.1 10:06:59 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 10:07:02 go: downloading github.com/go-playground/locales v0.14.1 10:07:02 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 10:07:02 go: downloading google.golang.org/protobuf v1.28.1 10:07:03 go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 10:07:03 go: downloading github.com/fatih/color v1.14.1 10:07:04 go: downloading github.com/mattn/go-isatty v0.0.17 10:07:04 go: downloading github.com/armon/go-metrics v0.4.1 10:07:04 go: downloading github.com/golang/protobuf v1.5.2 10:07:04 go: downloading golang.org/x/sys v0.8.0 10:07:04 go: downloading github.com/mattn/go-colorable v0.1.13 10:07:04 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 10:07:04 go: downloading github.com/hashicorp/golang-lru v0.5.4 10:09:11 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 10:09:13 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 10:09:23 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 10:09:23 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 10:09:31 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.163s coverage: 34.5% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.069s coverage: 56.9% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.102s coverage: 92.4% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.357s coverage: 82.4% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.019s coverage: 85.0% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.104s coverage: 42.4% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.103s coverage: 100.0% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.392s coverage: 87.7% of statements 10:09:33 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.065s coverage: 25.0% of statements 10:09:34 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.153s coverage: 79.0% of statements 10:09:34 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.059s coverage: 76.1% of statements 10:09:34 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.051s coverage: 31.2% of statements 10:09:34 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.015s coverage: 91.3% of statements 10:09:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:09:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:10:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:10:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 10:10:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:10:01 $ docker stop --time=1 a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca 10:10:03 $ docker rm -f --volumes a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca [Pipeline] // withDockerContainer [Pipeline] sh 10:10:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:10:06 Warning: overwriting stash ‘coverage-report’ 10:10:07 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] withEnv [Pipeline] { [Pipeline] sh 10:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:07 10:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:08 arm64: Pulling from edgex-lftools-log-publisher 10:10:08 8998bd30e6a1: Pulling fs layer 10:10:08 04944245beec: Pulling fs layer 10:10:08 699f458cf7ca: Pulling fs layer 10:10:08 765212b225bb: Pulling fs layer 10:10:08 f23df028b6ca: Pulling fs layer 10:10:08 d65c8cfc05b1: Pulling fs layer 10:10:08 2437ff75d9bd: Pulling fs layer 10:10:08 f23df028b6ca: Waiting 10:10:08 765212b225bb: Waiting 10:10:08 d65c8cfc05b1: Waiting 10:10:08 2437ff75d9bd: Waiting 10:10:08 04944245beec: Verifying Checksum 10:10:08 04944245beec: Download complete 10:10:08 765212b225bb: Download complete 10:10:08 f23df028b6ca: Verifying Checksum 10:10:08 f23df028b6ca: Download complete 10:10:08 d65c8cfc05b1: Verifying Checksum 10:10:08 d65c8cfc05b1: Download complete 10:10:08 699f458cf7ca: Verifying Checksum 10:10:08 699f458cf7ca: Download complete 10:10:09 8998bd30e6a1: Verifying Checksum 10:10:09 8998bd30e6a1: Download complete 10:10:12 2437ff75d9bd: Verifying Checksum 10:10:12 2437ff75d9bd: Download complete 10:10:14 8998bd30e6a1: Pull complete 10:10:14 04944245beec: Pull complete 10:10:16 699f458cf7ca: Pull complete 10:10:16 765212b225bb: Pull complete 10:10:20 f23df028b6ca: Pull complete 10:10:20 d65c8cfc05b1: Pull complete 10:10:38 2437ff75d9bd: Pull complete 10:10:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:38 prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container 10:10:39 $ 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/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:10:41 $ docker top 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:42 ---> job-cost.sh 10:10:42 lf-activate-venv: SKIPPING 10:10:42 INFO: No Stack... 10:10:42 INFO: Retrieving Pricing Info for: v3-standard-4 10:10:43 INFO: Archiving Costs [Pipeline] sh 10:10:44 + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv 10:10:44 + cut -d, -f6 [Pipeline] lock 10:10:44 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] 10:10:44 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] did not exist. Created. 10:10:44 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:10:45 /w/workspace/go-mod-bootstrap/1@tmp/durable-4e749d9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:10:45 + echo total: 0.10999999940395355 [Pipeline] stash 10:10:45 Warning: overwriting stash ‘stack-cost’ 10:10:45 Stashed 1 file(s) [Pipeline] } 10:10:45 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:46 $ docker stop --time=1 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a 10:10:49 $ docker rm -f --volumes 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a [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 10:10:50 provisioning config files... 10:10:50 copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config535879870076688316tmp [Pipeline] { [Pipeline] sh 10:10:50 + set +x 10:10:50 + bash -s -- 10:10:50 + curl -s https://codecov.io/bash 10:11:00 bash: line 2: syntax error near unexpected token `<' 10:11:00 bash: line 2: `' [Pipeline] } 10:11:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [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 10:11:02 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives ] 10:11:02 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 10:11:02 total 16 10:11:02 drwxr-xr-x 3 root root 4096 Jul 14 10:05 . 10:11:02 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 10:05 .. 10:11:02 drwxr-xr-x 2 root root 4096 Jul 14 10:05 cost 10:11:02 -rw-r--r-- 1 root root 88 Jul 14 10:05 cost.csv 10:11:02 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 10:11:02 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives 10:11:02 total 16 10:11:02 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 10:05 . 10:11:02 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 10:05 .. 10:11:02 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 10:05 cost 10:11:02 -rw-r--r-- 1 jenkins jenkins 88 Jul 14 10:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:11:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:11:03 ---> package-listing.sh 10:11:03 ++ facter osfamily 10:11:03 ++ tr '[:upper:]' '[:lower:]' 10:11:03 + OS_FAMILY=debian 10:11:03 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-562 10:11:03 + START_PACKAGES=/tmp/packages_start.txt 10:11:03 + END_PACKAGES=/tmp/packages_end.txt 10:11:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:11:03 + PACKAGES=/tmp/packages_start.txt 10:11:03 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 10:11:03 + PACKAGES=/tmp/packages_end.txt 10:11:03 + case "${OS_FAMILY}" in 10:11:03 + dpkg -l 10:11:03 + grep '^ii' 10:11:03 + '[' -f /tmp/packages_start.txt ']' 10:11:03 + '[' -f /tmp/packages_end.txt ']' 10:11:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:11:03 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' 10:11:03 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ 10:11:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ [Pipeline] echo 10:11:03 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-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:11:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:04 prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container 10:11:04 $ 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-562/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-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@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 10:11:06 $ docker top 87e260d208b7321e327b2b57e7116a46463e0b65d5b11c7ec16cdc822c1cb8d8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:06 + touch /tmp/pre-build-complete [Pipeline] sh 10:11:07 + mkdir -p /var/log/sysstat [Pipeline] sh 10:11:07 + ls /var/log/sa-host 10:11:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:07 provisioning config files... 10:11:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config6762612086116179548tmp [Pipeline] { [Pipeline] echo 10:11:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:11:07 ---> create-netrc.sh [Pipeline] } 10:11:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:11:08 ---> python-tools-install.sh [Pipeline] echo 10:11:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:11:08 ---> sudo-logs.sh 10:11:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:11:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:11:09 ---> job-cost.sh 10:11:09 lf-activate-venv: SKIPPING 10:11:09 DEBUG: total: 0.2199999988079071 10:11:09 INFO: Retrieving Stack Cost... 10:11:10 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:10 INFO: Archiving Costs [Pipeline] echo 10:11:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:11:10 ---> logs-deploy.sh 10:11:10 lf-activate-venv: SKIPPING 10:11:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-562/1 10:11:10 INFO: archiving workspace using pattern(s): 10:11:11 Archives upload complete. 10:11:11 INFO: archiving logs to Nexus