Pull request #562 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/go-mod-bootstrap Loading trusted files from base branch main at 20dbe7d245a9ee6337115d00f7a94c8717a3d64b rather than 02781b4d6e36c608e84036e6eb759620f70d7435 Obtained Jenkinsfile from 20dbe7d245a9ee6337115d00f7a94c8717a3d64b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3159173657798984056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9926417793836587668.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13367397598170716810.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7288570110735835154.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7144234269925391212.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-bootstrap/branches/PR-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15826324274684177208.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-bootstrap, buildImage:false, pushImage:false, semverBump:pre] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: go-mod-bootstrap-settings PROJECT: go-mod-bootstrap USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-bootstrap DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1147 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git > git init /w/workspace/xfoundry_go-mod-bootstrap_PR-562 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 20dbe7d245a9ee6337115d00f7a94c8717a3d64b into PR head commit 02781b4d6e36c608e84036e6eb759620f70d7435 Merge succeeded, producing 02781b4d6e36c608e84036e6eb759620f70d7435 Checking out Revision 02781b4d6e36c608e84036e6eb759620f70d7435 (PR-562) > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 20dbe7d245a9ee6337115d00f7a94c8717a3d64b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 Commit message: "feat: Move all the common APIs into go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-14T10:03:34.698Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-14T10:03:34.891Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-14T10:03:34.992Z] ========================================================= [2023-07-14T10:03:34.992Z] EdgeX Global Pipelines Version Info [2023-07-14T10:03:34.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:03:35.747Z] ------------------- [2023-07-14T10:03:35.747Z] stable info: [2023-07-14T10:03:35.747Z] ------------------- [2023-07-14T10:03:35.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-14T10:03:35.747Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T10:03:35.747Z] Message: update stable to v1.0.250 [2023-07-14T10:03:36.317Z] ------------------- [2023-07-14T10:03:36.317Z] experimental info: [2023-07-14T10:03:36.317Z] ------------------- [2023-07-14T10:03:36.317Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-14T10:03:36.317Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T10:03:36.317Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-14T10:03:36.610Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-bootstrap-settings [Pipeline] echo [2023-07-14T10:03:36.654Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-bootstrap [Pipeline] echo [2023-07-14T10:03:36.696Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-14T10:03:36.734Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-14T10:03:36.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-14T10:03:36.812Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-14T10:03:36.856Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-14T10:03:36.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-14T10:03:36.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-14T10:03:36.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-14T10:03:37.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-14T10:03:37.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-bootstrap [Pipeline] echo [2023-07-14T10:03:37.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-14T10:03:37.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-14T10:03:37.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T10:03:37.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T10:03:37.270Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T10:03:37.312Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T10:03:37.355Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-14T10:03:37.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-14T10:03:37.432Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-14T10:03:37.470Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-14T10:03:37.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-14T10:03:37.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-14T10:03:37.599Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-07-14T10:03:37.640Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-14T10:03:37.685Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-14T10:03:37.725Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo [2023-07-14T10:03:37.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo [2023-07-14T10:03:37.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo [2023-07-14T10:03:37.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo [2023-07-14T10:03:37.878Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02781b4 [Pipeline] echo [2023-07-14T10:03:37.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-14T10:03:38.457Z] + git rev-list -1 --merges 02781b4d6e36c608e84036e6eb759620f70d7435~1..02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo [2023-07-14T10:03:38.522Z] -----------> git rev-list -1 --merges 02781b4d6e36c608e84036e6eb759620f70d7435~1..02781b4d6e36c608e84036e6eb759620f70d7435 02781b4d6e36c608e84036e6eb759620f70d7435 [false] [Pipeline] sh [2023-07-14T10:03:38.844Z] + git log --format=format:%s -1 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo [2023-07-14T10:03:38.878Z] ========================================================= [2023-07-14T10:03:38.878Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-14T10:03:38.878Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T10:03:39.327Z] + git log --format=format:%s -1 02781b4d6e36c608e84036e6eb759620f70d7435 [Pipeline] echo [2023-07-14T10:03:39.359Z] [semverPrep] GIT_COMMIT: 02781b4d6e36c608e84036e6eb759620f70d7435, Commit Message: feat: Move all the common APIs into go-mod-bootstrap [Pipeline] echo [2023-07-14T10:03:39.388Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-14T10:03:39.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T10:03:39.791Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-14T10:03:39.791Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-14T10:03:39.791Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-14T10:03:39.791Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-14T10:03:39.791Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-14T10:03:39.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:03:40.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T10:03:40.291Z] [2023-07-14T10:03:40.291Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:03:40.673Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T10:03:40.959Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-14T10:03:40.959Z] b85a868b505f: Pulling fs layer [2023-07-14T10:03:40.959Z] e2be974225ed: Pulling fs layer [2023-07-14T10:03:40.959Z] 339a4e72a1f5: Pulling fs layer [2023-07-14T10:03:40.959Z] 988bab9f4d93: Pulling fs layer [2023-07-14T10:03:40.959Z] 1469e6f7b9e6: Pulling fs layer [2023-07-14T10:03:40.959Z] eaf3925da568: Pulling fs layer [2023-07-14T10:03:40.959Z] bab4dde63d76: Pulling fs layer [2023-07-14T10:03:40.959Z] bde34c3a00c8: Pulling fs layer [2023-07-14T10:03:40.959Z] b352a97aabf1: Pulling fs layer [2023-07-14T10:03:40.959Z] 4872d77fe225: Pulling fs layer [2023-07-14T10:03:40.959Z] 5851b861e8e6: Pulling fs layer [2023-07-14T10:03:40.959Z] 1469e6f7b9e6: Waiting [2023-07-14T10:03:40.959Z] bab4dde63d76: Waiting [2023-07-14T10:03:40.959Z] eaf3925da568: Waiting [2023-07-14T10:03:40.959Z] bde34c3a00c8: Waiting [2023-07-14T10:03:40.959Z] b352a97aabf1: Waiting [2023-07-14T10:03:40.959Z] 4872d77fe225: Waiting [2023-07-14T10:03:40.959Z] 5851b861e8e6: Waiting [2023-07-14T10:03:40.959Z] e2be974225ed: Download complete [2023-07-14T10:03:40.959Z] 988bab9f4d93: Download complete [2023-07-14T10:03:40.959Z] 1469e6f7b9e6: Verifying Checksum [2023-07-14T10:03:40.959Z] 1469e6f7b9e6: Download complete [2023-07-14T10:03:40.959Z] eaf3925da568: Verifying Checksum [2023-07-14T10:03:40.959Z] eaf3925da568: Download complete [2023-07-14T10:03:40.959Z] 339a4e72a1f5: Verifying Checksum [2023-07-14T10:03:40.959Z] 339a4e72a1f5: Download complete [2023-07-14T10:03:40.959Z] bde34c3a00c8: Verifying Checksum [2023-07-14T10:03:40.959Z] bde34c3a00c8: Download complete [2023-07-14T10:03:41.249Z] b352a97aabf1: Download complete [2023-07-14T10:03:41.249Z] 4872d77fe225: Verifying Checksum [2023-07-14T10:03:41.249Z] 4872d77fe225: Download complete [2023-07-14T10:03:41.249Z] 5851b861e8e6: Download complete [2023-07-14T10:03:41.249Z] b85a868b505f: Verifying Checksum [2023-07-14T10:03:41.249Z] b85a868b505f: Download complete [2023-07-14T10:03:41.509Z] bab4dde63d76: Verifying Checksum [2023-07-14T10:03:41.509Z] bab4dde63d76: Download complete [2023-07-14T10:03:42.445Z] b85a868b505f: Pull complete [2023-07-14T10:03:42.445Z] e2be974225ed: Pull complete [2023-07-14T10:03:43.014Z] 339a4e72a1f5: Pull complete [2023-07-14T10:03:43.014Z] 988bab9f4d93: Pull complete [2023-07-14T10:03:43.274Z] 1469e6f7b9e6: Pull complete [2023-07-14T10:03:43.274Z] eaf3925da568: Pull complete [2023-07-14T10:03:45.211Z] bab4dde63d76: Pull complete [2023-07-14T10:03:45.211Z] bde34c3a00c8: Pull complete [2023-07-14T10:03:45.211Z] b352a97aabf1: Pull complete [2023-07-14T10:03:45.212Z] 4872d77fe225: Pull complete [2023-07-14T10:03:45.473Z] 5851b861e8e6: Pull complete [2023-07-14T10:03:45.473Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-14T10:03:45.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T10:03:45.473Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:03:45.706Z] prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container [2023-07-14T10:03:45.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T10:03:46.991Z] $ docker top 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb -eo pid,comm [2023-07-14T10:03:47.048Z] 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-07-14T10:03:47.048Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T10:03:47.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T10:03:47.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T10:03:47.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T10:03:47.306Z] $ docker exec 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent [2023-07-14T10:03:47.407Z] SSH_AUTH_SOCK=/tmp/ssh-3rTK6mGhRlod/agent.32 [2023-07-14T10:03:47.407Z] SSH_AGENT_PID=38 [2023-07-14T10:03:47.415Z] Running ssh-add (command line suppressed) [2023-07-14T10:03:47.533Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17438875240339431619.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_17438875240339431619.key) [2023-07-14T10:03:47.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T10:03:47.874Z] + git tag --points-at HEAD [Pipeline] } [2023-07-14T10:03:47.902Z] $ docker exec --env ******** --env ******** 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent -k [2023-07-14T10:03:48.024Z] unset SSH_AUTH_SOCK; [2023-07-14T10:03:48.024Z] unset SSH_AGENT_PID; [2023-07-14T10:03:48.024Z] echo Agent pid 38 killed; [2023-07-14T10:03:48.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-14T10:03:48.113Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T10:03:48.113Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T10:03:48.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T10:03:48.231Z] $ docker exec 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent [2023-07-14T10:03:48.326Z] SSH_AUTH_SOCK=/tmp/ssh-kfcjdkMjyxkG/agent.70 [2023-07-14T10:03:48.326Z] SSH_AGENT_PID=76 [2023-07-14T10:03:48.332Z] Running ssh-add (command line suppressed) [2023-07-14T10:03:48.440Z] Identity added: /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_2371657867633192121.key (/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/private_key_2371657867633192121.key) [2023-07-14T10:03:48.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T10:03:48.784Z] + git semver init [2023-07-14T10:03:49.044Z] 2023-07-14 10:03:48,999 [run_init] DEBUG init version:0.0.0 force:False [2023-07-14T10:03:49.044Z] 2023-07-14 10:03:48,999 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver [2023-07-14T10:03:49.044Z] 2023-07-14 10:03:49,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-bootstrap.git /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver [2023-07-14T10:03:49.044Z] 2023-07-14 10:03:49,000 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-bootstrap.git', '/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562, universal_newlines=False, shell=None, istream=None) [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,777 [append_file] DEBUG append to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.git/info/exclude [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 with force:False [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,778 [write_file] DEBUG write to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,782 [execute] INFO git cat-file --batch-check [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,783 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,789 [execute] INFO git cat-file --batch [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T10:03:49.983Z] 2023-07-14 10:03:49,795 [read_version] DEBUG read version from /w/workspace/xfoundry_go-mod-bootstrap_PR-562/.semver/PR-562 [2023-07-14T10:03:49.983Z] 0.0.0 [Pipeline] } [2023-07-14T10:03:50.014Z] $ docker exec --env ******** --env ******** 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb ssh-agent -k [2023-07-14T10:03:50.113Z] unset SSH_AUTH_SOCK; [2023-07-14T10:03:50.113Z] unset SSH_AGENT_PID; [2023-07-14T10:03:50.113Z] echo Agent pid 76 killed; [2023-07-14T10:03:50.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T10:03:50.549Z] + git semver [Pipeline] } [2023-07-14T10:03:50.845Z] $ docker stop --time=1 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb [2023-07-14T10:03:52.137Z] $ docker rm -f --volumes 14752bc36b378261ad42b9b9b7160cf0b220b9eebcd02deefd3f4f51129972bb [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T10:03:52.541Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-14T10:03:52.828Z] Stashed 1 file(s) [Pipeline] echo [2023-07-14T10:03:52.844Z] [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-07-14T10:03:53.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T10:03:53.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T10:03:53.514Z] ========================================================= [2023-07-14T10:03:53.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-14T10:03:53.514Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-07-14T10:03:53.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-14T10:03:53.900Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-14T10:03:53.900Z] 4db1b89c0bd1: Pulling fs layer [2023-07-14T10:03:53.900Z] 6911f1a30b25: Pulling fs layer [2023-07-14T10:03:53.900Z] e194b8c5c2a9: Pulling fs layer [2023-07-14T10:03:53.900Z] 6863d3e3a2b1: Pulling fs layer [2023-07-14T10:03:53.900Z] ec0bb842ea78: Pulling fs layer [2023-07-14T10:03:53.900Z] 40a00589a448: Pulling fs layer [2023-07-14T10:03:53.900Z] 6c08303d61cc: Pulling fs layer [2023-07-14T10:03:53.900Z] 798269fcf238: Pulling fs layer [2023-07-14T10:03:53.900Z] 40a00589a448: Waiting [2023-07-14T10:03:53.900Z] 6c08303d61cc: Waiting [2023-07-14T10:03:53.900Z] 798269fcf238: Waiting [2023-07-14T10:03:53.900Z] 6863d3e3a2b1: Waiting [2023-07-14T10:03:53.900Z] ec0bb842ea78: Waiting [2023-07-14T10:03:53.900Z] 6911f1a30b25: Verifying Checksum [2023-07-14T10:03:53.900Z] 6911f1a30b25: Download complete [2023-07-14T10:03:53.900Z] 6863d3e3a2b1: Verifying Checksum [2023-07-14T10:03:53.900Z] 6863d3e3a2b1: Download complete [2023-07-14T10:03:53.900Z] ec0bb842ea78: Verifying Checksum [2023-07-14T10:03:53.900Z] ec0bb842ea78: Download complete [2023-07-14T10:03:53.900Z] 4db1b89c0bd1: Verifying Checksum [2023-07-14T10:03:53.900Z] 4db1b89c0bd1: Download complete [2023-07-14T10:03:53.900Z] 40a00589a448: Verifying Checksum [2023-07-14T10:03:53.900Z] 40a00589a448: Download complete [2023-07-14T10:03:59.694Z] 4db1b89c0bd1: Pull complete [2023-07-14T10:03:59.694Z] 6911f1a30b25: Pull complete [2023-07-14T10:03:59.954Z] e194b8c5c2a9: Verifying Checksum [2023-07-14T10:03:59.954Z] e194b8c5c2a9: Download complete [2023-07-14T10:04:01.855Z] 798269fcf238: Verifying Checksum [2023-07-14T10:04:01.855Z] 798269fcf238: Download complete [2023-07-14T10:04:01.855Z] 6c08303d61cc: Verifying Checksum [2023-07-14T10:04:01.855Z] 6c08303d61cc: Download complete [2023-07-14T10:04:03.757Z] e194b8c5c2a9: Pull complete [2023-07-14T10:04:03.757Z] 6863d3e3a2b1: Pull complete [2023-07-14T10:04:03.757Z] ec0bb842ea78: Pull complete [2023-07-14T10:04:03.757Z] 40a00589a448: Pull complete [2023-07-14T10:04:06.286Z] 6c08303d61cc: Pull complete [2023-07-14T10:04:06.853Z] 798269fcf238: Pull complete [2023-07-14T10:04:06.853Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-14T10:04:06.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-14T10:04:06.853Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-07-14T10:04:07.172Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:04:07.558Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T10:04:07.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:04:07.727Z] prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container [2023-07-14T10:04:07.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T10:04:08.259Z] Still waiting to schedule task [2023-07-14T10:04:08.259Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-14T10:04:09.630Z] $ docker top 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T10:04:10.029Z] + go version [2023-07-14T10:04:10.029Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-14T10:04:10.069Z] $ docker stop --time=1 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 [2023-07-14T10:04:11.355Z] $ docker rm -f --volumes 400dc980eeb28311d829b65ac791199e52603dd58e72d117ba1d7b3714836dc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:04:12.089Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T10:04:12.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:04:12.249Z] prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container [2023-07-14T10:04:12.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T10:04:12.673Z] $ docker top 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T10:04:13.065Z] + git config --global --add safe.directory /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] fileExists [Pipeline] sh [2023-07-14T10:04:13.435Z] + make test [2023-07-14T10:04:13.436Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-07-14T10:04:13.436Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-07-14T10:04:13.436Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 [2023-07-14T10:04:13.436Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-07-14T10:04:13.436Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-07-14T10:04:13.696Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 [2023-07-14T10:04:13.955Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 [2023-07-14T10:04:13.955Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 [2023-07-14T10:04:13.955Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 [2023-07-14T10:04:14.876Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-07-14T10:04:15.137Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-07-14T10:04:15.137Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-07-14T10:04:15.137Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-07-14T10:04:15.137Z] go: downloading github.com/google/uuid v1.3.0 [2023-07-14T10:04:15.401Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-07-14T10:04:15.401Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-07-14T10:04:15.401Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-07-14T10:04:15.401Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-07-14T10:04:15.401Z] go: downloading golang.org/x/net v0.10.0 [2023-07-14T10:04:15.401Z] go: downloading golang.org/x/sync v0.2.0 [2023-07-14T10:04:15.401Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-07-14T10:04:15.401Z] go: downloading github.com/go-kit/log v0.2.1 [2023-07-14T10:04:15.401Z] go: downloading github.com/go-playground/validator/v10 v10.14.1 [2023-07-14T10:04:15.401Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-07-14T10:04:15.401Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-07-14T10:04:15.660Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-07-14T10:04:15.660Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-07-14T10:04:15.660Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-07-14T10:04:15.660Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-07-14T10:04:15.661Z] go: downloading github.com/x448/float16 v0.8.4 [2023-07-14T10:04:15.661Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-07-14T10:04:15.922Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-07-14T10:04:15.922Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-07-14T10:04:15.922Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-07-14T10:04:15.922Z] go: downloading golang.org/x/crypto v0.9.0 [2023-07-14T10:04:15.922Z] go: downloading golang.org/x/text v0.9.0 [2023-07-14T10:04:15.922Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-07-14T10:04:16.182Z] go: downloading google.golang.org/grpc v1.53.0 [2023-07-14T10:04:16.440Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-07-14T10:04:16.440Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-07-14T10:04:16.440Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-07-14T10:04:16.440Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-07-14T10:04:16.440Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-07-14T10:04:16.699Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-07-14T10:04:16.699Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-07-14T10:04:16.699Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-07-14T10:04:16.699Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-07-14T10:04:16.961Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-07-14T10:04:16.961Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-07-14T10:04:16.961Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-07-14T10:04:17.221Z] go: downloading golang.org/x/sys v0.8.0 [2023-07-14T10:04:17.221Z] go: downloading github.com/fatih/color v1.14.1 [2023-07-14T10:04:17.221Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-07-14T10:04:17.221Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-07-14T10:04:17.479Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-07-14T10:04:17.479Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-07-14T10:04:17.479Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-07-14T10:04:35.563Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] [2023-07-14T10:04:35.563Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] [2023-07-14T10:04:35.563Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] [2023-07-14T10:04:35.563Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] [2023-07-14T10:04:36.130Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.048s coverage: 34.5% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.019s coverage: 56.9% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.036s coverage: 92.4% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.483s coverage: 82.4% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.004s coverage: 85.0% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.047s coverage: 42.4% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.023s coverage: 100.0% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.326s coverage: 87.7% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.016s coverage: 25.0% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.043s coverage: 79.0% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.013s coverage: 76.1% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.010s coverage: 31.2% of statements [2023-07-14T10:04:54.237Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.008s coverage: 91.3% of statements [2023-07-14T10:05:00.794Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-14T10:05:04.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-14T10:05:04.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-07-14T10:05:04.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-14T10:05:04.166Z] $ docker stop --time=1 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 [2023-07-14T10:05:05.956Z] $ docker rm -f --volumes 7cf1c56eb275186b3e61f5154ae37e2f64fa7f77232e64191b17e3129b680396 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T10:05:06.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-14T10:05:06.777Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:05:07.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T10:05:07.734Z] [2023-07-14T10:05:07.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:05:08.137Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T10:05:08.137Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-14T10:05:08.137Z] 5eb5b503b376: Pulling fs layer [2023-07-14T10:05:08.137Z] 5c69ac0246d0: Pulling fs layer [2023-07-14T10:05:08.137Z] ec43610c2a17: Pulling fs layer [2023-07-14T10:05:08.137Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-14T10:05:08.137Z] 33b1e0a273af: Pulling fs layer [2023-07-14T10:05:08.137Z] 5d3b04190fa2: Pulling fs layer [2023-07-14T10:05:08.137Z] 3a2ae6a8a46f: Waiting [2023-07-14T10:05:08.137Z] 33b1e0a273af: Waiting [2023-07-14T10:05:08.137Z] 2f39f015ded8: Pulling fs layer [2023-07-14T10:05:08.137Z] 5d3b04190fa2: Waiting [2023-07-14T10:05:08.137Z] 2f39f015ded8: Waiting [2023-07-14T10:05:08.137Z] 5c69ac0246d0: Download complete [2023-07-14T10:05:08.137Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-14T10:05:08.137Z] 3a2ae6a8a46f: Download complete [2023-07-14T10:05:08.137Z] 33b1e0a273af: Download complete [2023-07-14T10:05:08.137Z] 5d3b04190fa2: Verifying Checksum [2023-07-14T10:05:08.137Z] 5d3b04190fa2: Download complete [2023-07-14T10:05:08.137Z] ec43610c2a17: Download complete [2023-07-14T10:05:08.395Z] 5eb5b503b376: Verifying Checksum [2023-07-14T10:05:08.395Z] 5eb5b503b376: Download complete [2023-07-14T10:05:08.961Z] 2f39f015ded8: Download complete [2023-07-14T10:05:09.527Z] 5eb5b503b376: Pull complete [2023-07-14T10:05:09.527Z] 5c69ac0246d0: Pull complete [2023-07-14T10:05:10.093Z] ec43610c2a17: Pull complete [2023-07-14T10:05:10.093Z] 3a2ae6a8a46f: Pull complete [2023-07-14T10:05:10.352Z] 33b1e0a273af: Pull complete [2023-07-14T10:05:10.352Z] 5d3b04190fa2: Pull complete [2023-07-14T10:05:14.534Z] 2f39f015ded8: Pull complete [2023-07-14T10:05:14.534Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-14T10:05:14.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T10:05:14.534Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:05:14.803Z] prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container [2023-07-14T10:05:14.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T10:05:16.907Z] $ docker top e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:05:17.368Z] ---> job-cost.sh [2023-07-14T10:05:17.368Z] lf-activate-venv: SKIPPING [2023-07-14T10:05:17.368Z] INFO: No Stack... [2023-07-14T10:05:17.934Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T10:05:18.503Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T10:05:18.818Z] + cat /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/cost.csv [2023-07-14T10:05:18.818Z] + cut -d, -f6 [Pipeline] lock [2023-07-14T10:05:18.857Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [2023-07-14T10:05:18.862Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] did not exist. Created. [2023-07-14T10:05:18.862Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T10:05:19.246Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-14T10:05:19.299Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T10:05:19.325Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T10:05:19.412Z] $ docker stop --time=1 e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 [2023-07-14T10:05:20.559Z] $ docker rm -f --volumes e8f616c275b83e482ca94a291daf7db48f10079e70cf0325b81dc3401a3f6f63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-14T10:05:42.899Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1149 in /w/workspace/xfoundry_go-mod-bootstrap_PR-562 [Pipeline] { [Pipeline] ws [2023-07-14T10:05:42.963Z] Running in /w/workspace/go-mod-bootstrap/1 [Pipeline] { [Pipeline] checkout [2023-07-14T10:05:43.060Z] The recommended git tool is: git [2023-07-14T10:05:47.922Z] using credential edgex-jenkins-ssh [2023-07-14T10:05:47.934Z] Cloning the remote Git repository [2023-07-14T10:05:47.965Z] Cloning repository git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-07-14T10:05:48.054Z] > git init /w/workspace/go-mod-bootstrap/1 # timeout=10 [2023-07-14T10:05:48.191Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-07-14T10:05:48.192Z] > git --version # timeout=10 [2023-07-14T10:05:48.221Z] > git --version # 'git version 2.25.1' [2023-07-14T10:05:48.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T10:05:48.363Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T10:05:49.479Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2023-07-14T10:05:49.498Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T10:05:50.294Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-bootstrap.git # timeout=10 [2023-07-14T10:05:50.336Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-bootstrap.git [2023-07-14T10:05:50.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T10:05:50.355Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-bootstrap.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-14T10:05:51.014Z] Merging remotes/origin/main commit 20dbe7d245a9ee6337115d00f7a94c8717a3d64b into PR head commit 02781b4d6e36c608e84036e6eb759620f70d7435 [2023-07-14T10:05:51.307Z] Merge succeeded, producing 02781b4d6e36c608e84036e6eb759620f70d7435 [2023-07-14T10:05:51.308Z] Checking out Revision 02781b4d6e36c608e84036e6eb759620f70d7435 (PR-562) [2023-07-14T10:05:51.026Z] > git config core.sparsecheckout # timeout=10 [2023-07-14T10:05:51.092Z] > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 [2023-07-14T10:05:51.194Z] > git remote # timeout=10 [2023-07-14T10:05:51.215Z] > git config --get remote.origin.url # timeout=10 [2023-07-14T10:05:51.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T10:05:51.259Z] > git merge 20dbe7d245a9ee6337115d00f7a94c8717a3d64b # timeout=10 [2023-07-14T10:05:51.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-14T10:05:51.309Z] > git config core.sparsecheckout # timeout=10 [2023-07-14T10:05:51.323Z] > git checkout -f 02781b4d6e36c608e84036e6eb759620f70d7435 # timeout=10 [2023-07-14T10:05:54.779Z] Commit message: "feat: Move all the common APIs into go-mod-bootstrap" [2023-07-14T10:05:54.826Z] > git --version # timeout=10 [2023-07-14T10:05:54.839Z] > git --version # 'git version 2.25.1' [2023-07-14T10:05:54.855Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T10:05:56.024Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-14T10:05:56.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T10:05:56.024Z] Dload Upload Total Spent Left Speed [2023-07-14T10:05:56.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-07-14T10:05:56.730Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-14T10:05:57.089Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-14T10:05:57.090Z] + sudo tee /etc/docker/daemon.new [2023-07-14T10:05:57.090Z] { [2023-07-14T10:05:57.090Z] "registry-mirrors": [ [2023-07-14T10:05:57.090Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-14T10:05:57.090Z] ], [2023-07-14T10:05:57.090Z] "bip": "10.250.0.254/24", [2023-07-14T10:05:57.090Z] "hosts": [ [2023-07-14T10:05:57.090Z] "tcp://0.0.0.0:5555", [2023-07-14T10:05:57.090Z] "unix:///var/run/docker.sock" [2023-07-14T10:05:57.090Z] ], [2023-07-14T10:05:57.090Z] "mtu": 1458, [2023-07-14T10:05:57.090Z] "selinux-enabled": true, [2023-07-14T10:05:57.090Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-14T10:05:57.090Z] } [Pipeline] sh [2023-07-14T10:05:57.426Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-14T10:05:57.761Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-07-14T10:06:16.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T10:06:16.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T10:06:16.309Z] ========================================================= [2023-07-14T10:06:16.309Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-14T10:06:16.309Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-07-14T10:06:16.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-14T10:06:17.306Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-14T10:06:17.306Z] edb6bdbacee9: Pulling fs layer [2023-07-14T10:06:17.306Z] 5f9638ab2659: Pulling fs layer [2023-07-14T10:06:17.306Z] 8d51d6327a98: Pulling fs layer [2023-07-14T10:06:17.306Z] 8b374f2dd631: Pulling fs layer [2023-07-14T10:06:17.306Z] ec14aa9079de: Pulling fs layer [2023-07-14T10:06:17.306Z] 2f466654f4bb: Pulling fs layer [2023-07-14T10:06:17.306Z] 554e91adad29: Pulling fs layer [2023-07-14T10:06:17.306Z] 554e91adad29: Waiting [2023-07-14T10:06:17.306Z] ec14aa9079de: Waiting [2023-07-14T10:06:17.306Z] 8b374f2dd631: Waiting [2023-07-14T10:06:17.306Z] 5f9638ab2659: Download complete [2023-07-14T10:06:17.306Z] 8b374f2dd631: Verifying Checksum [2023-07-14T10:06:17.306Z] 8b374f2dd631: Download complete [2023-07-14T10:06:17.306Z] ec14aa9079de: Verifying Checksum [2023-07-14T10:06:17.306Z] ec14aa9079de: Download complete [2023-07-14T10:06:17.306Z] edb6bdbacee9: Verifying Checksum [2023-07-14T10:06:17.306Z] edb6bdbacee9: Download complete [2023-07-14T10:06:18.727Z] 554e91adad29: Verifying Checksum [2023-07-14T10:06:18.727Z] 554e91adad29: Download complete [2023-07-14T10:06:19.692Z] 2f466654f4bb: Verifying Checksum [2023-07-14T10:06:19.692Z] 2f466654f4bb: Download complete [2023-07-14T10:06:19.692Z] 8d51d6327a98: Verifying Checksum [2023-07-14T10:06:19.692Z] 8d51d6327a98: Download complete [2023-07-14T10:06:20.279Z] edb6bdbacee9: Pull complete [2023-07-14T10:06:20.548Z] 5f9638ab2659: Pull complete [2023-07-14T10:06:35.573Z] 8d51d6327a98: Pull complete [2023-07-14T10:06:35.573Z] 8b374f2dd631: Pull complete [2023-07-14T10:06:35.573Z] ec14aa9079de: Pull complete [2023-07-14T10:06:42.225Z] 2f466654f4bb: Pull complete [2023-07-14T10:06:44.169Z] 554e91adad29: Pull complete [2023-07-14T10:06:44.169Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-14T10:06:44.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-14T10:06:44.169Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-07-14T10:06:44.509Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:06:44.910Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T10:06:44.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:06:45.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container [2023-07-14T10:06:45.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T10:06:49.136Z] $ docker top 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T10:06:50.032Z] + go version [2023-07-14T10:06:50.032Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-14T10:06:50.074Z] $ docker stop --time=1 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 [2023-07-14T10:06:51.681Z] $ docker rm -f --volumes 8cda2e125f5f2ee95e23b9f7f23099b7b7db7111eeceb5df1e8efd8575b48db4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:06:52.518Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T10:06:52.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:06:52.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container [2023-07-14T10:06:52.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T10:06:53.964Z] $ docker top a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T10:06:54.502Z] + git config --global --add safe.directory /w/workspace/go-mod-bootstrap/1 [Pipeline] fileExists [Pipeline] sh [2023-07-14T10:06:54.886Z] + make test [2023-07-14T10:06:54.886Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-07-14T10:06:55.156Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.1.0-dev.2 [2023-07-14T10:06:55.156Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.1.0-dev.3 [2023-07-14T10:06:55.739Z] go: downloading github.com/gorilla/mux v1.8.0 [2023-07-14T10:06:55.739Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2023-07-14T10:06:55.739Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.1.0-dev.3 [2023-07-14T10:06:55.739Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.1.0-dev.10 [2023-07-14T10:06:55.739Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2023-07-14T10:06:55.739Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-07-14T10:06:55.739Z] go: downloading github.com/google/uuid v1.3.0 [2023-07-14T10:06:55.739Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.1.0-dev.3 [2023-07-14T10:06:56.005Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-07-14T10:06:56.005Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2023-07-14T10:06:56.005Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2023-07-14T10:06:56.005Z] go: downloading github.com/go-kit/log v0.2.1 [2023-07-14T10:06:56.005Z] go: downloading github.com/go-playground/validator/v10 v10.14.1 [2023-07-14T10:06:56.271Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2023-07-14T10:06:56.271Z] go: downloading github.com/gorilla/websocket v1.5.0 [2023-07-14T10:06:56.271Z] go: downloading golang.org/x/net v0.10.0 [2023-07-14T10:06:56.271Z] go: downloading golang.org/x/sync v0.2.0 [2023-07-14T10:06:56.549Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.6 [2023-07-14T10:06:56.816Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-07-14T10:06:56.816Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-07-14T10:06:56.816Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-07-14T10:06:56.816Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-07-14T10:06:56.816Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-07-14T10:06:56.816Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2023-07-14T10:06:56.816Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-07-14T10:06:56.816Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2023-07-14T10:06:57.081Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-07-14T10:06:57.081Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-07-14T10:06:57.081Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-07-14T10:06:57.081Z] go: downloading golang.org/x/crypto v0.9.0 [2023-07-14T10:06:57.350Z] go: downloading golang.org/x/text v0.9.0 [2023-07-14T10:06:57.616Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2023-07-14T10:06:57.883Z] go: downloading github.com/zeebo/errs v1.3.0 [2023-07-14T10:06:57.883Z] go: downloading google.golang.org/grpc v1.53.0 [2023-07-14T10:06:59.311Z] go: downloading github.com/x448/float16 v0.8.4 [2023-07-14T10:06:59.311Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2023-07-14T10:06:59.311Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-07-14T10:06:59.311Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-07-14T10:06:59.311Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-07-14T10:06:59.586Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-07-14T10:06:59.586Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-07-14T10:06:59.586Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-07-14T10:07:02.927Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-07-14T10:07:02.927Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.0 [2023-07-14T10:07:02.927Z] go: downloading google.golang.org/protobuf v1.28.1 [2023-07-14T10:07:03.893Z] go: downloading google.golang.org/genproto v0.0.0-20230223222841-637eb2293923 [2023-07-14T10:07:03.893Z] go: downloading github.com/fatih/color v1.14.1 [2023-07-14T10:07:04.160Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-07-14T10:07:04.160Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-07-14T10:07:04.160Z] go: downloading github.com/golang/protobuf v1.5.2 [2023-07-14T10:07:04.428Z] go: downloading golang.org/x/sys v0.8.0 [2023-07-14T10:07:04.428Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-07-14T10:07:04.428Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-07-14T10:07:04.428Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-07-14T10:09:11.112Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap [no test files] [2023-07-14T10:09:13.056Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container [no test files] [2023-07-14T10:09:23.169Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces [no test files] [2023-07-14T10:09:23.169Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/interfaces/mocks [no test files] [2023-07-14T10:09:31.401Z] ? github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/startup [no test files] [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/config 20.163s coverage: 34.5% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/controller 0.069s coverage: 56.9% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/environment 0.102s coverage: 92.4% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/file 0.357s coverage: 82.4% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/flags 0.019s coverage: 85.0% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/handlers 2.104s coverage: 42.4% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/messaging 0.103s coverage: 100.0% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/metrics 0.392s coverage: 87.7% of statements [2023-07-14T10:09:33.340Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/registration 0.065s coverage: 25.0% of statements [2023-07-14T10:09:34.292Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/secret 3.153s coverage: 79.0% of statements [2023-07-14T10:09:34.292Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/utils 0.059s coverage: 76.1% of statements [2023-07-14T10:09:34.292Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/config 0.051s coverage: 31.2% of statements [2023-07-14T10:09:34.292Z] ok github.com/edgexfoundry/go-mod-bootstrap/v3/di 0.015s coverage: 91.3% of statements [2023-07-14T10:09:34.871Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-14T10:09:34.871Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-14T10:10:01.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-14T10:10:01.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-07-14T10:10:01.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-14T10:10:01.614Z] $ docker stop --time=1 a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca [2023-07-14T10:10:03.363Z] $ docker rm -f --volumes a1fecfa568842a8773c0ef75c117af608404da66a6fedf7d7b3b419a611495ca [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T10:10:06.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-14T10:10:06.307Z] Warning: overwriting stash ‘coverage-report’ [2023-07-14T10:10:07.065Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:10:07.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T10:10:07.927Z] [2023-07-14T10:10:07.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:10:08.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T10:10:08.610Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-14T10:10:08.610Z] 8998bd30e6a1: Pulling fs layer [2023-07-14T10:10:08.610Z] 04944245beec: Pulling fs layer [2023-07-14T10:10:08.610Z] 699f458cf7ca: Pulling fs layer [2023-07-14T10:10:08.610Z] 765212b225bb: Pulling fs layer [2023-07-14T10:10:08.610Z] f23df028b6ca: Pulling fs layer [2023-07-14T10:10:08.610Z] d65c8cfc05b1: Pulling fs layer [2023-07-14T10:10:08.610Z] 2437ff75d9bd: Pulling fs layer [2023-07-14T10:10:08.610Z] f23df028b6ca: Waiting [2023-07-14T10:10:08.610Z] 765212b225bb: Waiting [2023-07-14T10:10:08.610Z] d65c8cfc05b1: Waiting [2023-07-14T10:10:08.610Z] 2437ff75d9bd: Waiting [2023-07-14T10:10:08.611Z] 04944245beec: Verifying Checksum [2023-07-14T10:10:08.611Z] 04944245beec: Download complete [2023-07-14T10:10:08.611Z] 765212b225bb: Download complete [2023-07-14T10:10:08.611Z] f23df028b6ca: Verifying Checksum [2023-07-14T10:10:08.611Z] f23df028b6ca: Download complete [2023-07-14T10:10:08.611Z] d65c8cfc05b1: Verifying Checksum [2023-07-14T10:10:08.611Z] d65c8cfc05b1: Download complete [2023-07-14T10:10:08.878Z] 699f458cf7ca: Verifying Checksum [2023-07-14T10:10:08.878Z] 699f458cf7ca: Download complete [2023-07-14T10:10:09.460Z] 8998bd30e6a1: Verifying Checksum [2023-07-14T10:10:09.460Z] 8998bd30e6a1: Download complete [2023-07-14T10:10:12.043Z] 2437ff75d9bd: Verifying Checksum [2023-07-14T10:10:12.043Z] 2437ff75d9bd: Download complete [2023-07-14T10:10:14.630Z] 8998bd30e6a1: Pull complete [2023-07-14T10:10:14.899Z] 04944245beec: Pull complete [2023-07-14T10:10:16.839Z] 699f458cf7ca: Pull complete [2023-07-14T10:10:16.840Z] 765212b225bb: Pull complete [2023-07-14T10:10:20.175Z] f23df028b6ca: Pull complete [2023-07-14T10:10:20.175Z] d65c8cfc05b1: Pull complete [2023-07-14T10:10:38.543Z] 2437ff75d9bd: Pull complete [2023-07-14T10:10:38.543Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-14T10:10:38.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T10:10:38.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:10:38.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-1149 does not seem to be running inside a container [2023-07-14T10:10:39.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-bootstrap/1 -v /w/workspace/go-mod-bootstrap/1:/w/workspace/go-mod-bootstrap/1:rw,z -v /w/workspace/go-mod-bootstrap/1@tmp:/w/workspace/go-mod-bootstrap/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-14T10:10:41.281Z] $ docker top 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:10:42.184Z] ---> job-cost.sh [2023-07-14T10:10:42.184Z] lf-activate-venv: SKIPPING [2023-07-14T10:10:42.184Z] INFO: No Stack... [2023-07-14T10:10:42.766Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-14T10:10:43.723Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T10:10:44.384Z] + cat /w/workspace/go-mod-bootstrap/1/archives/cost.csv [2023-07-14T10:10:44.384Z] + cut -d, -f6 [Pipeline] lock [2023-07-14T10:10:44.476Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [2023-07-14T10:10:44.480Z] Resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] did not exist. Created. [2023-07-14T10:10:44.481Z] Lock acquired on [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T10:10:45.213Z] /w/workspace/go-mod-bootstrap/1@tmp/durable-4e749d9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-14T10:10:45.562Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-14T10:10:45.865Z] Warning: overwriting stash ‘stack-cost’ [2023-07-14T10:10:45.926Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T10:10:45.950Z] Lock released on resource [jenkins-edgexfoundry-go-mod-bootstrap-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T10:10:46.032Z] $ docker stop --time=1 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a [2023-07-14T10:10:49.114Z] $ docker rm -f --volumes 3c553400f0799ad207d4048a2bfdc1d600550fcee685d97133145b662e4b631a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-07-14T10:10:50.114Z] provisioning config files... [2023-07-14T10:10:50.126Z] copy managed file [go-mod-bootstrap-codecov-token] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config535879870076688316tmp [Pipeline] { [Pipeline] sh [2023-07-14T10:10:50.458Z] + set +x [2023-07-14T10:10:50.459Z] + bash -s -- [2023-07-14T10:10:50.459Z] + curl -s https://codecov.io/bash [2023-07-14T10:11:00.453Z] bash: line 2: syntax error near unexpected token `<' [2023-07-14T10:11:00.453Z] bash: line 2: `' [Pipeline] } [2023-07-14T10:11:00.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-14T10:11:02.334Z] + [ -d /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives ] [2023-07-14T10:11:02.334Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives [2023-07-14T10:11:02.334Z] total 16 [2023-07-14T10:11:02.334Z] drwxr-xr-x 3 root root 4096 Jul 14 10:05 . [2023-07-14T10:11:02.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 10:05 .. [2023-07-14T10:11:02.334Z] drwxr-xr-x 2 root root 4096 Jul 14 10:05 cost [2023-07-14T10:11:02.334Z] -rw-r--r-- 1 root root 88 Jul 14 10:05 cost.csv [2023-07-14T10:11:02.334Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives [2023-07-14T10:11:02.334Z] + ls -al /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives [2023-07-14T10:11:02.334Z] total 16 [2023-07-14T10:11:02.334Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 10:05 . [2023-07-14T10:11:02.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 10:05 .. [2023-07-14T10:11:02.334Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 10:05 cost [2023-07-14T10:11:02.334Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 14 10:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:02.659Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:03.549Z] ---> package-listing.sh [2023-07-14T10:11:03.549Z] ++ facter osfamily [2023-07-14T10:11:03.549Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-14T10:11:03.809Z] + OS_FAMILY=debian [2023-07-14T10:11:03.809Z] + workspace=/w/workspace/xfoundry_go-mod-bootstrap_PR-562 [2023-07-14T10:11:03.809Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-14T10:11:03.809Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-14T10:11:03.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-14T10:11:03.809Z] + PACKAGES=/tmp/packages_start.txt [2023-07-14T10:11:03.809Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' [2023-07-14T10:11:03.809Z] + PACKAGES=/tmp/packages_end.txt [2023-07-14T10:11:03.809Z] + case "${OS_FAMILY}" in [2023-07-14T10:11:03.809Z] + dpkg -l [2023-07-14T10:11:03.809Z] + grep '^ii' [2023-07-14T10:11:03.809Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-14T10:11:03.809Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-14T10:11:03.809Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-14T10:11:03.809Z] + '[' /w/workspace/xfoundry_go-mod-bootstrap_PR-562 ']' [2023-07-14T10:11:03.809Z] + mkdir -p /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ [2023-07-14T10:11:03.809Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_go-mod-bootstrap_PR-562/archives/ [Pipeline] echo [2023-07-14T10:11:03.845Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-14T10:11:04.140Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T10:11:04.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T10:11:04.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T10:11:04.920Z] prd-ubuntu20.04-docker-8c-8g-1147 does not seem to be running inside a container [2023-07-14T10:11:04.955Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_go-mod-bootstrap_PR-562 -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562:/w/workspace/xfoundry_go-mod-bootstrap_PR-562:rw,z -v /w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T10:11:06.356Z] $ docker top 87e260d208b7321e327b2b57e7116a46463e0b65d5b11c7ec16cdc822c1cb8d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T10:11:06.751Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-14T10:11:07.059Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-14T10:11:07.369Z] + ls /var/log/sa-host [2023-07-14T10:11:07.369Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T10:11:07.585Z] provisioning config files... [2023-07-14T10:11:07.594Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_go-mod-bootstrap_PR-562@tmp/config6762612086116179548tmp [Pipeline] { [Pipeline] echo [2023-07-14T10:11:07.643Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:07.985Z] ---> create-netrc.sh [Pipeline] } [2023-07-14T10:11:08.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:08.413Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-14T10:11:08.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:08.761Z] ---> sudo-logs.sh [2023-07-14T10:11:08.761Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-14T10:11:08.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:09.169Z] ---> job-cost.sh [2023-07-14T10:11:09.169Z] lf-activate-venv: SKIPPING [2023-07-14T10:11:09.169Z] DEBUG: total: 0.2199999988079071 [2023-07-14T10:11:09.169Z] INFO: Retrieving Stack Cost... [2023-07-14T10:11:10.114Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T10:11:10.378Z] INFO: Archiving Costs [Pipeline] echo [2023-07-14T10:11:10.412Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T10:11:10.722Z] ---> logs-deploy.sh [2023-07-14T10:11:10.722Z] lf-activate-venv: SKIPPING [2023-07-14T10:11:10.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-bootstrap/PR-562/1 [2023-07-14T10:11:10.722Z] INFO: archiving workspace using pattern(s): [2023-07-14T10:11:11.661Z] Archives upload complete. [2023-07-14T10:11:11.661Z] INFO: archiving logs to Nexus