Pull request #167 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 weichou1229 for edgexfoundry/go-mod-registry Obtained Jenkinsfile from e5e47b323af70f60e0679cfd866cafc9b01d70dd+b7b0f5a1ae610fe3082c36168a205fb70f878fef (7ecf70fdf8afe3bbc1ed6867d8f0ffc367983f18) 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-ssh5068795736165302501.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh2530378977779070031.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-registry/branches/PR-167/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-registry/branches/PR-167/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17382145868925540124.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-registry/branches/PR-167/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3403288922415280914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh9132930928698034510.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-registry/branches/PR-167/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-registry/branches/PR-167/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4809539528300224805.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-registry, 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-registry-settings PROJECT: go-mod-registry USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13071 in /w/workspace/exfoundry_go-mod-registry_PR-167 [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-registry.git > git init /w/workspace/exfoundry_go-mod-registry_PR-167 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.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-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7b0f5a1ae610fe3082c36168a205fb70f878fef into PR head commit e5e47b323af70f60e0679cfd866cafc9b01d70dd > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.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-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5e47b323af70f60e0679cfd866cafc9b01d70dd # 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 b7b0f5a1ae610fe3082c36168a205fb70f878fef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing e5e47b323af70f60e0679cfd866cafc9b01d70dd Checking out Revision e5e47b323af70f60e0679cfd866cafc9b01d70dd (PR-167) > git config core.sparsecheckout # timeout=10 > git checkout -f e5e47b323af70f60e0679cfd866cafc9b01d70dd # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T01:52:03.299Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T01:52:03.613Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T01:52:03.772Z] ========================================================= [2024-10-03T01:52:03.772Z] EdgeX Global Pipelines Version Info [2024-10-03T01:52:03.772Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:52:04.540Z] ------------------- [2024-10-03T01:52:04.540Z] stable info: [2024-10-03T01:52:04.541Z] ------------------- [2024-10-03T01:52:04.541Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T01:52:04.541Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T01:52:04.541Z] Message: update stable to v1.0.264 [2024-10-03T01:52:05.111Z] ------------------- [2024-10-03T01:52:05.111Z] experimental info: [2024-10-03T01:52:05.111Z] ------------------- [2024-10-03T01:52:05.111Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T01:52:05.111Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T01:52:05.111Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-03T01:52:05.331Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2024-10-03T01:52:05.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2024-10-03T01:52:05.443Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-03T01:52:05.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-03T01:52:05.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-03T01:52:05.624Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-03T01:52:05.681Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-03T01:52:05.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T01:52:05.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-03T01:52:05.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T01:52:05.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-03T01:52:05.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2024-10-03T01:52:06.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-03T01:52:06.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-03T01:52:06.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:52:06.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:52:06.303Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:52:06.365Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:52:06.425Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T01:52:06.484Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-03T01:52:06.542Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-03T01:52:06.603Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-03T01:52:06.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-03T01:52:06.730Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-03T01:52:06.790Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2024-10-03T01:52:06.853Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T01:52:06.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-03T01:52:06.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo [2024-10-03T01:52:07.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo [2024-10-03T01:52:07.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo [2024-10-03T01:52:07.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5e47b323af70f60e0679cfd866cafc9b01d70dd [Pipeline] echo [2024-10-03T01:52:07.208Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5e47b3 [Pipeline] echo [2024-10-03T01:52:07.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-03T01:52:07.829Z] + git rev-list -1 --merges e5e47b323af70f60e0679cfd866cafc9b01d70dd~1..e5e47b323af70f60e0679cfd866cafc9b01d70dd [Pipeline] echo [2024-10-03T01:52:07.882Z] -----------> git rev-list -1 --merges e5e47b323af70f60e0679cfd866cafc9b01d70dd~1..e5e47b323af70f60e0679cfd866cafc9b01d70dd e5e47b323af70f60e0679cfd866cafc9b01d70dd [false] [Pipeline] sh [2024-10-03T01:52:08.212Z] + git log --format=format:%s -1 e5e47b323af70f60e0679cfd866cafc9b01d70dd [Pipeline] echo [2024-10-03T01:52:08.260Z] ========================================================= [2024-10-03T01:52:08.260Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-03T01:52:08.260Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T01:52:08.752Z] + git log --format=format:%s -1 e5e47b323af70f60e0679cfd866cafc9b01d70dd [Pipeline] echo [2024-10-03T01:52:08.796Z] [semverPrep] GIT_COMMIT: e5e47b323af70f60e0679cfd866cafc9b01d70dd, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 [Pipeline] echo [2024-10-03T01:52:08.841Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-03T01:52:09.251Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-03T01:52:09.251Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-03T01:52:09.251Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-03T01:52:09.251Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-03T01:52:09.251Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-03T01:52:09.251Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-03T01:52:09.251Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:09.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:52:09.715Z] [2024-10-03T01:52:09.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:10.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:52:10.120Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-03T01:52:10.120Z] b85a868b505f: Pulling fs layer [2024-10-03T01:52:10.120Z] e2be974225ed: Pulling fs layer [2024-10-03T01:52:10.120Z] 339a4e72a1f5: Pulling fs layer [2024-10-03T01:52:10.120Z] 988bab9f4d93: Pulling fs layer [2024-10-03T01:52:10.120Z] 1469e6f7b9e6: Pulling fs layer [2024-10-03T01:52:10.120Z] eaf3925da568: Pulling fs layer [2024-10-03T01:52:10.120Z] bab4dde63d76: Pulling fs layer [2024-10-03T01:52:10.120Z] bde34c3a00c8: Pulling fs layer [2024-10-03T01:52:10.120Z] b352a97aabf1: Pulling fs layer [2024-10-03T01:52:10.120Z] 4872d77fe225: Pulling fs layer [2024-10-03T01:52:10.120Z] 5851b861e8e6: Pulling fs layer [2024-10-03T01:52:10.120Z] eaf3925da568: Waiting [2024-10-03T01:52:10.120Z] 1469e6f7b9e6: Waiting [2024-10-03T01:52:10.120Z] 988bab9f4d93: Waiting [2024-10-03T01:52:10.120Z] bde34c3a00c8: Waiting [2024-10-03T01:52:10.120Z] 4872d77fe225: Waiting [2024-10-03T01:52:10.120Z] bab4dde63d76: Waiting [2024-10-03T01:52:10.120Z] e2be974225ed: Download complete [2024-10-03T01:52:10.120Z] 988bab9f4d93: Verifying Checksum [2024-10-03T01:52:10.120Z] 988bab9f4d93: Download complete [2024-10-03T01:52:10.120Z] 1469e6f7b9e6: Verifying Checksum [2024-10-03T01:52:10.120Z] 1469e6f7b9e6: Download complete [2024-10-03T01:52:10.120Z] eaf3925da568: Verifying Checksum [2024-10-03T01:52:10.120Z] eaf3925da568: Download complete [2024-10-03T01:52:10.379Z] 339a4e72a1f5: Verifying Checksum [2024-10-03T01:52:10.379Z] 339a4e72a1f5: Download complete [2024-10-03T01:52:10.379Z] bde34c3a00c8: Download complete [2024-10-03T01:52:10.379Z] b352a97aabf1: Download complete [2024-10-03T01:52:10.379Z] 4872d77fe225: Download complete [2024-10-03T01:52:10.379Z] 5851b861e8e6: Verifying Checksum [2024-10-03T01:52:10.379Z] 5851b861e8e6: Download complete [2024-10-03T01:52:10.379Z] b85a868b505f: Verifying Checksum [2024-10-03T01:52:10.379Z] b85a868b505f: Download complete [2024-10-03T01:52:10.638Z] bab4dde63d76: Verifying Checksum [2024-10-03T01:52:10.638Z] bab4dde63d76: Download complete [2024-10-03T01:52:11.576Z] b85a868b505f: Pull complete [2024-10-03T01:52:11.576Z] e2be974225ed: Pull complete [2024-10-03T01:52:12.144Z] 339a4e72a1f5: Pull complete [2024-10-03T01:52:12.144Z] 988bab9f4d93: Pull complete [2024-10-03T01:52:12.405Z] 1469e6f7b9e6: Pull complete [2024-10-03T01:52:12.405Z] eaf3925da568: Pull complete [2024-10-03T01:52:14.313Z] bab4dde63d76: Pull complete [2024-10-03T01:52:14.313Z] bde34c3a00c8: Pull complete [2024-10-03T01:52:14.313Z] b352a97aabf1: Pull complete [2024-10-03T01:52:14.313Z] 4872d77fe225: Pull complete [2024-10-03T01:52:14.313Z] 5851b861e8e6: Pull complete [2024-10-03T01:52:14.313Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-03T01:52:14.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:52:14.313Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:52:14.641Z] prd-ubuntu20.04-docker-8c-8g-13071 does not seem to be running inside a container [2024-10-03T01:52:14.674Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_PR-167 -v /w/workspace/exfoundry_go-mod-registry_PR-167:/w/workspace/exfoundry_go-mod-registry_PR-167:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-167@tmp:/w/workspace/exfoundry_go-mod-registry_PR-167@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-03T01:52:17.271Z] $ docker top dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e -eo pid,comm [2024-10-03T01:52:17.324Z] 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). [2024-10-03T01:52:17.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-03T01:52:17.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T01:52:17.542Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T01:52:17.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T01:52:17.655Z] $ docker exec dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e ssh-agent [2024-10-03T01:52:17.771Z] SSH_AUTH_SOCK=/tmp/ssh-39Th9H1P6cYS/agent.32 [2024-10-03T01:52:17.771Z] SSH_AGENT_PID=38 [2024-10-03T01:52:17.779Z] Running ssh-add (command line suppressed) [2024-10-03T01:52:17.869Z] Identity added: /w/workspace/exfoundry_go-mod-registry_PR-167@tmp/private_key_10994548119436709669.key (/w/workspace/exfoundry_go-mod-registry_PR-167@tmp/private_key_10994548119436709669.key) [2024-10-03T01:52:17.882Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T01:52:18.246Z] + git tag --points-at HEAD [Pipeline] } [2024-10-03T01:52:18.277Z] $ docker exec --env ******** --env ******** dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e ssh-agent -k [2024-10-03T01:52:18.378Z] unset SSH_AUTH_SOCK; [2024-10-03T01:52:18.378Z] unset SSH_AGENT_PID; [2024-10-03T01:52:18.379Z] echo Agent pid 38 killed; [2024-10-03T01:52:18.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-03T01:52:18.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T01:52:18.505Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T01:52:18.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T01:52:18.622Z] $ docker exec dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e ssh-agent [2024-10-03T01:52:18.719Z] SSH_AUTH_SOCK=/tmp/ssh-17UxbeJBOxCw/agent.72 [2024-10-03T01:52:18.719Z] SSH_AGENT_PID=78 [2024-10-03T01:52:18.722Z] Running ssh-add (command line suppressed) [2024-10-03T01:52:18.820Z] Identity added: /w/workspace/exfoundry_go-mod-registry_PR-167@tmp/private_key_12936880324846569054.key (/w/workspace/exfoundry_go-mod-registry_PR-167@tmp/private_key_12936880324846569054.key) [2024-10-03T01:52:18.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T01:52:19.191Z] + git semver init [2024-10-03T01:52:19.451Z] 2024-10-03 01:52:19,365 [run_init] DEBUG init version:0.0.0 force:False [2024-10-03T01:52:19.451Z] 2024-10-03 01:52:19,366 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_go-mod-registry_PR-167/.semver [2024-10-03T01:52:19.451Z] 2024-10-03 01:52:19,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/exfoundry_go-mod-registry_PR-167/.semver [2024-10-03T01:52:19.451Z] 2024-10-03 01:52:19,367 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-registry.git', '/w/workspace/exfoundry_go-mod-registry_PR-167/.semver'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-167, universal_newlines=False, shell=None, istream=None) [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,074 [append_file] DEBUG append to file:/w/workspace/exfoundry_go-mod-registry_PR-167/.git/info/exclude [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,074 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_go-mod-registry_PR-167/.semver/PR-167 with force:False [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,074 [write_file] DEBUG write to file:/w/workspace/exfoundry_go-mod-registry_PR-167/.semver/PR-167 [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,077 [execute] INFO git cat-file --batch-check [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-167/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,083 [execute] INFO git cat-file --batch [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,084 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-167/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T01:52:20.388Z] 2024-10-03 01:52:20,089 [read_version] DEBUG read version from /w/workspace/exfoundry_go-mod-registry_PR-167/.semver/PR-167 [2024-10-03T01:52:20.388Z] 0.0.0 [Pipeline] } [2024-10-03T01:52:20.415Z] $ docker exec --env ******** --env ******** dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e ssh-agent -k [2024-10-03T01:52:20.504Z] unset SSH_AUTH_SOCK; [2024-10-03T01:52:20.505Z] unset SSH_AGENT_PID; [2024-10-03T01:52:20.505Z] echo Agent pid 78 killed; [2024-10-03T01:52:20.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-03T01:52:20.963Z] + git semver [Pipeline] } [2024-10-03T01:52:21.256Z] $ docker stop --time=1 dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e [2024-10-03T01:52:22.566Z] $ docker rm -f --volumes dab0cf237c003dac212550639826cd5319355cd795db4863f7823bea222a4c7e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T01:52:22.992Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-03T01:52:23.311Z] Stashed 1 file(s) [Pipeline] echo [2024-10-03T01:52:23.334Z] [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 [2024-10-03T01:52:24.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:52:24.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:52:24.265Z] ========================================================= [2024-10-03T01:52:24.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-03T01:52:24.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:52:24.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-03T01:52:24.786Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-03T01:52:24.786Z] 619be1103602: Pulling fs layer [2024-10-03T01:52:24.786Z] 7862e08f4a3e: Pulling fs layer [2024-10-03T01:52:24.786Z] 5df492c9dc93: Pulling fs layer [2024-10-03T01:52:24.786Z] 7629e6793208: Pulling fs layer [2024-10-03T01:52:24.786Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T01:52:24.786Z] fb5054dd5b73: Pulling fs layer [2024-10-03T01:52:24.786Z] eeca6798cff9: Pulling fs layer [2024-10-03T01:52:24.786Z] aa269ceb94a6: Pulling fs layer [2024-10-03T01:52:24.786Z] ada007ff1a6a: Pulling fs layer [2024-10-03T01:52:24.786Z] fb5054dd5b73: Waiting [2024-10-03T01:52:24.786Z] eeca6798cff9: Waiting [2024-10-03T01:52:24.786Z] ada007ff1a6a: Waiting [2024-10-03T01:52:24.786Z] aa269ceb94a6: Waiting [2024-10-03T01:52:24.786Z] 4f4fb700ef54: Waiting [2024-10-03T01:52:24.786Z] 7862e08f4a3e: Download complete [2024-10-03T01:52:24.786Z] 7629e6793208: Verifying Checksum [2024-10-03T01:52:24.786Z] 7629e6793208: Download complete [2024-10-03T01:52:24.786Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T01:52:24.786Z] 4f4fb700ef54: Download complete [2024-10-03T01:52:24.786Z] fb5054dd5b73: Verifying Checksum [2024-10-03T01:52:24.786Z] fb5054dd5b73: Download complete [2024-10-03T01:52:24.786Z] 619be1103602: Download complete [2024-10-03T01:52:24.786Z] eeca6798cff9: Verifying Checksum [2024-10-03T01:52:24.786Z] eeca6798cff9: Download complete [2024-10-03T01:52:25.044Z] 619be1103602: Pull complete [2024-10-03T01:52:25.044Z] 7862e08f4a3e: Pull complete [2024-10-03T01:52:25.044Z] ada007ff1a6a: Verifying Checksum [2024-10-03T01:52:25.044Z] ada007ff1a6a: Download complete [2024-10-03T01:52:25.302Z] 5df492c9dc93: Verifying Checksum [2024-10-03T01:52:25.302Z] 5df492c9dc93: Download complete [2024-10-03T01:52:25.561Z] aa269ceb94a6: Verifying Checksum [2024-10-03T01:52:25.561Z] aa269ceb94a6: Download complete [2024-10-03T01:52:28.849Z] 5df492c9dc93: Pull complete [2024-10-03T01:52:28.849Z] 7629e6793208: Pull complete [2024-10-03T01:52:28.849Z] 4f4fb700ef54: Pull complete [2024-10-03T01:52:28.849Z] fb5054dd5b73: Pull complete [2024-10-03T01:52:28.849Z] eeca6798cff9: Pull complete [2024-10-03T01:52:31.383Z] aa269ceb94a6: Pull complete [2024-10-03T01:52:31.383Z] ada007ff1a6a: Pull complete [2024-10-03T01:52:31.383Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-03T01:52:31.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-03T01:52:31.384Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh [2024-10-03T01:52:31.705Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:32.111Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T01:52:32.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:52:32.288Z] prd-ubuntu20.04-docker-8c-8g-13071 does not seem to be running inside a container [2024-10-03T01:52:32.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-registry_PR-167 -v /w/workspace/exfoundry_go-mod-registry_PR-167:/w/workspace/exfoundry_go-mod-registry_PR-167:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-167@tmp:/w/workspace/exfoundry_go-mod-registry_PR-167@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-x86_64 cat [2024-10-03T01:52:36.280Z] $ docker top 07948d2f5681b66913acb7e45cf06875202307d967cb803a2f4ebd0bd48b4b82 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:52:36.699Z] + go version [2024-10-03T01:52:36.699Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-03T01:52:36.737Z] $ docker stop --time=1 07948d2f5681b66913acb7e45cf06875202307d967cb803a2f4ebd0bd48b4b82 [2024-10-03T01:52:38.018Z] $ docker rm -f --volumes 07948d2f5681b66913acb7e45cf06875202307d967cb803a2f4ebd0bd48b4b82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:38.828Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T01:52:38.828Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:52:38.963Z] Still waiting to schedule task [2024-10-03T01:52:38.963Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-03T01:52:39.008Z] prd-ubuntu20.04-docker-8c-8g-13071 does not seem to be running inside a container [2024-10-03T01:52:39.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_go-mod-registry_PR-167 -v /w/workspace/exfoundry_go-mod-registry_PR-167:/w/workspace/exfoundry_go-mod-registry_PR-167:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-167@tmp:/w/workspace/exfoundry_go-mod-registry_PR-167@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-x86_64 cat [2024-10-03T01:52:39.365Z] $ docker top a9b29a87867988c221d582a01776a19841ff92f3b8785a2d21b1f1a81da2dbbd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:52:39.792Z] + git config --global --add safe.directory /w/workspace/exfoundry_go-mod-registry_PR-167 [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:52:40.180Z] + make test [2024-10-03T01:52:40.180Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2024-10-03T01:52:40.180Z] go: go.mod requires go >= 1.23 (running go 1.21.9; GOTOOLCHAIN=local) [2024-10-03T01:52:40.180Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2024-10-03T01:52:40.227Z] $ docker stop --time=1 a9b29a87867988c221d582a01776a19841ff92f3b8785a2d21b1f1a81da2dbbd [2024-10-03T01:52:41.504Z] $ docker rm -f --volumes a9b29a87867988c221d582a01776a19841ff92f3b8785a2d21b1f1a81da2dbbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:42.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:52:42.947Z] [2024-10-03T01:52:42.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:52:43.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:52:43.357Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T01:52:43.357Z] 5eb5b503b376: Pulling fs layer [2024-10-03T01:52:43.357Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T01:52:43.357Z] ec43610c2a17: Pulling fs layer [2024-10-03T01:52:43.357Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T01:52:43.357Z] 33b1e0a273af: Pulling fs layer [2024-10-03T01:52:43.357Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T01:52:43.357Z] 2f39f015ded8: Pulling fs layer [2024-10-03T01:52:43.357Z] 3a2ae6a8a46f: Waiting [2024-10-03T01:52:43.357Z] 5d3b04190fa2: Waiting [2024-10-03T01:52:43.357Z] 33b1e0a273af: Waiting [2024-10-03T01:52:43.357Z] 2f39f015ded8: Waiting [2024-10-03T01:52:43.357Z] 5c69ac0246d0: Download complete [2024-10-03T01:52:43.357Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T01:52:43.357Z] 3a2ae6a8a46f: Download complete [2024-10-03T01:52:43.357Z] 33b1e0a273af: Verifying Checksum [2024-10-03T01:52:43.357Z] 33b1e0a273af: Download complete [2024-10-03T01:52:43.357Z] 5d3b04190fa2: Download complete [2024-10-03T01:52:43.357Z] ec43610c2a17: Verifying Checksum [2024-10-03T01:52:43.357Z] ec43610c2a17: Download complete [2024-10-03T01:52:43.616Z] 5eb5b503b376: Verifying Checksum [2024-10-03T01:52:43.616Z] 5eb5b503b376: Download complete [2024-10-03T01:52:44.183Z] 2f39f015ded8: Download complete [2024-10-03T01:52:44.749Z] 5eb5b503b376: Pull complete [2024-10-03T01:52:44.749Z] 5c69ac0246d0: Pull complete [2024-10-03T01:52:45.317Z] ec43610c2a17: Pull complete [2024-10-03T01:52:45.317Z] 3a2ae6a8a46f: Pull complete [2024-10-03T01:52:45.581Z] 33b1e0a273af: Pull complete [2024-10-03T01:52:45.581Z] 5d3b04190fa2: Pull complete [2024-10-03T01:52:49.766Z] 2f39f015ded8: Pull complete [2024-10-03T01:52:49.766Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T01:52:49.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:52:49.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:52:50.017Z] prd-ubuntu20.04-docker-8c-8g-13071 does not seem to be running inside a container [2024-10-03T01:52:50.045Z] $ 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/exfoundry_go-mod-registry_PR-167 -v /w/workspace/exfoundry_go-mod-registry_PR-167:/w/workspace/exfoundry_go-mod-registry_PR-167:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-167@tmp:/w/workspace/exfoundry_go-mod-registry_PR-167@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:latest cat [2024-10-03T01:52:53.685Z] $ docker top c5154698747a867f0ea19471d35af636bbe317feddbdb028138dec447cadb97c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:52:54.166Z] ---> job-cost.sh [2024-10-03T01:52:54.166Z] lf-activate-venv: SKIPPING [2024-10-03T01:52:54.166Z] INFO: No Stack... [2024-10-03T01:52:54.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T01:52:54.685Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T01:52:55.010Z] + cat /w/workspace/exfoundry_go-mod-registry_PR-167/archives/cost.csv [2024-10-03T01:52:55.010Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T01:52:55.056Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [2024-10-03T01:52:55.062Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] did not exist. Created. [2024-10-03T01:52:55.067Z] Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T01:52:55.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T01:52:55.559Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T01:52:55.594Z] Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T01:52:55.682Z] $ docker stop --time=1 c5154698747a867f0ea19471d35af636bbe317feddbdb028138dec447cadb97c [2024-10-03T01:52:56.836Z] $ docker rm -f --volumes c5154698747a867f0ea19471d35af636bbe317feddbdb028138dec447cadb97c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T01:52:57.287Z] Failed in branch amd64 [2024-10-03T01:56:58.380Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13072 in /w/workspace/exfoundry_go-mod-registry_PR-167 [Pipeline] { [Pipeline] ws [2024-10-03T01:56:58.462Z] Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout [2024-10-03T01:57:01.597Z] Selected Git installation does not exist. Using Default [2024-10-03T01:57:01.597Z] The recommended git tool is: NONE [2024-10-03T01:57:10.028Z] using credential edgex-jenkins-ssh [2024-10-03T01:57:10.055Z] Cloning the remote Git repository [2024-10-03T01:57:10.113Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2024-10-03T01:57:10.282Z] > git init /w/workspace/go-mod-registry/1 # timeout=10 [2024-10-03T01:57:10.623Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2024-10-03T01:57:10.625Z] > git --version # timeout=10 [2024-10-03T01:57:10.676Z] > git --version # 'git version 2.25.1' [2024-10-03T01:57:10.679Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:57:10.963Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T01:57:12.046Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2024-10-03T01:57:12.070Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T01:57:13.615Z] Merging remotes/origin/main commit b7b0f5a1ae610fe3082c36168a205fb70f878fef into PR head commit e5e47b323af70f60e0679cfd866cafc9b01d70dd [2024-10-03T01:57:13.934Z] Merge succeeded, producing e5e47b323af70f60e0679cfd866cafc9b01d70dd [2024-10-03T01:57:13.934Z] Checking out Revision e5e47b323af70f60e0679cfd866cafc9b01d70dd (PR-167) [2024-10-03T01:57:12.995Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2024-10-03T01:57:13.038Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2024-10-03T01:57:13.039Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:57:13.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-03T01:57:13.633Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T01:57:13.714Z] > git checkout -f e5e47b323af70f60e0679cfd866cafc9b01d70dd # timeout=10 [2024-10-03T01:57:13.802Z] > git remote # timeout=10 [2024-10-03T01:57:13.821Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T01:57:13.852Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:57:13.878Z] > git merge b7b0f5a1ae610fe3082c36168a205fb70f878fef # timeout=10 [2024-10-03T01:57:13.913Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T01:57:13.941Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T01:57:13.956Z] > git checkout -f e5e47b323af70f60e0679cfd866cafc9b01d70dd # timeout=10 [2024-10-03T01:57:17.599Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0" [2024-10-03T01:57:17.728Z] > git --version # timeout=10 [2024-10-03T01:57:17.747Z] > git --version # 'git version 2.25.1' [2024-10-03T01:57:17.787Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T01:57:19.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T01:57:19.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T01:57:19.850Z] Dload Upload Total Spent Left Speed [2024-10-03T01:57:19.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-10-03T01:57:20.209Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T01:57:20.566Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-10-03T01:57:20.566Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T01:57:20.566Z] { [2024-10-03T01:57:20.566Z] "registry-mirrors": [ [2024-10-03T01:57:20.566Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T01:57:20.566Z] ], [2024-10-03T01:57:20.566Z] "bip": "10.250.0.254/24", [2024-10-03T01:57:20.566Z] "hosts": [ [2024-10-03T01:57:20.566Z] "tcp://0.0.0.0:5555", [2024-10-03T01:57:20.566Z] "unix:///var/run/docker.sock" [2024-10-03T01:57:20.566Z] ], [2024-10-03T01:57:20.566Z] "mtu": 1458, [2024-10-03T01:57:20.566Z] "selinux-enabled": true, [2024-10-03T01:57:20.566Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T01:57:20.566Z] } [Pipeline] sh [2024-10-03T01:57:20.926Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T01:57:21.288Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2024-10-03T01:57:39.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:57:39.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:57:40.000Z] ========================================================= [2024-10-03T01:57:40.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-03T01:57:40.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:57:40.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-03T01:57:41.067Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-03T01:57:41.067Z] c6b39de5b339: Pulling fs layer [2024-10-03T01:57:41.067Z] a69c41024577: Pulling fs layer [2024-10-03T01:57:41.067Z] d6de4b400683: Pulling fs layer [2024-10-03T01:57:41.067Z] 35cb2a7552d0: Pulling fs layer [2024-10-03T01:57:41.067Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T01:57:41.067Z] 464afbd9ba4c: Pulling fs layer [2024-10-03T01:57:41.067Z] 00f215d4a9da: Pulling fs layer [2024-10-03T01:57:41.067Z] d496ad576159: Pulling fs layer [2024-10-03T01:57:41.067Z] 464afbd9ba4c: Waiting [2024-10-03T01:57:41.067Z] 00f215d4a9da: Waiting [2024-10-03T01:57:41.067Z] 35cb2a7552d0: Waiting [2024-10-03T01:57:41.067Z] d496ad576159: Waiting [2024-10-03T01:57:41.067Z] 4f4fb700ef54: Waiting [2024-10-03T01:57:41.067Z] a69c41024577: Verifying Checksum [2024-10-03T01:57:41.067Z] a69c41024577: Download complete [2024-10-03T01:57:41.067Z] 35cb2a7552d0: Verifying Checksum [2024-10-03T01:57:41.067Z] 35cb2a7552d0: Download complete [2024-10-03T01:57:41.067Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T01:57:41.067Z] 4f4fb700ef54: Download complete [2024-10-03T01:57:41.067Z] 464afbd9ba4c: Verifying Checksum [2024-10-03T01:57:41.067Z] 464afbd9ba4c: Download complete [2024-10-03T01:57:41.339Z] c6b39de5b339: Verifying Checksum [2024-10-03T01:57:41.339Z] c6b39de5b339: Download complete [2024-10-03T01:57:41.611Z] d496ad576159: Verifying Checksum [2024-10-03T01:57:41.611Z] d496ad576159: Download complete [2024-10-03T01:57:42.206Z] c6b39de5b339: Pull complete [2024-10-03T01:57:43.183Z] a69c41024577: Pull complete [2024-10-03T01:57:43.183Z] d6de4b400683: Verifying Checksum [2024-10-03T01:57:43.183Z] d6de4b400683: Download complete [2024-10-03T01:57:44.152Z] 00f215d4a9da: Verifying Checksum [2024-10-03T01:57:44.152Z] 00f215d4a9da: Download complete [2024-10-03T01:57:56.732Z] d6de4b400683: Pull complete [2024-10-03T01:57:56.732Z] 35cb2a7552d0: Pull complete [2024-10-03T01:57:56.732Z] 4f4fb700ef54: Pull complete [2024-10-03T01:57:57.019Z] 464afbd9ba4c: Pull complete [2024-10-03T01:58:07.178Z] 00f215d4a9da: Pull complete [2024-10-03T01:58:09.152Z] d496ad576159: Pull complete [2024-10-03T01:58:09.152Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-03T01:58:09.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-03T01:58:09.152Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh [2024-10-03T01:58:09.503Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:09.953Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T01:58:09.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:58:10.247Z] prd-ubuntu20.04-docker-arm64-4c-16g-13072 does not seem to be running inside a container [2024-10-03T01:58:10.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 [2024-10-03T01:58:12.984Z] $ docker top 7dc51d4474595e772cfa8a947883fb97dacb1158d7776fac2692484062af08d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:58:13.944Z] + go version [2024-10-03T01:58:13.944Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-03T01:58:13.987Z] $ docker stop --time=1 7dc51d4474595e772cfa8a947883fb97dacb1158d7776fac2692484062af08d1 [2024-10-03T01:58:15.703Z] $ docker rm -f --volumes 7dc51d4474595e772cfa8a947883fb97dacb1158d7776fac2692484062af08d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:16.681Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T01:58:16.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:58:16.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-13072 does not seem to be running inside a container [2024-10-03T01:58:17.059Z] $ 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-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 [2024-10-03T01:58:18.384Z] $ docker top b983be02746f618647410497a7006ae047afee6fd176c5f48a61b299692b80f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:58:19.323Z] + git config --global --add safe.directory /w/workspace/go-mod-registry/1 [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:58:20.068Z] + make test [2024-10-03T01:58:20.068Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2024-10-03T01:58:20.068Z] go: go.mod requires go >= 1.23 (running go 1.21.9; GOTOOLCHAIN=local) [2024-10-03T01:58:20.068Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2024-10-03T01:58:20.125Z] $ docker stop --time=1 b983be02746f618647410497a7006ae047afee6fd176c5f48a61b299692b80f1 [2024-10-03T01:58:21.776Z] $ docker rm -f --volumes b983be02746f618647410497a7006ae047afee6fd176c5f48a61b299692b80f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:23.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:23.233Z] [2024-10-03T01:58:23.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:25.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:25.421Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T01:58:25.421Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T01:58:25.421Z] 04944245beec: Pulling fs layer [2024-10-03T01:58:25.421Z] 699f458cf7ca: Pulling fs layer [2024-10-03T01:58:25.421Z] 765212b225bb: Pulling fs layer [2024-10-03T01:58:25.421Z] f23df028b6ca: Pulling fs layer [2024-10-03T01:58:25.421Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T01:58:25.421Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T01:58:25.421Z] 765212b225bb: Waiting [2024-10-03T01:58:25.421Z] f23df028b6ca: Waiting [2024-10-03T01:58:25.421Z] d65c8cfc05b1: Waiting [2024-10-03T01:58:25.421Z] 2437ff75d9bd: Waiting [2024-10-03T01:58:25.421Z] 04944245beec: Verifying Checksum [2024-10-03T01:58:25.421Z] 04944245beec: Download complete [2024-10-03T01:58:25.421Z] 765212b225bb: Verifying Checksum [2024-10-03T01:58:25.421Z] 765212b225bb: Download complete [2024-10-03T01:58:25.421Z] f23df028b6ca: Download complete [2024-10-03T01:58:25.688Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T01:58:25.688Z] d65c8cfc05b1: Download complete [2024-10-03T01:58:25.688Z] 699f458cf7ca: Verifying Checksum [2024-10-03T01:58:25.688Z] 699f458cf7ca: Download complete [2024-10-03T01:58:26.272Z] 8998bd30e6a1: Verifying Checksum [2024-10-03T01:58:26.272Z] 8998bd30e6a1: Download complete [2024-10-03T01:58:28.407Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T01:58:28.407Z] 2437ff75d9bd: Download complete [2024-10-03T01:58:31.001Z] 8998bd30e6a1: Pull complete [2024-10-03T01:58:31.270Z] 04944245beec: Pull complete [2024-10-03T01:58:33.217Z] 699f458cf7ca: Pull complete [2024-10-03T01:58:33.217Z] 765212b225bb: Pull complete [2024-10-03T01:58:34.188Z] f23df028b6ca: Pull complete [2024-10-03T01:58:34.188Z] d65c8cfc05b1: Pull complete [2024-10-03T01:58:52.422Z] 2437ff75d9bd: Pull complete [2024-10-03T01:58:52.422Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T01:58:52.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:52.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:58:52.807Z] prd-ubuntu20.04-docker-arm64-4c-16g-13072 does not seem to be running inside a container [2024-10-03T01:58:52.874Z] $ 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-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/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 [2024-10-03T01:58:55.002Z] $ docker top 4d40f1e54f90fe6bcfd320d083ba37885596452ad4861a53f90bb1d2c0889fbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:55.617Z] ---> job-cost.sh [2024-10-03T01:58:55.884Z] lf-activate-venv: SKIPPING [2024-10-03T01:58:55.884Z] INFO: No Stack... [2024-10-03T01:58:56.149Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T01:58:57.106Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T01:58:57.776Z] + cat /w/workspace/go-mod-registry/1/archives/cost.csv [2024-10-03T01:58:57.776Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T01:58:57.839Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [2024-10-03T01:58:57.846Z] Resource [jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] did not exist. Created. [2024-10-03T01:58:57.853Z] Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T01:58:58.329Z] /w/workspace/go-mod-registry/1@tmp/durable-32597f48/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T01:58:59.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T01:58:59.061Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T01:58:59.440Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T01:58:59.467Z] Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-registry-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T01:58:59.565Z] $ docker stop --time=1 4d40f1e54f90fe6bcfd320d083ba37885596452ad4861a53f90bb1d2c0889fbd [2024-10-03T01:59:01.048Z] $ docker rm -f --volumes 4d40f1e54f90fe6bcfd320d083ba37885596452ad4861a53f90bb1d2c0889fbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T01:59:01.964Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T01:59:04.726Z] + [ -d /w/workspace/exfoundry_go-mod-registry_PR-167/archives ] [2024-10-03T01:59:04.726Z] + ls -al /w/workspace/exfoundry_go-mod-registry_PR-167/archives [2024-10-03T01:59:04.726Z] total 16 [2024-10-03T01:59:04.726Z] drwxr-xr-x 3 root root 4096 Oct 3 01:52 . [2024-10-03T01:59:04.726Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:52 .. [2024-10-03T01:59:04.726Z] drwxr-xr-x 2 root root 4096 Oct 3 01:52 cost [2024-10-03T01:59:04.726Z] -rw-r--r-- 1 root root 87 Oct 3 01:52 cost.csv [2024-10-03T01:59:04.726Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_go-mod-registry_PR-167/archives [2024-10-03T01:59:04.726Z] + ls -al /w/workspace/exfoundry_go-mod-registry_PR-167/archives [2024-10-03T01:59:04.726Z] total 16 [2024-10-03T01:59:04.726Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:52 . [2024-10-03T01:59:04.726Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:52 .. [2024-10-03T01:59:04.726Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:52 cost [2024-10-03T01:59:04.726Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 3 01:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:05.073Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:05.974Z] ---> package-listing.sh [2024-10-03T01:59:05.974Z] ++ facter osfamily [2024-10-03T01:59:05.974Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T01:59:06.236Z] + OS_FAMILY=debian [2024-10-03T01:59:06.236Z] + workspace=/w/workspace/exfoundry_go-mod-registry_PR-167 [2024-10-03T01:59:06.236Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T01:59:06.236Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T01:59:06.236Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T01:59:06.236Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T01:59:06.236Z] + '[' /w/workspace/exfoundry_go-mod-registry_PR-167 ']' [2024-10-03T01:59:06.236Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T01:59:06.236Z] + case "${OS_FAMILY}" in [2024-10-03T01:59:06.236Z] + dpkg -l [2024-10-03T01:59:06.236Z] + grep '^ii' [2024-10-03T01:59:06.236Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T01:59:06.236Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T01:59:06.236Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T01:59:06.236Z] + '[' /w/workspace/exfoundry_go-mod-registry_PR-167 ']' [2024-10-03T01:59:06.236Z] + mkdir -p /w/workspace/exfoundry_go-mod-registry_PR-167/archives/ [2024-10-03T01:59:06.236Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_PR-167/archives/ [Pipeline] echo [2024-10-03T01:59:06.275Z] 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/exfoundry_go-mod-registry_PR-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T01:59:06.572Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:59:07.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:59:07.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:59:07.390Z] prd-ubuntu20.04-docker-8c-8g-13071 does not seem to be running inside a container [2024-10-03T01:59:07.414Z] $ 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/exfoundry_go-mod-registry_PR-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_go-mod-registry_PR-167 -v /w/workspace/exfoundry_go-mod-registry_PR-167:/w/workspace/exfoundry_go-mod-registry_PR-167:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-167@tmp:/w/workspace/exfoundry_go-mod-registry_PR-167@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 [2024-10-03T01:59:07.617Z] $ docker top b44a6b33cea84ed8b9caa2258fbe8ad8f9b0744d7fbcff8c36b171539b906e02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:59:08.042Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T01:59:08.377Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T01:59:08.696Z] + ls /var/log/sa-host [2024-10-03T01:59:08.696Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T01:59:08.869Z] provisioning config files... [2024-10-03T01:59:08.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_PR-167@tmp/config1228000055234102899tmp [Pipeline] { [Pipeline] echo [2024-10-03T01:59:09.004Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:09.356Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T01:59:09.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:09.817Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T01:59:09.861Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:10.195Z] ---> sudo-logs.sh [2024-10-03T01:59:10.195Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T01:59:10.301Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:10.625Z] ---> job-cost.sh [2024-10-03T01:59:10.625Z] lf-activate-venv: SKIPPING [2024-10-03T01:59:10.625Z] DEBUG: total: 0.2199999988079071 [2024-10-03T01:59:10.625Z] INFO: Retrieving Stack Cost... [2024-10-03T01:59:10.884Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T01:59:11.143Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T01:59:11.192Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:59:11.517Z] ---> logs-deploy.sh [2024-10-03T01:59:11.517Z] lf-activate-venv: SKIPPING [2024-10-03T01:59:11.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-167/1 [2024-10-03T01:59:11.517Z] INFO: archiving workspace using pattern(s): [2024-10-03T01:59:12.456Z] Archives upload complete. [2024-10-03T01:59:12.456Z] INFO: archiving logs to Nexus