Pull request #138 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/go-mod-registry Loading trusted files from base branch main at 289b60e041285f985fc7248d6ce339e9f9ab6146 rather than 64f008f4eb93f1b87ecfafb5c6f2888252621872 Obtained Jenkinsfile from 289b60e041285f985fc7248d6ce339e9f9ab6146 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-ssh7731180855992535119.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13872827058669891236.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/PR-138/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/PR-138/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9032040185055545474.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11552628753330357225.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/PR-138/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/PR-138/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11019131179328098208.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-267 in /w/workspace/exfoundry_go-mod-registry_PR-138 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-registry.git > git init /w/workspace/exfoundry_go-mod-registry_PR-138 # 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 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 289b60e041285f985fc7248d6ce339e9f9ab6146 into PR head commit 64f008f4eb93f1b87ecfafb5c6f2888252621872 Merge succeeded, producing 64f008f4eb93f1b87ecfafb5c6f2888252621872 Checking out Revision 64f008f4eb93f1b87ecfafb5c6f2888252621872 (PR-138) > git config core.sparsecheckout # timeout=10 > git checkout -f 64f008f4eb93f1b87ecfafb5c6f2888252621872 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 289b60e041285f985fc7248d6ce339e9f9ab6146 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64f008f4eb93f1b87ecfafb5c6f2888252621872 # timeout=10 Commit message: "feat: Add Core Keeper registry client" First time build. Skipping changelog. > git rev-list --no-walk b498c87d2b6868259cf3fcfc285644e61334ce26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:00:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:00:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:00:15 ========================================================= 07:00:15 EdgeX Global Pipelines Version Info 07:00:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:00:16 ------------------- 07:00:16 stable info: 07:00:16 ------------------- 07:00:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:00:16 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:00:16 Message: update stable to v1.0.258 07:00:18 ------------------- 07:00:18 experimental info: 07:00:18 ------------------- 07:00:18 Commited By: **** collab-it+edgex@linuxfoundation.org 07:00:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 07:00:18 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:00:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64f008f4eb93f1b87ecfafb5c6f2888252621872 [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64f008f [Pipeline] echo 07:00:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:00:19 + git rev-list -1 --merges 64f008f4eb93f1b87ecfafb5c6f2888252621872~1..64f008f4eb93f1b87ecfafb5c6f2888252621872 [Pipeline] echo 07:00:19 -----------> git rev-list -1 --merges 64f008f4eb93f1b87ecfafb5c6f2888252621872~1..64f008f4eb93f1b87ecfafb5c6f2888252621872 64f008f4eb93f1b87ecfafb5c6f2888252621872 [false] [Pipeline] sh 07:00:19 + git log --format=format:%s -1 64f008f4eb93f1b87ecfafb5c6f2888252621872 [Pipeline] echo 07:00:19 ========================================================= 07:00:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:00:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:20 + git log --format=format:%s -1 64f008f4eb93f1b87ecfafb5c6f2888252621872 [Pipeline] echo 07:00:20 [semverPrep] GIT_COMMIT: 64f008f4eb93f1b87ecfafb5c6f2888252621872, Commit Message: feat: Add Core Keeper registry client [Pipeline] echo 07:00:20 [semverPrep] This is not a build commit. [Pipeline] sh 07:00:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:00:20 + grep -v github /etc/ssh/ssh_known_hosts 07:00:20 + [ -e /tmp/ssh_known_hosts ] 07:00:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:00:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:00:20 + sudo tee -a /etc/ssh/ssh_known_hosts 07:00:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:21 07:00:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:21 0.1.4: Pulling from edgex-devops/py-git-semver 07:00:21 b85a868b505f: Pulling fs layer 07:00:21 e2be974225ed: Pulling fs layer 07:00:21 339a4e72a1f5: Pulling fs layer 07:00:21 988bab9f4d93: Pulling fs layer 07:00:21 1469e6f7b9e6: Pulling fs layer 07:00:21 eaf3925da568: Pulling fs layer 07:00:21 bab4dde63d76: Pulling fs layer 07:00:21 bde34c3a00c8: Pulling fs layer 07:00:21 b352a97aabf1: Pulling fs layer 07:00:21 4872d77fe225: Pulling fs layer 07:00:21 5851b861e8e6: Pulling fs layer 07:00:21 988bab9f4d93: Waiting 07:00:21 bab4dde63d76: Waiting 07:00:21 1469e6f7b9e6: Waiting 07:00:21 bde34c3a00c8: Waiting 07:00:21 b352a97aabf1: Waiting 07:00:21 eaf3925da568: Waiting 07:00:21 4872d77fe225: Waiting 07:00:21 5851b861e8e6: Waiting 07:00:21 e2be974225ed: Verifying Checksum 07:00:21 e2be974225ed: Download complete 07:00:21 988bab9f4d93: Verifying Checksum 07:00:21 988bab9f4d93: Download complete 07:00:21 1469e6f7b9e6: Verifying Checksum 07:00:21 1469e6f7b9e6: Download complete 07:00:21 eaf3925da568: Verifying Checksum 07:00:21 eaf3925da568: Download complete 07:00:21 339a4e72a1f5: Verifying Checksum 07:00:21 339a4e72a1f5: Download complete 07:00:21 bde34c3a00c8: Verifying Checksum 07:00:21 bde34c3a00c8: Download complete 07:00:21 b352a97aabf1: Verifying Checksum 07:00:21 b352a97aabf1: Download complete 07:00:21 4872d77fe225: Verifying Checksum 07:00:21 4872d77fe225: Download complete 07:00:21 5851b861e8e6: Download complete 07:00:22 b85a868b505f: Verifying Checksum 07:00:22 b85a868b505f: Download complete 07:00:22 bab4dde63d76: Verifying Checksum 07:00:22 bab4dde63d76: Download complete 07:00:23 b85a868b505f: Pull complete 07:00:23 e2be974225ed: Pull complete 07:00:23 339a4e72a1f5: Pull complete 07:00:23 988bab9f4d93: Pull complete 07:00:24 1469e6f7b9e6: Pull complete 07:00:24 eaf3925da568: Pull complete 07:00:26 bab4dde63d76: Pull complete 07:00:26 bde34c3a00c8: Pull complete 07:00:26 b352a97aabf1: Pull complete 07:00:26 4872d77fe225: Pull complete 07:00:26 5851b861e8e6: Pull complete 07:00:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:26 prd-ubuntu20.04-docker-8c-8g-267 does not seem to be running inside a container 07:00:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_PR-138 -v /w/workspace/exfoundry_go-mod-registry_PR-138:/w/workspace/exfoundry_go-mod-registry_PR-138:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-138@tmp:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:00:29 $ docker top b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 -eo pid,comm 07:00:29 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). 07:00:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:00:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:29 [ssh-agent] Looking for ssh-agent implementation... 07:00:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:29 $ docker exec b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 ssh-agent 07:00:29 SSH_AUTH_SOCK=/tmp/ssh-B298MGJfYdhd/agent.33 07:00:29 SSH_AGENT_PID=39 07:00:29 Running ssh-add (command line suppressed) 07:00:29 Identity added: /w/workspace/exfoundry_go-mod-registry_PR-138@tmp/private_key_10794375580129702668.key (/w/workspace/exfoundry_go-mod-registry_PR-138@tmp/private_key_10794375580129702668.key) 07:00:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:30 + git tag --points-at HEAD [Pipeline] } 07:00:30 $ docker exec --env ******** --env ******** b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 ssh-agent -k 07:00:30 unset SSH_AUTH_SOCK; 07:00:30 unset SSH_AGENT_PID; 07:00:30 echo Agent pid 39 killed; 07:00:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:00:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:30 [ssh-agent] Looking for ssh-agent implementation... 07:00:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:30 $ docker exec b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 ssh-agent 07:00:30 SSH_AUTH_SOCK=/tmp/ssh-UnuyDYlsUd67/agent.72 07:00:30 SSH_AGENT_PID=78 07:00:30 Running ssh-add (command line suppressed) 07:00:30 Identity added: /w/workspace/exfoundry_go-mod-registry_PR-138@tmp/private_key_14163207045053799748.key (/w/workspace/exfoundry_go-mod-registry_PR-138@tmp/private_key_14163207045053799748.key) 07:00:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:31 + git semver init 07:00:31 2024-03-18 07:00:31,193 [run_init] DEBUG init version:0.0.0 force:False 07:00:31 2024-03-18 07:00:31,193 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_go-mod-registry_PR-138/.semver 07:00:31 2024-03-18 07:00:31,194 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/exfoundry_go-mod-registry_PR-138/.semver 07:00:31 2024-03-18 07:00:31,194 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-registry.git', '/w/workspace/exfoundry_go-mod-registry_PR-138/.semver'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-138, universal_newlines=False, shell=None, istream=None) 07:00:32 2024-03-18 07:00:31,978 [append_file] DEBUG append to file:/w/workspace/exfoundry_go-mod-registry_PR-138/.git/info/exclude 07:00:32 2024-03-18 07:00:31,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_go-mod-registry_PR-138/.semver/PR-138 with force:False 07:00:32 2024-03-18 07:00:31,979 [write_file] DEBUG write to file:/w/workspace/exfoundry_go-mod-registry_PR-138/.semver/PR-138 07:00:32 2024-03-18 07:00:31,983 [execute] INFO git cat-file --batch-check 07:00:32 2024-03-18 07:00:31,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-138/.semver, universal_newlines=False, shell=None, istream=) 07:00:32 2024-03-18 07:00:31,990 [execute] INFO git cat-file --batch 07:00:32 2024-03-18 07:00:31,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-138/.semver, universal_newlines=False, shell=None, istream=) 07:00:32 2024-03-18 07:00:31,995 [read_version] DEBUG read version from /w/workspace/exfoundry_go-mod-registry_PR-138/.semver/PR-138 07:00:32 0.0.0 [Pipeline] } 07:00:32 $ docker exec --env ******** --env ******** b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 ssh-agent -k 07:00:32 unset SSH_AUTH_SOCK; 07:00:32 unset SSH_AGENT_PID; 07:00:32 echo Agent pid 78 killed; 07:00:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:00:32 + git semver [Pipeline] } 07:00:32 $ docker stop --time=1 b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 07:00:34 $ docker rm -f --volumes b44b30104cabbc079d75934746c73e0b084832dbfa98cbd190940b72c752d112 [Pipeline] // withDockerContainer [Pipeline] sh 07:00:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:00:34 Stashed 1 file(s) [Pipeline] echo 07:00:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 07:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:00:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:00:34 ========================================================= 07:00:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:00:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 07:00:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:00:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:00:35 7264a8db6415: Pulling fs layer 07:00:35 c4d48a809fc2: Pulling fs layer 07:00:35 4f1c88b9dad5: Pulling fs layer 07:00:35 ad3a456e5733: Pulling fs layer 07:00:35 69c7f0334f64: Pulling fs layer 07:00:35 1f1c1a5573a3: Pulling fs layer 07:00:35 ce7588e14bc9: Pulling fs layer 07:00:35 b5e4710f87ac: Pulling fs layer 07:00:35 69c7f0334f64: Waiting 07:00:35 1f1c1a5573a3: Waiting 07:00:35 ad3a456e5733: Waiting 07:00:35 ce7588e14bc9: Waiting 07:00:35 b5e4710f87ac: Waiting 07:00:35 c4d48a809fc2: Verifying Checksum 07:00:35 c4d48a809fc2: Download complete 07:00:35 ad3a456e5733: Verifying Checksum 07:00:35 ad3a456e5733: Download complete 07:00:35 69c7f0334f64: Verifying Checksum 07:00:35 69c7f0334f64: Download complete 07:00:35 7264a8db6415: Verifying Checksum 07:00:35 7264a8db6415: Download complete 07:00:35 1f1c1a5573a3: Verifying Checksum 07:00:35 1f1c1a5573a3: Download complete 07:00:35 7264a8db6415: Pull complete 07:00:35 c4d48a809fc2: Pull complete 07:00:35 b5e4710f87ac: Verifying Checksum 07:00:35 b5e4710f87ac: Download complete 07:00:35 4f1c88b9dad5: Verifying Checksum 07:00:35 4f1c88b9dad5: Download complete 07:00:36 ce7588e14bc9: Verifying Checksum 07:00:36 ce7588e14bc9: Download complete 07:00:38 4f1c88b9dad5: Pull complete 07:00:38 ad3a456e5733: Pull complete 07:00:38 69c7f0334f64: Pull complete 07:00:38 1f1c1a5573a3: Pull complete 07:00:41 ce7588e14bc9: Pull complete 07:00:41 b5e4710f87ac: Pull complete 07:00:41 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 07:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:00:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh 07:00:41 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:42 + docker inspect -f . ci-base-image-x86_64 07:00:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:42 prd-ubuntu20.04-docker-8c-8g-267 does not seem to be running inside a container 07:00:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-registry_PR-138 -v /w/workspace/exfoundry_go-mod-registry_PR-138:/w/workspace/exfoundry_go-mod-registry_PR-138:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-138@tmp:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:00:46 $ docker top 0e61288b0b7edac66eb21e7f303f866d7abe12bdea77ae0df468b6b9734b312a -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:47 + go version 07:00:47 go version go1.21.0 linux/amd64 [Pipeline] } 07:00:47 $ docker stop --time=1 0e61288b0b7edac66eb21e7f303f866d7abe12bdea77ae0df468b6b9734b312a 07:00:48 $ docker rm -f --volumes 0e61288b0b7edac66eb21e7f303f866d7abe12bdea77ae0df468b6b9734b312a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:49 + docker inspect -f . ci-base-image-x86_64 07:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:49 prd-ubuntu20.04-docker-8c-8g-267 does not seem to be running inside a container 07:00:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_go-mod-registry_PR-138 -v /w/workspace/exfoundry_go-mod-registry_PR-138:/w/workspace/exfoundry_go-mod-registry_PR-138:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-138@tmp:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:00:49 $ docker top f04bd9dc444a3acd0027a6f15e5cfbff91e0730e8234589dc4096cdef0779d65 -eo pid,comm [Pipeline] { [Pipeline] sh 07:00:49 + git config --global --add safe.directory /w/workspace/exfoundry_go-mod-registry_PR-138 [Pipeline] fileExists [Pipeline] sh 07:00:49 Still waiting to schedule task 07:00:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:00:50 + make test 07:00:50 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:00:50 go: downloading github.com/stretchr/testify v1.9.0 07:00:50 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.13 07:00:50 go: downloading github.com/hashicorp/consul/api v1.27.0 07:00:50 go: downloading github.com/google/uuid v1.6.0 07:00:50 go: downloading github.com/go-playground/validator/v10 v10.19.0 07:00:50 go: downloading github.com/fxamacker/cbor/v2 v2.6.0 07:00:50 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 07:00:50 go: downloading github.com/hashicorp/go-hclog v1.5.0 07:00:50 go: downloading github.com/hashicorp/go-multierror v1.1.1 07:00:50 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 07:00:50 go: downloading github.com/hashicorp/serf v0.10.1 07:00:50 go: downloading github.com/mitchellh/mapstructure v1.5.0 07:00:50 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 07:00:50 go: downloading github.com/x448/float16 v0.8.4 07:00:50 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 07:00:50 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 07:00:50 go: downloading github.com/stretchr/objx v0.5.2 07:00:50 go: downloading gopkg.in/yaml.v3 v3.0.1 07:00:50 go: downloading github.com/hashicorp/errwrap v1.1.0 07:00:50 go: downloading github.com/fatih/color v1.14.1 07:00:50 go: downloading github.com/mattn/go-isatty v0.0.17 07:00:50 go: downloading github.com/armon/go-metrics v0.4.1 07:00:50 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 07:00:50 go: downloading github.com/go-playground/universal-translator v0.18.1 07:00:50 go: downloading github.com/leodido/go-urn v1.4.0 07:00:50 go: downloading golang.org/x/crypto v0.19.0 07:00:50 go: downloading golang.org/x/text v0.14.0 07:00:50 go: downloading github.com/mattn/go-colorable v0.1.13 07:00:50 go: downloading golang.org/x/sys v0.17.0 07:00:50 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 07:00:50 go: downloading github.com/go-playground/locales v0.14.1 07:00:50 go: downloading github.com/hashicorp/golang-lru v0.5.4 07:00:52 go: downloading golang.org/x/net v0.21.0 07:00:58 ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] 07:00:58 ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] 07:01:01 ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.036s coverage: 89.4% of statements 07:01:01 ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/keeper 2.038s coverage: 56.4% of statements 07:01:01 ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.013s coverage: 62.5% of statements 07:01:11 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:01:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:01:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:01:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:01:11 $ docker stop --time=1 f04bd9dc444a3acd0027a6f15e5cfbff91e0730e8234589dc4096cdef0779d65 07:01:15 $ docker rm -f --volumes f04bd9dc444a3acd0027a6f15e5cfbff91e0730e8234589dc4096cdef0779d65 [Pipeline] // withDockerContainer [Pipeline] sh 07:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:01:16 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 07:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:01:16 07:01:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:01:17 latest: Pulling from edgex-lftools-log-publisher 07:01:17 5eb5b503b376: Pulling fs layer 07:01:17 5c69ac0246d0: Pulling fs layer 07:01:17 ec43610c2a17: Pulling fs layer 07:01:17 3a2ae6a8a46f: Pulling fs layer 07:01:17 33b1e0a273af: Pulling fs layer 07:01:17 5d3b04190fa2: Pulling fs layer 07:01:17 2f39f015ded8: Pulling fs layer 07:01:17 5d3b04190fa2: Waiting 07:01:17 3a2ae6a8a46f: Waiting 07:01:17 33b1e0a273af: Waiting 07:01:17 2f39f015ded8: Waiting 07:01:17 5c69ac0246d0: Download complete 07:01:17 3a2ae6a8a46f: Download complete 07:01:17 33b1e0a273af: Verifying Checksum 07:01:17 33b1e0a273af: Download complete 07:01:17 5d3b04190fa2: Verifying Checksum 07:01:17 5d3b04190fa2: Download complete 07:01:17 ec43610c2a17: Verifying Checksum 07:01:17 ec43610c2a17: Download complete 07:01:17 5eb5b503b376: Verifying Checksum 07:01:17 5eb5b503b376: Download complete 07:01:18 2f39f015ded8: Download complete 07:01:18 5eb5b503b376: Pull complete 07:01:18 5c69ac0246d0: Pull complete 07:01:19 ec43610c2a17: Pull complete 07:01:19 3a2ae6a8a46f: Pull complete 07:01:19 33b1e0a273af: Pull complete 07:01:19 5d3b04190fa2: Pull complete 07:01:23 2f39f015ded8: Pull complete 07:01:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:01:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:01:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:23 prd-ubuntu20.04-docker-8c-8g-267 does not seem to be running inside a container 07:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_go-mod-registry_PR-138 -v /w/workspace/exfoundry_go-mod-registry_PR-138:/w/workspace/exfoundry_go-mod-registry_PR-138:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-138@tmp:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:01:27 $ docker top b46f58fd0e62d6b326619f40619f12a64948483128569d83c50958cb5eb9e88d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:28 ---> job-cost.sh 07:01:28 lf-activate-venv: SKIPPING 07:01:28 INFO: No Stack... 07:01:28 INFO: Retrieving Pricing Info for: v3-standard-8 07:01:28 INFO: Archiving Costs [Pipeline] sh 07:01:29 + cat /w/workspace/exfoundry_go-mod-registry_PR-138/archives/cost.csv 07:01:29 + cut -d, -f6 [Pipeline] lock 07:01:29 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] 07:01:29 Resource [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] did not exist. Created. 07:01:29 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:01:29 + echo total: 0.2199999988079071 [Pipeline] stash 07:01:29 Stashed 1 file(s) [Pipeline] } 07:01:29 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:01:29 $ docker stop --time=1 b46f58fd0e62d6b326619f40619f12a64948483128569d83c50958cb5eb9e88d 07:01:30 $ docker rm -f --volumes b46f58fd0e62d6b326619f40619f12a64948483128569d83c50958cb5eb9e88d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:02:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-268 in /w/workspace/exfoundry_go-mod-registry_PR-138 [Pipeline] { [Pipeline] ws 07:02:30 Running in /w/workspace/go-mod-registry/3 [Pipeline] { [Pipeline] checkout 07:02:33 Selected Git installation does not exist. Using Default 07:02:33 The recommended git tool is: NONE 07:02:38 using credential edgex-jenkins-ssh 07:02:39 Cloning the remote Git repository 07:02:39 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 07:02:39 > git init /w/workspace/go-mod-registry/3 # timeout=10 07:02:39 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 07:02:39 > git --version # timeout=10 07:02:39 > git --version # 'git version 2.25.1' 07:02:39 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:40 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 07:02:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:42 Merging remotes/origin/main commit 289b60e041285f985fc7248d6ce339e9f9ab6146 into PR head commit 64f008f4eb93f1b87ecfafb5c6f2888252621872 07:02:42 Merge succeeded, producing 64f008f4eb93f1b87ecfafb5c6f2888252621872 07:02:42 Checking out Revision 64f008f4eb93f1b87ecfafb5c6f2888252621872 (PR-138) 07:02:41 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 07:02:41 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 07:02:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:02:42 > git config core.sparsecheckout # timeout=10 07:02:42 > git checkout -f 64f008f4eb93f1b87ecfafb5c6f2888252621872 # timeout=10 07:02:42 > git remote # timeout=10 07:02:42 > git config --get remote.origin.url # timeout=10 07:02:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:42 > git merge 289b60e041285f985fc7248d6ce339e9f9ab6146 # timeout=10 07:02:42 > git rev-parse HEAD^{commit} # timeout=10 07:02:42 > git config core.sparsecheckout # timeout=10 07:02:42 > git checkout -f 64f008f4eb93f1b87ecfafb5c6f2888252621872 # timeout=10 07:02:46 Commit message: "feat: Add Core Keeper registry client" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:47 Dload Upload Total Spent Left Speed 07:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 07:02:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:02:48 + sudo tee /etc/docker/daemon.new 07:02:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:02:48 { 07:02:48 "registry-mirrors": [ 07:02:48 "https://nexus3.edgexfoundry.org:10001" 07:02:48 ], 07:02:48 "bip": "10.250.0.254/24", 07:02:48 "hosts": [ 07:02:48 "tcp://0.0.0.0:5555", 07:02:48 "unix:///var/run/docker.sock" 07:02:48 ], 07:02:48 "mtu": 1458, 07:02:48 "selinux-enabled": true, 07:02:48 "seccomp-profile": "/etc/docker/seccomp.json" 07:02:48 } [Pipeline] sh 07:02:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:02:49 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 07:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:03:07 ========================================================= 07:03:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:03:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 07:03:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:03:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:03:08 9fda8d8052c6: Pulling fs layer 07:03:08 5d54e960e981: Pulling fs layer 07:03:08 c4a7e357bf2a: Pulling fs layer 07:03:08 f0e02332f6b5: Pulling fs layer 07:03:08 872ee5b61b7b: Pulling fs layer 07:03:08 0c6a40ed1a82: Pulling fs layer 07:03:08 94ae7d8d031c: Pulling fs layer 07:03:08 872ee5b61b7b: Waiting 07:03:08 0c6a40ed1a82: Waiting 07:03:08 94ae7d8d031c: Waiting 07:03:08 f0e02332f6b5: Waiting 07:03:08 5d54e960e981: Verifying Checksum 07:03:08 5d54e960e981: Download complete 07:03:08 f0e02332f6b5: Verifying Checksum 07:03:08 f0e02332f6b5: Download complete 07:03:08 872ee5b61b7b: Verifying Checksum 07:03:08 872ee5b61b7b: Download complete 07:03:08 9fda8d8052c6: Verifying Checksum 07:03:08 9fda8d8052c6: Download complete 07:03:09 94ae7d8d031c: Verifying Checksum 07:03:09 94ae7d8d031c: Download complete 07:03:09 9fda8d8052c6: Pull complete 07:03:09 5d54e960e981: Pull complete 07:03:10 c4a7e357bf2a: Verifying Checksum 07:03:10 c4a7e357bf2a: Download complete 07:03:11 0c6a40ed1a82: Verifying Checksum 07:03:11 0c6a40ed1a82: Download complete 07:03:23 c4a7e357bf2a: Pull complete 07:03:23 f0e02332f6b5: Pull complete 07:03:23 872ee5b61b7b: Pull complete 07:03:32 0c6a40ed1a82: Pull complete 07:03:33 94ae7d8d031c: Pull complete 07:03:33 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 07:03:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:03:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 07:03:33 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:33 + docker inspect -f . ci-base-image-arm64 07:03:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:33 prd-ubuntu20.04-docker-arm64-4c-16g-268 does not seem to be running inside a container 07:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/3 -v /w/workspace/go-mod-registry/3:/w/workspace/go-mod-registry/3:rw,z -v /w/workspace/go-mod-registry/3@tmp:/w/workspace/go-mod-registry/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:03:36 $ docker top 1b31af63773c463d976c8ff39386ed52cb6417757e523ebdf5d13adec74c0d71 -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:37 + go version 07:03:37 go version go1.21.0 linux/arm64 [Pipeline] } 07:03:37 $ docker stop --time=1 1b31af63773c463d976c8ff39386ed52cb6417757e523ebdf5d13adec74c0d71 07:03:39 $ docker rm -f --volumes 1b31af63773c463d976c8ff39386ed52cb6417757e523ebdf5d13adec74c0d71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:03:39 + docker inspect -f . ci-base-image-arm64 07:03:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:03:40 prd-ubuntu20.04-docker-arm64-4c-16g-268 does not seem to be running inside a container 07:03:40 $ 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/3 -v /w/workspace/go-mod-registry/3:/w/workspace/go-mod-registry/3:rw,z -v /w/workspace/go-mod-registry/3@tmp:/w/workspace/go-mod-registry/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:03:41 $ docker top 17721d0c8dce44e86ab3502ee478d9d4a32b6c487d5b647386d84b72361b816e -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:42 + git config --global --add safe.directory /w/workspace/go-mod-registry/3 [Pipeline] fileExists [Pipeline] sh 07:03:42 + make test 07:03:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 07:03:42 go: downloading github.com/stretchr/testify v1.9.0 07:03:42 go: downloading github.com/hashicorp/consul/api v1.27.0 07:03:43 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.13 07:03:43 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 07:03:43 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 07:03:43 go: downloading gopkg.in/yaml.v3 v3.0.1 07:03:43 go: downloading github.com/stretchr/objx v0.5.2 07:03:43 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 07:03:43 go: downloading github.com/hashicorp/go-hclog v1.5.0 07:03:43 go: downloading github.com/hashicorp/go-multierror v1.1.1 07:03:43 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 07:03:43 go: downloading github.com/hashicorp/serf v0.10.1 07:03:43 go: downloading github.com/mitchellh/mapstructure v1.5.0 07:03:43 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 07:03:43 go: downloading github.com/go-playground/validator/v10 v10.19.0 07:03:43 go: downloading github.com/google/uuid v1.6.0 07:03:43 go: downloading github.com/fxamacker/cbor/v2 v2.6.0 07:03:44 go: downloading github.com/hashicorp/errwrap v1.1.0 07:03:44 go: downloading github.com/fatih/color v1.14.1 07:03:44 go: downloading github.com/mattn/go-isatty v0.0.17 07:03:44 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 07:03:44 go: downloading github.com/go-playground/universal-translator v0.18.1 07:03:44 go: downloading github.com/leodido/go-urn v1.4.0 07:03:44 go: downloading golang.org/x/crypto v0.19.0 07:03:44 go: downloading golang.org/x/text v0.14.0 07:03:45 go: downloading github.com/x448/float16 v0.8.4 07:03:45 go: downloading github.com/armon/go-metrics v0.4.1 07:03:45 go: downloading github.com/mattn/go-colorable v0.1.13 07:03:45 go: downloading golang.org/x/sys v0.17.0 07:03:45 go: downloading github.com/go-playground/locales v0.14.1 07:03:47 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 07:03:47 go: downloading github.com/hashicorp/golang-lru v0.5.4 07:03:49 go: downloading golang.org/x/net v0.21.0 07:04:36 ? github.com/edgexfoundry/go-mod-registry/v3/pkg/types [no test files] 07:04:36 ? github.com/edgexfoundry/go-mod-registry/v3/registry/mocks [no test files] 07:04:36 ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/consul 2.155s coverage: 89.4% of statements 07:04:36 ok github.com/edgexfoundry/go-mod-registry/v3/internal/pkg/keeper 2.085s coverage: 56.4% of statements 07:04:36 ok github.com/edgexfoundry/go-mod-registry/v3/registry 0.038s coverage: 62.5% of statements 07:04:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:04:36 CGO_ENABLED=0 GO111MODULE=on go vet ./... 07:04:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:04:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 07:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:04:46 $ docker stop --time=1 17721d0c8dce44e86ab3502ee478d9d4a32b6c487d5b647386d84b72361b816e 07:04:48 $ docker rm -f --volumes 17721d0c8dce44e86ab3502ee478d9d4a32b6c487d5b647386d84b72361b816e [Pipeline] // withDockerContainer [Pipeline] sh 07:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:04:50 Warning: overwriting stash ‘coverage-report’ 07:04:50 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 07:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:04:51 07:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:04:51 arm64: Pulling from edgex-lftools-log-publisher 07:04:51 8998bd30e6a1: Pulling fs layer 07:04:51 04944245beec: Pulling fs layer 07:04:51 699f458cf7ca: Pulling fs layer 07:04:51 765212b225bb: Pulling fs layer 07:04:51 f23df028b6ca: Pulling fs layer 07:04:51 d65c8cfc05b1: Pulling fs layer 07:04:51 2437ff75d9bd: Pulling fs layer 07:04:51 f23df028b6ca: Waiting 07:04:51 d65c8cfc05b1: Waiting 07:04:51 2437ff75d9bd: Waiting 07:04:51 765212b225bb: Waiting 07:04:51 04944245beec: Verifying Checksum 07:04:51 04944245beec: Download complete 07:04:51 765212b225bb: Verifying Checksum 07:04:51 765212b225bb: Download complete 07:04:51 f23df028b6ca: Verifying Checksum 07:04:51 f23df028b6ca: Download complete 07:04:51 d65c8cfc05b1: Verifying Checksum 07:04:51 d65c8cfc05b1: Download complete 07:04:51 699f458cf7ca: Verifying Checksum 07:04:51 699f458cf7ca: Download complete 07:04:52 8998bd30e6a1: Download complete 07:04:54 2437ff75d9bd: Verifying Checksum 07:04:54 2437ff75d9bd: Download complete 07:04:56 8998bd30e6a1: Pull complete 07:04:57 04944245beec: Pull complete 07:04:58 699f458cf7ca: Pull complete 07:04:59 765212b225bb: Pull complete 07:05:00 f23df028b6ca: Pull complete 07:05:00 d65c8cfc05b1: Pull complete 07:05:18 2437ff75d9bd: Pull complete 07:05:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:05:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:05:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:18 prd-ubuntu20.04-docker-arm64-4c-16g-268 does not seem to be running inside a container 07:05:18 $ 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/3 -v /w/workspace/go-mod-registry/3:/w/workspace/go-mod-registry/3:rw,z -v /w/workspace/go-mod-registry/3@tmp:/w/workspace/go-mod-registry/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:05:21 $ docker top ae7e1896690ec4418d47c5107e9f4eb934369e8221a88744a7660217b32459f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:05:21 ---> job-cost.sh 07:05:22 lf-activate-venv: SKIPPING 07:05:22 INFO: No Stack... 07:05:22 INFO: Retrieving Pricing Info for: v3-standard-4 07:05:23 INFO: Archiving Costs [Pipeline] sh 07:05:24 + cat /w/workspace/go-mod-registry/3/archives/cost.csv 07:05:24 + cut -d, -f6 [Pipeline] lock 07:05:24 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] 07:05:24 Resource [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] did not exist. Created. 07:05:24 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:05:24 /w/workspace/go-mod-registry/3@tmp/durable-625bc095/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:05:25 + echo total: 0.10999999940395355 [Pipeline] stash 07:05:25 Warning: overwriting stash ‘stack-cost’ 07:05:25 Stashed 1 file(s) [Pipeline] } 07:05:25 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-138-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:05:25 $ docker stop --time=1 ae7e1896690ec4418d47c5107e9f4eb934369e8221a88744a7660217b32459f8 07:05:26 $ docker rm -f --volumes ae7e1896690ec4418d47c5107e9f4eb934369e8221a88744a7660217b32459f8 [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 07:05:27 provisioning config files... 07:05:27 copy managed file [go-mod-registry-codecov-token] to file:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp/config12885249880870262898tmp [Pipeline] { [Pipeline] sh 07:05:27 + set +x 07:05:27 + + curl -s https://codecov.io/bash 07:05:27 bash -s -- 07:05:27 07:05:27 _____ _ 07:05:27 / ____| | | 07:05:27 | | ___ __| | ___ ___ _____ __ 07:05:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:05:27 | |___| (_) | (_| | __/ (_| (_) \ V / 07:05:27 \_____\___/ \__,_|\___|\___\___/ \_/ 07:05:27 Bash-1.0.6 07:05:27 07:05:27 07:05:27 ==> git version 2.25.1 found 07:05:27 ==> 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 07:05:27 Release-Date: 2020-01-08 07:05:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:05:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:05:27 ==> Jenkins CI detected. 07:05:27 current dir:  /w/workspace/exfoundry_go-mod-registry_PR-138 07:05:27 project root: . 07:05:27 --> token set from env 07:05:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:05:27 ==> Running gcov in . (disable via -X gcov) 07:05:27 ==> Python coveragepy not found 07:05:27 ==> Searching for coverage reports in: 07:05:27 + . 07:05:27 -> Found 1 reports 07:05:27 ==> Detecting git/mercurial file structure 07:05:27 ==> Reading reports 07:05:27 + ./coverage.out bytes=24209 07:05:27 ==> Appending adjustments 07:05:27 https://docs.codecov.io/docs/fixing-reports 07:05:27 + Found adjustments 07:05:27 ==> Gzipping contents 07:05:27 4.0K /tmp/codecov.e6Yg0l.gz 07:05:27 ==> Uploading reports 07:05:27 url: https://codecov.io 07:05:27 query: branch=PR-138&commit=64f008f4eb93f1b87ecfafb5c6f2888252621872&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-138%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=138&job=&cmd_args= 07:05:27 -> Pinging Codecov 07:05:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-138&commit=64f008f4eb93f1b87ecfafb5c6f2888252621872&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-registry%2Fjob%2FPR-138%2F3%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-registry&service=jenkins&flags=&pr=138&job=&cmd_args= 07:05:28 -> Uploading to 07:05:28 https://storage.googleapis.com/codecov/v4/raw/2024-03-18/05B643FFA8DEACB6C25F95B2D4D12284/64f008f4eb93f1b87ecfafb5c6f2888252621872/df4ae8a2-b57f-4ee8-b69a-51929a1a7b3f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240318T070527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=667427786aa31f6eeb4dc6b49a44a5e52545493b495c7d787f2a4ebedb8acde0 07:05:28 % Total % Received % Xferd Average Speed Time Time Time Current 07:05:28 Dload Upload Total Spent Left Speed 07:05:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3719 0 0 100 3719 0 13723 --:--:-- --:--:-- --:--:-- 13723 07:05:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-registry/commit/64f008f4eb93f1b87ecfafb5c6f2888252621872 [Pipeline] } 07:05:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 07:05:29 + [ -d /w/workspace/exfoundry_go-mod-registry_PR-138/archives ] 07:05:29 + ls -al /w/workspace/exfoundry_go-mod-registry_PR-138/archives 07:05:29 total 16 07:05:29 drwxr-xr-x 3 root root 4096 Mar 18 07:01 . 07:05:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 07:01 .. 07:05:29 drwxr-xr-x 2 root root 4096 Mar 18 07:01 cost 07:05:29 -rw-r--r-- 1 root root 87 Mar 18 07:01 cost.csv 07:05:29 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_go-mod-registry_PR-138/archives 07:05:29 + ls -al /w/workspace/exfoundry_go-mod-registry_PR-138/archives 07:05:29 total 16 07:05:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 07:01 . 07:05:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 07:01 .. 07:05:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 07:01 cost 07:05:29 -rw-r--r-- 1 jenkins jenkins 87 Mar 18 07:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:05:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:05:30 ---> package-listing.sh 07:05:30 ++ facter osfamily 07:05:30 ++ tr '[:upper:]' '[:lower:]' 07:05:30 + OS_FAMILY=debian 07:05:30 + workspace=/w/workspace/exfoundry_go-mod-registry_PR-138 07:05:30 + START_PACKAGES=/tmp/packages_start.txt 07:05:30 + END_PACKAGES=/tmp/packages_end.txt 07:05:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:05:30 + PACKAGES=/tmp/packages_start.txt 07:05:30 + '[' /w/workspace/exfoundry_go-mod-registry_PR-138 ']' 07:05:30 + PACKAGES=/tmp/packages_end.txt 07:05:30 + case "${OS_FAMILY}" in 07:05:30 + dpkg -l 07:05:30 + grep '^ii' 07:05:30 + '[' -f /tmp/packages_start.txt ']' 07:05:30 + '[' -f /tmp/packages_end.txt ']' 07:05:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:05:30 + '[' /w/workspace/exfoundry_go-mod-registry_PR-138 ']' 07:05:30 + mkdir -p /w/workspace/exfoundry_go-mod-registry_PR-138/archives/ 07:05:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_PR-138/archives/ [Pipeline] echo 07:05:30 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_go-mod-registry_PR-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:05:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:05:31 prd-ubuntu20.04-docker-8c-8g-267 does not seem to be running inside a container 07:05:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_go-mod-registry_PR-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_go-mod-registry_PR-138 -v /w/workspace/exfoundry_go-mod-registry_PR-138:/w/workspace/exfoundry_go-mod-registry_PR-138:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-138@tmp:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:05:31 $ docker top 58a105b3cc88c42fd651627045ff3ee87a180e6a7cc97f507b0394129d5c2a5b -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:32 + touch /tmp/pre-build-complete [Pipeline] sh 07:05:32 + mkdir -p /var/log/sysstat [Pipeline] sh 07:05:32 + ls /var/log/sa-host 07:05:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:05:32 provisioning config files... 07:05:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_PR-138@tmp/config8795263622084161703tmp [Pipeline] { [Pipeline] echo 07:05:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:05:33 ---> create-netrc.sh [Pipeline] } 07:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:05:33 ---> python-tools-install.sh [Pipeline] echo 07:05:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:05:33 ---> sudo-logs.sh 07:05:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:05:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:05:34 ---> job-cost.sh 07:05:34 lf-activate-venv: SKIPPING 07:05:34 DEBUG: total: 0.2199999988079071 07:05:34 INFO: Retrieving Stack Cost... 07:05:34 INFO: Retrieving Pricing Info for: v3-standard-8 07:05:34 INFO: Archiving Costs [Pipeline] echo 07:05:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:05:34 ---> logs-deploy.sh 07:05:34 lf-activate-venv: SKIPPING 07:05:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-138/3 07:05:34 INFO: archiving workspace using pattern(s): 07:05:35 Archives upload complete. 07:05:36 INFO: archiving logs to Nexus