Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 140a5eafc5cba1ba4b0f6764404ab697e17522e5 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-ssh3962571134350521026.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-ssh6209608737210591246.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4656956460755698982.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 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-ssh17995809687178524477.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8645786349550292462.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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.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-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-378 in /w/workspace/dgexfoundry_go-mod-registry_main [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/dgexfoundry_go-mod-registry_main # 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 Avoid second fetch Checking out Revision 140a5eafc5cba1ba4b0f6764404ab697e17522e5 (main) Commit message: "Merge pull request #125 from edgexfoundry/dependabot/go_modules/github.com/hashicorp/consul/api-1.22.0" > 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 core.sparsecheckout # timeout=10 > git checkout -f 140a5eafc5cba1ba4b0f6764404ab697e17522e5 # timeout=10 > git rev-list --no-walk 2eb4ddc7a3a1f198165816e2a7626ec8b6af50e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-03T16:56:03.432Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-03T16:56:03.508Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-03T16:56:03.522Z] ========================================================= [2023-07-03T16:56:03.522Z] EdgeX Global Pipelines Version Info [2023-07-03T16:56:03.522Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-03T16:56:04.235Z] ------------------- [2023-07-03T16:56:04.235Z] stable info: [2023-07-03T16:56:04.235Z] ------------------- [2023-07-03T16:56:04.235Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-03T16:56:04.235Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-03T16:56:04.235Z] Message: update stable to v1.0.250 [2023-07-03T16:56:04.805Z] ------------------- [2023-07-03T16:56:04.805Z] experimental info: [2023-07-03T16:56:04.805Z] ------------------- [2023-07-03T16:56:04.805Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-03T16:56:04.805Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-03T16:56:04.805Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-03T16:56:04.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo [2023-07-03T16:56:04.975Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo [2023-07-03T16:56:04.988Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-03T16:56:05.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-03T16:56:05.017Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-03T16:56:05.034Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-03T16:56:05.044Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-03T16:56:05.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-03T16:56:05.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-03T16:56:05.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-03T16:56:05.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-03T16:56:05.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo [2023-07-03T16:56:05.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-03T16:56:05.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-03T16:56:05.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-07-03T16:56:05.166Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-03T16:56:05.180Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-03T16:56:05.194Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-03T16:56:05.205Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-03T16:56:05.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-03T16:56:05.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-03T16:56:05.249Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-03T16:56:05.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-03T16:56:05.276Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-03T16:56:05.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-07-03T16:56:05.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-03T16:56:05.313Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-03T16:56:05.324Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-03T16:56:05.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-03T16:56:05.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-03T16:56:05.369Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] echo [2023-07-03T16:56:05.383Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 140a5ea [Pipeline] echo [2023-07-03T16:56:05.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-03T16:56:05.758Z] + git rev-list -1 --merges 140a5eafc5cba1ba4b0f6764404ab697e17522e5~1..140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] echo [2023-07-03T16:56:05.803Z] -----------> git rev-list -1 --merges 140a5eafc5cba1ba4b0f6764404ab697e17522e5~1..140a5eafc5cba1ba4b0f6764404ab697e17522e5 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [2023-07-03T16:56:05.803Z] 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [false] [Pipeline] sh [2023-07-03T16:56:06.094Z] + git log --format=format:%s -1 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] echo [2023-07-03T16:56:06.108Z] ========================================================= [2023-07-03T16:56:06.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-03T16:56:06.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-03T16:56:06.455Z] + git log --format=format:%s -1 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] echo [2023-07-03T16:56:06.467Z] [semverPrep] GIT_COMMIT: 140a5eafc5cba1ba4b0f6764404ab697e17522e5, Commit Message: Merge pull request #125 from edgexfoundry/dependabot/go_modules/github.com/hashicorp/consul/api-1.22.0 [Pipeline] echo [2023-07-03T16:56:06.476Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-03T16:56:06.850Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-03T16:56:06.850Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-03T16:56:06.850Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-03T16:56:06.850Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-03T16:56:06.850Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-03T16:56:06.850Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-03T16:56:06.850Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T16:56:07.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T16:56:07.541Z] [2023-07-03T16:56:07.541Z] 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-03T16:56:07.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T16:56:07.842Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-03T16:56:07.842Z] b85a868b505f: Pulling fs layer [2023-07-03T16:56:07.842Z] e2be974225ed: Pulling fs layer [2023-07-03T16:56:07.842Z] 339a4e72a1f5: Pulling fs layer [2023-07-03T16:56:07.842Z] 988bab9f4d93: Pulling fs layer [2023-07-03T16:56:07.842Z] 1469e6f7b9e6: Pulling fs layer [2023-07-03T16:56:07.842Z] eaf3925da568: Pulling fs layer [2023-07-03T16:56:07.842Z] bab4dde63d76: Pulling fs layer [2023-07-03T16:56:07.842Z] bde34c3a00c8: Pulling fs layer [2023-07-03T16:56:07.842Z] b352a97aabf1: Pulling fs layer [2023-07-03T16:56:07.842Z] 4872d77fe225: Pulling fs layer [2023-07-03T16:56:07.842Z] 5851b861e8e6: Pulling fs layer [2023-07-03T16:56:07.842Z] 988bab9f4d93: Waiting [2023-07-03T16:56:07.842Z] 1469e6f7b9e6: Waiting [2023-07-03T16:56:07.842Z] eaf3925da568: Waiting [2023-07-03T16:56:07.842Z] bab4dde63d76: Waiting [2023-07-03T16:56:07.842Z] bde34c3a00c8: Waiting [2023-07-03T16:56:07.842Z] b352a97aabf1: Waiting [2023-07-03T16:56:07.842Z] 4872d77fe225: Waiting [2023-07-03T16:56:07.842Z] 5851b861e8e6: Waiting [2023-07-03T16:56:08.106Z] e2be974225ed: Download complete [2023-07-03T16:56:08.106Z] 988bab9f4d93: Verifying Checksum [2023-07-03T16:56:08.106Z] 988bab9f4d93: Download complete [2023-07-03T16:56:08.106Z] 1469e6f7b9e6: Verifying Checksum [2023-07-03T16:56:08.106Z] 1469e6f7b9e6: Download complete [2023-07-03T16:56:08.106Z] 339a4e72a1f5: Verifying Checksum [2023-07-03T16:56:08.106Z] 339a4e72a1f5: Download complete [2023-07-03T16:56:08.106Z] eaf3925da568: Download complete [2023-07-03T16:56:08.106Z] bde34c3a00c8: Download complete [2023-07-03T16:56:08.106Z] b352a97aabf1: Download complete [2023-07-03T16:56:08.106Z] 4872d77fe225: Verifying Checksum [2023-07-03T16:56:08.106Z] 4872d77fe225: Download complete [2023-07-03T16:56:08.106Z] 5851b861e8e6: Verifying Checksum [2023-07-03T16:56:08.106Z] 5851b861e8e6: Download complete [2023-07-03T16:56:08.106Z] b85a868b505f: Verifying Checksum [2023-07-03T16:56:08.106Z] b85a868b505f: Download complete [2023-07-03T16:56:08.670Z] bab4dde63d76: Verifying Checksum [2023-07-03T16:56:08.670Z] bab4dde63d76: Download complete [2023-07-03T16:56:09.607Z] b85a868b505f: Pull complete [2023-07-03T16:56:09.607Z] e2be974225ed: Pull complete [2023-07-03T16:56:10.176Z] 339a4e72a1f5: Pull complete [2023-07-03T16:56:10.176Z] 988bab9f4d93: Pull complete [2023-07-03T16:56:10.438Z] 1469e6f7b9e6: Pull complete [2023-07-03T16:56:10.438Z] eaf3925da568: Pull complete [2023-07-03T16:56:12.344Z] bab4dde63d76: Pull complete [2023-07-03T16:56:12.344Z] bde34c3a00c8: Pull complete [2023-07-03T16:56:12.344Z] b352a97aabf1: Pull complete [2023-07-03T16:56:12.344Z] 4872d77fe225: Pull complete [2023-07-03T16:56:12.604Z] 5851b861e8e6: Pull complete [2023-07-03T16:56:12.604Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-03T16:56:12.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T16:56:12.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:56:12.694Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T16:56:12.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-03T16:56:15.810Z] $ docker top c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e -eo pid,comm [2023-07-03T16:56:15.866Z] 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-03T16:56:15.866Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-03T16:56:15.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-03T16:56:15.897Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-03T16:56:15.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-03T16:56:15.999Z] $ docker exec c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e ssh-agent [2023-07-03T16:56:16.106Z] SSH_AUTH_SOCK=/tmp/ssh-kZ2jCuRaqWJc/agent.31 [2023-07-03T16:56:16.106Z] SSH_AGENT_PID=37 [2023-07-03T16:56:16.112Z] Running ssh-add (command line suppressed) [2023-07-03T16:56:16.206Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_16983661210128833040.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_16983661210128833040.key) [2023-07-03T16:56:16.225Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-03T16:56:16.515Z] + git tag --points-at HEAD [Pipeline] } [2023-07-03T16:56:16.530Z] $ docker exec --env ******** --env ******** c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e ssh-agent -k [2023-07-03T16:56:16.626Z] unset SSH_AUTH_SOCK; [2023-07-03T16:56:16.626Z] unset SSH_AGENT_PID; [2023-07-03T16:56:16.626Z] echo Agent pid 37 killed; [2023-07-03T16:56:16.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-03T16:56:16.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-03T16:56:16.662Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-03T16:56:16.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-03T16:56:16.770Z] $ docker exec c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e ssh-agent [2023-07-03T16:56:16.881Z] SSH_AUTH_SOCK=/tmp/ssh-C2Fw4UHRUD7Q/agent.69 [2023-07-03T16:56:16.881Z] SSH_AGENT_PID=75 [2023-07-03T16:56:16.886Z] Running ssh-add (command line suppressed) [2023-07-03T16:56:16.971Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_14239053321371854303.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_14239053321371854303.key) [2023-07-03T16:56:16.988Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-03T16:56:17.278Z] + git semver init [2023-07-03T16:56:17.537Z] 2023-07-03 16:56:17,439 [run_init] DEBUG init version:0.0.0 force:False [2023-07-03T16:56:17.537Z] 2023-07-03 16:56:17,439 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_go-mod-registry_main/.semver [2023-07-03T16:56:17.537Z] 2023-07-03 16:56:17,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/dgexfoundry_go-mod-registry_main/.semver [2023-07-03T16:56:17.538Z] 2023-07-03 16:56:17,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-registry.git', '/w/workspace/dgexfoundry_go-mod-registry_main/.semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) [2023-07-03T16:56:18.479Z] 2023-07-03 16:56:18,176 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_go-mod-registry_main/.git/info/exclude [2023-07-03T16:56:18.479Z] 2023-07-03 16:56:18,177 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:False [2023-07-03T16:56:18.479Z] 2023-07-03 16:56:18,177 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T16:56:18.479Z] 2023-07-03 16:56:18,177 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T16:56:18.479Z] 3.1.0-dev.3 [Pipeline] } [2023-07-03T16:56:18.486Z] $ docker exec --env ******** --env ******** c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e ssh-agent -k [2023-07-03T16:56:18.593Z] unset SSH_AUTH_SOCK; [2023-07-03T16:56:18.594Z] unset SSH_AGENT_PID; [2023-07-03T16:56:18.594Z] echo Agent pid 75 killed; [2023-07-03T16:56:18.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-03T16:56:18.903Z] + git semver [Pipeline] } [2023-07-03T16:56:19.174Z] $ docker stop --time=1 c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e [2023-07-03T16:56:20.497Z] $ docker rm -f --volumes c3d9f069f651554c1c2d2233d6bd7298d4fc1f8454a68d5b28f9da9d353b116e [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-03T16:56:20.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-03T16:56:21.044Z] Stashed 1 file(s) [Pipeline] echo [2023-07-03T16:56:21.047Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [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-03T16:56:21.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-03T16:56:21.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-03T16:56:21.203Z] ========================================================= [2023-07-03T16:56:21.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-03T16:56:21.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-07-03T16:56:21.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-03T16:56:21.502Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-03T16:56:21.502Z] f56be85fc22e: Pulling fs layer [2023-07-03T16:56:21.502Z] 85791d961cd3: Pulling fs layer [2023-07-03T16:56:21.502Z] d694b5ae8c79: Pulling fs layer [2023-07-03T16:56:21.502Z] 9f32a84ed3da: Pulling fs layer [2023-07-03T16:56:21.502Z] 4d19c01a9841: Pulling fs layer [2023-07-03T16:56:21.502Z] 9325e15d5711: Pulling fs layer [2023-07-03T16:56:21.502Z] 556b6ee489ea: Pulling fs layer [2023-07-03T16:56:21.502Z] c5a4b2cf53e6: Pulling fs layer [2023-07-03T16:56:21.502Z] 4d19c01a9841: Waiting [2023-07-03T16:56:21.502Z] 9f32a84ed3da: Waiting [2023-07-03T16:56:21.502Z] 556b6ee489ea: Waiting [2023-07-03T16:56:21.502Z] c5a4b2cf53e6: Waiting [2023-07-03T16:56:21.502Z] 85791d961cd3: Verifying Checksum [2023-07-03T16:56:21.502Z] 85791d961cd3: Download complete [2023-07-03T16:56:21.502Z] 9f32a84ed3da: Verifying Checksum [2023-07-03T16:56:21.502Z] 9f32a84ed3da: Download complete [2023-07-03T16:56:21.502Z] 4d19c01a9841: Verifying Checksum [2023-07-03T16:56:21.502Z] 4d19c01a9841: Download complete [2023-07-03T16:56:21.502Z] f56be85fc22e: Verifying Checksum [2023-07-03T16:56:21.502Z] f56be85fc22e: Download complete [2023-07-03T16:56:21.502Z] 9325e15d5711: Verifying Checksum [2023-07-03T16:56:21.502Z] 9325e15d5711: Download complete [2023-07-03T16:56:21.767Z] f56be85fc22e: Pull complete [2023-07-03T16:56:21.767Z] 85791d961cd3: Pull complete [2023-07-03T16:56:22.342Z] c5a4b2cf53e6: Verifying Checksum [2023-07-03T16:56:22.342Z] c5a4b2cf53e6: Download complete [2023-07-03T16:56:22.342Z] d694b5ae8c79: Verifying Checksum [2023-07-03T16:56:22.342Z] d694b5ae8c79: Download complete [2023-07-03T16:56:22.600Z] 556b6ee489ea: Verifying Checksum [2023-07-03T16:56:22.600Z] 556b6ee489ea: Download complete [2023-07-03T16:56:26.811Z] d694b5ae8c79: Pull complete [2023-07-03T16:56:26.811Z] 9f32a84ed3da: Pull complete [2023-07-03T16:56:26.811Z] 4d19c01a9841: Pull complete [2023-07-03T16:56:26.811Z] 9325e15d5711: Pull complete [2023-07-03T16:56:29.344Z] 556b6ee489ea: Pull complete [2023-07-03T16:56:30.275Z] c5a4b2cf53e6: Pull complete [2023-07-03T16:56:30.275Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-03T16:56:30.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-03T16:56:30.275Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-07-03T16:56:30.558Z] + 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-03T16:56:30.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-03T16:56:30.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:56:30.922Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T16:56:30.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** ci-base-image-x86_64 cat [2023-07-03T16:56:36.133Z] Still waiting to schedule task [2023-07-03T16:56:36.133Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-03T16:56:37.330Z] $ docker top 995b446bf895decacc6cedddfb14a8387556182487e1d7c3b5abf7e8917c057b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-03T16:56:37.670Z] + go version [2023-07-03T16:56:37.670Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-03T16:56:37.678Z] $ docker stop --time=1 995b446bf895decacc6cedddfb14a8387556182487e1d7c3b5abf7e8917c057b [2023-07-03T16:56:38.973Z] $ docker rm -f --volumes 995b446bf895decacc6cedddfb14a8387556182487e1d7c3b5abf7e8917c057b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T16:56:39.379Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-03T16:56:39.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:56:39.449Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T16:56:39.476Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** ci-base-image-x86_64 cat [2023-07-03T16:56:39.818Z] $ docker top bb5ee1062ee9cc805687ba6f38ade8881f81f24dea023698c8333f213a592ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-03T16:56:40.161Z] + git config --global --add safe.directory /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] fileExists [Pipeline] sh [2023-07-03T16:56:40.458Z] + make test [2023-07-03T16:56:40.458Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-07-03T16:56:40.458Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-07-03T16:56:40.458Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-07-03T16:56:40.458Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-07-03T16:56:40.458Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-07-03T16:56:40.458Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-07-03T16:56:40.458Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-07-03T16:56:40.717Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-07-03T16:56:40.717Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-07-03T16:56:40.717Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-07-03T16:56:40.717Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-07-03T16:56:40.717Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-07-03T16:56:40.717Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-07-03T16:56:40.717Z] go: downloading github.com/fatih/color v1.14.1 [2023-07-03T16:56:40.717Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-07-03T16:56:40.717Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-07-03T16:56:40.717Z] go: downloading golang.org/x/sys v0.8.0 [2023-07-03T16:56:40.976Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-07-03T16:56:40.976Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-07-03T16:56:40.976Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-07-03T16:56:53.181Z] ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] [2023-07-03T16:56:53.181Z] ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] [2023-07-03T16:56:54.115Z] ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.038s coverage: 89.4% of statements [2023-07-03T16:56:54.115Z] ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.008s coverage: 85.7% of statements [2023-07-03T16:57:04.084Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-07-03T16:57:06.611Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-03T16:57:06.611Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-07-03T16:57:06.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-03T16:57:06.634Z] $ docker stop --time=1 bb5ee1062ee9cc805687ba6f38ade8881f81f24dea023698c8333f213a592ef6 [2023-07-03T16:57:10.092Z] $ docker rm -f --volumes bb5ee1062ee9cc805687ba6f38ade8881f81f24dea023698c8333f213a592ef6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-03T16:57:10.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-03T16:57:10.545Z] 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-03T16:57:10.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-03T16:57:10.998Z] [2023-07-03T16:57:10.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T16:57:11.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-03T16:57:11.300Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-03T16:57:11.300Z] 5eb5b503b376: Pulling fs layer [2023-07-03T16:57:11.300Z] 5c69ac0246d0: Pulling fs layer [2023-07-03T16:57:11.300Z] ec43610c2a17: Pulling fs layer [2023-07-03T16:57:11.300Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-03T16:57:11.300Z] 33b1e0a273af: Pulling fs layer [2023-07-03T16:57:11.300Z] 5d3b04190fa2: Pulling fs layer [2023-07-03T16:57:11.300Z] 2f39f015ded8: Pulling fs layer [2023-07-03T16:57:11.300Z] 3a2ae6a8a46f: Waiting [2023-07-03T16:57:11.300Z] 33b1e0a273af: Waiting [2023-07-03T16:57:11.300Z] 5d3b04190fa2: Waiting [2023-07-03T16:57:11.300Z] 5c69ac0246d0: Verifying Checksum [2023-07-03T16:57:11.300Z] 5c69ac0246d0: Download complete [2023-07-03T16:57:11.300Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-03T16:57:11.300Z] 3a2ae6a8a46f: Download complete [2023-07-03T16:57:11.300Z] 33b1e0a273af: Verifying Checksum [2023-07-03T16:57:11.300Z] 5d3b04190fa2: Verifying Checksum [2023-07-03T16:57:11.300Z] 5d3b04190fa2: Download complete [2023-07-03T16:57:11.300Z] ec43610c2a17: Verifying Checksum [2023-07-03T16:57:11.559Z] 5eb5b503b376: Verifying Checksum [2023-07-03T16:57:11.559Z] 5eb5b503b376: Download complete [2023-07-03T16:57:12.125Z] 2f39f015ded8: Download complete [2023-07-03T16:57:12.692Z] 5eb5b503b376: Pull complete [2023-07-03T16:57:12.692Z] 5c69ac0246d0: Pull complete [2023-07-03T16:57:13.261Z] ec43610c2a17: Pull complete [2023-07-03T16:57:13.261Z] 3a2ae6a8a46f: Pull complete [2023-07-03T16:57:13.521Z] 33b1e0a273af: Pull complete [2023-07-03T16:57:13.521Z] 5d3b04190fa2: Pull complete [2023-07-03T16:57:17.706Z] 2f39f015ded8: Pull complete [2023-07-03T16:57:17.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-03T16:57:17.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-03T16:57:17.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:57:17.779Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T16:57:17.804Z] $ 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/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-03T16:57:22.182Z] $ docker top 0ebe27300554112bd2e8eb4651fbef43dfc0fa6fef95ead59f2852914087cdc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-03T16:57:22.584Z] ---> job-cost.sh [2023-07-03T16:57:22.584Z] lf-activate-venv: SKIPPING [2023-07-03T16:57:22.584Z] INFO: No Stack... [2023-07-03T16:57:23.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-03T16:57:23.410Z] INFO: Archiving Costs [Pipeline] sh [2023-07-03T16:57:23.710Z] + cat /w/workspace/dgexfoundry_go-mod-registry_main/archives/cost.csv [2023-07-03T16:57:23.710Z] + cut -d, -f6 [Pipeline] lock [2023-07-03T16:57:23.722Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [2023-07-03T16:57:23.728Z] Resource [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] did not exist. Created. [2023-07-03T16:57:23.728Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-03T16:57:24.028Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-03T16:57:24.056Z] Stashed 1 file(s) [Pipeline] } [2023-07-03T16:57:24.063Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-03T16:57:24.073Z] $ docker stop --time=1 0ebe27300554112bd2e8eb4651fbef43dfc0fa6fef95ead59f2852914087cdc5 [2023-07-03T16:57:25.255Z] $ docker rm -f --volumes 0ebe27300554112bd2e8eb4651fbef43dfc0fa6fef95ead59f2852914087cdc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-03T16:58:09.400Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-379 in /w/workspace/dgexfoundry_go-mod-registry_main [Pipeline] { [Pipeline] ws [2023-07-03T16:58:09.415Z] Running in /w/workspace/go-mod-registry/42 [Pipeline] { [Pipeline] checkout [2023-07-03T16:58:09.467Z] Selected Git installation does not exist. Using Default [2023-07-03T16:58:09.467Z] The recommended git tool is: NONE [2023-07-03T16:58:14.413Z] using credential edgex-jenkins-ssh [2023-07-03T16:58:14.431Z] Cloning the remote Git repository [2023-07-03T16:58:14.477Z] Cloning repository git@github.com:edgexfoundry/go-mod-registry.git [2023-07-03T16:58:14.568Z] > git init /w/workspace/go-mod-registry/42 # timeout=10 [2023-07-03T16:58:14.697Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git [2023-07-03T16:58:14.698Z] > git --version # timeout=10 [2023-07-03T16:58:14.718Z] > git --version # 'git version 2.25.1' [2023-07-03T16:58:14.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-03T16:58:14.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-03T16:58:16.492Z] Avoid second fetch [2023-07-03T16:58:16.493Z] Checking out Revision 140a5eafc5cba1ba4b0f6764404ab697e17522e5 (main) [2023-07-03T16:58:15.678Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 [2023-07-03T16:58:15.713Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-03T16:58:16.510Z] > git config core.sparsecheckout # timeout=10 [2023-07-03T16:58:16.578Z] > git checkout -f 140a5eafc5cba1ba4b0f6764404ab697e17522e5 # timeout=10 [2023-07-03T16:58:17.002Z] Commit message: "Merge pull request #125 from edgexfoundry/dependabot/go_modules/github.com/hashicorp/consul/api-1.22.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-03T16:58:17.951Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-03T16:58:17.951Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-03T16:58:17.951Z] Dload Upload Total Spent Left Speed [2023-07-03T16:58:17.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-07-03T16:58:18.499Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-03T16:58:18.824Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-07-03T16:58:18.824Z] tee /etc/docker/daemon.new [2023-07-03T16:58:18.824Z] { [2023-07-03T16:58:18.824Z] "registry-mirrors": [ [2023-07-03T16:58:18.824Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-03T16:58:18.824Z] ], [2023-07-03T16:58:18.824Z] "bip": "10.250.0.254/24", [2023-07-03T16:58:18.824Z] "hosts": [ [2023-07-03T16:58:18.824Z] "tcp://0.0.0.0:5555", [2023-07-03T16:58:18.824Z] "unix:///var/run/docker.sock" [2023-07-03T16:58:18.824Z] ], [2023-07-03T16:58:18.824Z] "mtu": 1458, [2023-07-03T16:58:18.824Z] "selinux-enabled": true, [2023-07-03T16:58:18.824Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-03T16:58:18.824Z] } [Pipeline] sh [2023-07-03T16:58:19.148Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-03T16:58:19.478Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-07-03T16:58:41.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-03T16:58:41.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-03T16:58:41.800Z] ========================================================= [2023-07-03T16:58:41.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-03T16:58:41.800Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-07-03T16:58:42.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-03T16:58:42.720Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-03T16:58:42.720Z] c41833b44d91: Pulling fs layer [2023-07-03T16:58:42.720Z] ed15518f5707: Pulling fs layer [2023-07-03T16:58:42.720Z] feae8fd75edb: Pulling fs layer [2023-07-03T16:58:42.720Z] 242c74f7c9fa: Pulling fs layer [2023-07-03T16:58:42.720Z] 3cdef696dda3: Pulling fs layer [2023-07-03T16:58:42.720Z] 2ced38df9373: Pulling fs layer [2023-07-03T16:58:42.720Z] 58f1dce35555: Pulling fs layer [2023-07-03T16:58:42.720Z] 242c74f7c9fa: Waiting [2023-07-03T16:58:42.720Z] 3cdef696dda3: Waiting [2023-07-03T16:58:42.720Z] 2ced38df9373: Waiting [2023-07-03T16:58:42.720Z] 58f1dce35555: Waiting [2023-07-03T16:58:42.720Z] ed15518f5707: Verifying Checksum [2023-07-03T16:58:42.720Z] ed15518f5707: Download complete [2023-07-03T16:58:42.720Z] 242c74f7c9fa: Verifying Checksum [2023-07-03T16:58:42.720Z] 242c74f7c9fa: Download complete [2023-07-03T16:58:42.720Z] 3cdef696dda3: Download complete [2023-07-03T16:58:42.720Z] c41833b44d91: Verifying Checksum [2023-07-03T16:58:42.720Z] c41833b44d91: Download complete [2023-07-03T16:58:43.701Z] c41833b44d91: Pull complete [2023-07-03T16:58:43.975Z] 58f1dce35555: Verifying Checksum [2023-07-03T16:58:43.975Z] 58f1dce35555: Download complete [2023-07-03T16:58:44.245Z] ed15518f5707: Pull complete [2023-07-03T16:58:45.222Z] feae8fd75edb: Verifying Checksum [2023-07-03T16:58:45.222Z] feae8fd75edb: Download complete [2023-07-03T16:58:45.222Z] 2ced38df9373: Verifying Checksum [2023-07-03T16:58:45.222Z] 2ced38df9373: Download complete [2023-07-03T16:58:57.572Z] feae8fd75edb: Pull complete [2023-07-03T16:58:57.572Z] 242c74f7c9fa: Pull complete [2023-07-03T16:58:57.572Z] 3cdef696dda3: Pull complete [2023-07-03T16:59:04.243Z] 2ced38df9373: Pull complete [2023-07-03T16:59:06.830Z] 58f1dce35555: Pull complete [2023-07-03T16:59:06.830Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-03T16:59:06.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-03T16:59:06.830Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-07-03T16:59:07.151Z] + 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-03T16:59:07.493Z] + docker inspect -f . ci-base-image-arm64 [2023-07-03T16:59:07.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:59:07.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2023-07-03T16:59:07.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/42 -v /w/workspace/go-mod-registry/42:/w/workspace/go-mod-registry/42:rw,z -v /w/workspace/go-mod-registry/42@tmp:/w/workspace/go-mod-registry/42@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 ******** ci-base-image-arm64 cat [2023-07-03T16:59:10.623Z] $ docker top a28953d9d85ec33bf32a05157b8712530167015cbad53a2dde2d1199ddfda30d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-03T16:59:11.183Z] + go version [2023-07-03T16:59:11.462Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-03T16:59:11.486Z] $ docker stop --time=1 a28953d9d85ec33bf32a05157b8712530167015cbad53a2dde2d1199ddfda30d [2023-07-03T16:59:13.105Z] $ docker rm -f --volumes a28953d9d85ec33bf32a05157b8712530167015cbad53a2dde2d1199ddfda30d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T16:59:13.640Z] + docker inspect -f . ci-base-image-arm64 [2023-07-03T16:59:13.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T16:59:13.811Z] prd-ubuntu20.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2023-07-03T16:59:13.887Z] $ 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/42 -v /w/workspace/go-mod-registry/42:/w/workspace/go-mod-registry/42:rw,z -v /w/workspace/go-mod-registry/42@tmp:/w/workspace/go-mod-registry/42@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 ******** ci-base-image-arm64 cat [2023-07-03T16:59:17.777Z] $ docker top fcad870b8a40c959a374aca5511796b359635a27e27db671f4191c856b451bdc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-03T16:59:18.271Z] + git config --global --add safe.directory /w/workspace/go-mod-registry/42 [Pipeline] fileExists [Pipeline] sh [2023-07-03T16:59:18.866Z] + make test [2023-07-03T16:59:18.866Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-07-03T16:59:19.136Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-07-03T16:59:19.136Z] go: downloading github.com/hashicorp/consul/api v1.22.0 [2023-07-03T16:59:19.402Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2023-07-03T16:59:19.670Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2023-07-03T16:59:19.670Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-07-03T16:59:19.670Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-07-03T16:59:19.670Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2023-07-03T16:59:19.670Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2023-07-03T16:59:19.670Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2023-07-03T16:59:19.670Z] go: downloading github.com/hashicorp/serf v0.10.1 [2023-07-03T16:59:19.670Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2023-07-03T16:59:19.670Z] go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 [2023-07-03T16:59:19.938Z] go: downloading github.com/fatih/color v1.14.1 [2023-07-03T16:59:19.938Z] go: downloading github.com/mattn/go-isatty v0.0.17 [2023-07-03T16:59:19.938Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2023-07-03T16:59:19.938Z] go: downloading golang.org/x/sys v0.8.0 [2023-07-03T16:59:20.207Z] go: downloading github.com/armon/go-metrics v0.4.1 [2023-07-03T16:59:20.207Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2023-07-03T16:59:20.207Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2023-07-03T17:00:28.064Z] ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] [2023-07-03T17:00:28.064Z] ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] [2023-07-03T17:00:29.463Z] ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.126s coverage: 89.4% of statements [2023-07-03T17:00:29.463Z] ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.035s coverage: 85.7% of statements [2023-07-03T17:00:29.732Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-03T17:00:29.732Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-07-03T17:00:42.050Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-03T17:00:42.050Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-07-03T17:00:42.068Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-03T17:00:42.081Z] $ docker stop --time=1 fcad870b8a40c959a374aca5511796b359635a27e27db671f4191c856b451bdc [2023-07-03T17:00:43.785Z] $ docker rm -f --volumes fcad870b8a40c959a374aca5511796b359635a27e27db671f4191c856b451bdc [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-03T17:00:44.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-03T17:00:44.850Z] Warning: overwriting stash ‘coverage-report’ [2023-07-03T17:00:45.232Z] 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-03T17:00:45.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-03T17:00:45.698Z] [2023-07-03T17:00:45.698Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:00:46.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-03T17:00:46.027Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-03T17:00:46.027Z] 8998bd30e6a1: Pulling fs layer [2023-07-03T17:00:46.027Z] 04944245beec: Pulling fs layer [2023-07-03T17:00:46.027Z] 699f458cf7ca: Pulling fs layer [2023-07-03T17:00:46.027Z] 765212b225bb: Pulling fs layer [2023-07-03T17:00:46.027Z] f23df028b6ca: Pulling fs layer [2023-07-03T17:00:46.027Z] d65c8cfc05b1: Pulling fs layer [2023-07-03T17:00:46.027Z] 2437ff75d9bd: Pulling fs layer [2023-07-03T17:00:46.027Z] f23df028b6ca: Waiting [2023-07-03T17:00:46.027Z] d65c8cfc05b1: Waiting [2023-07-03T17:00:46.027Z] 2437ff75d9bd: Waiting [2023-07-03T17:00:46.027Z] 765212b225bb: Waiting [2023-07-03T17:00:46.293Z] 04944245beec: Verifying Checksum [2023-07-03T17:00:46.293Z] 04944245beec: Download complete [2023-07-03T17:00:46.293Z] 765212b225bb: Verifying Checksum [2023-07-03T17:00:46.293Z] 765212b225bb: Download complete [2023-07-03T17:00:46.293Z] f23df028b6ca: Verifying Checksum [2023-07-03T17:00:46.293Z] f23df028b6ca: Download complete [2023-07-03T17:00:46.293Z] d65c8cfc05b1: Verifying Checksum [2023-07-03T17:00:46.293Z] d65c8cfc05b1: Download complete [2023-07-03T17:00:46.561Z] 699f458cf7ca: Verifying Checksum [2023-07-03T17:00:46.561Z] 699f458cf7ca: Download complete [2023-07-03T17:00:46.828Z] 8998bd30e6a1: Download complete [2023-07-03T17:00:49.414Z] 2437ff75d9bd: Verifying Checksum [2023-07-03T17:00:49.414Z] 2437ff75d9bd: Download complete [2023-07-03T17:00:51.367Z] 8998bd30e6a1: Pull complete [2023-07-03T17:00:51.947Z] 04944245beec: Pull complete [2023-07-03T17:00:53.366Z] 699f458cf7ca: Pull complete [2023-07-03T17:00:53.366Z] 765212b225bb: Pull complete [2023-07-03T17:00:53.947Z] f23df028b6ca: Pull complete [2023-07-03T17:00:54.218Z] d65c8cfc05b1: Pull complete [2023-07-03T17:01:09.220Z] 2437ff75d9bd: Pull complete [2023-07-03T17:01:09.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-03T17:01:09.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-03T17:01:09.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:01:09.411Z] prd-ubuntu20.04-docker-arm64-4c-16g-379 does not seem to be running inside a container [2023-07-03T17:01:09.469Z] $ 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/42 -v /w/workspace/go-mod-registry/42:/w/workspace/go-mod-registry/42:rw,z -v /w/workspace/go-mod-registry/42@tmp:/w/workspace/go-mod-registry/42@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-03T17:01:11.853Z] $ docker top cd34e879527652448cbded563495a5910c2bc4bbb447d1c1bcf4873dfa1c73e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:01:12.678Z] ---> job-cost.sh [2023-07-03T17:01:12.678Z] lf-activate-venv: SKIPPING [2023-07-03T17:01:12.678Z] INFO: No Stack... [2023-07-03T17:01:12.942Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-03T17:01:13.895Z] INFO: Archiving Costs [Pipeline] sh [2023-07-03T17:01:14.210Z] + cat /w/workspace/go-mod-registry/42/archives/cost.csv [2023-07-03T17:01:14.210Z] + cut -d, -f6 [Pipeline] lock [2023-07-03T17:01:14.265Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [2023-07-03T17:01:14.275Z] Resource [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] did not exist. Created. [2023-07-03T17:01:14.275Z] Lock acquired on [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-03T17:01:14.608Z] /w/workspace/go-mod-registry/42@tmp/durable-140b5ff3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-03T17:01:14.945Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-03T17:01:14.968Z] Warning: overwriting stash ‘stack-cost’ [2023-07-03T17:01:15.006Z] Stashed 1 file(s) [Pipeline] } [2023-07-03T17:01:15.013Z] Lock released on resource [jenkins-edgexfoundry-go-mod-registry-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-03T17:01:15.032Z] $ docker stop --time=1 cd34e879527652448cbded563495a5910c2bc4bbb447d1c1bcf4873dfa1c73e8 [2023-07-03T17:01:17.742Z] $ docker rm -f --volumes cd34e879527652448cbded563495a5910c2bc4bbb447d1c1bcf4873dfa1c73e8 [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-03T17:01:18.118Z] provisioning config files... [2023-07-03T17:01:18.143Z] copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config14262759685908319339tmp [Pipeline] { [Pipeline] sh [2023-07-03T17:01:18.439Z] + set +x [2023-07-03T17:01:18.439Z] + curl -s https://codecov.io/bash [2023-07-03T17:01:18.439Z] + bash -s -- [2023-07-03T17:01:18.439Z] [2023-07-03T17:01:18.439Z] _____ _ [2023-07-03T17:01:18.439Z] / ____| | | [2023-07-03T17:01:18.439Z] | | ___ __| | ___ ___ _____ __ [2023-07-03T17:01:18.439Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-03T17:01:18.439Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-03T17:01:18.439Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-03T17:01:18.439Z] Bash-1.0.6 [2023-07-03T17:01:18.439Z] [2023-07-03T17:01:18.439Z] [2023-07-03T17:01:18.699Z] ==> git version 2.25.1 found [2023-07-03T17:01:18.699Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-07-03T17:01:18.699Z] Release-Date: 2020-01-08 [2023-07-03T17:01:18.699Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-07-03T17:01:18.699Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-03T17:01:18.699Z] ==> Jenkins CI detected. [2023-07-03T17:01:18.699Z] current dir:  /w/workspace/dgexfoundry_go-mod-registry_main [2023-07-03T17:01:18.699Z] project root: . [2023-07-03T17:01:18.699Z] --> token set from env [2023-07-03T17:01:18.699Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-03T17:01:18.699Z] ==> Running gcov in . (disable via -X gcov) [2023-07-03T17:01:18.699Z] ==> Python coveragepy not found [2023-07-03T17:01:18.699Z] ==> Searching for coverage reports in: [2023-07-03T17:01:18.699Z] + . [2023-07-03T17:01:18.699Z] -> Found 1 reports [2023-07-03T17:01:18.699Z] ==> Detecting git/mercurial file structure [2023-07-03T17:01:18.699Z] ==> Reading reports [2023-07-03T17:01:18.699Z] + ./coverage.out bytes=12273 [2023-07-03T17:01:18.699Z] ==> Appending adjustments [2023-07-03T17:01:18.699Z] https://docs.codecov.io/docs/fixing-reports [2023-07-03T17:01:18.699Z] + Found adjustments [2023-07-03T17:01:18.699Z] ==> Gzipping contents [2023-07-03T17:01:18.699Z] 4.0K /tmp/codecov.uh2vjq.gz [2023-07-03T17:01:18.699Z] ==> Uploading reports [2023-07-03T17:01:18.699Z] url: https://codecov.io [2023-07-03T17:01:18.699Z] query: branch=main&commit=140a5eafc5cba1ba4b0f6764404ab697e17522e5&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-03T17:01:18.699Z] -> Pinging Codecov [2023-07-03T17:01:18.699Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=9ee36580-b4eb-4db0-b4c8-29f84f7b3278&branch=main&commit=140a5eafc5cba1ba4b0f6764404ab697e17522e5&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=&job=&cmd_args= [2023-07-03T17:01:18.959Z] -> Uploading to [2023-07-03T17:01:18.959Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-03/05B643FFA8DEACB6C25F95B2D4D12284/140a5eafc5cba1ba4b0f6764404ab697e17522e5/58dca58c-46a4-460c-9be4-7b16b66b6ce5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230703%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230703T170118Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=17fb3d8b0ea53e337c46d193e65b48c59539cb9caec94d49c2ad88e148504841 [2023-07-03T17:01:18.959Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-03T17:01:18.959Z] Dload Upload Total Spent Left Speed [2023-07-03T17:01:19.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2271 0 0 100 2271 0 11132 --:--:-- --:--:-- --:--:-- 11132 [2023-07-03T17:01:19.220Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-registry/commit/140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] } [2023-07-03T17:01:19.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-07-03T17:01:19.446Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-07-03T17:01:19.457Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:01:19.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-03T17:01:19.763Z] [2023-07-03T17:01:19.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:01:20.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-03T17:01:20.059Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-07-03T17:01:20.059Z] df9b9388f04a: Pulling fs layer [2023-07-03T17:01:20.059Z] 52dc419b0ee2: Pulling fs layer [2023-07-03T17:01:20.059Z] 25bc292e5bac: Pulling fs layer [2023-07-03T17:01:20.059Z] 114826534d7a: Pulling fs layer [2023-07-03T17:01:20.059Z] 4657fd5d0bcf: Pulling fs layer [2023-07-03T17:01:20.059Z] 6ad1cebc031e: Pulling fs layer [2023-07-03T17:01:20.059Z] 8a3aa393b2d8: Pulling fs layer [2023-07-03T17:01:20.059Z] 4657fd5d0bcf: Waiting [2023-07-03T17:01:20.059Z] 6ad1cebc031e: Waiting [2023-07-03T17:01:20.059Z] 8a3aa393b2d8: Waiting [2023-07-03T17:01:20.059Z] 114826534d7a: Waiting [2023-07-03T17:01:20.059Z] 25bc292e5bac: Verifying Checksum [2023-07-03T17:01:20.059Z] 25bc292e5bac: Download complete [2023-07-03T17:01:20.059Z] 52dc419b0ee2: Download complete [2023-07-03T17:01:20.059Z] 4657fd5d0bcf: Verifying Checksum [2023-07-03T17:01:20.059Z] 4657fd5d0bcf: Download complete [2023-07-03T17:01:20.059Z] df9b9388f04a: Verifying Checksum [2023-07-03T17:01:20.059Z] df9b9388f04a: Download complete [2023-07-03T17:01:20.318Z] df9b9388f04a: Pull complete [2023-07-03T17:01:20.318Z] 6ad1cebc031e: Verifying Checksum [2023-07-03T17:01:20.318Z] 6ad1cebc031e: Download complete [2023-07-03T17:01:20.318Z] 52dc419b0ee2: Pull complete [2023-07-03T17:01:20.578Z] 25bc292e5bac: Pull complete [2023-07-03T17:01:20.836Z] 114826534d7a: Verifying Checksum [2023-07-03T17:01:20.836Z] 114826534d7a: Download complete [2023-07-03T17:01:20.836Z] 8a3aa393b2d8: Verifying Checksum [2023-07-03T17:01:20.836Z] 8a3aa393b2d8: Download complete [2023-07-03T17:01:25.021Z] 114826534d7a: Pull complete [2023-07-03T17:01:25.021Z] 4657fd5d0bcf: Pull complete [2023-07-03T17:01:25.021Z] 6ad1cebc031e: Pull complete [2023-07-03T17:01:28.301Z] 8a3aa393b2d8: Pull complete [2023-07-03T17:01:28.301Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-07-03T17:01:28.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-07-03T17:01:28.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:01:28.377Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:01:28.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-07-03T17:01:33.359Z] $ docker top 7fd487ba1605ad949db428a3073514a6080080e04064c200d40514f002d79d14 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-07-03T17:01:33.425Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/go-mod-registry:main' [Pipeline] sh [2023-07-03T17:01:33.701Z] + set -o pipefail [2023-07-03T17:01:33.701Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/go-mod-registry:main' [2023-07-03T17:01:36.233Z] [2023-07-03T17:01:36.233Z] Monitoring /w/workspace/dgexfoundry_go-mod-registry_main (github.com/edgexfoundry/go-mod-registry/v3)... [2023-07-03T17:01:36.233Z] [2023-07-03T17:01:36.233Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/248b3a82-0f57-4d08-abdb-bcc7056f415b/history/56f739a7-17e0-4562-be1a-f6feba486430 [2023-07-03T17:01:36.233Z] [2023-07-03T17:01:36.233Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-07-03T17:01:36.233Z] [2023-07-03T17:01:36.492Z] [2023-07-03T17:01:36.492Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-07-03T17:01:36.492Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-07-03T17:01:36.492Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-07-03T17:01:36.496Z] $ docker stop --time=1 7fd487ba1605ad949db428a3073514a6080080e04064c200d40514f002d79d14 [2023-07-03T17:01:38.209Z] $ docker rm -f --volumes 7fd487ba1605ad949db428a3073514a6080080e04064c200d40514f002d79d14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-03T17:01:38.778Z] + git log --format=format:%s -1 140a5eafc5cba1ba4b0f6764404ab697e17522e5 [Pipeline] sh [2023-07-03T17:01:39.070Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-03T17:01:39.070Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:01:39.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T17:01:39.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:01:39.430Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:01:39.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-03T17:01:39.813Z] $ docker top 7d2eea01d1c73e48952b0432542af2571256a08d78b78a58a9b48fa52299782d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-03T17:01:39.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-03T17:01:39.902Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-03T17:01:40.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-03T17:01:40.007Z] $ docker exec 7d2eea01d1c73e48952b0432542af2571256a08d78b78a58a9b48fa52299782d ssh-agent [2023-07-03T17:01:40.131Z] SSH_AUTH_SOCK=/tmp/ssh-QnQ27obZfbAy/agent.31 [2023-07-03T17:01:40.131Z] SSH_AGENT_PID=37 [2023-07-03T17:01:40.136Z] Running ssh-add (command line suppressed) [2023-07-03T17:01:40.224Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_15861503282007931771.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_15861503282007931771.key) [2023-07-03T17:01:40.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-03T17:01:40.527Z] + git semver tag [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,696 [run_tag] DEBUG tag force:False [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,696 [check_head_tag] DEBUG check head tag [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,697 [execute] INFO git cat-file --batch-check [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,702 [execute] INFO git cat-file --batch [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=) [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,715 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,715 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,716 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) [2023-07-03T17:01:40.786Z] 2023-07-03 17:01:40,720 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:01:40.786Z] 3.1.0-dev.3 [Pipeline] } [2023-07-03T17:01:40.790Z] $ docker exec --env ******** --env ******** 7d2eea01d1c73e48952b0432542af2571256a08d78b78a58a9b48fa52299782d ssh-agent -k [2023-07-03T17:01:40.888Z] unset SSH_AUTH_SOCK; [2023-07-03T17:01:40.888Z] unset SSH_AGENT_PID; [2023-07-03T17:01:40.888Z] echo Agent pid 37 killed; [2023-07-03T17:01:40.905Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-03T17:01:41.224Z] + git semver [Pipeline] } [2023-07-03T17:01:41.489Z] $ docker stop --time=1 7d2eea01d1c73e48952b0432542af2571256a08d78b78a58a9b48fa52299782d [2023-07-03T17:01:42.771Z] $ docker rm -f --volumes 7d2eea01d1c73e48952b0432542af2571256a08d78b78a58a9b48fa52299782d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:01:43.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-03T17:01:43.157Z] [2023-07-03T17:01:43.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:01:43.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-03T17:01:43.449Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-03T17:01:43.449Z] ab5ef0e58194: Pulling fs layer [2023-07-03T17:01:43.449Z] 9712f1f96733: Pulling fs layer [2023-07-03T17:01:43.449Z] 63f879dbbcfc: Pulling fs layer [2023-07-03T17:01:43.449Z] 0d9ebad4ef96: Pulling fs layer [2023-07-03T17:01:43.449Z] e9a5061849ea: Pulling fs layer [2023-07-03T17:01:43.449Z] d747dcd14b5f: Pulling fs layer [2023-07-03T17:01:43.449Z] 2de7ff778b66: Pulling fs layer [2023-07-03T17:01:43.449Z] e9a5061849ea: Waiting [2023-07-03T17:01:43.449Z] d747dcd14b5f: Waiting [2023-07-03T17:01:43.449Z] 0d9ebad4ef96: Waiting [2023-07-03T17:01:43.449Z] 9712f1f96733: Verifying Checksum [2023-07-03T17:01:43.449Z] 9712f1f96733: Download complete [2023-07-03T17:01:43.708Z] 63f879dbbcfc: Verifying Checksum [2023-07-03T17:01:43.708Z] 63f879dbbcfc: Download complete [2023-07-03T17:01:43.966Z] e9a5061849ea: Verifying Checksum [2023-07-03T17:01:43.966Z] e9a5061849ea: Download complete [2023-07-03T17:01:43.966Z] d747dcd14b5f: Verifying Checksum [2023-07-03T17:01:43.966Z] d747dcd14b5f: Download complete [2023-07-03T17:01:43.966Z] ab5ef0e58194: Verifying Checksum [2023-07-03T17:01:43.966Z] ab5ef0e58194: Download complete [2023-07-03T17:01:43.966Z] 0d9ebad4ef96: Verifying Checksum [2023-07-03T17:01:43.966Z] 0d9ebad4ef96: Download complete [2023-07-03T17:01:44.223Z] 2de7ff778b66: Verifying Checksum [2023-07-03T17:01:44.223Z] 2de7ff778b66: Download complete [2023-07-03T17:01:47.508Z] ab5ef0e58194: Pull complete [2023-07-03T17:01:47.508Z] 9712f1f96733: Pull complete [2023-07-03T17:01:48.071Z] 63f879dbbcfc: Pull complete [2023-07-03T17:01:52.252Z] 0d9ebad4ef96: Pull complete [2023-07-03T17:01:52.252Z] e9a5061849ea: Pull complete [2023-07-03T17:01:52.252Z] d747dcd14b5f: Pull complete [2023-07-03T17:01:53.186Z] 2de7ff778b66: Pull complete [2023-07-03T17:01:53.186Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-03T17:01:53.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-03T17:01:53.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:01:53.282Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:01:53.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-03T17:01:59.894Z] $ docker top 2751ebf500e628aad180ad97c8f99ac4971f6f558de0c156493a37321868f8ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-03T17:01:59.972Z] provisioning config files... [2023-07-03T17:01:59.981Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config4698655695834813251tmp [2023-07-03T17:01:59.991Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config15459212544917507068tmp [2023-07-03T17:02:00.001Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config4771115529317069730tmp [Pipeline] { [Pipeline] echo [2023-07-03T17:02:00.017Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:00.299Z] ---> sigul-configuration.sh [2023-07-03T17:02:00.299Z] gpg: directory `/root/.gnupg' created [2023-07-03T17:02:00.299Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-03T17:02:00.299Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-03T17:02:00.299Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-03T17:02:00.299Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-03T17:02:00.299Z] gpg: CAST5 encrypted data [2023-07-03T17:02:00.299Z] gpg: encrypted with 1 passphrase [2023-07-03T17:02:00.299Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-03T17:02:00.588Z] + mkdir /home/jenkins [2023-07-03T17:02:00.588Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-03T17:02:00.872Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-07-03T17:02:00.879Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:01.162Z] ---> sigul-install.sh [2023-07-03T17:02:01.162Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-03T17:02:01.444Z] + git tag --list [2023-07-03T17:02:01.444Z] v0.0.0 [2023-07-03T17:02:01.444Z] v0.1.0 [2023-07-03T17:02:01.444Z] v0.1.1 [2023-07-03T17:02:01.444Z] v0.1.10 [2023-07-03T17:02:01.444Z] v0.1.11 [2023-07-03T17:02:01.444Z] v0.1.12 [2023-07-03T17:02:01.444Z] v0.1.13 [2023-07-03T17:02:01.444Z] v0.1.14 [2023-07-03T17:02:01.444Z] v0.1.15 [2023-07-03T17:02:01.444Z] v0.1.16 [2023-07-03T17:02:01.444Z] v0.1.17 [2023-07-03T17:02:01.444Z] v0.1.18 [2023-07-03T17:02:01.444Z] v0.1.19 [2023-07-03T17:02:01.444Z] v0.1.2 [2023-07-03T17:02:01.444Z] v0.1.20 [2023-07-03T17:02:01.444Z] v0.1.21 [2023-07-03T17:02:01.444Z] v0.1.22 [2023-07-03T17:02:01.444Z] v0.1.23 [2023-07-03T17:02:01.444Z] v0.1.24 [2023-07-03T17:02:01.444Z] v0.1.25 [2023-07-03T17:02:01.444Z] v0.1.26 [2023-07-03T17:02:01.444Z] v0.1.27 [2023-07-03T17:02:01.444Z] v0.1.3 [2023-07-03T17:02:01.444Z] v0.1.4 [2023-07-03T17:02:01.444Z] v0.1.5 [2023-07-03T17:02:01.444Z] v0.1.6 [2023-07-03T17:02:01.444Z] v0.1.7 [2023-07-03T17:02:01.444Z] v0.1.8 [2023-07-03T17:02:01.444Z] v0.1.9 [2023-07-03T17:02:01.444Z] v2.0.0 [2023-07-03T17:02:01.444Z] v2.1.0 [2023-07-03T17:02:01.444Z] v2.2.0 [2023-07-03T17:02:01.444Z] v2.3.0 [2023-07-03T17:02:01.444Z] v3.0 [2023-07-03T17:02:01.444Z] v3.0.0 [2023-07-03T17:02:01.444Z] v3.1.0-dev.1 [2023-07-03T17:02:01.444Z] v3.1.0-dev.2 [2023-07-03T17:02:01.444Z] v3.1.0-dev.3 [Pipeline] sh [2023-07-03T17:02:01.728Z] + lftools sign git-tag v3.1.0-dev.3 [2023-07-03T17:02:02.294Z] Signing Git tag with Sigul... [2023-07-03T17:02:02.294Z] Signing v3.1.0-dev.3 [Pipeline] echo [2023-07-03T17:02:02.559Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:02.842Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-03T17:02:02.849Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-03T17:02:02.861Z] $ docker stop --time=1 2751ebf500e628aad180ad97c8f99ac4971f6f558de0c156493a37321868f8ab [2023-07-03T17:02:04.140Z] $ docker rm -f --volumes 2751ebf500e628aad180ad97c8f99ac4971f6f558de0c156493a37321868f8ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-03T17:02:04.549Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-03T17:02:04.549Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:02:04.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T17:02:04.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:02:04.911Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:02:04.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-03T17:02:05.257Z] $ docker top c43922d6e4f534670d3892872a60cbe1ef1d019e02d51f7777e1640b60c7aaa0 -eo pid,comm [2023-07-03T17:02:05.312Z] 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-03T17:02:05.312Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-03T17:02:05.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-03T17:02:05.352Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-03T17:02:05.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-03T17:02:05.455Z] $ docker exec c43922d6e4f534670d3892872a60cbe1ef1d019e02d51f7777e1640b60c7aaa0 ssh-agent [2023-07-03T17:02:05.561Z] SSH_AUTH_SOCK=/tmp/ssh-o1OT2ajMpBZS/agent.33 [2023-07-03T17:02:05.561Z] SSH_AGENT_PID=40 [2023-07-03T17:02:05.565Z] Running ssh-add (command line suppressed) [2023-07-03T17:02:05.659Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_13482468088407719219.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_13482468088407719219.key) [2023-07-03T17:02:05.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-03T17:02:05.963Z] + git semver bump pre [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [bump_version] DEBUG bumped version:3.1.0-dev.4 [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main with force:True [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,119 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,121 [execute] INFO git cat-file --batch-check [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,127 [execute] INFO git cat-file --batch [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-03T17:02:06.222Z] 2023-07-03 17:02:06,133 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:02:06.222Z] 3.1.0-dev.4 [Pipeline] } [2023-07-03T17:02:06.225Z] $ docker exec --env ******** --env ******** c43922d6e4f534670d3892872a60cbe1ef1d019e02d51f7777e1640b60c7aaa0 ssh-agent -k [2023-07-03T17:02:06.327Z] unset SSH_AUTH_SOCK; [2023-07-03T17:02:06.327Z] unset SSH_AGENT_PID; [2023-07-03T17:02:06.327Z] echo Agent pid 40 killed; [2023-07-03T17:02:06.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-03T17:02:06.657Z] + git semver [Pipeline] } [2023-07-03T17:02:06.921Z] $ docker stop --time=1 c43922d6e4f534670d3892872a60cbe1ef1d019e02d51f7777e1640b60c7aaa0 [2023-07-03T17:02:08.177Z] $ docker rm -f --volumes c43922d6e4f534670d3892872a60cbe1ef1d019e02d51f7777e1640b60c7aaa0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-03T17:02:08.527Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-03T17:02:08.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:02:08.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-03T17:02:08.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:02:08.895Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:02:08.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-03T17:02:09.252Z] $ docker top 975cfde9d0b42a7a06e2745e116259dd44c0b0d6ba54f9acad30e6a66fa395ab -eo pid,comm [2023-07-03T17:02:09.302Z] 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-03T17:02:09.303Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-03T17:02:09.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-03T17:02:09.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-03T17:02:09.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-03T17:02:09.446Z] $ docker exec 975cfde9d0b42a7a06e2745e116259dd44c0b0d6ba54f9acad30e6a66fa395ab ssh-agent [2023-07-03T17:02:09.553Z] SSH_AUTH_SOCK=/tmp/ssh-GDrmalpMEoiq/agent.32 [2023-07-03T17:02:09.553Z] SSH_AGENT_PID=38 [2023-07-03T17:02:09.559Z] Running ssh-add (command line suppressed) [2023-07-03T17:02:09.653Z] Identity added: /w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_9164980320364869167.key (/w/workspace/dgexfoundry_go-mod-registry_main@tmp/private_key_9164980320364869167.key) [2023-07-03T17:02:09.671Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-03T17:02:09.956Z] + git semver push [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,108 [run_push] DEBUG push [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,109 [execute] INFO git cat-file --batch-check [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,113 [execute] INFO git rev-list 6d74a6a11a27ea0c0420a66c66de4dd1407c4a42 -- [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,113 [execute] DEBUG Popen(['git', 'rev-list', '6d74a6a11a27ea0c0420a66c66de4dd1407c4a42', '--'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,120 [execute] INFO git fetch -v origin [2023-07-03T17:02:10.215Z] 2023-07-03 17:02:10,120 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-03T17:02:10.786Z] 2023-07-03 17:02:10,606 [run_push] DEBUG no remote changes detected [2023-07-03T17:02:10.786Z] 2023-07-03 17:02:10,606 [execute] INFO git push origin semver [2023-07-03T17:02:10.786Z] 2023-07-03 17:02:10,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-03T17:02:11.724Z] 2023-07-03 17:02:11,369 [run_push] DEBUG push all version tags [2023-07-03T17:02:11.724Z] 2023-07-03 17:02:11,370 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-03T17:02:11.724Z] 2023-07-03 17:02:11,371 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dgexfoundry_go-mod-registry_main, universal_newlines=False, shell=None, istream=None) [2023-07-03T17:02:12.295Z] 2023-07-03 17:02:12,054 [read_version] DEBUG read version from /w/workspace/dgexfoundry_go-mod-registry_main/.semver/main [2023-07-03T17:02:12.295Z] 3.1.0-dev.4 [Pipeline] } [2023-07-03T17:02:12.298Z] $ docker exec --env ******** --env ******** 975cfde9d0b42a7a06e2745e116259dd44c0b0d6ba54f9acad30e6a66fa395ab ssh-agent -k [2023-07-03T17:02:12.395Z] unset SSH_AUTH_SOCK; [2023-07-03T17:02:12.395Z] unset SSH_AGENT_PID; [2023-07-03T17:02:12.395Z] echo Agent pid 38 killed; [2023-07-03T17:02:12.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-03T17:02:12.723Z] + git semver [Pipeline] } [2023-07-03T17:02:12.989Z] $ docker stop --time=1 975cfde9d0b42a7a06e2745e116259dd44c0b0d6ba54f9acad30e6a66fa395ab [2023-07-03T17:02:14.219Z] $ docker rm -f --volumes 975cfde9d0b42a7a06e2745e116259dd44c0b0d6ba54f9acad30e6a66fa395ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [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-03T17:02:14.785Z] + [ -d /w/workspace/dgexfoundry_go-mod-registry_main/archives ] [2023-07-03T17:02:14.785Z] + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives [2023-07-03T17:02:14.785Z] total 16 [2023-07-03T17:02:14.785Z] drwxr-xr-x 3 root root 4096 Jul 3 16:57 . [2023-07-03T17:02:14.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 17:02 .. [2023-07-03T17:02:14.785Z] drwxr-xr-x 2 root root 4096 Jul 3 16:57 cost [2023-07-03T17:02:14.785Z] -rw-r--r-- 1 root root 86 Jul 3 16:57 cost.csv [2023-07-03T17:02:14.785Z] + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_go-mod-registry_main/archives [2023-07-03T17:02:14.785Z] + ls -al /w/workspace/dgexfoundry_go-mod-registry_main/archives [2023-07-03T17:02:14.785Z] total 16 [2023-07-03T17:02:14.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 3 16:57 . [2023-07-03T17:02:14.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 3 17:02 .. [2023-07-03T17:02:14.785Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 3 16:57 cost [2023-07-03T17:02:14.785Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 3 16:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:15.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:15.931Z] ---> package-listing.sh [2023-07-03T17:02:15.931Z] ++ facter osfamily [2023-07-03T17:02:15.931Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-03T17:02:16.191Z] + OS_FAMILY=debian [2023-07-03T17:02:16.191Z] + workspace=/w/workspace/dgexfoundry_go-mod-registry_main [2023-07-03T17:02:16.191Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-03T17:02:16.191Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-03T17:02:16.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-03T17:02:16.191Z] + PACKAGES=/tmp/packages_start.txt [2023-07-03T17:02:16.191Z] + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' [2023-07-03T17:02:16.191Z] + PACKAGES=/tmp/packages_end.txt [2023-07-03T17:02:16.191Z] + case "${OS_FAMILY}" in [2023-07-03T17:02:16.191Z] + grep '^ii' [2023-07-03T17:02:16.191Z] + dpkg -l [2023-07-03T17:02:16.191Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-03T17:02:16.191Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-03T17:02:16.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-03T17:02:16.191Z] + '[' /w/workspace/dgexfoundry_go-mod-registry_main ']' [2023-07-03T17:02:16.191Z] + mkdir -p /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [2023-07-03T17:02:16.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_go-mod-registry_main/archives/ [Pipeline] echo [2023-07-03T17:02:16.202Z] 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/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-03T17:02:16.477Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-03T17:02:17.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-03T17:02:17.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-03T17:02:17.099Z] prd-ubuntu20.04-docker-8c-8g-378 does not seem to be running inside a container [2023-07-03T17:02:17.120Z] $ 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/dgexfoundry_go-mod-registry_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_go-mod-registry_main -v /w/workspace/dgexfoundry_go-mod-registry_main:/w/workspace/dgexfoundry_go-mod-registry_main:rw,z -v /w/workspace/dgexfoundry_go-mod-registry_main@tmp:/w/workspace/dgexfoundry_go-mod-registry_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-03T17:02:17.314Z] $ docker top ca844a4532d400cc93ec7ceceac8bb1379e168d0f955cc96f0447c0e091b9279 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-03T17:02:17.654Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-03T17:02:17.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-03T17:02:18.222Z] + ls /var/log/sa-host [2023-07-03T17:02:18.222Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-03T17:02:18.393Z] provisioning config files... [2023-07-03T17:02:18.403Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_go-mod-registry_main@tmp/config11853834586724778126tmp [Pipeline] { [Pipeline] echo [2023-07-03T17:02:18.419Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:18.699Z] ---> create-netrc.sh [Pipeline] } [2023-07-03T17:02:18.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:19.033Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-03T17:02:19.041Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:19.324Z] ---> sudo-logs.sh [2023-07-03T17:02:19.324Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-03T17:02:19.354Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:19.637Z] ---> job-cost.sh [2023-07-03T17:02:19.637Z] lf-activate-venv: SKIPPING [2023-07-03T17:02:19.637Z] DEBUG: total: 0.2199999988079071 [2023-07-03T17:02:19.637Z] INFO: Retrieving Stack Cost... [2023-07-03T17:02:19.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-03T17:02:20.156Z] INFO: Archiving Costs [Pipeline] echo [2023-07-03T17:02:20.167Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-03T17:02:20.451Z] ---> logs-deploy.sh [2023-07-03T17:02:20.451Z] lf-activate-venv: SKIPPING [2023-07-03T17:02:20.451Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/main/42 [2023-07-03T17:02:20.451Z] INFO: archiving workspace using pattern(s): [2023-07-03T17:02:21.389Z] Archives upload complete. [2023-07-03T17:02:21.389Z] INFO: archiving logs to Nexus