Pull request #456 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee rather than f797418590d4bd31087dde64e9b9794f456c754f Obtained Jenkinsfile from 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee 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-ssh4971292410896658065.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-ssh11732087107112009225.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2598210874495734734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6261300228139685944.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8368170847315626195.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9513275243083335472.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Running on prd-ubuntu20.04-docker-8c-8g-8116 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 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee into PR head commit f797418590d4bd31087dde64e9b9794f456c754f Merge succeeded, producing ff9376709ce271a00f190c1f673c5da77b3f2dbf Checking out Revision ff9376709ce271a00f190c1f673c5da77b3f2dbf (PR-456) > git config core.sparsecheckout # timeout=10 > git checkout -f f797418590d4bd31087dde64e9b9794f456c754f # 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 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff9376709ce271a00f190c1f673c5da77b3f2dbf # timeout=10 Commit message: "Merge commit '5f8b25e82d5c6003328fe2e42bd4176b3aa444ee' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T19:13:45.134Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T19:13:45.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T19:13:45.398Z] ========================================================= [2023-03-02T19:13:45.398Z] EdgeX Global Pipelines Version Info [2023-03-02T19:13:45.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:13:46.144Z] ------------------- [2023-03-02T19:13:46.144Z] stable info: [2023-03-02T19:13:46.144Z] ------------------- [2023-03-02T19:13:46.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T19:13:46.144Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T19:13:46.144Z] Message: update stable to v1.0.244 [2023-03-02T19:13:46.716Z] ------------------- [2023-03-02T19:13:46.716Z] experimental info: [2023-03-02T19:13:46.716Z] ------------------- [2023-03-02T19:13:46.716Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T19:13:46.716Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T19:13:46.716Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T19:13:47.008Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2023-03-02T19:13:47.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2023-03-02T19:13:47.091Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T19:13:47.128Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T19:13:47.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T19:13:47.202Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-02T19:13:47.243Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-02T19:13:47.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-02T19:13:47.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-02T19:13:47.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T19:13:47.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T19:13:47.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo [2023-03-02T19:13:47.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T19:13:47.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T19:13:47.546Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T19:13:47.588Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T19:13:47.626Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T19:13:47.665Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T19:13:47.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T19:13:47.741Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T19:13:47.779Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-02T19:13:47.816Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-02T19:13:47.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-02T19:13:47.889Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-02T19:13:47.932Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-03-02T19:13:47.973Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T19:13:48.010Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-02T19:13:48.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-456 [Pipeline] echo [2023-03-02T19:13:48.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-456 [Pipeline] echo [2023-03-02T19:13:48.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-456 [Pipeline] echo [2023-03-02T19:13:48.183Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff9376709ce271a00f190c1f673c5da77b3f2dbf [Pipeline] echo [2023-03-02T19:13:48.219Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff93767 [Pipeline] echo [2023-03-02T19:13:48.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-02T19:13:48.748Z] + git rev-list -1 --merges ff9376709ce271a00f190c1f673c5da77b3f2dbf~1..ff9376709ce271a00f190c1f673c5da77b3f2dbf [Pipeline] echo [2023-03-02T19:13:48.833Z] -----------> git rev-list -1 --merges ff9376709ce271a00f190c1f673c5da77b3f2dbf~1..ff9376709ce271a00f190c1f673c5da77b3f2dbf ff9376709ce271a00f190c1f673c5da77b3f2dbf [2023-03-02T19:13:48.833Z] ff9376709ce271a00f190c1f673c5da77b3f2dbf [false] [Pipeline] sh [2023-03-02T19:13:49.199Z] + git log --format=format:%s -1 ff9376709ce271a00f190c1f673c5da77b3f2dbf [Pipeline] echo [2023-03-02T19:13:49.245Z] ========================================================= [2023-03-02T19:13:49.245Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T19:13:49.245Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T19:13:49.754Z] + git log --format=format:%s -1 ff9376709ce271a00f190c1f673c5da77b3f2dbf [Pipeline] echo [2023-03-02T19:13:49.790Z] [semverPrep] GIT_COMMIT: ff9376709ce271a00f190c1f673c5da77b3f2dbf, Commit Message: Merge commit '5f8b25e82d5c6003328fe2e42bd4176b3aa444ee' into HEAD [Pipeline] echo [2023-03-02T19:13:49.821Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-02T19:13:50.207Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T19:13:50.207Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T19:13:50.207Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T19:13:50.207Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T19:13:50.207Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-02T19:13:50.207Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-02T19:13:50.207Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:13:50.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T19:13:50.639Z] [2023-03-02T19:13:50.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:13:51.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T19:13:51.022Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T19:13:51.022Z] b85a868b505f: Pulling fs layer [2023-03-02T19:13:51.022Z] e2be974225ed: Pulling fs layer [2023-03-02T19:13:51.022Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T19:13:51.022Z] 988bab9f4d93: Pulling fs layer [2023-03-02T19:13:51.022Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T19:13:51.022Z] eaf3925da568: Pulling fs layer [2023-03-02T19:13:51.022Z] bab4dde63d76: Pulling fs layer [2023-03-02T19:13:51.022Z] bde34c3a00c8: Pulling fs layer [2023-03-02T19:13:51.022Z] b352a97aabf1: Pulling fs layer [2023-03-02T19:13:51.022Z] 4872d77fe225: Pulling fs layer [2023-03-02T19:13:51.022Z] 5851b861e8e6: Pulling fs layer [2023-03-02T19:13:51.022Z] bab4dde63d76: Waiting [2023-03-02T19:13:51.022Z] 988bab9f4d93: Waiting [2023-03-02T19:13:51.022Z] bde34c3a00c8: Waiting [2023-03-02T19:13:51.022Z] 1469e6f7b9e6: Waiting [2023-03-02T19:13:51.022Z] eaf3925da568: Waiting [2023-03-02T19:13:51.022Z] b352a97aabf1: Waiting [2023-03-02T19:13:51.022Z] 4872d77fe225: Waiting [2023-03-02T19:13:51.022Z] 5851b861e8e6: Waiting [2023-03-02T19:13:51.022Z] e2be974225ed: Download complete [2023-03-02T19:13:51.022Z] 988bab9f4d93: Verifying Checksum [2023-03-02T19:13:51.022Z] 988bab9f4d93: Download complete [2023-03-02T19:13:51.284Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T19:13:51.284Z] 1469e6f7b9e6: Download complete [2023-03-02T19:13:51.284Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T19:13:51.284Z] 339a4e72a1f5: Download complete [2023-03-02T19:13:51.284Z] eaf3925da568: Verifying Checksum [2023-03-02T19:13:51.284Z] eaf3925da568: Download complete [2023-03-02T19:13:51.284Z] bde34c3a00c8: Verifying Checksum [2023-03-02T19:13:51.284Z] bde34c3a00c8: Download complete [2023-03-02T19:13:51.284Z] b352a97aabf1: Download complete [2023-03-02T19:13:51.284Z] 4872d77fe225: Download complete [2023-03-02T19:13:51.284Z] 5851b861e8e6: Download complete [2023-03-02T19:13:51.284Z] b85a868b505f: Verifying Checksum [2023-03-02T19:13:51.284Z] b85a868b505f: Download complete [2023-03-02T19:13:51.545Z] bab4dde63d76: Verifying Checksum [2023-03-02T19:13:51.545Z] bab4dde63d76: Download complete [2023-03-02T19:13:52.484Z] b85a868b505f: Pull complete [2023-03-02T19:13:52.743Z] e2be974225ed: Pull complete [2023-03-02T19:13:53.002Z] 339a4e72a1f5: Pull complete [2023-03-02T19:13:53.261Z] 988bab9f4d93: Pull complete [2023-03-02T19:13:53.521Z] 1469e6f7b9e6: Pull complete [2023-03-02T19:13:53.521Z] eaf3925da568: Pull complete [2023-03-02T19:13:55.423Z] bab4dde63d76: Pull complete [2023-03-02T19:13:55.423Z] bde34c3a00c8: Pull complete [2023-03-02T19:13:55.423Z] b352a97aabf1: Pull complete [2023-03-02T19:13:55.423Z] 4872d77fe225: Pull complete [2023-03-02T19:13:55.423Z] 5851b861e8e6: Pull complete [2023-03-02T19:13:55.423Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T19:13:55.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T19:13:55.423Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:13:55.652Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-03-02T19:13:55.685Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-02T19:13:57.724Z] $ docker top f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 -eo pid,comm [2023-03-02T19:13:57.772Z] 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). [2023-03-02T19:13:57.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T19:13:57.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T19:13:57.894Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T19:13:58.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T19:13:58.020Z] $ docker exec f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 ssh-agent [2023-03-02T19:13:58.133Z] SSH_AUTH_SOCK=/tmp/ssh-yVgU1oTQQkEA/agent.32 [2023-03-02T19:13:58.133Z] SSH_AGENT_PID=38 [2023-03-02T19:13:58.139Z] Running ssh-add (command line suppressed) [2023-03-02T19:13:58.246Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_14535487499958060470.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_14535487499958060470.key) [2023-03-02T19:13:58.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T19:13:58.593Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T19:13:58.623Z] $ docker exec --env ******** --env ******** f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 ssh-agent -k [2023-03-02T19:13:58.720Z] unset SSH_AUTH_SOCK; [2023-03-02T19:13:58.720Z] unset SSH_AGENT_PID; [2023-03-02T19:13:58.720Z] echo Agent pid 38 killed; [2023-03-02T19:13:58.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T19:13:58.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T19:13:58.823Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T19:13:58.944Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T19:13:58.948Z] $ docker exec f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 ssh-agent [2023-03-02T19:13:59.053Z] SSH_AUTH_SOCK=/tmp/ssh-ywHtNNycSFG4/agent.70 [2023-03-02T19:13:59.053Z] SSH_AGENT_PID=76 [2023-03-02T19:13:59.058Z] Running ssh-add (command line suppressed) [2023-03-02T19:13:59.153Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_631275423368209381.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/private_key_631275423368209381.key) [2023-03-02T19:13:59.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T19:13:59.496Z] + git semver init [2023-03-02T19:13:59.756Z] 2023-03-02 19:13:59,685 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T19:13:59.756Z] 2023-03-02 19:13:59,686 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver [2023-03-02T19:13:59.756Z] 2023-03-02 19:13:59,686 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver [2023-03-02T19:13:59.756Z] 2023-03-02 19:13:59,686 [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) [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,553 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.git/info/exclude [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,554 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 with force:False [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,554 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,558 [execute] INFO git cat-file --batch-check [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,564 [execute] INFO git cat-file --batch [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T19:14:00.696Z] 2023-03-02 19:14:00,571 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-456/.semver/PR-456 [2023-03-02T19:14:00.696Z] 0.0.0 [Pipeline] } [2023-03-02T19:14:00.729Z] $ docker exec --env ******** --env ******** f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 ssh-agent -k [2023-03-02T19:14:00.823Z] unset SSH_AUTH_SOCK; [2023-03-02T19:14:00.824Z] unset SSH_AGENT_PID; [2023-03-02T19:14:00.824Z] echo Agent pid 76 killed; [2023-03-02T19:14:00.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T19:14:01.264Z] + git semver [Pipeline] } [2023-03-02T19:14:01.551Z] $ docker stop --time=1 f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 [2023-03-02T19:14:02.844Z] $ docker rm -f --volumes f64ea89a8ba28bf82eb0a4bc3ed70558d4e2ee36ecaa92aa9efa10cb5c17db58 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T19:14:03.241Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T19:14:03.497Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T19:14:03.513Z] [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 [2023-03-02T19:14:04.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T19:14:04.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T19:14:04.174Z] ========================================================= [2023-03-02T19:14:04.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-02T19:14:04.174Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-02T19:14:04.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-02T19:14:04.571Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-02T19:14:04.571Z] 213ec9aee27d: Pulling fs layer [2023-03-02T19:14:04.571Z] 4583459ba037: Pulling fs layer [2023-03-02T19:14:04.571Z] 93c1e223e6f2: Pulling fs layer [2023-03-02T19:14:04.571Z] 53926ce57604: Pulling fs layer [2023-03-02T19:14:04.571Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-02T19:14:04.571Z] 22ff95d597cd: Pulling fs layer [2023-03-02T19:14:04.571Z] 12d6caf4c0d1: Pulling fs layer [2023-03-02T19:14:04.571Z] 96b7cbca73a9: Pulling fs layer [2023-03-02T19:14:04.571Z] a7acece74701: Pulling fs layer [2023-03-02T19:14:04.571Z] 22ff95d597cd: Waiting [2023-03-02T19:14:04.571Z] a7acece74701: Waiting [2023-03-02T19:14:04.571Z] 12d6caf4c0d1: Waiting [2023-03-02T19:14:04.571Z] 53926ce57604: Waiting [2023-03-02T19:14:04.571Z] 21b2b0c7a3f4: Waiting [2023-03-02T19:14:04.571Z] 93c1e223e6f2: Download complete [2023-03-02T19:14:04.571Z] 4583459ba037: Download complete [2023-03-02T19:14:04.571Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-02T19:14:04.571Z] 21b2b0c7a3f4: Download complete [2023-03-02T19:14:04.571Z] 22ff95d597cd: Verifying Checksum [2023-03-02T19:14:04.571Z] 22ff95d597cd: Download complete [2023-03-02T19:14:04.571Z] 213ec9aee27d: Download complete [2023-03-02T19:14:04.571Z] 12d6caf4c0d1: Verifying Checksum [2023-03-02T19:14:04.571Z] 12d6caf4c0d1: Download complete [2023-03-02T19:14:04.831Z] 213ec9aee27d: Pull complete [2023-03-02T19:14:04.831Z] 4583459ba037: Pull complete [2023-03-02T19:14:05.093Z] 93c1e223e6f2: Pull complete [2023-03-02T19:14:05.353Z] a7acece74701: Verifying Checksum [2023-03-02T19:14:05.353Z] a7acece74701: Download complete [2023-03-02T19:14:05.353Z] 96b7cbca73a9: Verifying Checksum [2023-03-02T19:14:05.353Z] 96b7cbca73a9: Download complete [2023-03-02T19:14:05.353Z] 53926ce57604: Verifying Checksum [2023-03-02T19:14:05.353Z] 53926ce57604: Download complete [2023-03-02T19:14:09.540Z] 53926ce57604: Pull complete [2023-03-02T19:14:09.540Z] 21b2b0c7a3f4: Pull complete [2023-03-02T19:14:09.540Z] 22ff95d597cd: Pull complete [2023-03-02T19:14:09.540Z] 12d6caf4c0d1: Pull complete [2023-03-02T19:14:10.914Z] 96b7cbca73a9: Pull complete [2023-03-02T19:14:11.480Z] a7acece74701: Pull complete [2023-03-02T19:14:11.480Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-02T19:14:11.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-02T19:14:11.480Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-03-02T19:14:11.788Z] + 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 [2023-03-02T19:14:12.172Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T19:14:12.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:14:12.318Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-03-02T19:14:12.349Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-02T19:14:15.669Z] $ docker top 669264ce0ca866e7db370a8cac3e34dfcba48e3f1c9bcc00d45e5e61eac44d60 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T19:14:16.103Z] + go version [2023-03-02T19:14:16.103Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-02T19:14:16.136Z] $ docker stop --time=1 669264ce0ca866e7db370a8cac3e34dfcba48e3f1c9bcc00d45e5e61eac44d60 [2023-03-02T19:14:17.432Z] $ docker rm -f --volumes 669264ce0ca866e7db370a8cac3e34dfcba48e3f1c9bcc00d45e5e61eac44d60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:14:18.132Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T19:14:18.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:14:18.270Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-03-02T19:14:18.297Z] $ 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 ******** ci-base-image-x86_64 cat [2023-03-02T19:14:18.643Z] $ docker top 34280f34fb1018f27f88df7078dcea5f83327bf6bf8c012a08df900f5b28fc7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T19:14:18.928Z] Still waiting to schedule task [2023-03-02T19:14:18.928Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8117’ [2023-03-02T19:14:19.028Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-456 [Pipeline] fileExists [Pipeline] sh [2023-03-02T19:14:19.383Z] + make test [2023-03-02T19:14:19.383Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-02T19:14:19.383Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-02T19:14:19.383Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.22 [2023-03-02T19:14:19.383Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-03-02T19:14:19.383Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.13 [2023-03-02T19:14:19.383Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-02T19:14:19.383Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-02T19:14:19.383Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.6 [2023-03-02T19:14:19.649Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-03-02T19:14:19.649Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 [2023-03-02T19:14:19.649Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 [2023-03-02T19:14:19.649Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-02T19:14:19.649Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-02T19:14:19.649Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/go-kit/log v0.2.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-02T19:14:19.649Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-03-02T19:14:19.649Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-03-02T19:14:19.649Z] go: downloading github.com/hashicorp/consul/api v1.19.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-03-02T19:14:19.649Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-02T19:14:19.649Z] go: downloading golang.org/x/net v0.7.0 [2023-03-02T19:14:19.649Z] go: downloading golang.org/x/sync v0.1.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-03-02T19:14:19.649Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-02T19:14:19.649Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-02T19:14:19.649Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-02T19:14:19.649Z] go: downloading golang.org/x/crypto v0.5.0 [2023-03-02T19:14:19.649Z] go: downloading golang.org/x/text v0.7.0 [2023-03-02T19:14:19.649Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-03-02T19:14:19.649Z] go: downloading google.golang.org/grpc v1.51.0 [2023-03-02T19:14:19.912Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-03-02T19:14:19.912Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-03-02T19:14:19.912Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-03-02T19:14:19.912Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-03-02T19:14:19.912Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-03-02T19:14:19.912Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-03-02T19:14:19.912Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-02T19:14:19.912Z] go: downloading github.com/fatih/color v1.9.0 [2023-03-02T19:14:19.912Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-03-02T19:14:19.912Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-03-02T19:14:19.912Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-03-02T19:14:19.912Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-03-02T19:14:19.912Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-02T19:14:20.171Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-03-02T19:14:20.171Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-03-02T19:14:20.171Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-03-02T19:14:30.151Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration.test] [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] unitTestConfiguration does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret.test] [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] 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: [2023-03-02T19:14:30.151Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:14:30.151Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] [2023-03-02T19:14:52.089Z] --- FAIL: TestIsPrivateConfig (0.00s) [2023-03-02T19:14:52.089Z] --- FAIL: TestIsPrivateConfig/happy_path_-_updated_key_in_private (0.00s) [2023-03-02T19:14:52.089Z] config_test.go:415: [2023-03-02T19:14:52.089Z] Error Trace: /w/workspace/xfoundry_go-mod-bootstrap_PR-456/bootstrap/config/config_test.go:415 [2023-03-02T19:14:52.089Z] Error: Not equal: [2023-03-02T19:14:52.089Z] expected: true [2023-03-02T19:14:52.089Z] actual : false [2023-03-02T19:14:52.089Z] Test: TestIsPrivateConfig/happy_path_-_updated_key_in_private [2023-03-02T19:14:52.089Z] FAIL [2023-03-02T19:14:52.089Z] coverage: 35.6% of statements [2023-03-02T19:14:52.089Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.027s [2023-03-02T19:14:52.089Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.020s coverage: 92.5% of statements [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.011s coverage: 85.3% of statements [2023-03-02T19:14:52.089Z] --- FAIL: TestClientsBootstrapHandler (0.00s) [2023-03-02T19:14:52.089Z] --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) [2023-03-02T19:14:52.089Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2023-03-02T19:14:52.089Z] panic: runtime error: invalid memory address or nil pointer dereference [2023-03-02T19:14:52.089Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xaeee6d] [2023-03-02T19:14:52.089Z] [2023-03-02T19:14:52.089Z] goroutine 7 [running]: [2023-03-02T19:14:52.089Z] testing.tRunner.func1.2({0xba0c40, 0x12631b0}) [2023-03-02T19:14:52.089Z] /usr/local/go/src/testing/testing.go:1389 +0x24e [2023-03-02T19:14:52.089Z] testing.tRunner.func1() [2023-03-02T19:14:52.089Z] /usr/local/go/src/testing/testing.go:1392 +0x39f [2023-03-02T19:14:52.089Z] panic({0xba0c40, 0x12631b0}) [2023-03-02T19:14:52.089Z] /usr/local/go/src/runtime/panic.go:838 +0x207 [2023-03-02T19:14:52.089Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0xc0000d5990, {0xd9f248?, 0xc00003c168?}, 0xc000086868?, {{0xc0f85b4568c01a9d, 0x989157, 0x127d800}, 0x3b9aca00, 0x3b9aca00}, 0xc000482300) [2023-03-02T19:14:52.089Z] /w/workspace/xfoundry_go-mod-bootstrap_PR-456/bootstrap/handlers/clients.go:63 +0x2ad [2023-03-02T19:14:52.089Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0xc00047cd00?) [2023-03-02T19:14:52.089Z] /w/workspace/xfoundry_go-mod-bootstrap_PR-456/bootstrap/handlers/clients_test.go:226 +0x905 [2023-03-02T19:14:52.089Z] testing.tRunner(0xc00047cd00, 0xc00040f0e0) [2023-03-02T19:14:52.089Z] /usr/local/go/src/testing/testing.go:1439 +0x102 [2023-03-02T19:14:52.089Z] created by testing.(*T).Run [2023-03-02T19:14:52.089Z] /usr/local/go/src/testing/testing.go:1486 +0x35f [2023-03-02T19:14:52.089Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.017s [2023-03-02T19:14:52.089Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] [2023-03-02T19:14:52.089Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.010s coverage: 100.0% of statements [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.337s coverage: 87.7% of statements [2023-03-02T19:14:52.089Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [build failed] [2023-03-02T19:14:52.089Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [build failed] [2023-03-02T19:14:52.089Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.043s coverage: 31.2% of statements [2023-03-02T19:14:52.089Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.019s coverage: 91.3% of statements [2023-03-02T19:14:52.089Z] FAIL [2023-03-02T19:14:52.089Z] make: *** [Makefile:10: unittest] Error 2 [Pipeline] } [2023-03-02T19:14:52.140Z] $ docker stop --time=1 34280f34fb1018f27f88df7078dcea5f83327bf6bf8c012a08df900f5b28fc7a [2023-03-02T19:14:55.774Z] $ docker rm -f --volumes 34280f34fb1018f27f88df7078dcea5f83327bf6bf8c012a08df900f5b28fc7a [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 [2023-03-02T19:14:57.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T19:14:57.100Z] [2023-03-02T19:14:57.100Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:14:57.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T19:14:57.476Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T19:14:57.476Z] 5eb5b503b376: Pulling fs layer [2023-03-02T19:14:57.476Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T19:14:57.476Z] ec43610c2a17: Pulling fs layer [2023-03-02T19:14:57.476Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T19:14:57.476Z] 33b1e0a273af: Pulling fs layer [2023-03-02T19:14:57.476Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T19:14:57.476Z] 2f39f015ded8: Pulling fs layer [2023-03-02T19:14:57.476Z] 33b1e0a273af: Waiting [2023-03-02T19:14:57.476Z] 3a2ae6a8a46f: Waiting [2023-03-02T19:14:57.476Z] 5d3b04190fa2: Waiting [2023-03-02T19:14:57.476Z] 2f39f015ded8: Waiting [2023-03-02T19:14:57.476Z] 5c69ac0246d0: Download complete [2023-03-02T19:14:57.477Z] 3a2ae6a8a46f: Download complete [2023-03-02T19:14:57.736Z] 33b1e0a273af: Verifying Checksum [2023-03-02T19:14:57.736Z] 33b1e0a273af: Download complete [2023-03-02T19:14:57.736Z] 5d3b04190fa2: Verifying Checksum [2023-03-02T19:14:57.736Z] 5d3b04190fa2: Download complete [2023-03-02T19:14:57.736Z] ec43610c2a17: Download complete [2023-03-02T19:14:57.997Z] 5eb5b503b376: Verifying Checksum [2023-03-02T19:14:57.997Z] 5eb5b503b376: Download complete [2023-03-02T19:14:58.563Z] 2f39f015ded8: Download complete [2023-03-02T19:14:59.130Z] 5eb5b503b376: Pull complete [2023-03-02T19:14:59.130Z] 5c69ac0246d0: Pull complete [2023-03-02T19:14:59.388Z] ec43610c2a17: Pull complete [2023-03-02T19:14:59.647Z] 3a2ae6a8a46f: Pull complete [2023-03-02T19:14:59.647Z] 33b1e0a273af: Pull complete [2023-03-02T19:14:59.906Z] 5d3b04190fa2: Pull complete [2023-03-02T19:15:04.094Z] 2f39f015ded8: Pull complete [2023-03-02T19:15:04.094Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T19:15:04.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T19:15:04.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:15:04.303Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-03-02T19:15:04.331Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T19:15:07.549Z] $ docker top 8b097f054e2681580b8f80ee67537409218d18ab6c33038cee6d6b6da11f2db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:15:07.980Z] ---> job-cost.sh [2023-03-02T19:15:07.980Z] lf-activate-venv: SKIPPING [2023-03-02T19:15:07.980Z] INFO: No Stack... [2023-03-02T19:15:08.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T19:15:08.497Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T19:15:08.807Z] + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives/cost.csv [2023-03-02T19:15:08.807Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T19:15:08.849Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [2023-03-02T19:15:08.854Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] did not exist. Created. [2023-03-02T19:15:08.854Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T19:15:09.237Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T19:15:09.293Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T19:15:09.316Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T19:15:09.393Z] $ docker stop --time=1 8b097f054e2681580b8f80ee67537409218d18ab6c33038cee6d6b6da11f2db3 [2023-03-02T19:15:10.534Z] $ docker rm -f --volumes 8b097f054e2681580b8f80ee67537409218d18ab6c33038cee6d6b6da11f2db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T19:15:10.865Z] Failed in branch amd64 [2023-03-02T19:17:17.979Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8118 in /w/workspace/xfoundry_go-mod-bootstrap_PR-456 [Pipeline] { [Pipeline] ws [2023-03-02T19:17:18.039Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2023-03-02T19:17:18.128Z] Selected Git installation does not exist. Using Default [2023-03-02T19:17:18.128Z] The recommended git tool is: NONE [2023-03-02T19:17:23.488Z] using credential edgex-jenkins-ssh [2023-03-02T19:17:23.508Z] Cloning the remote Git repository [2023-03-02T19:17:23.557Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-03-02T19:17:23.669Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2023-03-02T19:17:23.840Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-03-02T19:17:23.841Z] > git --version # timeout=10 [2023-03-02T19:17:23.865Z] > git --version # 'git version 2.25.1' [2023-03-02T19:17:23.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T19:17:23.935Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T19:17:25.321Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2023-03-02T19:17:25.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T19:17:26.258Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2023-03-02T19:17:26.313Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-03-02T19:17:26.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T19:17:26.332Z] > 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 [2023-03-02T19:17:27.031Z] Merging remotes/origin/main commit 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee into PR head commit f797418590d4bd31087dde64e9b9794f456c754f [2023-03-02T19:17:27.359Z] Merge succeeded, producing 32454b24b208c651afaae98f1866c68cb01d99e3 [2023-03-02T19:17:27.360Z] Checking out Revision 32454b24b208c651afaae98f1866c68cb01d99e3 (PR-456) [2023-03-02T19:17:27.051Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T19:17:27.078Z] > git checkout -f f797418590d4bd31087dde64e9b9794f456c754f # timeout=10 [2023-03-02T19:17:27.183Z] > git remote # timeout=10 [2023-03-02T19:17:27.202Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T19:17:27.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T19:17:27.252Z] > git merge 5f8b25e82d5c6003328fe2e42bd4176b3aa444ee # timeout=10 [2023-03-02T19:17:27.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T19:17:27.369Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T19:17:27.390Z] > git checkout -f 32454b24b208c651afaae98f1866c68cb01d99e3 # timeout=10 [2023-03-02T19:17:30.906Z] Commit message: "Merge commit '5f8b25e82d5c6003328fe2e42bd4176b3aa444ee' into HEAD" [2023-03-02T19:17:30.907Z] First time build. Skipping changelog. [2023-03-02T19:17:30.959Z] > git --version # timeout=10 [2023-03-02T19:17:30.969Z] > git --version # 'git version 2.25.1' [2023-03-02T19:17:30.985Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T19:17:32.511Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T19:17:32.511Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T19:17:32.511Z] Dload Upload Total Spent Left Speed [2023-03-02T19:17:32.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-03-02T19:17:33.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T19:17:33.566Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-02T19:17:33.566Z] [2023-03-02T19:17:33.566Z] { [2023-03-02T19:17:33.566Z] "registry-mirrors": [ [2023-03-02T19:17:33.566Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T19:17:33.566Z] ], [2023-03-02T19:17:33.566Z] "bip": "10.250.0.254/24", [2023-03-02T19:17:33.566Z] "hosts": [ [2023-03-02T19:17:33.566Z] "tcp://0.0.0.0:5555", [2023-03-02T19:17:33.566Z] "unix:///var/run/docker.sock" [2023-03-02T19:17:33.566Z] ], [2023-03-02T19:17:33.566Z] "mtu": 1458, [2023-03-02T19:17:33.566Z] "selinux-enabled": true, [2023-03-02T19:17:33.566Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T19:17:33.566Z] } [Pipeline] sh [2023-03-02T19:17:33.913Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T19:17:34.259Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-03-02T19:17:52.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T19:17:52.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T19:17:52.826Z] ========================================================= [2023-03-02T19:17:52.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-02T19:17:52.826Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-03-02T19:17:53.240Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-02T19:17:53.828Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-02T19:17:53.828Z] 9b18e9b68314: Pulling fs layer [2023-03-02T19:17:53.828Z] 35d82f9e3411: Pulling fs layer [2023-03-02T19:17:53.828Z] e16973657156: Pulling fs layer [2023-03-02T19:17:53.828Z] fc693d55d65f: Pulling fs layer [2023-03-02T19:17:53.828Z] 7e9fc2657dce: Pulling fs layer [2023-03-02T19:17:53.828Z] dda99020689f: Pulling fs layer [2023-03-02T19:17:53.828Z] db1c61fa0a46: Pulling fs layer [2023-03-02T19:17:53.828Z] 891c053d2c06: Pulling fs layer [2023-03-02T19:17:53.828Z] 7e9fc2657dce: Waiting [2023-03-02T19:17:53.828Z] dda99020689f: Waiting [2023-03-02T19:17:53.828Z] 891c053d2c06: Waiting [2023-03-02T19:17:53.828Z] fc693d55d65f: Waiting [2023-03-02T19:17:53.828Z] e16973657156: Verifying Checksum [2023-03-02T19:17:53.828Z] e16973657156: Download complete [2023-03-02T19:17:53.828Z] 35d82f9e3411: Verifying Checksum [2023-03-02T19:17:53.828Z] 35d82f9e3411: Download complete [2023-03-02T19:17:53.828Z] 7e9fc2657dce: Verifying Checksum [2023-03-02T19:17:53.828Z] 7e9fc2657dce: Download complete [2023-03-02T19:17:53.828Z] dda99020689f: Verifying Checksum [2023-03-02T19:17:53.828Z] dda99020689f: Download complete [2023-03-02T19:17:53.828Z] 9b18e9b68314: Download complete [2023-03-02T19:17:54.800Z] 9b18e9b68314: Pull complete [2023-03-02T19:17:54.800Z] 891c053d2c06: Verifying Checksum [2023-03-02T19:17:54.800Z] 891c053d2c06: Download complete [2023-03-02T19:17:55.394Z] 35d82f9e3411: Pull complete [2023-03-02T19:17:55.663Z] e16973657156: Pull complete [2023-03-02T19:17:56.256Z] db1c61fa0a46: Verifying Checksum [2023-03-02T19:17:56.256Z] db1c61fa0a46: Download complete [2023-03-02T19:17:56.847Z] fc693d55d65f: Verifying Checksum [2023-03-02T19:17:56.847Z] fc693d55d65f: Download complete [2023-03-02T19:18:09.192Z] fc693d55d65f: Pull complete [2023-03-02T19:18:09.192Z] 7e9fc2657dce: Pull complete [2023-03-02T19:18:09.192Z] dda99020689f: Pull complete [2023-03-02T19:18:14.559Z] db1c61fa0a46: Pull complete [2023-03-02T19:18:16.515Z] 891c053d2c06: Pull complete [2023-03-02T19:18:16.782Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-02T19:18:16.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-02T19:18:16.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-03-02T19:18:17.130Z] + 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 [2023-03-02T19:18:17.533Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T19:18:17.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:18:17.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-03-02T19:18:17.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T19:18:21.006Z] $ docker top 07e022b19f9515eb398d6b14c1660f001c48ca857ce955ff9be2da0e43877869 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T19:18:21.881Z] + go version [2023-03-02T19:18:21.881Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-02T19:18:21.921Z] $ docker stop --time=1 07e022b19f9515eb398d6b14c1660f001c48ca857ce955ff9be2da0e43877869 [2023-03-02T19:18:24.667Z] $ docker rm -f --volumes 07e022b19f9515eb398d6b14c1660f001c48ca857ce955ff9be2da0e43877869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:18:25.510Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T19:18:25.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:18:25.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-03-02T19:18:25.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T19:18:27.059Z] $ docker top c754fc1afba8f408e57120f88d454a1fae6e1ba271e75bed924dbd621f893d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T19:18:27.598Z] + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/1 [Pipeline] fileExists [Pipeline] sh [2023-03-02T19:18:28.000Z] + make test [2023-03-02T19:18:28.000Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-03-02T19:18:28.266Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.6 [2023-03-02T19:18:28.266Z] go: downloading github.com/pelletier/go-toml v1.9.5 [2023-03-02T19:18:28.266Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.22 [2023-03-02T19:18:28.533Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.5 [2023-03-02T19:18:28.533Z] go: downloading github.com/stretchr/testify v1.8.2 [2023-03-02T19:18:28.533Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-03-02T19:18:28.533Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-03-02T19:18:28.533Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.2 [2023-03-02T19:18:28.533Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.13 [2023-03-02T19:18:28.802Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.8 [2023-03-02T19:18:28.802Z] go: downloading github.com/google/uuid v1.3.0 [2023-03-02T19:18:28.802Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-03-02T19:18:28.802Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-03-02T19:18:28.802Z] go: downloading github.com/go-kit/log v0.2.1 [2023-03-02T19:18:28.802Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-03-02T19:18:28.802Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-03-02T19:18:28.802Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-03-02T19:18:28.802Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-03-02T19:18:28.802Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-03-02T19:18:29.069Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-03-02T19:18:29.069Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.2 [2023-03-02T19:18:29.069Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-03-02T19:18:29.069Z] go: downloading github.com/gorilla/websocket v1.4.2 [2023-03-02T19:18:29.069Z] go: downloading golang.org/x/net v0.7.0 [2023-03-02T19:18:29.069Z] go: downloading golang.org/x/sync v0.1.0 [2023-03-02T19:18:29.335Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2023-03-02T19:18:29.335Z] go: downloading github.com/hashicorp/consul/api v1.19.1 [2023-03-02T19:18:29.335Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-03-02T19:18:29.335Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-03-02T19:18:29.335Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-03-02T19:18:29.335Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-03-02T19:18:29.335Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-03-02T19:18:29.335Z] go: downloading golang.org/x/crypto v0.5.0 [2023-03-02T19:18:29.335Z] go: downloading golang.org/x/text v0.7.0 [2023-03-02T19:18:29.601Z] go: downloading github.com/x448/float16 v0.8.4 [2023-03-02T19:18:29.868Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-03-02T19:18:29.869Z] go: downloading google.golang.org/grpc v1.51.0 [2023-03-02T19:18:30.834Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-03-02T19:18:30.834Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-03-02T19:18:30.834Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-03-02T19:18:30.834Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2023-03-02T19:18:30.834Z] go: downloading github.com/hashicorp/go-hclog v0.14.1 [2023-03-02T19:18:31.106Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-03-02T19:18:31.106Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-03-02T19:18:31.106Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2023-03-02T19:18:31.106Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-03-02T19:18:32.079Z] go: downloading google.golang.org/genproto v0.0.0-20230109162033-3c3c17ce83e6 [2023-03-02T19:18:32.079Z] go: downloading github.com/fatih/color v1.9.0 [2023-03-02T19:18:32.351Z] go: downloading github.com/mattn/go-isatty v0.0.14 [2023-03-02T19:18:32.351Z] go: downloading github.com/armon/go-metrics v0.3.10 [2023-03-02T19:18:32.351Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-03-02T19:18:32.617Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-02T19:18:32.883Z] go: downloading github.com/mattn/go-colorable v0.1.12 [2023-03-02T19:18:32.883Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 [2023-03-02T19:18:32.883Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-03-02T19:19:54.527Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] [2023-03-02T19:19:58.788Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration.test] [2023-03-02T19:19:58.788Z] 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: [2023-03-02T19:19:58.788Z] unitTestConfiguration does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] # github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret.test] [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:00.270Z] 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: [2023-03-02T19:20:00.270Z] TestConfig does not implement "github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces".Configuration (missing GetWritablePtr method) [2023-03-02T19:20:18.495Z] --- FAIL: TestIsPrivateConfig (0.00s) [2023-03-02T19:20:18.495Z] --- FAIL: TestIsPrivateConfig/happy_path_-_updated_key_in_private (0.00s) [2023-03-02T19:20:18.495Z] config_test.go:415: [2023-03-02T19:20:18.495Z] Error Trace: /w/workspace/go-mod-bootstrap/1/bootstrap/config/config_test.go:415 [2023-03-02T19:20:18.495Z] Error: Not equal: [2023-03-02T19:20:18.495Z] expected: true [2023-03-02T19:20:18.495Z] actual : false [2023-03-02T19:20:18.495Z] Test: TestIsPrivateConfig/happy_path_-_updated_key_in_private [2023-03-02T19:20:18.495Z] FAIL [2023-03-02T19:20:18.495Z] coverage: 35.2% of statements [2023-03-02T19:20:18.495Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.108s [2023-03-02T19:20:18.495Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.150s coverage: 92.5% of statements [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.059s coverage: 85.3% of statements [2023-03-02T19:20:18.495Z] --- FAIL: TestClientsBootstrapHandler (0.00s) [2023-03-02T19:20:18.495Z] --- FAIL: TestClientsBootstrapHandler/All_ClientsBootstrap (0.00s) [2023-03-02T19:20:18.495Z] panic: runtime error: invalid memory address or nil pointer dereference [recovered] [2023-03-02T19:20:18.495Z] panic: runtime error: invalid memory address or nil pointer dereference [2023-03-02T19:20:18.495Z] [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x687bdc] [2023-03-02T19:20:18.495Z] [2023-03-02T19:20:18.495Z] goroutine 7 [running]: [2023-03-02T19:20:18.495Z] testing.tRunner.func1.2({0x746a40, 0xe0e120}) [2023-03-02T19:20:18.495Z] /usr/local/go/src/testing/testing.go:1389 +0x1c8 [2023-03-02T19:20:18.495Z] testing.tRunner.func1() [2023-03-02T19:20:18.495Z] /usr/local/go/src/testing/testing.go:1392 +0x380 [2023-03-02T19:20:18.495Z] panic({0x746a40, 0xe0e120}) [2023-03-02T19:20:18.495Z] /usr/local/go/src/runtime/panic.go:838 +0x20c [2023-03-02T19:20:18.495Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.(*ClientsBootstrap).BootstrapHandler(0x40000c7988, {0x40000c79c8?, 0x400004b400?}, 0x43?, {{0xc0f85b97cb5e0420, 0x32d8145, 0xe28780}, 0x3b9aca00, 0x3b9aca00}, 0x40003f2320) [2023-03-02T19:20:18.495Z] /w/workspace/go-mod-bootstrap/1/bootstrap/handlers/clients.go:63 +0x26c [2023-03-02T19:20:18.495Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers.TestClientsBootstrapHandler.func1(0x40003ecb60?) [2023-03-02T19:20:18.495Z] /w/workspace/go-mod-bootstrap/1/bootstrap/handlers/clients_test.go:226 +0x7fc [2023-03-02T19:20:18.495Z] testing.tRunner(0x40003ecb60, 0x400037d0e0) [2023-03-02T19:20:18.495Z] /usr/local/go/src/testing/testing.go:1439 +0x110 [2023-03-02T19:20:18.495Z] created by testing.(*T).Run [2023-03-02T19:20:18.495Z] /usr/local/go/src/testing/testing.go:1486 +0x328 [2023-03-02T19:20:18.495Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 0.082s [2023-03-02T19:20:18.495Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] [2023-03-02T19:20:18.495Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.054s coverage: 100.0% of statements [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.382s coverage: 87.7% of statements [2023-03-02T19:20:18.495Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration [build failed] [2023-03-02T19:20:18.495Z] FAIL github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret [build failed] [2023-03-02T19:20:18.495Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.043s coverage: 31.2% of statements [2023-03-02T19:20:18.495Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.013s coverage: 91.3% of statements [2023-03-02T19:20:18.495Z] FAIL [2023-03-02T19:20:18.495Z] make: *** [Makefile:10: unittest] Error 2 [Pipeline] } [2023-03-02T19:20:18.543Z] $ docker stop --time=1 c754fc1afba8f408e57120f88d454a1fae6e1ba271e75bed924dbd621f893d4e [2023-03-02T19:20:21.687Z] $ docker rm -f --volumes c754fc1afba8f408e57120f88d454a1fae6e1ba271e75bed924dbd621f893d4e [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 [2023-03-02T19:20:25.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T19:20:25.015Z] [2023-03-02T19:20:25.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:20:25.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T19:20:25.697Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T19:20:25.697Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T19:20:25.697Z] 04944245beec: Pulling fs layer [2023-03-02T19:20:25.697Z] 699f458cf7ca: Pulling fs layer [2023-03-02T19:20:25.697Z] 765212b225bb: Pulling fs layer [2023-03-02T19:20:25.697Z] f23df028b6ca: Pulling fs layer [2023-03-02T19:20:25.697Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T19:20:25.697Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T19:20:25.697Z] 765212b225bb: Waiting [2023-03-02T19:20:25.697Z] f23df028b6ca: Waiting [2023-03-02T19:20:25.697Z] d65c8cfc05b1: Waiting [2023-03-02T19:20:25.697Z] 2437ff75d9bd: Waiting [2023-03-02T19:20:25.697Z] 04944245beec: Verifying Checksum [2023-03-02T19:20:25.697Z] 04944245beec: Download complete [2023-03-02T19:20:25.697Z] 765212b225bb: Verifying Checksum [2023-03-02T19:20:25.697Z] 765212b225bb: Download complete [2023-03-02T19:20:25.965Z] f23df028b6ca: Verifying Checksum [2023-03-02T19:20:25.965Z] f23df028b6ca: Download complete [2023-03-02T19:20:25.965Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T19:20:25.965Z] d65c8cfc05b1: Download complete [2023-03-02T19:20:25.965Z] 699f458cf7ca: Download complete [2023-03-02T19:20:26.234Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T19:20:26.234Z] 8998bd30e6a1: Download complete [2023-03-02T19:20:28.836Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T19:20:28.836Z] 2437ff75d9bd: Download complete [2023-03-02T19:20:30.246Z] 8998bd30e6a1: Pull complete [2023-03-02T19:20:30.831Z] 04944245beec: Pull complete [2023-03-02T19:20:32.244Z] 699f458cf7ca: Pull complete [2023-03-02T19:20:32.244Z] 765212b225bb: Pull complete [2023-03-02T19:20:33.208Z] f23df028b6ca: Pull complete [2023-03-02T19:20:33.208Z] d65c8cfc05b1: Pull complete [2023-03-02T19:20:48.213Z] 2437ff75d9bd: Pull complete [2023-03-02T19:20:48.213Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T19:20:48.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T19:20:48.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:20:48.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-8118 does not seem to be running inside a container [2023-03-02T19:20:48.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-02T19:20:51.229Z] $ docker top 096cb7283e8f298b76a5bcc5a5ffc16ffb36da4f694fc6e8eae85794f7501152 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:20:52.153Z] ---> job-cost.sh [2023-03-02T19:20:52.153Z] lf-activate-venv: SKIPPING [2023-03-02T19:20:52.153Z] INFO: No Stack... [2023-03-02T19:20:52.421Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T19:20:53.386Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T19:20:54.056Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2023-03-02T19:20:54.056Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T19:20:54.157Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [2023-03-02T19:20:54.161Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] did not exist. Created. [2023-03-02T19:20:54.161Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T19:20:54.894Z] /w/workspace/go-mod-bootstrap/1@tmp/durable-e2dc840c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T19:20:55.365Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T19:20:55.408Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T19:20:55.964Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T19:20:55.981Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T19:20:56.068Z] $ docker stop --time=1 096cb7283e8f298b76a5bcc5a5ffc16ffb36da4f694fc6e8eae85794f7501152 [2023-03-02T19:20:57.614Z] $ docker rm -f --volumes 096cb7283e8f298b76a5bcc5a5ffc16ffb36da4f694fc6e8eae85794f7501152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T19:20:58.320Z] 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 [2023-03-02T19:21:00.187Z] + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives ] [2023-03-02T19:21:00.187Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives [2023-03-02T19:21:00.187Z] total 16 [2023-03-02T19:21:00.187Z] drwxr-xr-x 3 root root 4096 Mar 2 19:15 . [2023-03-02T19:21:00.187Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 19:15 .. [2023-03-02T19:21:00.187Z] drwxr-xr-x 2 root root 4096 Mar 2 19:15 cost [2023-03-02T19:21:00.187Z] -rw-r--r-- 1 root root 88 Mar 2 19:15 cost.csv [2023-03-02T19:21:00.187Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives [2023-03-02T19:21:00.187Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives [2023-03-02T19:21:00.187Z] total 16 [2023-03-02T19:21:00.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 19:15 . [2023-03-02T19:21:00.187Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 2 19:15 .. [2023-03-02T19:21:00.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 19:15 cost [2023-03-02T19:21:00.187Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 2 19:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:00.516Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:01.406Z] ---> package-listing.sh [2023-03-02T19:21:01.406Z] ++ facter osfamily [2023-03-02T19:21:01.406Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T19:21:01.665Z] + OS_FAMILY=debian [2023-03-02T19:21:01.665Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-456 [2023-03-02T19:21:01.665Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T19:21:01.665Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T19:21:01.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T19:21:01.665Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T19:21:01.665Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-456 ']' [2023-03-02T19:21:01.665Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T19:21:01.665Z] + case "${OS_FAMILY}" in [2023-03-02T19:21:01.665Z] + dpkg -l [2023-03-02T19:21:01.665Z] + grep '^ii' [2023-03-02T19:21:01.665Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T19:21:01.665Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T19:21:01.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T19:21:01.665Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-456 ']' [2023-03-02T19:21:01.665Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-456/archives/ [2023-03-02T19:21:01.665Z] + 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 [2023-03-02T19:21:01.699Z] 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 [2023-03-02T19:21:01.992Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T19:21:02.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T19:21:02.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T19:21:02.771Z] prd-ubuntu20.04-docker-8c-8g-8116 does not seem to be running inside a container [2023-03-02T19:21:02.803Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T19:21:02.983Z] $ docker top c4338507193dc1716412e981b90bf518f4e6d9095a5a1ad25d7d66488f7ff739 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T19:21:03.375Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T19:21:03.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T19:21:03.996Z] + ls /var/log/sa-host [2023-03-02T19:21:03.996Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T19:21:04.132Z] provisioning config files... [2023-03-02T19:21:04.148Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-456@tmp/config4373950941332180979tmp [Pipeline] { [Pipeline] echo [2023-03-02T19:21:04.198Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:04.520Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T19:21:04.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:04.948Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T19:21:04.985Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:05.294Z] ---> sudo-logs.sh [2023-03-02T19:21:05.294Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T19:21:05.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:05.691Z] ---> job-cost.sh [2023-03-02T19:21:05.691Z] lf-activate-venv: SKIPPING [2023-03-02T19:21:05.691Z] DEBUG: total: 0.2199999988079071 [2023-03-02T19:21:05.691Z] INFO: Retrieving Stack Cost... [2023-03-02T19:21:06.259Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T19:21:06.518Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T19:21:06.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T19:21:06.863Z] ---> logs-deploy.sh [2023-03-02T19:21:06.864Z] lf-activate-venv: SKIPPING [2023-03-02T19:21:06.864Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-456/1 [2023-03-02T19:21:06.864Z] INFO: archiving workspace using pattern(s): [2023-03-02T19:21:07.800Z] Archives upload complete. [2023-03-02T19:21:07.800Z] INFO: archiving logs to Nexus