Pull request #456 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 ejlee3 for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at c9bae64637c882c7a2f01c3ca1c9bf7a19355159 rather than 5589dc5fc67029322f38a034ba6592d2253b6c89 Obtained Jenkinsfile from c9bae64637c882c7a2f01c3ca1c9bf7a19355159 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-ssh16006163716765397464.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3082190007811909470.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-456/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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9240361017107799508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11708213928060852859.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-456/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-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14066693252526731995.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.18 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-8622 in /w/workspace/xfoundry_go-mod-bootstrap_PR-456 [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-456 # 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/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9bae64637c882c7a2f01c3ca1c9bf7a19355159 into PR head commit 5589dc5fc67029322f38a034ba6592d2253b6c89 Merge succeeded, producing 241755cb4b9d288c3d352296bb427310d90936d8 Checking out Revision 241755cb4b9d288c3d352296bb427310d90936d8 (PR-456) > git config core.sparsecheckout # timeout=10 > git checkout -f 5589dc5fc67029322f38a034ba6592d2253b6c89 # 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 c9bae64637c882c7a2f01c3ca1c9bf7a19355159 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 241755cb4b9d288c3d352296bb427310d90936d8 # timeout=10 Commit message: "Merge commit 'c9bae64637c882c7a2f01c3ca1c9bf7a19355159' into HEAD" > git rev-list --no-walk 53eef52ce42c08de624e2a7e6e53bedbe383676a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:51:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:51:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:51:11 ========================================================= 19:51:11 EdgeX Global Pipelines Version Info 19:51:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:51:12 ------------------- 19:51:12 stable info: 19:51:12 ------------------- 19:51:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:51:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:51:12 Message: update stable to v1.0.244 19:51:12 ------------------- 19:51:12 experimental info: 19:51:12 ------------------- 19:51:12 Commited By: **** collab-it+edgex@linuxfoundation.org 19:51:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:51:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:51:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-456 [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-456 [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-456 [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 241755cb4b9d288c3d352296bb427310d90936d8 [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 241755c [Pipeline] echo 19:51:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:51:13 + git rev-list -1 --merges 241755cb4b9d288c3d352296bb427310d90936d8~1..241755cb4b9d288c3d352296bb427310d90936d8 [Pipeline] echo 19:51:13 -----------> git rev-list -1 --merges 241755cb4b9d288c3d352296bb427310d90936d8~1..241755cb4b9d288c3d352296bb427310d90936d8 241755cb4b9d288c3d352296bb427310d90936d8 19:51:13 241755cb4b9d288c3d352296bb427310d90936d8 [false] [Pipeline] sh 19:51:13 + git log --format=format:%s -1 241755cb4b9d288c3d352296bb427310d90936d8 [Pipeline] echo 19:51:14 ========================================================= 19:51:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:51:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:14 + git log --format=format:%s -1 241755cb4b9d288c3d352296bb427310d90936d8 [Pipeline] echo 19:51:14 [semverPrep] GIT_COMMIT: 241755cb4b9d288c3d352296bb427310d90936d8, Commit Message: Merge commit 'c9bae64637c882c7a2f01c3ca1c9bf7a19355159' into HEAD [Pipeline] echo 19:51:14 [semverPrep] This is not a build commit. [Pipeline] sh 19:51:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:51:14 + grep -v github /etc/ssh/ssh_known_hosts 19:51:14 + [ -e /tmp/ssh_known_hosts ] 19:51:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:51:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:51:14 sudo tee -a /etc/ssh/ssh_known_hosts 19:51:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:15 19:51:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:15 0.1.4: Pulling from edgex-devops/py-git-semver 19:51:15 b85a868b505f: Pulling fs layer 19:51:15 e2be974225ed: Pulling fs layer 19:51:15 339a4e72a1f5: Pulling fs layer 19:51:15 988bab9f4d93: Pulling fs layer 19:51:15 1469e6f7b9e6: Pulling fs layer 19:51:15 eaf3925da568: Pulling fs layer 19:51:15 bab4dde63d76: Pulling fs layer 19:51:15 bde34c3a00c8: Pulling fs layer 19:51:15 b352a97aabf1: Pulling fs layer 19:51:15 4872d77fe225: Pulling fs layer 19:51:15 5851b861e8e6: Pulling fs layer 19:51:15 1469e6f7b9e6: Waiting 19:51:15 eaf3925da568: Waiting 19:51:15 bab4dde63d76: Waiting 19:51:15 bde34c3a00c8: Waiting 19:51:15 b352a97aabf1: Waiting 19:51:15 4872d77fe225: Waiting 19:51:15 5851b861e8e6: Waiting 19:51:15 e2be974225ed: Download complete 19:51:15 1469e6f7b9e6: Verifying Checksum 19:51:15 1469e6f7b9e6: Download complete 19:51:15 eaf3925da568: Verifying Checksum 19:51:15 eaf3925da568: Download complete 19:51:15 339a4e72a1f5: Verifying Checksum 19:51:15 339a4e72a1f5: Download complete 19:51:15 bde34c3a00c8: Verifying Checksum 19:51:15 bde34c3a00c8: Download complete 19:51:15 b352a97aabf1: Download complete 19:51:15 4872d77fe225: Verifying Checksum 19:51:15 4872d77fe225: Download complete 19:51:15 5851b861e8e6: Verifying Checksum 19:51:15 5851b861e8e6: Download complete 19:51:16 b85a868b505f: Verifying Checksum 19:51:16 b85a868b505f: Download complete 19:51:16 bab4dde63d76: Verifying Checksum 19:51:16 bab4dde63d76: Download complete 19:51:17 b85a868b505f: Pull complete 19:51:17 e2be974225ed: Pull complete 19:51:17 339a4e72a1f5: Pull complete 19:51:18 988bab9f4d93: Pull complete 19:51:18 1469e6f7b9e6: Pull complete 19:51:18 eaf3925da568: Pull complete 19:51:20 bab4dde63d76: Pull complete 19:51:20 bde34c3a00c8: Pull complete 19:51:20 b352a97aabf1: Pull complete 19:51:20 4872d77fe225: Pull complete 19:51:20 5851b861e8e6: Pull complete 19:51:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:51:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:20 prd-ubuntu20.04-docker-8c-8g-8622 does not seem to be running inside a container 19:51:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-456 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456:/w/workspace/xfoundry_go-mod-bootstrap_PR-456:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@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-devops/py-git-semver:0.1.4 cat 19:51:23 $ docker top 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 -eo pid,comm 19:51:23 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). 19:51:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:51:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:23 [ssh-agent] Looking for ssh-agent implementation... 19:51:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:23 $ docker exec 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 ssh-agent 19:51:23 SSH_AUTH_SOCK=/tmp/ssh-72VYEffTBaTv/agent.32 19:51:23 SSH_AGENT_PID=38 19:51:23 Running ssh-add (command line suppressed) 19:51:23 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_9181402639491439118.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_9181402639491439118.key) 19:51:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:23 + git tag --points-at HEAD [Pipeline] } 19:51:23 $ docker exec --env ******** --env ******** 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 ssh-agent -k 19:51:23 unset SSH_AUTH_SOCK; 19:51:23 unset SSH_AGENT_PID; 19:51:23 echo Agent pid 38 killed; 19:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:51:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:23 [ssh-agent] Looking for ssh-agent implementation... 19:51:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:24 $ docker exec 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 ssh-agent 19:51:24 SSH_AUTH_SOCK=/tmp/ssh-30NcuLWy7yrB/agent.71 19:51:24 SSH_AGENT_PID=77 19:51:24 Running ssh-add (command line suppressed) 19:51:24 Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_3524927223894814691.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_3524927223894814691.key) 19:51:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:24 + git semver init 19:51:24 2023-03-07 19:51:24,739 [run_init] DEBUG init version:0.0.0 force:False 19:51:24 2023-03-07 19:51:24,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver 19:51:24 2023-03-07 19:51:24,741 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver 19:51:24 2023-03-07 19:51:24,741 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-456, universal_newlines=False, shell=None, istream=None) 19:51:25 2023-03-07 19:51:25,723 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.git/info/exclude 19:51:25 2023-03-07 19:51:25,723 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 with force:False 19:51:25 2023-03-07 19:51:25,724 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 19:51:25 2023-03-07 19:51:25,726 [execute] INFO git cat-file --batch-check 19:51:25 2023-03-07 19:51:25,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver, universal_newlines=False, shell=None, istream=) 19:51:25 2023-03-07 19:51:25,732 [execute] INFO git cat-file --batch 19:51:25 2023-03-07 19:51:25,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver, universal_newlines=False, shell=None, istream=) 19:51:25 2023-03-07 19:51:25,738 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 19:51:25 0.0.0 [Pipeline] } 19:51:26 $ docker exec --env ******** --env ******** 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 ssh-agent -k 19:51:26 unset SSH_AUTH_SOCK; 19:51:26 unset SSH_AGENT_PID; 19:51:26 echo Agent pid 77 killed; 19:51:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:51:26 + git semver [Pipeline] } 19:51:26 $ docker stop --time=1 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 19:51:27 $ docker rm -f --volumes 5f907dbf5789dd790cfb70c4e8b3f260e6478795cfbec56058cef83f41067d36 [Pipeline] // withDockerContainer [Pipeline] sh 19:51:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:51:28 Stashed 1 file(s) [Pipeline] echo 19:51:28 [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 19:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:28 ========================================================= 19:51:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:51:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:51:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:51:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:51:29 213ec9aee27d: Pulling fs layer 19:51:29 4583459ba037: Pulling fs layer 19:51:29 93c1e223e6f2: Pulling fs layer 19:51:29 53926ce57604: Pulling fs layer 19:51:29 21b2b0c7a3f4: Pulling fs layer 19:51:29 22ff95d597cd: Pulling fs layer 19:51:29 12d6caf4c0d1: Pulling fs layer 19:51:29 96b7cbca73a9: Pulling fs layer 19:51:29 a7acece74701: Pulling fs layer 19:51:29 12d6caf4c0d1: Waiting 19:51:29 a7acece74701: Waiting 19:51:29 96b7cbca73a9: Waiting 19:51:29 21b2b0c7a3f4: Waiting 19:51:29 22ff95d597cd: Waiting 19:51:29 53926ce57604: Waiting 19:51:29 93c1e223e6f2: Verifying Checksum 19:51:29 93c1e223e6f2: Download complete 19:51:29 4583459ba037: Verifying Checksum 19:51:29 4583459ba037: Download complete 19:51:29 21b2b0c7a3f4: Verifying Checksum 19:51:29 21b2b0c7a3f4: Download complete 19:51:29 22ff95d597cd: Verifying Checksum 19:51:29 22ff95d597cd: Download complete 19:51:29 213ec9aee27d: Verifying Checksum 19:51:29 213ec9aee27d: Download complete 19:51:29 12d6caf4c0d1: Verifying Checksum 19:51:29 12d6caf4c0d1: Download complete 19:51:29 213ec9aee27d: Pull complete 19:51:29 4583459ba037: Pull complete 19:51:29 93c1e223e6f2: Pull complete 19:51:29 a7acece74701: Verifying Checksum 19:51:29 a7acece74701: Download complete 19:51:29 96b7cbca73a9: Verifying Checksum 19:51:29 96b7cbca73a9: Download complete 19:51:29 53926ce57604: Verifying Checksum 19:51:29 53926ce57604: Download complete 19:51:34 53926ce57604: Pull complete 19:51:34 21b2b0c7a3f4: Pull complete 19:51:34 22ff95d597cd: Pull complete 19:51:34 12d6caf4c0d1: Pull complete 19:51:35 96b7cbca73a9: Pull complete 19:51:35 a7acece74701: Pull complete 19:51:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:51:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:51:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 19:51:36 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:36 + docker inspect -f . ci-base-image-x86_64 19:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:36 prd-ubuntu20.04-docker-8c-8g-8622 does not seem to be running inside a container 19:51:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-456 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456:/w/workspace/xfoundry_go-mod-bootstrap_PR-456:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:51:40 $ docker top 7f6255f07a0626b907b070343451177f9ee3c4ca4c02392ec7275089ac69673f -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:41 + go version 19:51:41 go version go1.18.7 linux/amd64 [Pipeline] } 19:51:41 $ docker stop --time=1 7f6255f07a0626b907b070343451177f9ee3c4ca4c02392ec7275089ac69673f 19:51:42 $ docker rm -f --volumes 7f6255f07a0626b907b070343451177f9ee3c4ca4c02392ec7275089ac69673f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:51:42 + docker inspect -f . ci-base-image-x86_64 19:51:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:51:42 prd-ubuntu20.04-docker-8c-8g-8622 does not seem to be running inside a container 19:51:42 $ 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-456 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456:/w/workspace/xfoundry_go-mod-bootstrap_PR-456:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:51:43 $ docker top c7ed618b6db180d0c1fce8165e333b1f1e6b26fa212368fa20c314319ca30360 -eo pid,comm [Pipeline] { [Pipeline] sh 19:51:43 + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-456 [Pipeline] fileExists [Pipeline] sh 19:51:43 Still waiting to schedule task 19:51:43 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:51:43 + make test 19:51:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:51:43 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 19:51:43 go: downloading github.com/stretchr/testify v1.8.2 19:51:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.24 19:51:43 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 19:51:43 go: downloading github.com/pelletier/go-toml v1.9.5 19:51:43 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 19:51:43 go: downloading github.com/mitchellh/copystructure v1.2.0 19:51:43 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 19:51:43 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 19:51:43 go: downloading github.com/google/uuid v1.3.0 19:51:44 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:51:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 19:51:44 go: downloading github.com/gorilla/mux v1.8.0 19:51:44 go: downloading github.com/davecgh/go-spew v1.1.1 19:51:44 go: downloading github.com/pmezard/go-difflib v1.0.0 19:51:44 go: downloading github.com/stretchr/objx v0.5.0 19:51:44 go: downloading gopkg.in/yaml.v3 v3.0.1 19:51:44 go: downloading github.com/mitchellh/reflectwalk v1.0.2 19:51:44 go: downloading github.com/go-kit/log v0.2.1 19:51:44 go: downloading github.com/go-playground/validator/v10 v10.11.2 19:51:44 go: downloading github.com/hashicorp/errwrap v1.0.0 19:51:44 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 19:51:44 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 19:51:44 go: downloading github.com/hashicorp/consul/api v1.19.1 19:51:44 go: downloading github.com/gorilla/websocket v1.4.2 19:51:44 go: downloading golang.org/x/net v0.7.0 19:51:44 go: downloading golang.org/x/sync v0.1.0 19:51:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:51:44 go: downloading github.com/go-logfmt/logfmt v0.5.1 19:51:44 go: downloading github.com/x448/float16 v0.8.4 19:51:44 go: downloading github.com/go-playground/universal-translator v0.18.1 19:51:44 go: downloading github.com/leodido/go-urn v1.2.1 19:51:44 go: downloading golang.org/x/crypto v0.6.0 19:51:44 go: downloading golang.org/x/text v0.7.0 19:51:44 go: downloading github.com/zeebo/errs v1.3.0 19:51:44 go: downloading google.golang.org/grpc v1.51.0 19:51:44 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 19:51:44 go: downloading google.golang.org/protobuf v1.28.1 19:51:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:51:44 go: downloading github.com/hashicorp/go-hclog v0.14.1 19:51:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:51:44 go: downloading github.com/hashicorp/serf v0.10.1 19:51:44 go: downloading github.com/mitchellh/mapstructure v1.5.0 19:51:44 go: downloading github.com/go-playground/locales v0.14.1 19:51:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:51:44 go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 19:51:44 go: downloading github.com/fatih/color v1.9.0 19:51:44 go: downloading github.com/mattn/go-isatty v0.0.14 19:51:44 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:51:44 go: downloading github.com/golang/protobuf v1.5.2 19:51:44 go: downloading golang.org/x/sys v0.5.0 19:51:44 go: downloading github.com/mattn/go-colorable v0.1.12 19:51:44 go: downloading github.com/armon/go-metrics v0.3.10 19:51:44 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 19:51:44 go: downloading github.com/hashicorp/golang-lru v0.5.4 19:51:54 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration.test] 19:51:54 bootstrap/registration/registry_test.go:56:51: cannot use serviceConfig (variable of type unitTestConfiguration) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to createRegistryClient: 19:51:54 unitTestConfiguration does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret.test] 19:51:54 bootstrap/secret/insecure_test.go:66:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/insecure_test.go:150:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/insecure_test.go:205:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/insecure_test.go:246:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/insecure_test.go:280:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/insecure_test.go:314:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 bootstrap/secret/secret_test.go:107:21: cannot use TestConfig{…} (value of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in assignment: 19:51:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:51:54 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.026s coverage: 36.0% of statements 19:52:16 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.011s coverage: 92.5% of statements 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.017s coverage: 85.3% of statements 19:52:16 --- FAIL: TestClientsBootstrapHandler (0.00s) 19:52:16 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) 19:52:16 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 19:52:16 panic: runtime error: invalid memory address or nil pointer dereference 19:52:16 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xaeeead] 19:52:16 19:52:16 goroutine 20 [running]: 19:52:16 testing.tRunner.func1.2({0xba0d20, 0x12631b0}) 19:52:16 /usr/local/go/src/testing/testing.go:1389 +0x24e 19:52:16 testing.tRunner.func1() 19:52:16 /usr/local/go/src/testing/testing.go:1392 +0x39f 19:52:16 panic({0xba0d20, 0x12631b0}) 19:52:16 /usr/local/go/src/runtime/panic.go:838 +0x207 19:52:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0xc000157990, {0xd9f2d8?, 0xc000136000?}, 0xc000081868?, {{0xc0fa0356984e02ac, 0x9abdf5, 0x127d800}, 0x3b9aca00, 0x3b9aca00}, 0xc0004a22e0) 19:52:16 /w/workspace/xfoundry_go-mod-bootstrap_PR-456/bootstrap/handlers/clients.go:63 +0x2ad 19:52:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0xc0003f76c0?) 19:52:16 /w/workspace/xfoundry_go-mod-bootstrap_PR-456/bootstrap/handlers/clients_test.go:226 +0x905 19:52:16 testing.tRunner(0xc0003f76c0, 0xc000423040) 19:52:16 /usr/local/go/src/testing/testing.go:1439 +0x102 19:52:16 created by testing.(*T).Run 19:52:16 /usr/local/go/src/testing/testing.go:1486 +0x35f 19:52:16 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.015s 19:52:16 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 19:52:16 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.019s coverage: 100.0% of statements 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.324s coverage: 87.7% of statements 19:52:16 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [build failed] 19:52:16 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [build failed] 19:52:16 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.016s coverage: 31.2% of statements 19:52:16 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.005s coverage: 91.3% of statements 19:52:16 FAIL 19:52:16 make: *** [Makefile:10: unittest] Error 2 [Pipeline] } 19:52:16 $ docker stop --time=1 c7ed618b6db180d0c1fce8165e333b1f1e6b26fa212368fa20c314319ca30360 19:52:21 $ docker rm -f --volumes c7ed618b6db180d0c1fce8165e333b1f1e6b26fa212368fa20c314319ca30360 [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 19:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:21 19:52:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:21 latest: Pulling from edgex-lftools-log-publisher 19:52:21 5eb5b503b376: Pulling fs layer 19:52:21 5c69ac0246d0: Pulling fs layer 19:52:21 ec43610c2a17: Pulling fs layer 19:52:21 3a2ae6a8a46f: Pulling fs layer 19:52:21 33b1e0a273af: Pulling fs layer 19:52:21 5d3b04190fa2: Pulling fs layer 19:52:21 2f39f015ded8: Pulling fs layer 19:52:21 3a2ae6a8a46f: Waiting 19:52:21 33b1e0a273af: Waiting 19:52:21 5d3b04190fa2: Waiting 19:52:21 2f39f015ded8: Waiting 19:52:21 5c69ac0246d0: Verifying Checksum 19:52:21 5c69ac0246d0: Download complete 19:52:21 3a2ae6a8a46f: Verifying Checksum 19:52:21 3a2ae6a8a46f: Download complete 19:52:22 33b1e0a273af: Verifying Checksum 19:52:22 33b1e0a273af: Download complete 19:52:22 5d3b04190fa2: Verifying Checksum 19:52:22 5d3b04190fa2: Download complete 19:52:22 ec43610c2a17: Verifying Checksum 19:52:22 ec43610c2a17: Download complete 19:52:22 5eb5b503b376: Verifying Checksum 19:52:22 5eb5b503b376: Download complete 19:52:23 5eb5b503b376: Pull complete 19:52:23 5c69ac0246d0: Pull complete 19:52:23 ec43610c2a17: Pull complete 19:52:23 3a2ae6a8a46f: Pull complete 19:52:24 33b1e0a273af: Pull complete 19:52:24 5d3b04190fa2: Pull complete 19:52:28 2f39f015ded8: Pull complete 19:52:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:52:28 prd-ubuntu20.04-docker-8c-8g-8622 does not seem to be running inside a container 19:52:28 $ 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-456 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456:/w/workspace/xfoundry_go-mod-bootstrap_PR-456:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@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 19:52:31 $ docker top 8b214c987b422d31a13ac88f80a65519c9c3755b796d4a6cf650d266c912ff92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:52:32 ---> job-cost.sh 19:52:32 lf-activate-venv: SKIPPING 19:52:32 INFO: No Stack... 19:52:32 INFO: Retrieving Pricing Info for: v3-standard-8 19:52:32 INFO: Archiving Costs [Pipeline] sh 19:52:32 + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives/cost.csv 19:52:32 + cut -d, -f6 [Pipeline] lock 19:52:32 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] 19:52:32 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] did not exist. Created. 19:52:32 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:52:33 + echo total: 0.2199999988079071 [Pipeline] stash 19:52:33 Stashed 1 file(s) [Pipeline] } 19:52:33 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:52:33 $ docker stop --time=1 8b214c987b422d31a13ac88f80a65519c9c3755b796d4a6cf650d266c912ff92 19:52:34 $ docker rm -f --volumes 8b214c987b422d31a13ac88f80a65519c9c3755b796d4a6cf650d266c912ff92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:52:34 Failed in branch amd64 19:53:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8623 in /w/workspace/xfoundry_go-mod-bootstrap_PR-456 [Pipeline] { [Pipeline] ws 19:53:14 Running in /w/workspace/go-mod-bootstrap/6 [Pipeline] { [Pipeline] checkout 19:53:14 Selected Git installation does not exist. Using Default 19:53:14 The recommended git tool is: NONE 19:53:19 using credential edgex-jenkins-ssh 19:53:19 Cloning the remote Git repository 19:53:19 Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git 19:53:19 > git init /w/workspace/go-mod-bootstrap/6 # timeout=10 19:53:19 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 19:53:19 > git --version # timeout=10 19:53:19 > git --version # 'git version 2.25.1' 19:53:19 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:20 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 19:53:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:53:21 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 19:53:21 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git 19:53:21 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:53:22 Merging remotes/origin/main commit c9bae64637c882c7a2f01c3ca1c9bf7a19355159 into PR head commit 5589dc5fc67029322f38a034ba6592d2253b6c89 19:53:22 Merge succeeded, producing 101df10f77e7217c8b79ad4ec27660f937ee4993 19:53:22 Checking out Revision 101df10f77e7217c8b79ad4ec27660f937ee4993 (PR-456) 19:53:22 > git config core.sparsecheckout # timeout=10 19:53:22 > git checkout -f 5589dc5fc67029322f38a034ba6592d2253b6c89 # timeout=10 19:53:22 > git remote # timeout=10 19:53:22 > git config --get remote.origin.url # timeout=10 19:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 19:53:22 > git merge c9bae64637c882c7a2f01c3ca1c9bf7a19355159 # timeout=10 19:53:22 > git rev-parse HEAD^{commit} # timeout=10 19:53:22 > git config core.sparsecheckout # timeout=10 19:53:22 > git checkout -f 101df10f77e7217c8b79ad4ec27660f937ee4993 # timeout=10 19:53:26 Commit message: "Merge commit 'c9bae64637c882c7a2f01c3ca1c9bf7a19355159' into HEAD" 19:53:26 > git rev-list --no-walk 53eef52ce42c08de624e2a7e6e53bedbe383676a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:53:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:53:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:53:27 Dload Upload Total Spent Left Speed 19:53:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 19:53:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:53:28 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 19:53:28 19:53:28 { 19:53:28 "registry-mirrors": [ 19:53:28 "https://nexus3.edgexfoundry.org:10001" 19:53:28 ], 19:53:28 "bip": "10.250.0.254/24", 19:53:28 "hosts": [ 19:53:28 "tcp://0.0.0.0:5555", 19:53:28 "unix:///var/run/docker.sock" 19:53:28 ], 19:53:28 "mtu": 1458, 19:53:28 "selinux-enabled": true, 19:53:28 "seccomp-profile": "/etc/docker/seccomp.json" 19:53:28 } [Pipeline] sh 19:53:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:53:28 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 19:53:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:53:47 ========================================================= 19:53:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:53:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 19:53:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:53:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:53:49 9b18e9b68314: Pulling fs layer 19:53:49 35d82f9e3411: Pulling fs layer 19:53:49 e16973657156: Pulling fs layer 19:53:49 fc693d55d65f: Pulling fs layer 19:53:49 7e9fc2657dce: Pulling fs layer 19:53:49 dda99020689f: Pulling fs layer 19:53:49 db1c61fa0a46: Pulling fs layer 19:53:49 891c053d2c06: Pulling fs layer 19:53:49 7e9fc2657dce: Waiting 19:53:49 dda99020689f: Waiting 19:53:49 db1c61fa0a46: Waiting 19:53:49 891c053d2c06: Waiting 19:53:49 fc693d55d65f: Waiting 19:53:49 e16973657156: Verifying Checksum 19:53:49 e16973657156: Download complete 19:53:49 35d82f9e3411: Verifying Checksum 19:53:49 35d82f9e3411: Download complete 19:53:49 7e9fc2657dce: Download complete 19:53:49 dda99020689f: Verifying Checksum 19:53:49 dda99020689f: Download complete 19:53:49 9b18e9b68314: Verifying Checksum 19:53:50 9b18e9b68314: Pull complete 19:53:50 891c053d2c06: Verifying Checksum 19:53:50 891c053d2c06: Download complete 19:53:50 35d82f9e3411: Pull complete 19:53:50 e16973657156: Pull complete 19:53:51 db1c61fa0a46: Verifying Checksum 19:53:51 db1c61fa0a46: Download complete 19:53:51 fc693d55d65f: Verifying Checksum 19:53:51 fc693d55d65f: Download complete 19:54:04 fc693d55d65f: Pull complete 19:54:04 7e9fc2657dce: Pull complete 19:54:04 dda99020689f: Pull complete 19:54:10 db1c61fa0a46: Pull complete 19:54:14 891c053d2c06: Pull complete 19:54:14 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:54:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:54:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 19:54:15 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:15 + docker inspect -f . ci-base-image-arm64 19:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-8623 does not seem to be running inside a container 19:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:18 $ docker top d27757c61c9c6b150efc51d047a88ff683ade0d9005d54ccd0dd949a6cb1fecf -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:19 + go version 19:54:19 go version go1.18.7 linux/arm64 [Pipeline] } 19:54:19 $ docker stop --time=1 d27757c61c9c6b150efc51d047a88ff683ade0d9005d54ccd0dd949a6cb1fecf 19:54:21 $ docker rm -f --volumes d27757c61c9c6b150efc51d047a88ff683ade0d9005d54ccd0dd949a6cb1fecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:54:21 + docker inspect -f . ci-base-image-arm64 19:54:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:54:22 prd-ubuntu20.04-docker-arm64-4c-16g-8623 does not seem to be running inside a container 19:54:22 $ 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/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:54:23 $ docker top f35b5b10208f531de317bd72a49ca420f10b80e53ca271ec9553238f2ba2040a -eo pid,comm [Pipeline] { [Pipeline] sh 19:54:23 + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/6 [Pipeline] fileExists [Pipeline] sh 19:54:24 + make test 19:54:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:54:24 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.7 19:54:24 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.24 19:54:24 go: downloading github.com/pelletier/go-toml v1.9.5 19:54:24 go: downloading github.com/stretchr/testify v1.8.2 19:54:24 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 19:54:24 go: downloading github.com/mitchellh/copystructure v1.2.0 19:54:24 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 19:54:24 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.16 19:54:24 go: downloading github.com/google/uuid v1.3.0 19:54:24 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:54:24 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 19:54:24 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 19:54:24 go: downloading github.com/gorilla/mux v1.8.0 19:54:24 go: downloading github.com/davecgh/go-spew v1.1.1 19:54:24 go: downloading github.com/pmezard/go-difflib v1.0.0 19:54:24 go: downloading gopkg.in/yaml.v3 v3.0.1 19:54:24 go: downloading github.com/stretchr/objx v0.5.0 19:54:24 go: downloading github.com/go-kit/log v0.2.1 19:54:24 go: downloading github.com/go-playground/validator/v10 v10.11.2 19:54:25 go: downloading github.com/mitchellh/reflectwalk v1.0.2 19:54:25 go: downloading github.com/hashicorp/errwrap v1.0.0 19:54:25 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 19:54:25 go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 19:54:25 go: downloading github.com/gorilla/websocket v1.4.2 19:54:25 go: downloading golang.org/x/net v0.7.0 19:54:25 go: downloading golang.org/x/sync v0.1.0 19:54:25 go: downloading github.com/hashicorp/consul/api v1.19.1 19:54:25 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 19:54:25 go: downloading github.com/go-logfmt/logfmt v0.5.1 19:54:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 19:54:25 go: downloading github.com/x448/float16 v0.8.4 19:54:25 go: downloading github.com/go-playground/universal-translator v0.18.1 19:54:25 go: downloading github.com/leodido/go-urn v1.2.1 19:54:25 go: downloading golang.org/x/crypto v0.6.0 19:54:25 go: downloading golang.org/x/text v0.7.0 19:54:25 go: downloading github.com/zeebo/errs v1.3.0 19:54:26 go: downloading google.golang.org/grpc v1.51.0 19:54:26 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 19:54:26 go: downloading github.com/mitchellh/mapstructure v1.5.0 19:54:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 19:54:26 go: downloading github.com/hashicorp/go-hclog v0.14.1 19:54:26 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 19:54:26 go: downloading github.com/hashicorp/serf v0.10.1 19:54:26 go: downloading github.com/go-playground/locales v0.14.1 19:54:26 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 19:54:27 go: downloading google.golang.org/protobuf v1.28.1 19:54:28 go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 19:54:28 go: downloading github.com/fatih/color v1.9.0 19:54:28 go: downloading github.com/mattn/go-isatty v0.0.14 19:54:28 go: downloading github.com/armon/go-metrics v0.3.10 19:54:28 go: downloading github.com/golang/protobuf v1.5.2 19:54:28 go: downloading golang.org/x/sys v0.5.0 19:54:29 go: downloading github.com/mattn/go-colorable v0.1.12 19:54:29 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 19:54:29 go: downloading github.com/hashicorp/golang-lru v0.5.4 19:55:50 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] 19:55:52 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration.test] 19:55:52 bootstrap/registration/registry_test.go:56:51: cannot use serviceConfig (variable of type unitTestConfiguration) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to createRegistryClient: 19:55:52 unitTestConfiguration does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret.test] 19:55:54 bootstrap/secret/insecure_test.go:66:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/insecure_test.go:150:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/insecure_test.go:205:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/insecure_test.go:246:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/insecure_test.go:280:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/insecure_test.go:314:34: cannot use tc.Config (variable of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in argument to NewInsecureProvider: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:55:54 bootstrap/secret/secret_test.go:107:21: cannot use TestConfig{…} (value of type TestConfig) as type "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration in assignment: 19:55:54 TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.101s coverage: 36.0% of statements 19:56:12 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.069s coverage: 92.5% of statements 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.042s coverage: 85.3% of statements 19:56:12 --- FAIL: TestClientsBootstrapHandler (0.00s) 19:56:12 --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) 19:56:12 panic: runtime error: invalid memory address or nil pointer dereference [recovered] 19:56:12 panic: runtime error: invalid memory address or nil pointer dereference 19:56:12 [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x687cdc] 19:56:12 19:56:12 goroutine 7 [running]: 19:56:12 testing.tRunner.func1.2({0x746b20, 0xe0e120}) 19:56:12 /usr/local/go/src/testing/testing.go:1389 +0x1c8 19:56:12 testing.tRunner.func1() 19:56:12 /usr/local/go/src/testing/testing.go:1392 +0x380 19:56:12 panic({0x746b20, 0xe0e120}) 19:56:12 /usr/local/go/src/runtime/panic.go:838 +0x20c 19:56:12 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0x40000c7988, {0x40000c79c8?, 0x400004b400?}, 0x43?, {{0xc0fa0392324af1c3, 0x27f6599, 0xe28780}, 0x3b9aca00, 0x3b9aca00}, 0x4000470300) 19:56:12 /w/workspace/go-mod-bootstrap/6/bootstrap/handlers/clients.go:63 +0x26c 19:56:12 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0x400047c9c0?) 19:56:12 /w/workspace/go-mod-bootstrap/6/bootstrap/handlers/clients_test.go:226 +0x7fc 19:56:12 testing.tRunner(0x400047c9c0, 0x40004010e0) 19:56:12 /usr/local/go/src/testing/testing.go:1439 +0x110 19:56:12 created by testing.(*T).Run 19:56:12 /usr/local/go/src/testing/testing.go:1486 +0x328 19:56:12 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.070s 19:56:12 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] 19:56:12 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.053s coverage: 100.0% of statements 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.393s coverage: 87.7% of statements 19:56:12 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [build failed] 19:56:12 FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [build failed] 19:56:12 ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.052s coverage: 31.2% of statements 19:56:12 ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.015s coverage: 91.3% of statements 19:56:12 FAIL 19:56:12 make: *** [Makefile:10: unittest] Error 2 [Pipeline] } 19:56:12 $ docker stop --time=1 f35b5b10208f531de317bd72a49ca420f10b80e53ca271ec9553238f2ba2040a 19:56:14 $ docker rm -f --volumes f35b5b10208f531de317bd72a49ca420f10b80e53ca271ec9553238f2ba2040a [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 19:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:56:16 19:56:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:56:17 arm64: Pulling from edgex-lftools-log-publisher 19:56:17 8998bd30e6a1: Pulling fs layer 19:56:17 04944245beec: Pulling fs layer 19:56:17 699f458cf7ca: Pulling fs layer 19:56:17 765212b225bb: Pulling fs layer 19:56:17 f23df028b6ca: Pulling fs layer 19:56:17 d65c8cfc05b1: Pulling fs layer 19:56:17 2437ff75d9bd: Pulling fs layer 19:56:17 f23df028b6ca: Waiting 19:56:17 d65c8cfc05b1: Waiting 19:56:17 2437ff75d9bd: Waiting 19:56:17 765212b225bb: Waiting 19:56:17 04944245beec: Verifying Checksum 19:56:17 04944245beec: Download complete 19:56:17 765212b225bb: Verifying Checksum 19:56:17 765212b225bb: Download complete 19:56:17 f23df028b6ca: Verifying Checksum 19:56:17 f23df028b6ca: Download complete 19:56:17 d65c8cfc05b1: Verifying Checksum 19:56:17 d65c8cfc05b1: Download complete 19:56:17 699f458cf7ca: Verifying Checksum 19:56:17 699f458cf7ca: Download complete 19:56:17 8998bd30e6a1: Verifying Checksum 19:56:17 8998bd30e6a1: Download complete 19:56:20 2437ff75d9bd: Verifying Checksum 19:56:20 2437ff75d9bd: Download complete 19:56:21 8998bd30e6a1: Pull complete 19:56:22 04944245beec: Pull complete 19:56:23 699f458cf7ca: Pull complete 19:56:24 765212b225bb: Pull complete 19:56:25 f23df028b6ca: Pull complete 19:56:25 d65c8cfc05b1: Pull complete 19:56:40 2437ff75d9bd: Pull complete 19:56:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:56:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-8623 does not seem to be running inside a container 19:56:40 $ 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/6 -v /w/workspace/go-mod-bootstrap/6:/w/workspace/go-mod-bootstrap/6:rw,z -v /w/workspace/go-mod-bootstrap/6@tmp:/w/workspace/go-mod-bootstrap/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:56:43 $ docker top 1e69259e642ed9b7bc789b8c0db71e03ae096610d3cb97513110b069e1de8de0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:56:43 ---> job-cost.sh 19:56:43 lf-activate-venv: SKIPPING 19:56:43 INFO: No Stack... 19:56:44 INFO: Retrieving Pricing Info for: v3-standard-4 19:56:45 INFO: Archiving Costs [Pipeline] sh 19:56:45 + cat /w/workspace/go-mod-bootstrap/6/archives/cost.csv 19:56:45 + cut -d, -f6 [Pipeline] lock 19:56:45 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] 19:56:45 Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] did not exist. Created. 19:56:45 Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:56:46 /w/workspace/go-mod-bootstrap/6@tmp/durable-11186306/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:56:46 + echo total: 0.10999999940395355 [Pipeline] stash 19:56:47 Warning: overwriting stash ‘stack-cost’ 19:56:47 Stashed 1 file(s) [Pipeline] } 19:56:47 Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:56:47 $ docker stop --time=1 1e69259e642ed9b7bc789b8c0db71e03ae096610d3cb97513110b069e1de8de0 19:56:49 $ docker rm -f --volumes 1e69259e642ed9b7bc789b8c0db71e03ae096610d3cb97513110b069e1de8de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:56:49 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 19:56:50 + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives ] 19:56:50 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives 19:56:50 total 16 19:56:50 drwxr-xr-x 3 root root 4096 Mar 7 19:52 . 19:56:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 19:52 .. 19:56:50 drwxr-xr-x 2 root root 4096 Mar 7 19:52 cost 19:56:50 -rw-r--r-- 1 root root 88 Mar 7 19:52 cost.csv 19:56:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives 19:56:50 + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives 19:56:50 total 16 19:56:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 19:52 . 19:56:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 19:52 .. 19:56:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 19:52 cost 19:56:50 -rw-r--r-- 1 jenkins jenkins 88 Mar 7 19:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:56:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:56:51 ---> package-listing.sh 19:56:51 ++ facter osfamily 19:56:51 ++ tr '[:upper:]' '[:lower:]' 19:56:51 + OS_FAMILY=debian 19:56:51 + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-456 19:56:51 + START_PACKAGES=/tmp/packages_start.txt 19:56:51 + END_PACKAGES=/tmp/packages_end.txt 19:56:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:56:51 + PACKAGES=/tmp/packages_start.txt 19:56:51 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-456 ']' 19:56:51 + PACKAGES=/tmp/packages_end.txt 19:56:51 + case "${OS_FAMILY}" in 19:56:51 + grep '^ii' 19:56:51 + dpkg -l 19:56:51 + '[' -f /tmp/packages_start.txt ']' 19:56:51 + '[' -f /tmp/packages_end.txt ']' 19:56:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:56:51 + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-456 ']' 19:56:51 + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives/ 19:56:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives/ [Pipeline] echo 19:56:51 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-456/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:56:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:56:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:56:52 prd-ubuntu20.04-docker-8c-8g-8622 does not seem to be running inside a container 19:56:52 $ 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-456/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-456 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456:/w/workspace/xfoundry_go-mod-bootstrap_PR-456:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:56:52 $ docker top ba396ae61d5ee958d787b5ab75f0cbd1c4922ef502154f252769bfe0fda26b6c -eo pid,comm [Pipeline] { [Pipeline] sh 19:56:53 + touch /tmp/pre-build-complete [Pipeline] sh 19:56:53 + mkdir -p /var/log/sysstat [Pipeline] sh 19:56:53 + ls /var/log/sa-host 19:56:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:56:53 provisioning config files... 19:56:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/config11281310202100483649tmp [Pipeline] { [Pipeline] echo 19:56:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:56:54 ---> create-netrc.sh [Pipeline] } 19:56:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:56:54 ---> python-tools-install.sh [Pipeline] echo 19:56:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:56:54 ---> sudo-logs.sh 19:56:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:56:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:56:55 ---> job-cost.sh 19:56:55 lf-activate-venv: SKIPPING 19:56:55 DEBUG: total: 0.2199999988079071 19:56:55 INFO: Retrieving Stack Cost... 19:56:55 INFO: Retrieving Pricing Info for: v3-standard-8 19:56:55 INFO: Archiving Costs [Pipeline] echo 19:56:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:56:55 ---> logs-deploy.sh 19:56:55 lf-activate-venv: SKIPPING 19:56:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-456/6 19:56:55 INFO: archiving workspace using pattern(s): 19:56:56 Archives upload complete. 19:56:56 INFO: archiving logs to Nexus 19:56:57 ---> uname -a: 19:56:57 Linux prd-ubuntu20-04-docker-8c-8g-8622 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:56:57 19:56:57 19:56:57 ---> lscpu: 19:56:57 Architecture: x86_64 19:56:57 CPU op-mode(s): 32-bit, 64-bit 19:56:57 Byte Order: Little Endian 19:56:57 Address sizes: 40 bits physical, 48 bits virtual 19:56:57 CPU(s): 8 19:56:57 On-line CPU(s) list: 0-7 19:56:57 Thread(s) per core: 1 19:56:57 Core(s) per socket: 1 19:56:57 Socket(s): 8 19:56:57 NUMA node(s): 1 19:56:57 Vendor ID: AuthenticAMD 19:56:57 CPU family: 23 19:56:57 Model: 49 19:56:57 Model name: AMD EPYC-Rome Processor 19:56:57 Stepping: 0 19:56:57 CPU MHz: 2799.998 19:56:57 BogoMIPS: 5599.99 19:56:57 Virtualization: AMD-V 19:56:57 Hypervisor vendor: KVM 19:56:57 Virtualization type: full 19:56:57 L1d cache: 256 KiB 19:56:57 L1i cache: 256 KiB 19:56:57 L2 cache: 4 MiB 19:56:57 L3 cache: 128 MiB 19:56:57 NUMA node0 CPU(s): 0-7 19:56:57 Vulnerability Itlb multihit: Not affected 19:56:57 Vulnerability L1tf: Not affected 19:56:57 Vulnerability Mds: Not affected 19:56:57 Vulnerability Meltdown: Not affected 19:56:57 Vulnerability Mmio stale data: Not affected 19:56:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:56:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:56:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:56:57 Vulnerability Srbds: Not affected 19:56:57 Vulnerability Tsx async abort: Not affected 19:56:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:56:57 19:56:57 19:56:57 ---> nproc: 19:56:57 8 19:56:57 19:56:57 19:56:57 ---> df -h: 19:56:57 Filesystem Size Used Avail Use% Mounted on 19:56:57 overlay 155G 11G 145G 7% / 19:56:57 tmpfs 64M 0 64M 0% /dev 19:56:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:56:57 shm 64M 0 64M 0% /dev/shm 19:56:57 /dev/vda1 155G 11G 145G 7% /facter-os 19:56:57 19:56:57 19:56:57 ---> sar -b -r -n DEV: 19:56:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8622) 03/07/23 _x86_64_ (8 CPU) 19:56:57 19:56:57 19:50:31 LINUX RESTART (8 CPU) 19:56:57 19:56:57 19:51:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:56:57 19:52:01 301.47 15.01 286.46 0.00 1914.39 39495.54 0.00 19:56:57 19:53:01 53.67 0.18 53.49 0.00 8.27 28730.68 0.00 19:56:57 19:54:01 1.75 0.00 1.75 0.00 0.00 20.68 0.00 19:56:57 19:55:01 1.48 0.00 1.48 0.00 0.00 17.60 0.00 19:56:57 19:56:01 51.79 10.61 41.18 0.00 5157.27 8698.68 0.00 19:56:57 Average: 81.30 5.13 76.17 0.00 1414.37 15312.55 0.00 19:56:57 19:56:57 19:51:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:56:57 19:52:01 28640036 31556584 751176 2.28 89592 3055692 1874632 5.52 1331236 2495472 470484 19:56:57 19:53:01 28671496 31590512 721440 2.19 93292 3053792 1745300 5.14 1155352 2641660 392 19:56:57 19:54:01 28671928 31591008 720708 2.19 93332 3053796 1745300 5.14 1155384 2641664 164 19:56:57 19:55:01 28677896 31597032 714644 2.17 93372 3053800 1745300 5.14 1149548 2641668 24 19:56:57 19:56:01 28152184 31572920 718872 2.19 127136 3508956 1802648 5.31 1475748 2805164 984 19:56:57 Average: 28562708 31581611 725368 2.21 99345 3145207 1782636 5.25 1253454 2645126 94410 19:56:57 19:56:57 19:51:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:56:57 19:52:01 ens3 568.28 333.88 6786.01 99.79 0.00 0.00 0.00 0.00 19:56:57 19:52:01 veth31e5965 34.67 64.94 3.20 591.46 0.00 0.00 0.00 0.05 19:56:57 19:52:01 docker0 41.38 70.56 3.41 639.14 0.00 0.00 0.00 0.00 19:56:57 19:52:01 lo 3.52 3.52 0.34 0.34 0.00 0.00 0.00 0.00 19:56:57 19:53:01 ens3 100.70 62.29 2523.74 11.57 0.00 0.00 0.00 0.00 19:56:57 19:53:01 docker0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 19:56:57 19:53:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 19:56:57 19:54:01 ens3 0.55 0.30 0.34 0.26 0.00 0.00 0.00 0.00 19:56:57 19:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:56:57 19:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:56:57 19:55:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 19:56:57 19:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:56:57 19:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:56:57 19:56:01 ens3 152.69 77.35 2801.34 5.52 0.00 0.00 0.00 0.00 19:56:57 19:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:56:57 19:56:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 19:56:57 Average: ens3 163.13 93.99 2407.78 23.17 0.00 0.00 0.00 0.00 19:56:57 Average: docker0 8.17 13.93 0.67 126.12 0.00 0.00 0.00 0.00 19:56:57 Average: lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 19:56:57 19:56:57 19:56:57 ---> sar -P ALL: 19:56:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-8622) 03/07/23 _x86_64_ (8 CPU) 19:56:57 19:56:57 19:50:31 LINUX RESTART (8 CPU) 19:56:57 19:56:57 19:51:02 CPU %user %nice %system %iowait %steal %idle 19:56:57 19:52:01 all 19.52 0.00 4.48 2.04 0.08 73.89 19:56:57 19:52:01 0 18.35 0.00 6.24 3.33 0.10 71.97 19:56:57 19:52:01 1 18.91 0.00 4.09 1.25 0.09 75.66 19:56:57 19:52:01 2 19.32 0.00 4.44 3.01 0.09 73.14 19:56:57 19:52:01 3 20.06 0.00 4.36 1.14 0.09 74.36 19:56:57 19:52:01 4 18.95 0.00 4.03 0.21 0.07 76.75 19:56:57 19:52:01 5 19.05 0.00 3.96 0.10 0.07 76.82 19:56:57 19:52:01 6 21.52 0.00 4.27 0.24 0.07 73.90 19:56:57 19:52:01 7 19.99 0.00 4.42 7.04 0.09 68.47 19:56:57 19:53:01 all 2.59 0.00 1.18 1.36 0.03 94.84 19:56:57 19:53:01 0 3.24 0.00 1.41 0.02 0.05 95.28 19:56:57 19:53:01 1 2.92 0.00 1.07 0.00 0.03 95.98 19:56:57 19:53:01 2 2.01 0.00 1.52 0.74 0.03 95.71 19:56:57 19:53:01 3 2.96 0.00 1.07 0.02 0.02 95.93 19:56:57 19:53:01 4 2.05 0.00 1.36 9.11 0.03 87.44 19:56:57 19:53:01 5 2.60 0.00 1.06 0.17 0.02 96.16 19:56:57 19:53:01 6 2.52 0.00 0.90 0.57 0.02 95.99 19:56:57 19:53:01 7 2.40 0.00 1.07 0.34 0.02 96.18 19:56:57 19:54:01 all 0.27 0.00 0.02 0.00 0.00 99.70 19:56:57 19:54:01 0 1.94 0.00 0.05 0.00 0.02 98.00 19:56:57 19:54:01 1 0.03 0.00 0.03 0.00 0.00 99.93 19:56:57 19:54:01 2 0.02 0.00 0.00 0.02 0.00 99.97 19:56:57 19:54:01 3 0.02 0.00 0.02 0.00 0.00 99.97 19:56:57 19:54:01 4 0.03 0.00 0.02 0.00 0.00 99.95 19:56:57 19:54:01 5 0.03 0.00 0.00 0.00 0.00 99.97 19:56:57 19:54:01 6 0.02 0.00 0.02 0.00 0.00 99.97 19:56:57 19:54:01 7 0.03 0.00 0.03 0.02 0.02 99.90 19:56:57 19:55:01 all 0.03 0.00 0.01 0.00 0.01 99.95 19:56:57 19:55:01 0 0.07 0.00 0.03 0.00 0.00 99.90 19:56:57 19:55:01 1 0.03 0.00 0.02 0.00 0.02 99.93 19:56:57 19:55:01 2 0.03 0.00 0.00 0.02 0.00 99.95 19:56:57 19:55:01 3 0.00 0.00 0.00 0.00 0.02 99.98 19:56:57 19:55:01 4 0.03 0.00 0.00 0.00 0.02 99.95 19:56:57 19:55:01 5 0.05 0.00 0.00 0.00 0.02 99.93 19:56:57 19:55:01 6 0.00 0.00 0.00 0.00 0.00 100.00 19:56:57 19:55:01 7 0.03 0.00 0.00 0.02 0.00 99.95 19:56:57 19:56:01 all 2.15 0.00 1.28 0.57 0.01 95.98 19:56:57 19:56:01 0 0.89 0.00 0.96 0.75 0.02 97.39 19:56:57 19:56:01 1 2.45 0.00 0.85 0.60 0.02 96.08 19:56:57 19:56:01 2 2.69 0.00 1.82 0.90 0.02 94.58 19:56:57 19:56:01 3 1.91 0.00 1.22 1.37 0.02 95.49 19:56:57 19:56:01 4 3.10 0.00 1.15 0.38 0.02 95.35 19:56:57 19:56:01 5 2.57 0.00 2.56 0.45 0.02 94.40 19:56:57 19:56:01 6 1.34 0.00 0.43 0.03 0.00 98.20 19:56:57 19:56:01 7 2.23 0.00 1.29 0.07 0.02 96.40 19:56:57 Average: all 4.83 0.00 1.38 0.79 0.03 92.97 19:56:57 Average: 0 4.83 0.00 1.71 0.81 0.04 92.62 19:56:57 Average: 1 4.80 0.00 1.20 0.37 0.03 93.61 19:56:57 Average: 2 4.74 0.00 1.54 0.93 0.03 92.77 19:56:57 Average: 3 4.92 0.00 1.32 0.50 0.03 93.23 19:56:57 Average: 4 4.76 0.00 1.30 1.94 0.03 91.98 19:56:57 Average: 5 4.79 0.00 1.50 0.14 0.02 93.55 19:56:57 Average: 6 5.01 0.00 1.11 0.17 0.02 93.69 19:56:57 Average: 7 4.84 0.00 1.34 1.46 0.03 92.33 19:56:57 19:56:57 19:56:57