Pull request #483 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/go-mod-bootstrap Obtained Jenkinsfile from 13724547b8203cfc4ac80487777ab6c35d931884+266ba797eb47958f26e9de3d4b9551a9393cdd62 (eb8a6268854e267d83dd2fc78bf7793f19a87886) 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-ssh12403335109248610639.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh1917033765587428543.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5401899822702299912.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh244648647011343082.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11030507386242815162.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2256’ Running on prd-ubuntu20.04-docker-8c-8g-2258 in /w/workspace/xfoundry_go-mod-bootstrap_PR-483 [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-483 # 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 > 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/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 266ba797eb47958f26e9de3d4b9551a9393cdd62 into PR head commit 13724547b8203cfc4ac80487777ab6c35d931884 Merge succeeded, producing 5b761661ae46586899f41f9353fb99d9dbe61805 Checking out Revision 5b761661ae46586899f41f9353fb99d9dbe61805 (PR-483) > git config core.sparsecheckout # timeout=10 > git checkout -f 13724547b8203cfc4ac80487777ab6c35d931884 # 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 266ba797eb47958f26e9de3d4b9551a9393cdd62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b761661ae46586899f41f9353fb99d9dbe61805 # timeout=10 Commit message: "Merge commit '266ba797eb47958f26e9de3d4b9551a9393cdd62' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:48:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:48:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:48:05 ========================================================= 18:48:05 EdgeX Global Pipelines Version Info 18:48:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e12e1badb14511d9c9496517f1ff19bdc460a4ed # timeout=10 18:48:06 ------------------- 18:48:06 stable info: 18:48:06 ------------------- 18:48:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:48:06 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:48:06 Message: update stable to v1.0.245 18:48:06 ------------------- 18:48:06 experimental info: 18:48:06 ------------------- 18:48:06 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:06 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 18:48:06 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-483 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-483 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-483 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b761661ae46586899f41f9353fb99d9dbe61805 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b76166 [Pipeline] echo 18:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:48:07 + git rev-list -1 --merges 5b761661ae46586899f41f9353fb99d9dbe61805~1..5b761661ae46586899f41f9353fb99d9dbe61805 [Pipeline] echo 18:48:07 -----------> git rev-list -1 --merges 5b761661ae46586899f41f9353fb99d9dbe61805~1..5b761661ae46586899f41f9353fb99d9dbe61805 5b761661ae46586899f41f9353fb99d9dbe61805 18:48:07 5b761661ae46586899f41f9353fb99d9dbe61805 [false] [Pipeline] sh 18:48:08 + git log --format=format:%s -1 5b761661ae46586899f41f9353fb99d9dbe61805 [Pipeline] echo 18:48:08 ========================================================= 18:48:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:48:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:08 + git log --format=format:%s -1 5b761661ae46586899f41f9353fb99d9dbe61805 [Pipeline] echo 18:48:08 [semverPrep] GIT_COMMIT: 5b761661ae46586899f41f9353fb99d9dbe61805, Commit Message: Merge commit '266ba797eb47958f26e9de3d4b9551a9393cdd62' into HEAD [Pipeline] echo 18:48:08 [semverPrep] This is not a build commit. [Pipeline] sh 18:48:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:48:08 + grep -v github /etc/ssh/ssh_known_hosts 18:48:08 + [ -e /tmp/ssh_known_hosts ] 18:48:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:48:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:48:08 + sudo tee -a /etc/ssh/ssh_known_hosts 18:48:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:09 18:48:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:09 0.1.4: Pulling from edgex-devops/py-git-semver 18:48:09 b85a868b505f: Pulling fs layer 18:48:09 e2be974225ed: Pulling fs layer 18:48:09 339a4e72a1f5: Pulling fs layer 18:48:09 988bab9f4d93: Pulling fs layer 18:48:09 1469e6f7b9e6: Pulling fs layer 18:48:09 eaf3925da568: Pulling fs layer 18:48:09 bab4dde63d76: Pulling fs layer 18:48:09 bde34c3a00c8: Pulling fs layer 18:48:09 b352a97aabf1: Pulling fs layer 18:48:09 4872d77fe225: Pulling fs layer 18:48:09 5851b861e8e6: Pulling fs layer 18:48:09 1469e6f7b9e6: Waiting 18:48:09 b352a97aabf1: Waiting 18:48:09 bab4dde63d76: Waiting 18:48:09 bde34c3a00c8: Waiting 18:48:09 4872d77fe225: Waiting 18:48:09 988bab9f4d93: Waiting 18:48:09 eaf3925da568: Waiting 18:48:09 5851b861e8e6: Waiting 18:48:10 e2be974225ed: Verifying Checksum 18:48:10 e2be974225ed: Download complete 18:48:10 988bab9f4d93: Verifying Checksum 18:48:10 988bab9f4d93: Download complete 18:48:10 1469e6f7b9e6: Verifying Checksum 18:48:10 1469e6f7b9e6: Download complete 18:48:10 eaf3925da568: Verifying Checksum 18:48:10 eaf3925da568: Download complete 18:48:10 339a4e72a1f5: Verifying Checksum 18:48:10 339a4e72a1f5: Download complete 18:48:10 bde34c3a00c8: Verifying Checksum 18:48:10 bde34c3a00c8: Download complete 18:48:10 b352a97aabf1: Verifying Checksum 18:48:10 b352a97aabf1: Download complete 18:48:10 4872d77fe225: Verifying Checksum 18:48:10 4872d77fe225: Download complete 18:48:10 5851b861e8e6: Verifying Checksum 18:48:10 5851b861e8e6: Download complete 18:48:10 b85a868b505f: Verifying Checksum 18:48:10 b85a868b505f: Download complete 18:48:10 bab4dde63d76: Verifying Checksum 18:48:10 bab4dde63d76: Download complete 18:48:11 b85a868b505f: Pull complete 18:48:11 e2be974225ed: Pull complete 18:48:12 339a4e72a1f5: Pull complete 18:48:12 988bab9f4d93: Pull complete 18:48:12 1469e6f7b9e6: Pull complete 18:48:12 eaf3925da568: Pull complete 18:48:14 bab4dde63d76: Pull complete 18:48:14 bde34c3a00c8: Pull complete 18:48:14 b352a97aabf1: Pull complete 18:48:14 4872d77fe225: Pull complete 18:48:14 5851b861e8e6: Pull complete 18:48:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:15 prd-ubuntu20.04-docker-8c-8g-2258 does not seem to be running inside a container 18:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-483 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483:/w/workspace/xfoundry_go-mod-bootstrap_PR-483:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:48:17 $ docker top 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 -eo pid,comm 18:48:17 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). 18:48:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:48:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:17 [ssh-agent] Looking for ssh-agent implementation... 18:48:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:18 $ docker exec 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 ssh-agent 18:48:18 SSH_AUTH_SOCK=/tmp/ssh-C4wNl8wFjxpn/agent.33 18:48:18 SSH_AGENT_PID=38 18:48:18 Running ssh-add (command line suppressed) 18:48:18 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp/private_key_18349887010704472541.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp/private_key_18349887010704472541.key) 18:48:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:18 + git tag --points-at HEAD [Pipeline] } 18:48:18 $ docker exec --env ******** --env ******** 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 ssh-agent -k 18:48:18 unset SSH_AUTH_SOCK; 18:48:18 unset SSH_AGENT_PID; 18:48:18 echo Agent pid 38 killed; 18:48:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:48:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:18 [ssh-agent] Looking for ssh-agent implementation... 18:48:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:18 $ docker exec 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 ssh-agent 18:48:19 SSH_AUTH_SOCK=/tmp/ssh-5kakpgtqgrmY/agent.70 18:48:19 SSH_AGENT_PID=76 18:48:19 Running ssh-add (command line suppressed) 18:48:19 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp/private_key_14849972802525056200.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp/private_key_14849972802525056200.key) 18:48:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:19 + git semver init 18:48:19 2023-03-15 18:48:19,608 [run_init] DEBUG init version:0.0.0 force:False 18:48:19 2023-03-15 18:48:19,609 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver 18:48:19 2023-03-15 18:48:19,610 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver 18:48:19 2023-03-15 18:48:19,610 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-483, universal_newlines=False, shell=None, istream=None) 18:48:20 2023-03-15 18:48:20,487 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.git/info/exclude 18:48:20 2023-03-15 18:48:20,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver/PR-483 with force:False 18:48:20 2023-03-15 18:48:20,488 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver/PR-483 18:48:20 2023-03-15 18:48:20,492 [execute] INFO git cat-file --batch-check 18:48:20 2023-03-15 18:48:20,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver, universal_newlines=False, shell=None, istream=) 18:48:20 2023-03-15 18:48:20,499 [execute] INFO git cat-file --batch 18:48:20 2023-03-15 18:48:20,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver, universal_newlines=False, shell=None, istream=) 18:48:20 2023-03-15 18:48:20,506 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-483/.semver/PR-483 18:48:20 0.0.0 [Pipeline] } 18:48:20 $ docker exec --env ******** --env ******** 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 ssh-agent -k 18:48:20 unset SSH_AUTH_SOCK; 18:48:20 unset SSH_AGENT_PID; 18:48:20 echo Agent pid 76 killed; 18:48:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:48:21 + git semver [Pipeline] } 18:48:21 $ docker stop --time=1 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 18:48:22 $ docker rm -f --volumes 6c6f80ebf432186ca07ca660847962a95cbd8b9de8f88f4d14ec26063b0bd6b5 [Pipeline] // withDockerContainer [Pipeline] sh 18:48:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:48:23 Stashed 1 file(s) [Pipeline] echo 18:48:23 [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 18:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:23 ========================================================= 18:48:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:48:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:48:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:48:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:23 63b65145d645: Pulling fs layer 18:48:23 a2d21d5440eb: Pulling fs layer 18:48:23 935e6c44a52c: Pulling fs layer 18:48:23 94cc34f8dd06: Pulling fs layer 18:48:23 30dea6a524f1: Pulling fs layer 18:48:23 a2aff8979fd8: Pulling fs layer 18:48:23 6808be2612f2: Pulling fs layer 18:48:23 f25807f1079a: Pulling fs layer 18:48:23 30dea6a524f1: Waiting 18:48:23 a2aff8979fd8: Waiting 18:48:23 6808be2612f2: Waiting 18:48:23 f25807f1079a: Waiting 18:48:23 94cc34f8dd06: Waiting 18:48:23 a2d21d5440eb: Verifying Checksum 18:48:23 a2d21d5440eb: Download complete 18:48:23 94cc34f8dd06: Verifying Checksum 18:48:23 94cc34f8dd06: Download complete 18:48:23 30dea6a524f1: Verifying Checksum 18:48:23 30dea6a524f1: Download complete 18:48:23 63b65145d645: Verifying Checksum 18:48:23 63b65145d645: Download complete 18:48:23 a2aff8979fd8: Verifying Checksum 18:48:23 a2aff8979fd8: Download complete 18:48:23 63b65145d645: Pull complete 18:48:24 a2d21d5440eb: Pull complete 18:48:24 f25807f1079a: Verifying Checksum 18:48:24 f25807f1079a: Download complete 18:48:24 935e6c44a52c: Verifying Checksum 18:48:24 935e6c44a52c: Download complete 18:48:24 6808be2612f2: Verifying Checksum 18:48:24 6808be2612f2: Download complete 18:48:28 935e6c44a52c: Pull complete 18:48:28 94cc34f8dd06: Pull complete 18:48:28 30dea6a524f1: Pull complete 18:48:28 a2aff8979fd8: Pull complete 18:48:30 6808be2612f2: Pull complete 18:48:31 f25807f1079a: Pull complete 18:48:31 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:48:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:48:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh 18:48:31 + 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 18:48:31 + docker inspect -f . ci-base-image-x86_64 18:48:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:32 prd-ubuntu20.04-docker-8c-8g-2258 does not seem to be running inside a container 18:48:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-483 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483:/w/workspace/xfoundry_go-mod-bootstrap_PR-483:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:48:36 $ docker top 2a27ce75a68bfc3bcbff55df8d5708696955c53211a5edeaaafff22e3e0e10f7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:37 + go version 18:48:37 go version go1.20.2 linux/amd64 [Pipeline] } 18:48:37 $ docker stop --time=1 2a27ce75a68bfc3bcbff55df8d5708696955c53211a5edeaaafff22e3e0e10f7 18:48:38 Still waiting to schedule task 18:48:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2257’ 18:48:38 $ docker rm -f --volumes 2a27ce75a68bfc3bcbff55df8d5708696955c53211a5edeaaafff22e3e0e10f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:38 + docker inspect -f . ci-base-image-x86_64 18:48:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:38 prd-ubuntu20.04-docker-8c-8g-2258 does not seem to be running inside a container 18:48:38 $ 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-483 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483:/w/workspace/xfoundry_go-mod-bootstrap_PR-483:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:48:39 $ docker top b2bcdeea1e2b5f7b4a4fa6d240daa5a77ecbdbe1d244cb6240177aac3a7b61bb -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:39 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-483 [Pipeline] fileExists [Pipeline] sh 18:48:39 + make test 18:48:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:48:39 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 18:48:39 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.30 18:48:39 go: downloading github.com/stretchr/testify v1.8.2 18:48:39 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 18:48:39 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 18:48:40 go: downloading github.com/google/uuid v1.3.0 18:48:40 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:48:40 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 18:48:40 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 18:48:40 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 18:48:40 go: downloading github.com/pelletier/go-toml v1.9.5 18:48:40 go: downloading github.com/mitchellh/copystructure v1.2.0 18:48:40 go: downloading github.com/gorilla/mux v1.8.0 18:48:40 go: downloading github.com/pmezard/go-difflib v1.0.0 18:48:40 go: downloading github.com/davecgh/go-spew v1.1.1 18:48:40 go: downloading github.com/stretchr/objx v0.5.0 18:48:40 go: downloading github.com/hashicorp/errwrap v1.0.0 18:48:40 go: downloading gopkg.in/yaml.v3 v3.0.1 18:48:40 go: downloading github.com/gorilla/websocket v1.4.2 18:48:40 go: downloading golang.org/x/net v0.7.0 18:48:40 go: downloading golang.org/x/sync v0.1.0 18:48:40 go: downloading github.com/go-kit/log v0.2.1 18:48:40 go: downloading github.com/go-playground/validator/v10 v10.11.2 18:48:40 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 18:48:40 go: downloading github.com/mitchellh/reflectwalk v1.0.2 18:48:40 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 18:48:40 go: downloading github.com/hashicorp/consul/api v1.19.1 18:48:40 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:48:40 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:48:40 go: downloading github.com/go-logfmt/logfmt v0.5.1 18:48:40 go: downloading github.com/x448/float16 v0.8.4 18:48:40 go: downloading github.com/go-playground/universal-translator v0.18.1 18:48:40 go: downloading github.com/leodido/go-urn v1.2.1 18:48:40 go: downloading golang.org/x/crypto v0.6.0 18:48:40 go: downloading golang.org/x/text v0.7.0 18:48:40 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:48:40 go: downloading github.com/mitchellh/mapstructure v1.5.0 18:48:40 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:48:40 go: downloading github.com/hashicorp/go-hclog v0.14.1 18:48:40 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:48:40 go: downloading github.com/hashicorp/serf v0.10.1 18:48:40 go: downloading github.com/zeebo/errs v1.3.0 18:48:40 go: downloading google.golang.org/grpc v1.51.0 18:48:40 go: downloading github.com/go-playground/locales v0.14.1 18:48:40 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 18:48:40 go: downloading google.golang.org/protobuf v1.28.1 18:48:40 go: downloading github.com/fatih/color v1.9.0 18:48:40 go: downloading github.com/mattn/go-isatty v0.0.14 18:48:41 go: downloading github.com/armon/go-metrics v0.3.10 18:48:41 go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 18:48:41 go: downloading golang.org/x/sys v0.5.0 18:48:41 go: downloading github.com/mattn/go-colorable v0.1.12 18:48:41 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 18:48:41 go: downloading github.com/golang/protobuf v1.5.2 18:48:41 go: downloading github.com/hashicorp/golang-lru v0.5.4 18:48:56 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 18:48:57 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 18:48:57 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 18:48:57 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 18:48:58 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.033s coverage: 36.4% of statements 18:49:20 level=INFO ts=2023-03-15T18:48:57.019310523Z app=unit-test source=variables.go:389 msg="Variables override of 'Startup Duration' by environment variable: EDGEX_STARTUP_DURATION=120" 18:49:20 level=INFO ts=2023-03-15T18:48:57.019334357Z app=unit-test source=variables.go:389 msg="Variables override of 'Startup Interval' by environment variable: EDGEX_STARTUP_INTERVAL=30" 18:49:20 --- FAIL: TestOverrideConfigurationUppercase (0.00s) 18:49:20 variables_test.go:381: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:381 18:49:20 Error: Not equal: 18:49:20 expected: 4 18:49:20 actual : 2 18:49:20 Test: TestOverrideConfigurationUppercase 18:49:20 variables_test.go:382: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:382 18:49:20 Error: Not equal: 18:49:20 expected: "edgex-core-consul" 18:49:20 actual : "localhost" 18:49:20 18:49:20 Diff: 18:49:20 --- Expected 18:49:20 +++ Actual 18:49:20 @@ -1 +1 @@ 18:49:20 -edgex-core-consul 18:49:20 +localhost 18:49:20 Test: TestOverrideConfigurationUppercase 18:49:20 variables_test.go:383: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:383 18:49:20 Error: Not equal: 18:49:20 expected: "edgex-core-data" 18:49:20 actual : "localhost" 18:49:20 18:49:20 Diff: 18:49:20 --- Expected 18:49:20 +++ Actual 18:49:20 @@ -1 +1 @@ 18:49:20 -edgex-core-data 18:49:20 +localhost 18:49:20 Test: TestOverrideConfigurationUppercase 18:49:20 --- FAIL: TestOverrideConfigurationWithBlankValue (0.00s) 18:49:20 variables_test.go:414: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:414 18:49:20 Error: Not equal: 18:49:20 expected: 1 18:49:20 actual : 0 18:49:20 Test: TestOverrideConfigurationWithBlankValue 18:49:20 variables_test.go:415: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:415 18:49:20 Error: Not equal: 18:49:20 expected: "" 18:49:20 actual : "localhost" 18:49:20 18:49:20 Diff: 18:49:20 --- Expected 18:49:20 +++ Actual 18:49:20 @@ -1 +1 @@ 18:49:20 - 18:49:20 +localhost 18:49:20 Test: TestOverrideConfigurationWithBlankValue 18:49:20 --- FAIL: TestOverrideSecretStoreInfo (0.00s) 18:49:20 variables_test.go:441: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:441 18:49:20 Error: Not equal: 18:49:20 expected: 3 18:49:20 actual : 0 18:49:20 Test: TestOverrideSecretStoreInfo 18:49:20 variables_test.go:442: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:442 18:49:20 Error: Not equal: 18:49:20 expected: "123456=789" 18:49:20 actual : "" 18:49:20 18:49:20 Diff: 18:49:20 --- Expected 18:49:20 +++ Actual 18:49:20 @@ -1 +1 @@ 18:49:20 -123456=789 18:49:20 + 18:49:20 Test: TestOverrideSecretStoreInfo 18:49:20 variables_test.go:443: 18:49:20 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/environment/variables_test.go:443 18:49:20 Error: Not equal: 18:49:20 expected: "edgex-vault" 18:49:20 actual : "localhost" 18:49:20 18:49:20 Diff: 18:49:20 --- Expected 18:49:20 +++ Actual 18:49:20 @@ -1 +1 @@ 18:49:20 -edgex-vault 18:49:20 +localhost 18:49:20 Test: TestOverrideSecretStoreInfo 18:49:20 FAIL 18:49:20 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment coverage: 92.0% of statements 18:49:20 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.018s 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.016s coverage: 85.3% of statements 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.023s coverage: 42.3% of statements 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.019s coverage: 100.0% of statements 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.332s coverage: 87.7% of statements 18:49:20 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.013s coverage: 25.0% of statements 18:50:07 --- FAIL: TestNewSecretProvider (60.07s) 18:50:07 --- FAIL: TestNewSecretProvider/Valid_Secure (60.07s) 18:50:07 secret_test.go:120: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:120 18:50:07 Error: Received unexpected error: 18:50:07 unable to create SecretClient: Get "http://localhost:8200/v1/auth/token/lookup-self": dial tcp 127.0.0.1:8200: connect: connection refused 18:50:07 Test: TestNewSecretProvider/Valid_Secure 18:50:07 --- FAIL: TestBuildSecretStoreConfig (0.00s) 18:50:07 secret_test.go:174: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:174 18:50:07 Error: Not equal: 18:50:07 expected: "edgex-vault" 18:50:07 actual : "localhost" 18:50:07 18:50:07 Diff: 18:50:07 --- Expected 18:50:07 +++ Actual 18:50:07 @@ -1 +1 @@ 18:50:07 -edgex-vault 18:50:07 +localhost 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:175: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:175 18:50:07 Error: Not equal: 18:50:07 expected: 8201 18:50:07 actual : 8200 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:176: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:176 18:50:07 Error: Not equal: 18:50:07 expected: "/token.json" 18:50:07 actual : "/tmp/edgex/secrets/unit-test/secrets-token.json" 18:50:07 18:50:07 Diff: 18:50:07 --- Expected 18:50:07 +++ Actual 18:50:07 @@ -1 +1 @@ 18:50:07 -/token.json 18:50:07 +/tmp/edgex/secrets/unit-test/secrets-token.json 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:177: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:177 18:50:07 Error: Not equal: 18:50:07 expected: true 18:50:07 actual : false 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:178: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:178 18:50:07 Error: Not equal: 18:50:07 expected: "edgex-security-spiffe-token-provider" 18:50:07 actual : "localhost" 18:50:07 18:50:07 Diff: 18:50:07 --- Expected 18:50:07 +++ Actual 18:50:07 @@ -1 +1 @@ 18:50:07 -edgex-security-spiffe-token-provider 18:50:07 +localhost 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:179: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:179 18:50:07 Error: Not equal: 18:50:07 expected: "edgex-security-spiffe-token-provider" 18:50:07 actual : "localhost" 18:50:07 18:50:07 Diff: 18:50:07 --- Expected 18:50:07 +++ Actual 18:50:07 @@ -1 +1 @@ 18:50:07 -edgex-security-spiffe-token-provider 18:50:07 +localhost 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 secret_test.go:180: 18:50:07 Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-483/bootstrap/secret/secret_test.go:180 18:50:07 Error: Not equal: 18:50:07 expected: "mqtt-bus" 18:50:07 actual : "redisdb" 18:50:07 18:50:07 Diff: 18:50:07 --- Expected 18:50:07 +++ Actual 18:50:07 @@ -1 +1 @@ 18:50:07 -mqtt-bus 18:50:07 +redisdb 18:50:07 Test: TestBuildSecretStoreConfig 18:50:07 FAIL 18:50:07 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret coverage: 78.0% of statements 18:50:07 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 63.114s 18:50:07 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.012s coverage: 31.2% of statements 18:50:07 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.005s coverage: 91.3% of statements 18:50:07 FAIL 18:50:07 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 18:50:07 $ docker stop --time=1 b2bcdeea1e2b5f7b4a4fa6d240daa5a77ecbdbe1d244cb6240177aac3a7b61bb 18:50:08 $ docker rm -f --volumes b2bcdeea1e2b5f7b4a4fa6d240daa5a77ecbdbe1d244cb6240177aac3a7b61bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:09 18:50:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:09 latest: Pulling from edgex-lftools-log-publisher 18:50:09 5eb5b503b376: Pulling fs layer 18:50:09 5c69ac0246d0: Pulling fs layer 18:50:09 ec43610c2a17: Pulling fs layer 18:50:09 3a2ae6a8a46f: Pulling fs layer 18:50:09 33b1e0a273af: Pulling fs layer 18:50:09 5d3b04190fa2: Pulling fs layer 18:50:09 2f39f015ded8: Pulling fs layer 18:50:09 3a2ae6a8a46f: Waiting 18:50:09 33b1e0a273af: Waiting 18:50:09 5d3b04190fa2: Waiting 18:50:09 2f39f015ded8: Waiting 18:50:09 5c69ac0246d0: Download complete 18:50:09 3a2ae6a8a46f: Verifying Checksum 18:50:09 3a2ae6a8a46f: Download complete 18:50:10 33b1e0a273af: Verifying Checksum 18:50:10 33b1e0a273af: Download complete 18:50:10 5d3b04190fa2: Verifying Checksum 18:50:10 5d3b04190fa2: Download complete 18:50:10 ec43610c2a17: Verifying Checksum 18:50:10 ec43610c2a17: Download complete 18:50:10 5eb5b503b376: Verifying Checksum 18:50:10 5eb5b503b376: Download complete 18:50:11 2f39f015ded8: Download complete 18:50:11 5eb5b503b376: Pull complete 18:50:11 5c69ac0246d0: Pull complete 18:50:12 ec43610c2a17: Pull complete 18:50:12 3a2ae6a8a46f: Pull complete 18:50:12 33b1e0a273af: Pull complete 18:50:12 5d3b04190fa2: Pull complete 18:50:17 2f39f015ded8: Pull complete 18:50:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:50:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:18 prd-ubuntu20.04-docker-8c-8g-2258 does not seem to be running inside a container 18:50:18 $ 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-483 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483:/w/workspace/xfoundry_go-mod-bootstrap_PR-483:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:50:20 $ docker top 85a02a8489733093e5442386253038fa28fd7e9895b82fa22a61094537d7a6c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:21 ---> job-cost.sh 18:50:21 lf-activate-venv: SKIPPING 18:50:21 INFO: No Stack... 18:50:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:50:21 INFO: Archiving Costs [Pipeline] sh 18:50:22 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives/cost.csv 18:50:22 + cut -d, -f6 [Pipeline] lock 18:50:22 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] 18:50:22 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] did not exist. Created. 18:50:22 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:22 + echo total: 0.2199999988079071 [Pipeline] stash 18:50:22 Stashed 1 file(s) [Pipeline] } 18:50:22 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:50:22 $ docker stop --time=1 85a02a8489733093e5442386253038fa28fd7e9895b82fa22a61094537d7a6c8 18:50:23 $ docker rm -f --volumes 85a02a8489733093e5442386253038fa28fd7e9895b82fa22a61094537d7a6c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:50:23 Failed in branch amd64 18:52:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2259 in /w/workspace/xfoundry_go-mod-bootstrap_PR-483 [Pipeline] { [Pipeline] ws 18:52:13 Running in /w/workspace/go-mod-bootstrap/2 [Pipeline] { [Pipeline] checkout 18:52:13 Selected Git installation does not exist. Using Default 18:52:13 The recommended git tool is: NONE 18:52:19 using credential edgex-jenkins-ssh 18:52:19 Cloning the remote Git repository 18:52:19 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 18:52:19 > git init /w/workspace/go-mod-bootstrap/2 # timeout=10 18:52:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 18:52:19 > git --version # timeout=10 18:52:19 > git --version # 'git version 2.25.1' 18:52:19 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:22 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 18:52:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:24 Merging remotes/origin/main commit 266ba797eb47958f26e9de3d4b9551a9393cdd62 into PR head commit 13724547b8203cfc4ac80487777ab6c35d931884 18:52:24 Merge succeeded, producing 5b544f453933e9d69df857d27dacf3f73e330b97 18:52:24 Checking out Revision 5b544f453933e9d69df857d27dacf3f73e330b97 (PR-483) 18:52:23 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 18:52:23 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 18:52:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:52:24 > git config core.sparsecheckout # timeout=10 18:52:24 > git checkout -f 13724547b8203cfc4ac80487777ab6c35d931884 # timeout=10 18:52:24 > git remote # timeout=10 18:52:24 > git config --get remote.origin.url # timeout=10 18:52:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:24 > git merge 266ba797eb47958f26e9de3d4b9551a9393cdd62 # timeout=10 18:52:24 > git rev-parse HEAD^{commit} # timeout=10 18:52:24 > git config core.sparsecheckout # timeout=10 18:52:24 > git checkout -f 5b544f453933e9d69df857d27dacf3f73e330b97 # timeout=10 18:52:28 Commit message: "Merge commit '266ba797eb47958f26e9de3d4b9551a9393cdd62' into HEAD" 18:52:28 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:52:29 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:29 Dload Upload Total Spent Left Speed 18:52:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 18:52:28 > git rev-list --no-walk e12e1badb14511d9c9496517f1ff19bdc460a4ed # timeout=10 18:52:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:52:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:52:30 + sudo tee /etc/docker/daemon.new 18:52:30 { 18:52:30 "registry-mirrors": [ 18:52:30 "https://nexus3.edgexfoundry.org:10001" 18:52:30 ], 18:52:30 "bip": "10.250.0.254/24", 18:52:30 "hosts": [ 18:52:30 "tcp://0.0.0.0:5555", 18:52:30 "unix:///var/run/docker.sock" 18:52:30 ], 18:52:30 "mtu": 1458, 18:52:30 "selinux-enabled": true, 18:52:30 "seccomp-profile": "/etc/docker/seccomp.json" 18:52:30 } [Pipeline] sh 18:52:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:52:30 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 18:52:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:49 ========================================================= 18:52:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:52:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 18:52:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:52:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:52:50 af6eaf76a39c: Pulling fs layer 18:52:50 55522c791124: Pulling fs layer 18:52:50 ce5c4a1c91eb: Pulling fs layer 18:52:50 169dfbe0d373: Pulling fs layer 18:52:50 e1ff8fa3b103: Pulling fs layer 18:52:50 52ebb69f0ebf: Pulling fs layer 18:52:50 5abe8eddf0d5: Pulling fs layer 18:52:50 169dfbe0d373: Waiting 18:52:50 5abe8eddf0d5: Waiting 18:52:50 e1ff8fa3b103: Waiting 18:52:50 52ebb69f0ebf: Waiting 18:52:50 55522c791124: Verifying Checksum 18:52:50 55522c791124: Download complete 18:52:50 169dfbe0d373: Verifying Checksum 18:52:50 169dfbe0d373: Download complete 18:52:50 e1ff8fa3b103: Verifying Checksum 18:52:50 e1ff8fa3b103: Download complete 18:52:50 af6eaf76a39c: Verifying Checksum 18:52:51 af6eaf76a39c: Pull complete 18:52:51 5abe8eddf0d5: Verifying Checksum 18:52:51 5abe8eddf0d5: Download complete 18:52:51 55522c791124: Pull complete 18:52:53 52ebb69f0ebf: Verifying Checksum 18:52:53 52ebb69f0ebf: Download complete 18:52:53 ce5c4a1c91eb: Verifying Checksum 18:52:53 ce5c4a1c91eb: Download complete 18:53:05 ce5c4a1c91eb: Pull complete 18:53:05 169dfbe0d373: Pull complete 18:53:05 e1ff8fa3b103: Pull complete 18:53:11 52ebb69f0ebf: Pull complete 18:53:14 5abe8eddf0d5: Pull complete 18:53:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:53:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh 18:53:14 + 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 18:53:15 + docker inspect -f . ci-base-image-arm64 18:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:15 prd-ubuntu20.04-docker-arm64-4c-16g-2259 does not seem to be running inside a container 18:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:53:18 $ docker top 4bbd7255a3fb6a9bfce2a6be4957233242d44a6181c3278c7de83478210c36ea -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:19 + go version 18:53:19 go version go1.20.2 linux/arm64 [Pipeline] } 18:53:19 $ docker stop --time=1 4bbd7255a3fb6a9bfce2a6be4957233242d44a6181c3278c7de83478210c36ea 18:53:21 $ docker rm -f --volumes 4bbd7255a3fb6a9bfce2a6be4957233242d44a6181c3278c7de83478210c36ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:21 + docker inspect -f . ci-base-image-arm64 18:53:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:21 prd-ubuntu20.04-docker-arm64-4c-16g-2259 does not seem to be running inside a container 18:53:21 $ 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/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:53:23 $ docker top 6a54713e8b43ff1dd5fb47ee1de6b91c694b3ab4fd6c4cfcfe3092ea8350f124 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:24 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/2 [Pipeline] fileExists [Pipeline] sh 18:53:24 + make test 18:53:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:53:24 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.30 18:53:24 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 18:53:24 go: downloading github.com/stretchr/testify v1.8.2 18:53:24 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 18:53:25 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 18:53:25 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.18 18:53:25 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.9 18:53:25 go: downloading github.com/mitchellh/copystructure v1.2.0 18:53:25 go: downloading github.com/pelletier/go-toml v1.9.5 18:53:25 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 18:53:25 go: downloading github.com/google/uuid v1.3.0 18:53:25 go: downloading github.com/gorilla/mux v1.8.0 18:53:25 go: downloading github.com/hashicorp/go-multierror v1.1.1 18:53:25 go: downloading github.com/davecgh/go-spew v1.1.1 18:53:25 go: downloading github.com/pmezard/go-difflib v1.0.0 18:53:25 go: downloading gopkg.in/yaml.v3 v3.0.1 18:53:25 go: downloading github.com/gorilla/websocket v1.4.2 18:53:25 go: downloading golang.org/x/net v0.7.0 18:53:25 go: downloading golang.org/x/sync v0.1.0 18:53:26 go: downloading github.com/go-kit/log v0.2.1 18:53:26 go: downloading github.com/go-playground/validator/v10 v10.11.2 18:53:26 go: downloading github.com/mitchellh/reflectwalk v1.0.2 18:53:26 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 18:53:26 go: downloading github.com/stretchr/objx v0.5.0 18:53:26 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 18:53:26 go: downloading github.com/hashicorp/errwrap v1.0.0 18:53:26 go: downloading github.com/hashicorp/consul/api v1.19.1 18:53:26 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 18:53:26 go: downloading github.com/go-logfmt/logfmt v0.5.1 18:53:26 go: downloading github.com/go-redis/redis/v7 v7.3.0 18:53:26 go: downloading github.com/go-playground/universal-translator v0.18.1 18:53:26 go: downloading github.com/leodido/go-urn v1.2.1 18:53:26 go: downloading golang.org/x/crypto v0.6.0 18:53:26 go: downloading golang.org/x/text v0.7.0 18:53:27 go: downloading github.com/zeebo/errs v1.3.0 18:53:27 go: downloading google.golang.org/grpc v1.51.0 18:53:29 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 18:53:29 go: downloading github.com/mitchellh/mapstructure v1.5.0 18:53:29 go: downloading github.com/x448/float16 v0.8.4 18:53:29 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 18:53:29 go: downloading github.com/hashicorp/go-hclog v0.14.1 18:53:29 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 18:53:29 go: downloading github.com/hashicorp/serf v0.10.1 18:53:29 go: downloading github.com/go-playground/locales v0.14.1 18:53:29 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 18:53:29 go: downloading google.golang.org/protobuf v1.28.1 18:53:30 go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 18:53:30 go: downloading github.com/fatih/color v1.9.0 18:53:30 go: downloading github.com/mattn/go-isatty v0.0.14 18:53:30 go: downloading github.com/armon/go-metrics v0.3.10 18:53:30 go: downloading github.com/golang/protobuf v1.5.2 18:53:30 go: downloading golang.org/x/sys v0.5.0 18:53:30 go: downloading github.com/mattn/go-colorable v0.1.12 18:53:30 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 18:53:30 go: downloading github.com/hashicorp/golang-lru v0.5.4 18:55:37 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 18:55:47 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 18:55:52 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 18:55:52 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 18:56:00 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.108s coverage: 36.4% of statements 18:56:06 level=INFO ts=2023-03-15T18:55:45.75430722Z app=unit-test source=variables.go:389 msg="Variables override of 'Startup Duration' by environment variable: EDGEX_STARTUP_DURATION=120" 18:56:06 level=INFO ts=2023-03-15T18:55:45.754509297Z app=unit-test source=variables.go:389 msg="Variables override of 'Startup Interval' by environment variable: EDGEX_STARTUP_INTERVAL=30" 18:56:06 --- FAIL: TestOverrideConfigurationUppercase (0.00s) 18:56:06 variables_test.go:381: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:381 18:56:06 Error: Not equal: 18:56:06 expected: 4 18:56:06 actual : 2 18:56:06 Test: TestOverrideConfigurationUppercase 18:56:06 variables_test.go:382: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:382 18:56:06 Error: Not equal: 18:56:06 expected: "edgex-core-consul" 18:56:06 actual : "localhost" 18:56:06 18:56:06 Diff: 18:56:06 --- Expected 18:56:06 +++ Actual 18:56:06 @@ -1 +1 @@ 18:56:06 -edgex-core-consul 18:56:06 +localhost 18:56:06 Test: TestOverrideConfigurationUppercase 18:56:06 variables_test.go:383: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:383 18:56:06 Error: Not equal: 18:56:06 expected: "edgex-core-data" 18:56:06 actual : "localhost" 18:56:06 18:56:06 Diff: 18:56:06 --- Expected 18:56:06 +++ Actual 18:56:06 @@ -1 +1 @@ 18:56:06 -edgex-core-data 18:56:06 +localhost 18:56:06 Test: TestOverrideConfigurationUppercase 18:56:06 --- FAIL: TestOverrideConfigurationWithBlankValue (0.00s) 18:56:06 variables_test.go:414: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:414 18:56:06 Error: Not equal: 18:56:06 expected: 1 18:56:06 actual : 0 18:56:06 Test: TestOverrideConfigurationWithBlankValue 18:56:06 variables_test.go:415: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:415 18:56:06 Error: Not equal: 18:56:06 expected: "" 18:56:06 actual : "localhost" 18:56:06 18:56:06 Diff: 18:56:06 --- Expected 18:56:06 +++ Actual 18:56:06 @@ -1 +1 @@ 18:56:06 - 18:56:06 +localhost 18:56:06 Test: TestOverrideConfigurationWithBlankValue 18:56:06 --- FAIL: TestOverrideSecretStoreInfo (0.00s) 18:56:06 variables_test.go:441: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:441 18:56:06 Error: Not equal: 18:56:06 expected: 3 18:56:06 actual : 0 18:56:06 Test: TestOverrideSecretStoreInfo 18:56:06 variables_test.go:442: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:442 18:56:06 Error: Not equal: 18:56:06 expected: "123456=789" 18:56:06 actual : "" 18:56:06 18:56:06 Diff: 18:56:06 --- Expected 18:56:06 +++ Actual 18:56:06 @@ -1 +1 @@ 18:56:06 -123456=789 18:56:06 + 18:56:06 Test: TestOverrideSecretStoreInfo 18:56:06 variables_test.go:443: 18:56:06 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/environment/variables_test.go:443 18:56:06 Error: Not equal: 18:56:06 expected: "edgex-vault" 18:56:06 actual : "localhost" 18:56:06 18:56:06 Diff: 18:56:06 --- Expected 18:56:06 +++ Actual 18:56:06 @@ -1 +1 @@ 18:56:06 -edgex-vault 18:56:06 +localhost 18:56:06 Test: TestOverrideSecretStoreInfo 18:56:06 FAIL 18:56:06 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment coverage: 92.0% of statements 18:56:06 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.077s 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.017s coverage: 85.3% of statements 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.087s coverage: 42.3% of statements 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.082s coverage: 100.0% of statements 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.384s coverage: 87.7% of statements 18:56:06 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.059s coverage: 25.0% of statements 18:57:14 --- FAIL: TestNewSecretProvider (60.18s) 18:57:14 --- FAIL: TestNewSecretProvider/Valid_Secure (60.18s) 18:57:14 secret_test.go:120: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:120 18:57:14 Error: Received unexpected error: 18:57:14 unable to create SecretClient: Get "http://localhost:8200/v1/auth/token/lookup-self": dial tcp 127.0.0.1:8200: connect: connection refused 18:57:14 Test: TestNewSecretProvider/Valid_Secure 18:57:14 --- FAIL: TestBuildSecretStoreConfig (0.00s) 18:57:14 secret_test.go:174: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:174 18:57:14 Error: Not equal: 18:57:14 expected: "edgex-vault" 18:57:14 actual : "localhost" 18:57:14 18:57:14 Diff: 18:57:14 --- Expected 18:57:14 +++ Actual 18:57:14 @@ -1 +1 @@ 18:57:14 -edgex-vault 18:57:14 +localhost 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:175: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:175 18:57:14 Error: Not equal: 18:57:14 expected: 8201 18:57:14 actual : 8200 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:176: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:176 18:57:14 Error: Not equal: 18:57:14 expected: "/token.json" 18:57:14 actual : "/tmp/edgex/secrets/unit-test/secrets-token.json" 18:57:14 18:57:14 Diff: 18:57:14 --- Expected 18:57:14 +++ Actual 18:57:14 @@ -1 +1 @@ 18:57:14 -/token.json 18:57:14 +/tmp/edgex/secrets/unit-test/secrets-token.json 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:177: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:177 18:57:14 Error: Not equal: 18:57:14 expected: true 18:57:14 actual : false 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:178: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:178 18:57:14 Error: Not equal: 18:57:14 expected: "edgex-security-spiffe-token-provider" 18:57:14 actual : "localhost" 18:57:14 18:57:14 Diff: 18:57:14 --- Expected 18:57:14 +++ Actual 18:57:14 @@ -1 +1 @@ 18:57:14 -edgex-security-spiffe-token-provider 18:57:14 +localhost 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:179: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:179 18:57:14 Error: Not equal: 18:57:14 expected: "edgex-security-spiffe-token-provider" 18:57:14 actual : "localhost" 18:57:14 18:57:14 Diff: 18:57:14 --- Expected 18:57:14 +++ Actual 18:57:14 @@ -1 +1 @@ 18:57:14 -edgex-security-spiffe-token-provider 18:57:14 +localhost 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 secret_test.go:180: 18:57:14 Error Trace: /w/workspace/go-mod-bootstrap/2/bootstrap/secret/secret_test.go:180 18:57:14 Error: Not equal: 18:57:14 expected: "mqtt-bus" 18:57:14 actual : "redisdb" 18:57:14 18:57:14 Diff: 18:57:14 --- Expected 18:57:14 +++ Actual 18:57:14 @@ -1 +1 @@ 18:57:14 -mqtt-bus 18:57:14 +redisdb 18:57:14 Test: TestBuildSecretStoreConfig 18:57:14 FAIL 18:57:14 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret coverage: 78.0% of statements 18:57:14 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 63.315s 18:57:14 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.046s coverage: 31.2% of statements 18:57:14 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.016s coverage: 91.3% of statements 18:57:14 FAIL 18:57:14 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 18:57:14 $ docker stop --time=1 6a54713e8b43ff1dd5fb47ee1de6b91c694b3ab4fd6c4cfcfe3092ea8350f124 18:57:16 $ docker rm -f --volumes 6a54713e8b43ff1dd5fb47ee1de6b91c694b3ab4fd6c4cfcfe3092ea8350f124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:20 18:57:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:21 arm64: Pulling from edgex-lftools-log-publisher 18:57:21 8998bd30e6a1: Pulling fs layer 18:57:21 04944245beec: Pulling fs layer 18:57:21 699f458cf7ca: Pulling fs layer 18:57:21 765212b225bb: Pulling fs layer 18:57:21 f23df028b6ca: Pulling fs layer 18:57:21 d65c8cfc05b1: Pulling fs layer 18:57:21 2437ff75d9bd: Pulling fs layer 18:57:21 f23df028b6ca: Waiting 18:57:21 765212b225bb: Waiting 18:57:21 d65c8cfc05b1: Waiting 18:57:21 04944245beec: Verifying Checksum 18:57:21 04944245beec: Download complete 18:57:21 765212b225bb: Verifying Checksum 18:57:21 765212b225bb: Download complete 18:57:21 f23df028b6ca: Download complete 18:57:21 d65c8cfc05b1: Verifying Checksum 18:57:21 d65c8cfc05b1: Download complete 18:57:22 699f458cf7ca: Verifying Checksum 18:57:22 699f458cf7ca: Download complete 18:57:22 8998bd30e6a1: Verifying Checksum 18:57:22 8998bd30e6a1: Download complete 18:57:25 2437ff75d9bd: Verifying Checksum 18:57:25 2437ff75d9bd: Download complete 18:57:29 8998bd30e6a1: Pull complete 18:57:29 04944245beec: Pull complete 18:57:31 699f458cf7ca: Pull complete 18:57:31 765212b225bb: Pull complete 18:57:35 f23df028b6ca: Pull complete 18:57:35 d65c8cfc05b1: Pull complete 18:57:50 2437ff75d9bd: Pull complete 18:57:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:57:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:57:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:50 prd-ubuntu20.04-docker-arm64-4c-16g-2259 does not seem to be running inside a container 18:57:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-bootstrap/2 -v /w/workspace/go-mod-bootstrap/2:/w/workspace/go-mod-bootstrap/2:rw,z -v /w/workspace/go-mod-bootstrap/2@tmp:/w/workspace/go-mod-bootstrap/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:57:52 $ docker top 0bbec2385e0b392043791cac24d8281f78e9d5e005825106d94666aaac754838 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:53 ---> job-cost.sh 18:57:53 lf-activate-venv: SKIPPING 18:57:53 INFO: No Stack... 18:57:54 INFO: Retrieving Pricing Info for: v3-standard-4 18:57:55 INFO: Archiving Costs [Pipeline] sh 18:57:55 + cat /w/workspace/go-mod-bootstrap/2/archives/cost.csv 18:57:55 + cut -d, -f6 [Pipeline] lock 18:57:55 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] 18:57:55 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] did not exist. Created. 18:57:55 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:56 /w/workspace/go-mod-bootstrap/2@tmp/durable-94459c5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:57:56 + echo total: 0.10999999940395355 [Pipeline] stash 18:57:56 Warning: overwriting stash ‘stack-cost’ 18:57:57 Stashed 1 file(s) [Pipeline] } 18:57:57 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-483-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:57 $ docker stop --time=1 0bbec2385e0b392043791cac24d8281f78e9d5e005825106d94666aaac754838 18:57:58 $ docker rm -f --volumes 0bbec2385e0b392043791cac24d8281f78e9d5e005825106d94666aaac754838 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:57:58 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] } [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 18:57:59 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives ] 18:57:59 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives 18:57:59 total 16 18:57:59 drwxr-xr-x 3 root root 4096 Mar 15 18:50 . 18:57:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 18:50 .. 18:57:59 drwxr-xr-x 2 root root 4096 Mar 15 18:50 cost 18:57:59 -rw-r--r-- 1 root root 88 Mar 15 18:50 cost.csv 18:57:59 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives 18:57:59 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives 18:57:59 total 16 18:57:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 18:50 . 18:57:59 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 18:50 .. 18:57:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 18:50 cost 18:57:59 -rw-r--r-- 1 jenkins jenkins 88 Mar 15 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:58:00 ---> package-listing.sh 18:58:00 ++ facter osfamily 18:58:00 ++ tr '[:upper:]' '[:lower:]' 18:58:00 + OS_FAMILY=debian 18:58:00 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-483 18:58:00 + START_PACKAGES=/tmp/packages_start.txt 18:58:00 + END_PACKAGES=/tmp/packages_end.txt 18:58:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:58:00 + PACKAGES=/tmp/packages_start.txt 18:58:00 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-483 ']' 18:58:00 + PACKAGES=/tmp/packages_end.txt 18:58:00 + case "${OS_FAMILY}" in 18:58:00 + dpkg -l 18:58:00 + grep '^ii' 18:58:00 + '[' -f /tmp/packages_start.txt ']' 18:58:00 + '[' -f /tmp/packages_end.txt ']' 18:58:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:58:00 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-483 ']' 18:58:00 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives/ 18:58:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-483/archives/ [Pipeline] echo 18:58:00 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-483/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:58:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:01 prd-ubuntu20.04-docker-8c-8g-2258 does not seem to be running inside a container 18:58:01 $ 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-483/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-483 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483:/w/workspace/xfoundry_go-mod-bootstrap_PR-483:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:02 $ docker top 3fc59355ca3bd4679bee4f4ab891a0b9b086f7bdca97d7ac087325ee31a33efa -eo pid,comm [Pipeline] { [Pipeline] sh 18:58:02 + touch /tmp/pre-build-complete [Pipeline] sh 18:58:02 + mkdir -p /var/log/sysstat [Pipeline] sh 18:58:02 + ls /var/log/sa-host 18:58:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:58:02 provisioning config files... 18:58:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-483@tmp/config16007945604036683349tmp [Pipeline] { [Pipeline] echo 18:58:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:58:03 ---> create-netrc.sh [Pipeline] } 18:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:58:03 ---> python-tools-install.sh [Pipeline] echo 18:58:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:58:03 ---> sudo-logs.sh 18:58:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:58:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:58:04 ---> job-cost.sh 18:58:04 lf-activate-venv: SKIPPING 18:58:04 DEBUG: total: 0.2199999988079071 18:58:04 INFO: Retrieving Stack Cost... 18:58:04 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:05 INFO: Archiving Costs [Pipeline] echo 18:58:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:58:05 ---> logs-deploy.sh 18:58:05 lf-activate-venv: SKIPPING 18:58:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-483/2 18:58:05 INFO: archiving workspace using pattern(s): 18:58:06 Archives upload complete. 18:58:06 INFO: archiving logs to Nexus