Pull request #108 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e+2a9fac3bffe6f019bcd9f089b2d94c0b8a4d400c (435481b00ecee3b0fc2e09b291799a14f8ef7052) 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-ssh6859531387716818345.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh174097931944129021.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7333597697371776112.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-108/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6397431026643759259.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17779580380337549911.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-108/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-registry/branches/PR-108/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13398348785825063918.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-registry DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-22815 in /w/workspace/exfoundry_go-mod-registry_PR-108 [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-108 # 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/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2a9fac3bffe6f019bcd9f089b2d94c0b8a4d400c into PR head commit d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e Merge succeeded, producing d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e Checking out Revision d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e (PR-108) > git config core.sparsecheckout # timeout=10 > git checkout -f d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e # 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 2a9fac3bffe6f019bcd9f089b2d94c0b8a4d400c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e # timeout=10 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.13.1 to 1.14.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:03:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:03:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:03:36 ========================================================= 15:03:36 EdgeX Global Pipelines Version Info 15:03:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:03:37 ------------------- 15:03:37 stable info: 15:03:37 ------------------- 15:03:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:03:37 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:03:37 Message: update stable to v1.0.238 15:03:38 ------------------- 15:03:38 experimental info: 15:03:38 ------------------- 15:03:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:03:38 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 15:03:38 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-registry-settings [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-registry [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-registry [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:03:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-108 [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-108 [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-108 [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d12ea3b [Pipeline] echo 15:03:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:03:40 + git rev-list -1 --merges d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e~1..d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e [Pipeline] echo 15:03:40 -----------> git rev-list -1 --merges d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e~1..d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e [false] [Pipeline] sh 15:03:40 + git log --format=format:%s -1 d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e [Pipeline] echo 15:03:40 ========================================================= 15:03:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:03:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:03:41 + git log --format=format:%s -1 d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e [Pipeline] echo 15:03:41 [semverPrep] GIT_COMMIT: d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e, Commit Message: build(deps): Bump github.com/hashicorp/consul/api from 1.13.1 to 1.14.0 [Pipeline] echo 15:03:41 [semverPrep] This is not a build commit. [Pipeline] sh 15:03:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:03:41 + grep -v github /etc/ssh/ssh_known_hosts 15:03:41 + [ -e /tmp/ssh_known_hosts ] 15:03:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:03:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:03:41 + sudo tee -a /etc/ssh/ssh_known_hosts 15:03:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:42 15:03:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:43 0.1.4: Pulling from edgex-devops/py-git-semver 15:03:43 b85a868b505f: Pulling fs layer 15:03:43 e2be974225ed: Pulling fs layer 15:03:43 339a4e72a1f5: Pulling fs layer 15:03:43 988bab9f4d93: Pulling fs layer 15:03:43 1469e6f7b9e6: Pulling fs layer 15:03:43 988bab9f4d93: Waiting 15:03:43 eaf3925da568: Pulling fs layer 15:03:43 bab4dde63d76: Pulling fs layer 15:03:43 bde34c3a00c8: Pulling fs layer 15:03:43 1469e6f7b9e6: Waiting 15:03:43 b352a97aabf1: Pulling fs layer 15:03:43 4872d77fe225: Pulling fs layer 15:03:43 5851b861e8e6: Pulling fs layer 15:03:43 bde34c3a00c8: Waiting 15:03:43 b352a97aabf1: Waiting 15:03:43 4872d77fe225: Waiting 15:03:43 5851b861e8e6: Waiting 15:03:43 eaf3925da568: Waiting 15:03:43 bab4dde63d76: Waiting 15:03:43 e2be974225ed: Download complete 15:03:43 988bab9f4d93: Download complete 15:03:43 1469e6f7b9e6: Verifying Checksum 15:03:43 1469e6f7b9e6: Download complete 15:03:43 eaf3925da568: Verifying Checksum 15:03:43 eaf3925da568: Download complete 15:03:43 339a4e72a1f5: Verifying Checksum 15:03:43 339a4e72a1f5: Download complete 15:03:43 bde34c3a00c8: Download complete 15:03:43 b352a97aabf1: Download complete 15:03:43 4872d77fe225: Verifying Checksum 15:03:43 4872d77fe225: Download complete 15:03:43 5851b861e8e6: Download complete 15:03:43 b85a868b505f: Verifying Checksum 15:03:43 b85a868b505f: Download complete 15:03:43 bab4dde63d76: Verifying Checksum 15:03:43 bab4dde63d76: Download complete 15:03:44 b85a868b505f: Pull complete 15:03:44 e2be974225ed: Pull complete 15:03:45 339a4e72a1f5: Pull complete 15:03:45 988bab9f4d93: Pull complete 15:03:45 1469e6f7b9e6: Pull complete 15:03:45 eaf3925da568: Pull complete 15:03:48 bab4dde63d76: Pull complete 15:03:48 bde34c3a00c8: Pull complete 15:03:48 b352a97aabf1: Pull complete 15:03:48 4872d77fe225: Pull complete 15:03:48 5851b861e8e6: Pull complete 15:03:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:03:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:48 prd-ubuntu20.04-docker-8c-8g-22815 does not seem to be running inside a container 15:03:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_go-mod-registry_PR-108 -v /w/workspace/exfoundry_go-mod-registry_PR-108:/w/workspace/exfoundry_go-mod-registry_PR-108:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-108@tmp:/w/workspace/exfoundry_go-mod-registry_PR-108@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/py-git-semver:0.1.4 cat 15:03:49 $ docker top a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 -eo pid,comm 15:03:49 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). 15:03:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:49 [ssh-agent] Looking for ssh-agent implementation... 15:03:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:50 $ docker exec a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 ssh-agent 15:03:50 SSH_AUTH_SOCK=/tmp/ssh-p3dvObiYHwAR/agent.32 15:03:50 SSH_AGENT_PID=39 15:03:50 Running ssh-add (command line suppressed) 15:03:50 Identity added: /w/workspace/exfoundry_go-mod-registry_PR-108@tmp/private_key_8700968862362729025.key (/w/workspace/exfoundry_go-mod-registry_PR-108@tmp/private_key_8700968862362729025.key) 15:03:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:50 + git tag --points-at HEAD [Pipeline] } 15:03:50 $ docker exec --env ******** --env ******** a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 ssh-agent -k 15:03:50 unset SSH_AUTH_SOCK; 15:03:50 unset SSH_AGENT_PID; 15:03:50 echo Agent pid 39 killed; 15:03:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:03:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:50 [ssh-agent] Looking for ssh-agent implementation... 15:03:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:51 $ docker exec a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 ssh-agent 15:03:51 SSH_AUTH_SOCK=/tmp/ssh-VXYVRHcw96Uk/agent.72 15:03:51 SSH_AGENT_PID=78 15:03:51 Running ssh-add (command line suppressed) 15:03:51 Identity added: /w/workspace/exfoundry_go-mod-registry_PR-108@tmp/private_key_3540356826673196317.key (/w/workspace/exfoundry_go-mod-registry_PR-108@tmp/private_key_3540356826673196317.key) 15:03:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:51 + git semver init 15:03:51 2022-08-15 15:03:51,898 [run_init] DEBUG init version:0.0.0 force:False 15:03:51 2022-08-15 15:03:51,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_go-mod-registry_PR-108/.semver 15:03:51 2022-08-15 15:03:51,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-registry.git /w/workspace/exfoundry_go-mod-registry_PR-108/.semver 15:03:51 2022-08-15 15:03:51,899 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-registry.git', '/w/workspace/exfoundry_go-mod-registry_PR-108/.semver'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-108, universal_newlines=False, shell=None, istream=None) 15:03:52 2022-08-15 15:03:52,624 [append_file] DEBUG append to file:/w/workspace/exfoundry_go-mod-registry_PR-108/.git/info/exclude 15:03:52 2022-08-15 15:03:52,625 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_go-mod-registry_PR-108/.semver/PR-108 with force:False 15:03:52 2022-08-15 15:03:52,625 [write_file] DEBUG write to file:/w/workspace/exfoundry_go-mod-registry_PR-108/.semver/PR-108 15:03:52 2022-08-15 15:03:52,629 [execute] INFO git cat-file --batch-check 15:03:52 2022-08-15 15:03:52,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-108/.semver, universal_newlines=False, shell=None, istream=) 15:03:52 2022-08-15 15:03:52,637 [execute] INFO git cat-file --batch 15:03:52 2022-08-15 15:03:52,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_go-mod-registry_PR-108/.semver, universal_newlines=False, shell=None, istream=) 15:03:52 2022-08-15 15:03:52,644 [read_version] DEBUG read version from /w/workspace/exfoundry_go-mod-registry_PR-108/.semver/PR-108 15:03:52 0.0.0 [Pipeline] } 15:03:52 $ docker exec --env ******** --env ******** a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 ssh-agent -k 15:03:53 unset SSH_AUTH_SOCK; 15:03:53 unset SSH_AGENT_PID; 15:03:53 echo Agent pid 78 killed; 15:03:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:53 + git semver [Pipeline] } 15:03:53 $ docker stop --time=1 a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 15:03:55 $ docker rm -f a5d286ebe308900d74949969de72631bcb9f914595c43ad536beb65fb361c2d8 [Pipeline] // withDockerContainer [Pipeline] sh 15:03:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:03:55 Stashed 1 file(s) [Pipeline] echo 15:03:55 [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 15:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:56 ========================================================= 15:03:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:03:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:03:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:03:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:03:56 2408cc74d12b: Pulling fs layer 15:03:56 ea60b727a1ce: Pulling fs layer 15:03:56 30c4a7721957: Pulling fs layer 15:03:56 370296b7ddb6: Pulling fs layer 15:03:56 7c6cee850709: Pulling fs layer 15:03:56 39a5fcdaea64: Pulling fs layer 15:03:56 d94ebbe4e438: Pulling fs layer 15:03:56 bcfd1f05c69d: Pulling fs layer 15:03:56 59ccb84bbe0f: Pulling fs layer 15:03:56 bcfd1f05c69d: Waiting 15:03:56 d94ebbe4e438: Waiting 15:03:56 7c6cee850709: Waiting 15:03:56 59ccb84bbe0f: Waiting 15:03:56 39a5fcdaea64: Waiting 15:03:56 30c4a7721957: Download complete 15:03:56 ea60b727a1ce: Download complete 15:03:56 7c6cee850709: Verifying Checksum 15:03:56 7c6cee850709: Download complete 15:03:56 39a5fcdaea64: Verifying Checksum 15:03:56 39a5fcdaea64: Download complete 15:03:56 2408cc74d12b: Verifying Checksum 15:03:56 2408cc74d12b: Download complete 15:03:56 d94ebbe4e438: Verifying Checksum 15:03:56 d94ebbe4e438: Download complete 15:03:57 2408cc74d12b: Pull complete 15:03:57 ea60b727a1ce: Pull complete 15:03:57 30c4a7721957: Pull complete 15:03:57 59ccb84bbe0f: Verifying Checksum 15:03:57 59ccb84bbe0f: Download complete 15:03:57 370296b7ddb6: Verifying Checksum 15:03:57 370296b7ddb6: Download complete 15:03:57 bcfd1f05c69d: Verifying Checksum 15:03:57 bcfd1f05c69d: Download complete 15:04:01 370296b7ddb6: Pull complete 15:04:01 7c6cee850709: Pull complete 15:04:01 39a5fcdaea64: Pull complete 15:04:01 d94ebbe4e438: Pull complete 15:04:03 bcfd1f05c69d: Pull complete 15:04:04 59ccb84bbe0f: Pull complete 15:04:04 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 15:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:04:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 15:04:04 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:04 + docker inspect -f . ci-base-image-x86_64 15:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:05 prd-ubuntu20.04-docker-8c-8g-22815 does not seem to be running inside a container 15:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_go-mod-registry_PR-108 -v /w/workspace/exfoundry_go-mod-registry_PR-108:/w/workspace/exfoundry_go-mod-registry_PR-108:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-108@tmp:/w/workspace/exfoundry_go-mod-registry_PR-108@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 ******** ci-base-image-x86_64 cat 15:04:06 $ docker top e562e5e5b5e1baf277fc365a1eb919ba8e535e74896e28a5854a69ec0cdd909e -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:07 + go version 15:04:07 go version go1.18.3 linux/amd64 [Pipeline] } 15:04:07 $ docker stop --time=1 e562e5e5b5e1baf277fc365a1eb919ba8e535e74896e28a5854a69ec0cdd909e 15:04:08 $ docker rm -f e562e5e5b5e1baf277fc365a1eb919ba8e535e74896e28a5854a69ec0cdd909e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:09 + docker inspect -f . ci-base-image-x86_64 15:04:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:09 prd-ubuntu20.04-docker-8c-8g-22815 does not seem to be running inside a container 15:04:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/exfoundry_go-mod-registry_PR-108 -v /w/workspace/exfoundry_go-mod-registry_PR-108:/w/workspace/exfoundry_go-mod-registry_PR-108:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-108@tmp:/w/workspace/exfoundry_go-mod-registry_PR-108@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 ******** ci-base-image-x86_64 cat 15:04:09 $ docker top fd0dbddaa6d6137a9eeba9cbfba5c5a09c108320fedc550451d2e6d7733ce263 -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:10 + git config --global --add safe.directory /w/workspace/exfoundry_go-mod-registry_PR-108 [Pipeline] fileExists [Pipeline] sh 15:04:10 + make test 15:04:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:04:10 go: downloading github.com/stretchr/testify v1.8.0 15:04:10 go: downloading github.com/hashicorp/consul/api v1.14.0 15:04:10 go: downloading github.com/pmezard/go-difflib v1.0.0 15:04:10 go: downloading github.com/stretchr/objx v0.4.0 15:04:10 go: downloading github.com/davecgh/go-spew v1.1.1 15:04:10 go: downloading gopkg.in/yaml.v3 v3.0.1 15:04:10 go: downloading github.com/mitchellh/mapstructure v1.4.1 15:04:10 go: downloading github.com/hashicorp/go-hclog v0.14.1 15:04:10 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:04:10 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:04:10 go: downloading github.com/hashicorp/serf v0.9.7 15:04:10 go: downloading github.com/armon/go-metrics v0.3.10 15:04:10 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 15:04:10 go: downloading github.com/hashicorp/golang-lru v0.5.4 15:04:11 go: downloading github.com/mattn/go-isatty v0.0.12 15:04:11 go: downloading github.com/fatih/color v1.9.0 15:04:11 go: downloading golang.org/x/sys v0.0.0-20220412211240-33da011f77ad 15:04:11 go: downloading github.com/mattn/go-colorable v0.1.6 15:04:11 Still waiting to schedule task 15:04:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:04:19 ok github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.033s coverage: 89.4% of statements 15:04:19 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 15:04:19 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.004s coverage: 85.7% of statements 15:04:19 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 15:04:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:04:24 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:04:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:04:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 15:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:04:26 $ docker stop --time=1 fd0dbddaa6d6137a9eeba9cbfba5c5a09c108320fedc550451d2e6d7733ce263 15:04:28 $ docker rm -f fd0dbddaa6d6137a9eeba9cbfba5c5a09c108320fedc550451d2e6d7733ce263 [Pipeline] // withDockerContainer [Pipeline] sh 15:04:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:04:28 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 15:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:04:29 15:04:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:04:29 latest: Pulling from edgex-lftools-log-publisher 15:04:29 5eb5b503b376: Pulling fs layer 15:04:29 5c69ac0246d0: Pulling fs layer 15:04:29 ec43610c2a17: Pulling fs layer 15:04:29 3a2ae6a8a46f: Pulling fs layer 15:04:29 33b1e0a273af: Pulling fs layer 15:04:29 5d3b04190fa2: Pulling fs layer 15:04:29 2f39f015ded8: Pulling fs layer 15:04:29 3a2ae6a8a46f: Waiting 15:04:29 5d3b04190fa2: Waiting 15:04:29 2f39f015ded8: Waiting 15:04:29 33b1e0a273af: Waiting 15:04:29 5c69ac0246d0: Download complete 15:04:29 3a2ae6a8a46f: Verifying Checksum 15:04:29 3a2ae6a8a46f: Download complete 15:04:29 33b1e0a273af: Verifying Checksum 15:04:29 33b1e0a273af: Download complete 15:04:30 5d3b04190fa2: Download complete 15:04:30 ec43610c2a17: Verifying Checksum 15:04:30 5eb5b503b376: Verifying Checksum 15:04:30 5eb5b503b376: Download complete 15:04:30 2f39f015ded8: Verifying Checksum 15:04:30 2f39f015ded8: Download complete 15:04:31 5eb5b503b376: Pull complete 15:04:31 5c69ac0246d0: Pull complete 15:04:31 ec43610c2a17: Pull complete 15:04:31 3a2ae6a8a46f: Pull complete 15:04:32 33b1e0a273af: Pull complete 15:04:32 5d3b04190fa2: Pull complete 15:04:36 2f39f015ded8: Pull complete 15:04:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:04:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:04:36 prd-ubuntu20.04-docker-8c-8g-22815 does not seem to be running inside a container 15:04:36 $ 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-108 -v /w/workspace/exfoundry_go-mod-registry_PR-108:/w/workspace/exfoundry_go-mod-registry_PR-108:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-108@tmp:/w/workspace/exfoundry_go-mod-registry_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:04:37 $ docker top 6255c188d2a7f9752f011a4c5c7937353ece95776f02a5791631cf8af2c781a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:38 ---> job-cost.sh 15:04:38 lf-activate-venv: SKIPPING 15:04:38 INFO: No Stack... 15:04:38 INFO: Retrieving Pricing Info for: v3-standard-8 15:04:39 INFO: Archiving Costs [Pipeline] sh 15:04:39 + cat /w/workspace/exfoundry_go-mod-registry_PR-108/archives/cost.csv 15:04:39 + cut -d, -f6 [Pipeline] lock 15:04:39 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] 15:04:39 Resource [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] did not exist. Created. 15:04:39 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:04:40 + echo total: 0.2199999988079071 [Pipeline] stash 15:04:40 Stashed 1 file(s) [Pipeline] } 15:04:40 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:04:40 $ docker stop --time=1 6255c188d2a7f9752f011a4c5c7937353ece95776f02a5791631cf8af2c781a4 15:04:41 $ docker rm -f 6255c188d2a7f9752f011a4c5c7937353ece95776f02a5791631cf8af2c781a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:05:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22817 in /w/workspace/exfoundry_go-mod-registry_PR-108 [Pipeline] { [Pipeline] ws 15:05:46 Running in /w/workspace/go-mod-registry/1 [Pipeline] { [Pipeline] checkout 15:05:46 Selected Git installation does not exist. Using Default 15:05:46 The recommended git tool is: NONE 15:05:52 using credential edgex-jenkins-ssh 15:05:52 Cloning the remote Git repository 15:05:52 Cloning repository git@github.com:edgexfoundry/go-mod-registry.git 15:05:52 > git init /w/workspace/go-mod-registry/1 # timeout=10 15:05:52 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 15:05:52 > git --version # timeout=10 15:05:52 > git --version # 'git version 2.25.1' 15:05:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:54 Merging remotes/origin/main commit 2a9fac3bffe6f019bcd9f089b2d94c0b8a4d400c into PR head commit d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e 15:05:54 Merge succeeded, producing d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e 15:05:54 Checking out Revision d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e (PR-108) 15:05:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 15:05:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:05:53 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-registry.git # timeout=10 15:05:54 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-registry.git 15:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-registry.git +refs/pull/108/head:refs/remotes/origin/PR-108 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:05:54 > git config core.sparsecheckout # timeout=10 15:05:54 > git checkout -f d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e # timeout=10 15:05:54 > git remote # timeout=10 15:05:54 > git config --get remote.origin.url # timeout=10 15:05:54 using GIT_SSH to set credentials SSH Credentials for GitHub 15:05:54 > git merge 2a9fac3bffe6f019bcd9f089b2d94c0b8a4d400c # timeout=10 15:05:54 > git rev-parse HEAD^{commit} # timeout=10 15:05:54 > git config core.sparsecheckout # timeout=10 15:05:54 > git checkout -f d12ea3bb5bafbd0fc2ea832dcd6dcbc64fce815e # timeout=10 15:05:58 Commit message: "build(deps): Bump github.com/hashicorp/consul/api from 1.13.1 to 1.14.0" 15:05:58 > git --version # timeout=10 15:05:58 > git --version # 'git version 2.25.1' 15:05:58 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:06:00 % Total % Received % Xferd Average Speed Time Time Time Current 15:06:00 Dload Upload Total Spent Left Speed 15:06:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 85048 0 --:--:-- --:--:-- --:--:-- 85048 [Pipeline] sh 15:06:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:06:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:06:01 + sudo tee /etc/docker/daemon.new 15:06:01 { 15:06:01 "registry-mirrors": [ 15:06:01 "https://nexus3.edgexfoundry.org:10001" 15:06:01 ], 15:06:01 "bip": "10.250.0.254/24", 15:06:01 "hosts": [ 15:06:01 "tcp://0.0.0.0:5555", 15:06:01 "unix:///var/run/docker.sock" 15:06:01 ], 15:06:01 "mtu": 1458, 15:06:01 "selinux-enabled": true, 15:06:01 "seccomp-profile": "/etc/docker/seccomp.json" 15:06:01 } [Pipeline] sh 15:06:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:06:02 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 15:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:20 ========================================================= 15:06:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:06:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 15:06:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:06:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:06:21 b3c136eddcbf: Pulling fs layer 15:06:21 c0a3192eca97: Pulling fs layer 15:06:21 a050256f5b6f: Pulling fs layer 15:06:21 656be50a0ddc: Pulling fs layer 15:06:21 2bbca73fdf42: Pulling fs layer 15:06:21 46d945488cbd: Pulling fs layer 15:06:21 8a5474983e97: Pulling fs layer 15:06:21 329c88fbcd65: Pulling fs layer 15:06:21 656be50a0ddc: Waiting 15:06:21 2bbca73fdf42: Waiting 15:06:21 46d945488cbd: Waiting 15:06:21 8a5474983e97: Waiting 15:06:21 329c88fbcd65: Waiting 15:06:21 a050256f5b6f: Verifying Checksum 15:06:21 a050256f5b6f: Download complete 15:06:21 c0a3192eca97: Download complete 15:06:21 2bbca73fdf42: Verifying Checksum 15:06:21 2bbca73fdf42: Download complete 15:06:21 46d945488cbd: Verifying Checksum 15:06:21 46d945488cbd: Download complete 15:06:21 b3c136eddcbf: Verifying Checksum 15:06:21 b3c136eddcbf: Download complete 15:06:22 b3c136eddcbf: Pull complete 15:06:22 329c88fbcd65: Verifying Checksum 15:06:22 329c88fbcd65: Download complete 15:06:23 c0a3192eca97: Pull complete 15:06:23 a050256f5b6f: Pull complete 15:06:23 8a5474983e97: Verifying Checksum 15:06:23 8a5474983e97: Download complete 15:06:24 656be50a0ddc: Verifying Checksum 15:06:24 656be50a0ddc: Download complete 15:06:37 656be50a0ddc: Pull complete 15:06:37 2bbca73fdf42: Pull complete 15:06:37 46d945488cbd: Pull complete 15:06:44 8a5474983e97: Pull complete 15:06:46 329c88fbcd65: Pull complete 15:06:46 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 15:06:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:06:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 15:06:46 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:47 + docker inspect -f . ci-base-image-arm64 15:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:47 prd-ubuntu20.04-docker-arm64-4c-16g-22817 does not seem to be running inside a container 15:06:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:06:49 $ docker top e18949bec430172ed83b3f457d7fe76f5154ecf3829666e19051968a321b990e -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:50 + go version 15:06:50 go version go1.18.3 linux/arm64 [Pipeline] } 15:06:50 $ docker stop --time=1 e18949bec430172ed83b3f457d7fe76f5154ecf3829666e19051968a321b990e 15:06:52 $ docker rm -f e18949bec430172ed83b3f457d7fe76f5154ecf3829666e19051968a321b990e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:53 + docker inspect -f . ci-base-image-arm64 15:06:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:53 prd-ubuntu20.04-docker-arm64-4c-16g-22817 does not seem to be running inside a container 15:06:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:06:54 $ docker top c087114d64e80741ecac925185b71ebc82ffcac4024b5bf84293f4ad7fb8d803 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:55 + git config --global --add safe.directory /w/workspace/go-mod-registry/1 [Pipeline] fileExists [Pipeline] sh 15:06:56 + make test 15:06:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:06:56 go: downloading github.com/stretchr/testify v1.8.0 15:06:56 go: downloading github.com/hashicorp/consul/api v1.14.0 15:06:56 go: downloading github.com/davecgh/go-spew v1.1.1 15:06:56 go: downloading github.com/pmezard/go-difflib v1.0.0 15:06:56 go: downloading github.com/stretchr/objx v0.4.0 15:06:56 go: downloading gopkg.in/yaml.v3 v3.0.1 15:06:56 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:06:56 go: downloading github.com/hashicorp/go-hclog v0.14.1 15:06:56 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 15:06:56 go: downloading github.com/hashicorp/serf v0.9.7 15:06:56 go: downloading github.com/mitchellh/mapstructure v1.4.1 15:06:57 go: downloading github.com/fatih/color v1.9.0 15:06:57 go: downloading github.com/mattn/go-isatty v0.0.12 15:06:57 go: downloading github.com/mattn/go-colorable v0.1.6 15:06:57 go: downloading golang.org/x/sys v0.0.0-20220412211240-33da011f77ad 15:06:57 go: downloading github.com/armon/go-metrics v0.3.10 15:06:57 go: downloading github.com/hashicorp/go-immutable-radix v1.3.0 15:06:57 go: downloading github.com/hashicorp/golang-lru v0.5.4 15:07:29 consulUnitTest412228710 15:07:29 {ID:consulUnitTest412228710 Name:Health Check: consulUnitTest412228710 Notes:Check the health of the API ServiceID:consulUnitTest412228710 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:35109/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest412228710 15:07:29 consulUnitTest422914474 15:07:29 {ID:check-id Name:check-name Notes: ServiceID:consulUnitTest422914474 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:5s Timeout: TTL: HTTP:http://localhost:43357/test/route Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest422914474 15:07:29 consulUnitTest428806436 15:07:29 {ID:consulUnitTest428806436 Name:Health Check: consulUnitTest428806436 Notes:Check the health of the API ServiceID:consulUnitTest428806436 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest435052771 15:07:29 check-id 15:07:29 {ID:check-id Name: Notes: ServiceID:consulUnitTest435052771 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:15s Timeout: TTL: HTTP:http://localhost:8000 Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 check-id 15:07:29 --- FAIL: TestUnregisterCheck (0.00s) 15:07:29 client_test.go:220: 15:07:29 Error Trace: /w/workspace/go-mod-registry/1/internal/pkg/consul/client_test.go:220 15:07:29 Error: Received unexpected error: 15:07:29 unable to de-register service health check with consul: Unexpected response code: 400 () 15:07:29 Test: TestUnregisterCheck 15:07:29 Messages: Error un-registering check 15:07:29 {ID:consulUnitTest439819271 Name:Health Check: consulUnitTest439819271 Notes:Check the health of the API ServiceID:consulUnitTest439819271 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 {ID:consulUnitTest439819271 Name:Health Check: consulUnitTest439819271 Notes:Check the health of the API ServiceID:consulUnitTest439819271 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 RenewAccessToken called 15:07:29 RenewAccessToken called 15:07:29 RenewAccessToken called 15:07:29 RenewAccessToken called 15:07:29 {ID:RenewAccessToken-Test Name:Health Check: RenewAccessToken-Test Notes:Check the health of the API ServiceID:RenewAccessToken-Test AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 RenewAccessToken called 15:07:29 {ID:RenewAccessToken-Test Name:check-me Notes:my notes ServiceID:RenewAccessToken-Test AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:120s Timeout: TTL: HTTP:http://localhost:8000/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 RenewAccessToken called 15:07:29 RenewAccessToken called 15:07:29 RenewAccessToken-Test 15:07:29 consulUnitTest461590114 15:07:29 {ID:consulUnitTest461590114 Name:Health Check: consulUnitTest461590114 Notes:Check the health of the API ServiceID:consulUnitTest461590114 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest461590114 15:07:29 consulUnitTest469290953 15:07:29 consulUnitTest472251396 15:07:29 {ID:consulUnitTest472251396 Name:Health Check: consulUnitTest472251396 Notes:Check the health of the API ServiceID:consulUnitTest472251396 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:8000/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest472251396 15:07:29 consulUnitTest483170345 15:07:29 {ID:consulUnitTest483170345 Name:Health Check: consulUnitTest483170345 Notes:Check the health of the API ServiceID:consulUnitTest483170345 AgentServiceCheck:{CheckID: Name: Args:[] DockerContainerID: Shell: Interval:1s Timeout: TTL: HTTP:http://localhost:34523/api/v1/ping Header:map[] Method: Body: TCP: UDP: Status: Notes: TLSServerName: TLSSkipVerify:false GRPC: GRPCUseTLS:false H2PING: H2PingUseTLS:false AliasNode: AliasService: SuccessBeforePassing:0 FailuresBeforeWarning:0 FailuresBeforeCritical:0 DeregisterCriticalServiceAfter:} Namespace: Partition:} 15:07:29 consulUnitTest483170345 15:07:29 FAIL 15:07:29 coverage: 89.0% of statements 15:07:29 FAIL github.com/edgexfoundry/go-mod-registry/v2/internal/pkg/consul 2.106s 15:07:29 ? github.com/edgexfoundry/go-mod-registry/v2/pkg/types [no test files] 15:07:29 ok github.com/edgexfoundry/go-mod-registry/v2/registry 0.026s coverage: 85.7% of statements 15:07:29 ? github.com/edgexfoundry/go-mod-registry/v2/registry/mocks [no test files] 15:07:29 FAIL 15:07:29 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 15:07:29 $ docker stop --time=1 c087114d64e80741ecac925185b71ebc82ffcac4024b5bf84293f4ad7fb8d803 15:07:31 $ docker rm -f c087114d64e80741ecac925185b71ebc82ffcac4024b5bf84293f4ad7fb8d803 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:33 15:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:33 arm64: Pulling from edgex-lftools-log-publisher 15:07:33 8998bd30e6a1: Pulling fs layer 15:07:33 04944245beec: Pulling fs layer 15:07:33 699f458cf7ca: Pulling fs layer 15:07:33 765212b225bb: Pulling fs layer 15:07:33 f23df028b6ca: Pulling fs layer 15:07:33 d65c8cfc05b1: Pulling fs layer 15:07:33 2437ff75d9bd: Pulling fs layer 15:07:33 f23df028b6ca: Waiting 15:07:33 d65c8cfc05b1: Waiting 15:07:33 2437ff75d9bd: Waiting 15:07:33 765212b225bb: Waiting 15:07:33 04944245beec: Verifying Checksum 15:07:33 04944245beec: Download complete 15:07:33 765212b225bb: Verifying Checksum 15:07:33 765212b225bb: Download complete 15:07:33 f23df028b6ca: Verifying Checksum 15:07:33 f23df028b6ca: Download complete 15:07:33 d65c8cfc05b1: Verifying Checksum 15:07:33 d65c8cfc05b1: Download complete 15:07:33 699f458cf7ca: Verifying Checksum 15:07:33 699f458cf7ca: Download complete 15:07:34 8998bd30e6a1: Verifying Checksum 15:07:34 8998bd30e6a1: Download complete 15:07:36 2437ff75d9bd: Verifying Checksum 15:07:36 2437ff75d9bd: Download complete 15:07:39 8998bd30e6a1: Pull complete 15:07:39 04944245beec: Pull complete 15:07:40 699f458cf7ca: Pull complete 15:07:40 765212b225bb: Pull complete 15:07:41 f23df028b6ca: Pull complete 15:07:42 d65c8cfc05b1: Pull complete 15:07:57 2437ff75d9bd: Pull complete 15:07:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:57 prd-ubuntu20.04-docker-arm64-4c-16g-22817 does not seem to be running inside a container 15:07:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-registry/1 -v /w/workspace/go-mod-registry/1:/w/workspace/go-mod-registry/1:rw,z -v /w/workspace/go-mod-registry/1@tmp:/w/workspace/go-mod-registry/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:08:00 $ docker top 16d3f4d27fb298c930c12f4ff259c682a38cfa8863b344086a8a61a1603b214d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:01 ---> job-cost.sh 15:08:01 lf-activate-venv: SKIPPING 15:08:01 INFO: No Stack... 15:08:01 INFO: Retrieving Pricing Info for: v3-standard-4 15:08:02 INFO: Archiving Costs [Pipeline] sh 15:08:02 + cat /w/workspace/go-mod-registry/1/archives/cost.csv 15:08:02 + cut -d, -f6 [Pipeline] lock 15:08:03 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] 15:08:03 Resource [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] did not exist. Created. 15:08:03 Lock acquired on [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:08:03 /w/workspace/go-mod-registry/1@tmp/durable-a3c56a19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:08:04 + echo total: 0.10999999940395355 [Pipeline] stash 15:08:04 Warning: overwriting stash ‘stack-cost’ 15:08:04 Stashed 1 file(s) [Pipeline] } 15:08:04 Lock released on resource [jenkins-edgexfoundry-go-mod-registry-PR-108-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:08:05 $ docker stop --time=1 16d3f4d27fb298c930c12f4ff259c682a38cfa8863b344086a8a61a1603b214d 15:08:06 $ docker rm -f 16d3f4d27fb298c930c12f4ff259c682a38cfa8863b344086a8a61a1603b214d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:08:07 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:08:09 + [ -d /w/workspace/exfoundry_go-mod-registry_PR-108/archives ] 15:08:09 + ls -al /w/workspace/exfoundry_go-mod-registry_PR-108/archives 15:08:09 total 16 15:08:09 drwxr-xr-x 3 root root 4096 Aug 15 15:04 . 15:08:09 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 15:04 .. 15:08:09 drwxr-xr-x 2 root root 4096 Aug 15 15:04 cost 15:08:09 -rw-r--r-- 1 root root 87 Aug 15 15:04 cost.csv 15:08:09 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_go-mod-registry_PR-108/archives 15:08:09 + ls -al /w/workspace/exfoundry_go-mod-registry_PR-108/archives 15:08:09 total 16 15:08:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 15:04 . 15:08:09 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 15:04 .. 15:08:09 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 15:04 cost 15:08:09 -rw-r--r-- 1 jenkins jenkins 87 Aug 15 15:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:08:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:08:10 ---> package-listing.sh 15:08:10 ++ facter osfamily 15:08:10 ++ tr '[:upper:]' '[:lower:]' 15:08:10 + OS_FAMILY=debian 15:08:10 + workspace=/w/workspace/exfoundry_go-mod-registry_PR-108 15:08:10 + START_PACKAGES=/tmp/packages_start.txt 15:08:10 + END_PACKAGES=/tmp/packages_end.txt 15:08:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:08:10 + PACKAGES=/tmp/packages_start.txt 15:08:10 + '[' /w/workspace/exfoundry_go-mod-registry_PR-108 ']' 15:08:10 + PACKAGES=/tmp/packages_end.txt 15:08:10 + case "${OS_FAMILY}" in 15:08:10 + dpkg -l 15:08:10 + grep '^ii' 15:08:10 + '[' -f /tmp/packages_start.txt ']' 15:08:10 + '[' -f /tmp/packages_end.txt ']' 15:08:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:08:10 + '[' /w/workspace/exfoundry_go-mod-registry_PR-108 ']' 15:08:10 + mkdir -p /w/workspace/exfoundry_go-mod-registry_PR-108/archives/ 15:08:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_go-mod-registry_PR-108/archives/ [Pipeline] echo 15:08:10 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-108/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:08:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:11 prd-ubuntu20.04-docker-8c-8g-22815 does not seem to be running inside a container 15:08:11 $ 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-108/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-108 -v /w/workspace/exfoundry_go-mod-registry_PR-108:/w/workspace/exfoundry_go-mod-registry_PR-108:rw,z -v /w/workspace/exfoundry_go-mod-registry_PR-108@tmp:/w/workspace/exfoundry_go-mod-registry_PR-108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:08:12 $ docker top 19eecb0c674bc6c05bef22e39a9b70dba90d957338ef6939e00a9cfcb0c742e6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:12 + touch /tmp/pre-build-complete [Pipeline] sh 15:08:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:08:13 + ls /var/log/sa-host 15:08:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:13 provisioning config files... 15:08:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_go-mod-registry_PR-108@tmp/config2806786827422721951tmp [Pipeline] { [Pipeline] echo 15:08:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:08:13 ---> create-netrc.sh [Pipeline] } 15:08:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:08:14 ---> python-tools-install.sh [Pipeline] echo 15:08:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:08:14 ---> sudo-logs.sh 15:08:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:08:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:08:14 ---> job-cost.sh 15:08:14 lf-activate-venv: SKIPPING 15:08:14 DEBUG: total: 0.2199999988079071 15:08:14 INFO: Retrieving Stack Cost... 15:08:15 INFO: Retrieving Pricing Info for: v3-standard-8 15:08:15 INFO: Archiving Costs [Pipeline] echo 15:08:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:08:16 ---> logs-deploy.sh 15:08:16 lf-activate-venv: SKIPPING 15:08:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-registry/PR-108/1 15:08:16 INFO: archiving workspace using pattern(s): 15:08:16 Archives upload complete. 15:08:16 INFO: archiving logs to Nexus