Pull request #861 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c147f006010a1769531a1c693b2da633d98c0349+a3b42e94f94e881b46b1ffd7dc1266b644a738ca (e8d496d4b6fc2286002fb4cb2b042cb581dbb267) 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-ssh12241770469392687971.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8722294421561320838.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-core-contracts/branches/PR-861/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-core-contracts/branches/PR-861/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14150606530636750767.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-core-contracts/branches/PR-861/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8270113876100671661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17938440591887309430.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-861/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-core-contracts/branches/PR-861/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh327937479236903231.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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-core-contracts, 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-core-contracts-settings PROJECT: go-mod-core-contracts 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-core-contracts 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-6418 in /w/workspace/dry_go-mod-core-contracts_PR-861 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-861 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a3b42e94f94e881b46b1ffd7dc1266b644a738ca into PR head commit c147f006010a1769531a1c693b2da633d98c0349 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.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-core-contracts.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c147f006010a1769531a1c693b2da633d98c0349 # timeout=10 Merge succeeded, producing c147f006010a1769531a1c693b2da633d98c0349 Checking out Revision c147f006010a1769531a1c693b2da633d98c0349 (PR-861) Commit message: "build(deps): bump github.com/go-playground/validator/v10" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-18T21:44:31.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-18T21:44:31.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-18T21:44:31.359Z] ========================================================= [2023-09-18T21:44:31.359Z] EdgeX Global Pipelines Version Info [2023-09-18T21:44:31.359Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a3b42e94f94e881b46b1ffd7dc1266b644a738ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c147f006010a1769531a1c693b2da633d98c0349 # timeout=10 [2023-09-18T21:44:32.125Z] ------------------- [2023-09-18T21:44:32.126Z] stable info: [2023-09-18T21:44:32.126Z] ------------------- [2023-09-18T21:44:32.126Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-18T21:44:32.126Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-18T21:44:32.126Z] Message: update stable to v1.0.254 [2023-09-18T21:44:32.693Z] ------------------- [2023-09-18T21:44:32.693Z] experimental info: [2023-09-18T21:44:32.693Z] ------------------- [2023-09-18T21:44:32.694Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-18T21:44:32.694Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-18T21:44:32.694Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-18T21:44:33.010Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2023-09-18T21:44:33.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2023-09-18T21:44:33.094Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-18T21:44:33.138Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-18T21:44:33.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-18T21:44:33.223Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-18T21:44:33.265Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-18T21:44:33.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-18T21:44:33.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-18T21:44:33.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-18T21:44:33.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-18T21:44:33.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2023-09-18T21:44:33.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-18T21:44:33.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-18T21:44:33.608Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T21:44:33.651Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T21:44:33.689Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T21:44:33.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T21:44:33.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-18T21:44:33.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-18T21:44:33.862Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-18T21:44:33.906Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-18T21:44:33.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-18T21:44:34.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-18T21:44:34.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-09-18T21:44:34.092Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-18T21:44:34.136Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-18T21:44:34.179Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-861 [Pipeline] echo [2023-09-18T21:44:34.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-861 [Pipeline] echo [2023-09-18T21:44:34.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-861 [Pipeline] echo [2023-09-18T21:44:34.304Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c147f006010a1769531a1c693b2da633d98c0349 [Pipeline] echo [2023-09-18T21:44:34.349Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c147f00 [Pipeline] echo [2023-09-18T21:44:34.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-18T21:44:34.943Z] + git rev-list -1 --merges c147f006010a1769531a1c693b2da633d98c0349~1..c147f006010a1769531a1c693b2da633d98c0349 [Pipeline] echo [2023-09-18T21:44:35.002Z] -----------> git rev-list -1 --merges c147f006010a1769531a1c693b2da633d98c0349~1..c147f006010a1769531a1c693b2da633d98c0349 c147f006010a1769531a1c693b2da633d98c0349 [false] [Pipeline] sh [2023-09-18T21:44:35.309Z] + git log --format=format:%s -1 c147f006010a1769531a1c693b2da633d98c0349 [Pipeline] echo [2023-09-18T21:44:35.344Z] ========================================================= [2023-09-18T21:44:35.344Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-18T21:44:35.344Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-18T21:44:35.775Z] + git log --format=format:%s -1 c147f006010a1769531a1c693b2da633d98c0349 [Pipeline] echo [2023-09-18T21:44:35.810Z] [semverPrep] GIT_COMMIT: c147f006010a1769531a1c693b2da633d98c0349, Commit Message: build(deps): bump github.com/go-playground/validator/v10 [Pipeline] echo [2023-09-18T21:44:35.841Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-18T21:44:36.248Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-18T21:44:36.249Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-18T21:44:36.249Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-18T21:44:36.249Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-18T21:44:36.249Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-18T21:44:36.249Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-18T21:44:36.249Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:44:36.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:44:37.307Z] [2023-09-18T21:44:37.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:44:37.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:44:37.684Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-18T21:44:37.684Z] b85a868b505f: Pulling fs layer [2023-09-18T21:44:37.684Z] e2be974225ed: Pulling fs layer [2023-09-18T21:44:37.684Z] 339a4e72a1f5: Pulling fs layer [2023-09-18T21:44:37.684Z] 988bab9f4d93: Pulling fs layer [2023-09-18T21:44:37.684Z] 1469e6f7b9e6: Pulling fs layer [2023-09-18T21:44:37.684Z] eaf3925da568: Pulling fs layer [2023-09-18T21:44:37.684Z] bab4dde63d76: Pulling fs layer [2023-09-18T21:44:37.684Z] bde34c3a00c8: Pulling fs layer [2023-09-18T21:44:37.684Z] b352a97aabf1: Pulling fs layer [2023-09-18T21:44:37.684Z] 4872d77fe225: Pulling fs layer [2023-09-18T21:44:37.684Z] 5851b861e8e6: Pulling fs layer [2023-09-18T21:44:37.684Z] bab4dde63d76: Waiting [2023-09-18T21:44:37.684Z] bde34c3a00c8: Waiting [2023-09-18T21:44:37.684Z] b352a97aabf1: Waiting [2023-09-18T21:44:37.684Z] 4872d77fe225: Waiting [2023-09-18T21:44:37.684Z] 988bab9f4d93: Waiting [2023-09-18T21:44:37.684Z] 1469e6f7b9e6: Waiting [2023-09-18T21:44:37.684Z] 5851b861e8e6: Waiting [2023-09-18T21:44:37.684Z] eaf3925da568: Waiting [2023-09-18T21:44:37.684Z] e2be974225ed: Download complete [2023-09-18T21:44:37.684Z] 988bab9f4d93: Download complete [2023-09-18T21:44:37.684Z] 1469e6f7b9e6: Verifying Checksum [2023-09-18T21:44:37.684Z] 1469e6f7b9e6: Download complete [2023-09-18T21:44:37.943Z] eaf3925da568: Verifying Checksum [2023-09-18T21:44:37.943Z] eaf3925da568: Download complete [2023-09-18T21:44:37.943Z] 339a4e72a1f5: Verifying Checksum [2023-09-18T21:44:37.943Z] 339a4e72a1f5: Download complete [2023-09-18T21:44:37.943Z] bde34c3a00c8: Verifying Checksum [2023-09-18T21:44:37.943Z] bde34c3a00c8: Download complete [2023-09-18T21:44:37.943Z] b352a97aabf1: Verifying Checksum [2023-09-18T21:44:37.943Z] b352a97aabf1: Download complete [2023-09-18T21:44:37.943Z] 4872d77fe225: Verifying Checksum [2023-09-18T21:44:37.943Z] 4872d77fe225: Download complete [2023-09-18T21:44:37.943Z] 5851b861e8e6: Verifying Checksum [2023-09-18T21:44:37.943Z] 5851b861e8e6: Download complete [2023-09-18T21:44:37.943Z] b85a868b505f: Verifying Checksum [2023-09-18T21:44:37.943Z] b85a868b505f: Download complete [2023-09-18T21:44:38.200Z] bab4dde63d76: Verifying Checksum [2023-09-18T21:44:38.200Z] bab4dde63d76: Download complete [2023-09-18T21:44:39.136Z] b85a868b505f: Pull complete [2023-09-18T21:44:39.393Z] e2be974225ed: Pull complete [2023-09-18T21:44:39.983Z] 339a4e72a1f5: Pull complete [2023-09-18T21:44:39.983Z] 988bab9f4d93: Pull complete [2023-09-18T21:44:40.242Z] 1469e6f7b9e6: Pull complete [2023-09-18T21:44:40.242Z] eaf3925da568: Pull complete [2023-09-18T21:44:42.146Z] bab4dde63d76: Pull complete [2023-09-18T21:44:42.146Z] bde34c3a00c8: Pull complete [2023-09-18T21:44:42.146Z] b352a97aabf1: Pull complete [2023-09-18T21:44:42.146Z] 4872d77fe225: Pull complete [2023-09-18T21:44:42.407Z] 5851b861e8e6: Pull complete [2023-09-18T21:44:42.407Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-18T21:44:42.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:44:42.407Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:44:42.639Z] prd-ubuntu20.04-docker-8c-8g-6418 does not seem to be running inside a container [2023-09-18T21:44:42.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-861 -v /w/workspace/dry_go-mod-core-contracts_PR-861:/w/workspace/dry_go-mod-core-contracts_PR-861:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-861@tmp:/w/workspace/dry_go-mod-core-contracts_PR-861@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 [2023-09-18T21:44:45.824Z] $ docker top 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f -eo pid,comm [2023-09-18T21:44:45.929Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-18T21:44:45.929Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-18T21:44:46.067Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T21:44:46.067Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T21:44:46.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T21:44:46.199Z] $ docker exec 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f ssh-agent [2023-09-18T21:44:46.310Z] SSH_AUTH_SOCK=/tmp/ssh-SWjBghSMWDwj/agent.33 [2023-09-18T21:44:46.310Z] SSH_AGENT_PID=39 [2023-09-18T21:44:46.316Z] Running ssh-add (command line suppressed) [2023-09-18T21:44:46.415Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-861@tmp/private_key_9951950393915016237.key (/w/workspace/dry_go-mod-core-contracts_PR-861@tmp/private_key_9951950393915016237.key) [2023-09-18T21:44:46.432Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T21:44:46.774Z] + git tag --points-at HEAD [Pipeline] } [2023-09-18T21:44:46.798Z] $ docker exec --env ******** --env ******** 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f ssh-agent -k [2023-09-18T21:44:46.887Z] unset SSH_AUTH_SOCK; [2023-09-18T21:44:46.887Z] unset SSH_AGENT_PID; [2023-09-18T21:44:46.887Z] echo Agent pid 39 killed; [2023-09-18T21:44:46.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-18T21:44:46.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T21:44:46.983Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T21:44:47.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T21:44:47.084Z] $ docker exec 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f ssh-agent [2023-09-18T21:44:47.190Z] SSH_AUTH_SOCK=/tmp/ssh-dWfjhEgoPsS1/agent.71 [2023-09-18T21:44:47.190Z] SSH_AGENT_PID=77 [2023-09-18T21:44:47.195Z] Running ssh-add (command line suppressed) [2023-09-18T21:44:47.286Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-861@tmp/private_key_12649864965634551656.key (/w/workspace/dry_go-mod-core-contracts_PR-861@tmp/private_key_12649864965634551656.key) [2023-09-18T21:44:47.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T21:44:47.628Z] + git semver init [2023-09-18T21:44:47.887Z] 2023-09-18 21:44:47,805 [run_init] DEBUG init version:0.0.0 force:False [2023-09-18T21:44:47.887Z] 2023-09-18 21:44:47,806 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-861/.semver [2023-09-18T21:44:47.887Z] 2023-09-18 21:44:47,807 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-861/.semver [2023-09-18T21:44:47.887Z] 2023-09-18 21:44:47,807 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-861/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-861, universal_newlines=False, shell=None, istream=None) [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,551 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-861/.git/info/exclude [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-861/.semver/PR-861 with force:False [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,552 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-861/.semver/PR-861 [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,555 [execute] INFO git cat-file --batch-check [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-861/.semver, universal_newlines=False, shell=None, istream=) [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,561 [execute] INFO git cat-file --batch [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-861/.semver, universal_newlines=False, shell=None, istream=) [2023-09-18T21:44:48.824Z] 2023-09-18 21:44:48,565 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-861/.semver/PR-861 [2023-09-18T21:44:48.824Z] 0.0.0 [Pipeline] } [2023-09-18T21:44:48.849Z] $ docker exec --env ******** --env ******** 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f ssh-agent -k [2023-09-18T21:44:48.943Z] unset SSH_AUTH_SOCK; [2023-09-18T21:44:48.944Z] unset SSH_AGENT_PID; [2023-09-18T21:44:48.944Z] echo Agent pid 77 killed; [2023-09-18T21:44:48.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-18T21:44:49.376Z] + git semver [Pipeline] } [2023-09-18T21:44:49.657Z] $ docker stop --time=1 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f [2023-09-18T21:44:51.065Z] $ docker rm -f --volumes 9b62247f7b26d46ad349bf8e4c29b16f5c9bf2a167fef3ca5ffc5db7ce63440f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-18T21:44:51.514Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-18T21:44:51.878Z] Stashed 1 file(s) [Pipeline] echo [2023-09-18T21:44:51.896Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2023-09-18T21:44:52.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:44:52.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:44:52.626Z] ========================================================= [2023-09-18T21:44:52.626Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-18T21:44:52.626Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-18T21:44:53.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-18T21:44:53.026Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-18T21:44:53.026Z] 7264a8db6415: Pulling fs layer [2023-09-18T21:44:53.026Z] c4d48a809fc2: Pulling fs layer [2023-09-18T21:44:53.026Z] 4f1c88b9dad5: Pulling fs layer [2023-09-18T21:44:53.026Z] ad3a456e5733: Pulling fs layer [2023-09-18T21:44:53.026Z] 9e4f439ed901: Pulling fs layer [2023-09-18T21:44:53.026Z] feaf6a47b606: Pulling fs layer [2023-09-18T21:44:53.026Z] 5e8b037d7d82: Pulling fs layer [2023-09-18T21:44:53.026Z] 9e4f439ed901: Waiting [2023-09-18T21:44:53.026Z] feaf6a47b606: Waiting [2023-09-18T21:44:53.026Z] 8ac70367396e: Pulling fs layer [2023-09-18T21:44:53.026Z] 6db16350a2e2: Pulling fs layer [2023-09-18T21:44:53.026Z] 9250d5d63582: Pulling fs layer [2023-09-18T21:44:53.026Z] 5e8b037d7d82: Waiting [2023-09-18T21:44:53.026Z] 8ac70367396e: Waiting [2023-09-18T21:44:53.026Z] 6db16350a2e2: Waiting [2023-09-18T21:44:53.026Z] 9250d5d63582: Waiting [2023-09-18T21:44:53.026Z] c4d48a809fc2: Verifying Checksum [2023-09-18T21:44:53.026Z] c4d48a809fc2: Download complete [2023-09-18T21:44:53.026Z] ad3a456e5733: Verifying Checksum [2023-09-18T21:44:53.026Z] ad3a456e5733: Download complete [2023-09-18T21:44:53.026Z] 9e4f439ed901: Verifying Checksum [2023-09-18T21:44:53.026Z] 9e4f439ed901: Download complete [2023-09-18T21:44:53.026Z] 7264a8db6415: Verifying Checksum [2023-09-18T21:44:53.026Z] 7264a8db6415: Download complete [2023-09-18T21:44:53.026Z] feaf6a47b606: Verifying Checksum [2023-09-18T21:44:53.026Z] feaf6a47b606: Download complete [2023-09-18T21:44:53.285Z] 7264a8db6415: Pull complete [2023-09-18T21:44:53.285Z] 8ac70367396e: Verifying Checksum [2023-09-18T21:44:53.285Z] 8ac70367396e: Download complete [2023-09-18T21:44:53.285Z] c4d48a809fc2: Pull complete [2023-09-18T21:44:53.545Z] 4f1c88b9dad5: Verifying Checksum [2023-09-18T21:44:53.545Z] 4f1c88b9dad5: Download complete [2023-09-18T21:44:53.804Z] 6db16350a2e2: Verifying Checksum [2023-09-18T21:44:53.804Z] 6db16350a2e2: Download complete [2023-09-18T21:44:53.804Z] 5e8b037d7d82: Verifying Checksum [2023-09-18T21:44:53.804Z] 5e8b037d7d82: Download complete [2023-09-18T21:44:54.062Z] 9250d5d63582: Verifying Checksum [2023-09-18T21:44:54.062Z] 9250d5d63582: Download complete [2023-09-18T21:44:56.590Z] 4f1c88b9dad5: Pull complete [2023-09-18T21:44:56.590Z] ad3a456e5733: Pull complete [2023-09-18T21:44:56.590Z] 9e4f439ed901: Pull complete [2023-09-18T21:44:56.590Z] feaf6a47b606: Pull complete [2023-09-18T21:44:59.121Z] 5e8b037d7d82: Pull complete [2023-09-18T21:44:59.121Z] 8ac70367396e: Pull complete [2023-09-18T21:44:59.686Z] 6db16350a2e2: Pull complete [2023-09-18T21:45:00.252Z] 9250d5d63582: Pull complete [2023-09-18T21:45:00.252Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-18T21:45:00.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-18T21:45:00.252Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh [2023-09-18T21:45:00.575Z] + 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 [2023-09-18T21:45:00.953Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-18T21:45:00.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:45:01.117Z] prd-ubuntu20.04-docker-8c-8g-6418 does not seem to be running inside a container [2023-09-18T21:45:01.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-861 -v /w/workspace/dry_go-mod-core-contracts_PR-861:/w/workspace/dry_go-mod-core-contracts_PR-861:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-861@tmp:/w/workspace/dry_go-mod-core-contracts_PR-861@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 [2023-09-18T21:45:06.419Z] $ docker top a72172fd1821d14f01306067436458bdda509506d332762e03cb3b7d76271f86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:45:06.820Z] + go version [2023-09-18T21:45:06.820Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-18T21:45:06.852Z] $ docker stop --time=1 a72172fd1821d14f01306067436458bdda509506d332762e03cb3b7d76271f86 [2023-09-18T21:45:07.386Z] Still waiting to schedule task [2023-09-18T21:45:07.386Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-18T21:45:08.113Z] $ docker rm -f --volumes a72172fd1821d14f01306067436458bdda509506d332762e03cb3b7d76271f86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:45:08.819Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-18T21:45:08.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:45:08.978Z] prd-ubuntu20.04-docker-8c-8g-6418 does not seem to be running inside a container [2023-09-18T21:45:09.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_go-mod-core-contracts_PR-861 -v /w/workspace/dry_go-mod-core-contracts_PR-861:/w/workspace/dry_go-mod-core-contracts_PR-861:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-861@tmp:/w/workspace/dry_go-mod-core-contracts_PR-861@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 [2023-09-18T21:45:09.348Z] $ docker top cafb5d1a97763ad6168b22032a42d1b2f29ce2f2ed362963bac1a42593151d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:45:09.747Z] + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-861 [Pipeline] fileExists [Pipeline] sh [2023-09-18T21:45:10.120Z] + make test [2023-09-18T21:45:10.120Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-09-18T21:45:10.120Z] go: downloading github.com/go-playground/validator/v10 v10.15.4 [2023-09-18T21:45:10.120Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-18T21:45:10.120Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-18T21:45:10.120Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-18T21:45:10.120Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-18T21:45:10.120Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-18T21:45:10.379Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-18T21:45:10.379Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-18T21:45:10.379Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-09-18T21:45:10.379Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-09-18T21:45:10.379Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-18T21:45:10.379Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-18T21:45:10.379Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-18T21:45:10.379Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-18T21:45:10.379Z] go: downloading golang.org/x/crypto v0.7.0 [2023-09-18T21:45:10.379Z] go: downloading golang.org/x/text v0.8.0 [2023-09-18T21:45:10.379Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-18T21:45:11.752Z] go: downloading golang.org/x/net v0.8.0 [2023-09-18T21:45:15.034Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-09-18T21:45:20.328Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-09-18T21:45:20.328Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-09-18T21:45:20.328Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-09-18T21:45:20.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.079s coverage: 83.5% of statements [2023-09-18T21:45:20.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.012s coverage: 32.4% of statements [2023-09-18T21:45:20.328Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.015s coverage: 29.4% of statements [2023-09-18T21:45:20.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.013s coverage: 29.3% of statements [2023-09-18T21:45:20.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.027s coverage: 53.8% of statements [2023-09-18T21:45:20.329Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.007s coverage: 90.0% of statements [2023-09-18T21:45:20.595Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2023-09-18T21:45:20.595Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"tags":null,"properties":null}} [2023-09-18T21:45:20.595Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2023-09-18T21:45:20.595Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","description":null,"baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2023-09-18T21:45:20.595Z] --- FAIL: TestAddProvisionWatcherRequest_Validate (0.00s) [2023-09-18T21:45:20.595Z] --- FAIL: TestAddProvisionWatcherRequest_Validate/valid_AddProvisionWatcherRequest (0.00s) [2023-09-18T21:45:20.595Z] panic: dive error! can't dive on a non slice or map [recovered] [2023-09-18T21:45:20.595Z] panic: dive error! can't dive on a non slice or map [2023-09-18T21:45:20.595Z] [2023-09-18T21:45:20.595Z] goroutine 511 [running]: [2023-09-18T21:45:20.595Z] testing.tRunner.func1.2({0x694cc0, 0x790b50}) [2023-09-18T21:45:20.595Z] /usr/local/go/src/testing/testing.go:1545 +0x238 [2023-09-18T21:45:20.595Z] testing.tRunner.func1() [2023-09-18T21:45:20.595Z] /usr/local/go/src/testing/testing.go:1548 +0x397 [2023-09-18T21:45:20.595Z] panic({0x694cc0?, 0x790b50?}) [2023-09-18T21:45:20.595Z] /usr/local/go/src/runtime/panic.go:914 +0x21f [2023-09-18T21:45:20.595Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc00043ca20, {0x7924a0, 0x9aece0}, {0x6dff00?, 0xc000492030?, 0xbaffffffffffffff?}, {0x6d2e60?, 0xc0004920a8?, 0x50000c000358a88?}, {0xc000408cc0, ...}, ...) [2023-09-18T21:45:20.595Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:317 +0x298c [2023-09-18T21:45:20.595Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc00043ca20, {0x7924a0, 0x9aece0}, {0x6bb920?, 0xc000492010?, 0x20?}, {0x6dff00?, 0xc000492030?, 0x1?}, {0x7960e8, ...}, ...) [2023-09-18T21:45:20.595Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:77 +0x745 [2023-09-18T21:45:20.595Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc00043ca20, {0x7924a0, 0x9aece0}, {0x6bb920?, 0xc000492010?, 0xc000000049?}, {0x6dff00?, 0xc000492030?, 0xc000509c80?}, {0xc000408cc0, ...}, ...) [2023-09-18T21:45:20.595Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:197 +0x19f7 [2023-09-18T21:45:20.595Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc00043ca20, {0x7924a0, 0x9aece0}, {0x6aafa0?, 0xc000492010?, 0x88?}, {0x6bb920?, 0xc000492010?, 0x7ff07a161a08?}, {0x7960e8, ...}, ...) [2023-09-18T21:45:20.596Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:77 +0x745 [2023-09-18T21:45:20.596Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc000439b20, {0x7924a0, 0x9aece0}, {0x6aafa0?, 0xc000492010?}) [2023-09-18T21:45:20.596Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator_instance.go:393 +0x445 [2023-09-18T21:45:20.596Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2023-09-18T21:45:20.596Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator_instance.go:366 [2023-09-18T21:45:20.596Z] github.com/edgexfoundry/go-mod-core-contracts/v3/common.Validate({0x6aafa0?, 0xc000492010?}) [2023-09-18T21:45:20.596Z] /w/workspace/dry_go-mod-core-contracts_PR-861/common/validator.go:59 +0x50 [2023-09-18T21:45:20.596Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.(*AddProvisionWatcherRequest).Validate(...) [2023-09-18T21:45:20.596Z] /w/workspace/dry_go-mod-core-contracts_PR-861/dtos/requests/provisionwatcher.go:26 [2023-09-18T21:45:20.596Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.TestAddProvisionWatcherRequest_Validate.func1(0xc000471a00?) [2023-09-18T21:45:20.596Z] /w/workspace/dry_go-mod-core-contracts_PR-861/dtos/requests/provisionwatcher_test.go:141 +0x5a [2023-09-18T21:45:20.596Z] testing.tRunner(0xc000471ba0, 0xc000469720) [2023-09-18T21:45:20.596Z] /usr/local/go/src/testing/testing.go:1595 +0xff [2023-09-18T21:45:20.596Z] created by testing.(*T).Run in goroutine 510 [2023-09-18T21:45:20.596Z] /usr/local/go/src/testing/testing.go:1648 +0x3ad [2023-09-18T21:45:20.596Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.031s [2023-09-18T21:45:20.596Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.010s coverage: 60.5% of statements [2023-09-18T21:45:20.596Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.005s coverage: 36.1% of statements [2023-09-18T21:45:20.596Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.008s coverage: 48.7% of statements [2023-09-18T21:45:20.596Z] FAIL [2023-09-18T21:45:20.596Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2023-09-18T21:45:20.642Z] $ docker stop --time=1 cafb5d1a97763ad6168b22032a42d1b2f29ce2f2ed362963bac1a42593151d10 [2023-09-18T21:45:24.686Z] $ docker rm -f --volumes cafb5d1a97763ad6168b22032a42d1b2f29ce2f2ed362963bac1a42593151d10 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:45:25.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:45:25.909Z] [2023-09-18T21:45:25.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:45:26.288Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:45:26.548Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-18T21:45:26.548Z] 5eb5b503b376: Pulling fs layer [2023-09-18T21:45:26.548Z] 5c69ac0246d0: Pulling fs layer [2023-09-18T21:45:26.548Z] ec43610c2a17: Pulling fs layer [2023-09-18T21:45:26.548Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-18T21:45:26.548Z] 33b1e0a273af: Pulling fs layer [2023-09-18T21:45:26.548Z] 5d3b04190fa2: Pulling fs layer [2023-09-18T21:45:26.548Z] 2f39f015ded8: Pulling fs layer [2023-09-18T21:45:26.548Z] 3a2ae6a8a46f: Waiting [2023-09-18T21:45:26.548Z] 33b1e0a273af: Waiting [2023-09-18T21:45:26.548Z] 5d3b04190fa2: Waiting [2023-09-18T21:45:26.548Z] 2f39f015ded8: Waiting [2023-09-18T21:45:26.548Z] 5c69ac0246d0: Download complete [2023-09-18T21:45:26.548Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-18T21:45:26.548Z] 3a2ae6a8a46f: Download complete [2023-09-18T21:45:26.548Z] 33b1e0a273af: Verifying Checksum [2023-09-18T21:45:26.548Z] 33b1e0a273af: Download complete [2023-09-18T21:45:26.548Z] 5d3b04190fa2: Verifying Checksum [2023-09-18T21:45:26.548Z] 5d3b04190fa2: Download complete [2023-09-18T21:45:26.548Z] ec43610c2a17: Verifying Checksum [2023-09-18T21:45:26.548Z] ec43610c2a17: Download complete [2023-09-18T21:45:26.548Z] 5eb5b503b376: Verifying Checksum [2023-09-18T21:45:26.548Z] 5eb5b503b376: Download complete [2023-09-18T21:45:27.117Z] 2f39f015ded8: Download complete [2023-09-18T21:45:27.772Z] 5eb5b503b376: Pull complete [2023-09-18T21:45:27.772Z] 5c69ac0246d0: Pull complete [2023-09-18T21:45:28.339Z] ec43610c2a17: Pull complete [2023-09-18T21:45:28.339Z] 3a2ae6a8a46f: Pull complete [2023-09-18T21:45:28.339Z] 33b1e0a273af: Pull complete [2023-09-18T21:45:28.597Z] 5d3b04190fa2: Pull complete [2023-09-18T21:45:32.779Z] 2f39f015ded8: Pull complete [2023-09-18T21:45:32.779Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-18T21:45:32.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:45:32.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:45:33.035Z] prd-ubuntu20.04-docker-8c-8g-6418 does not seem to be running inside a container [2023-09-18T21:45:33.063Z] $ 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/dry_go-mod-core-contracts_PR-861 -v /w/workspace/dry_go-mod-core-contracts_PR-861:/w/workspace/dry_go-mod-core-contracts_PR-861:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-861@tmp:/w/workspace/dry_go-mod-core-contracts_PR-861@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 [2023-09-18T21:45:38.237Z] $ docker top d9e8e4b9d45552a7c57df8f3eac0b80251e623dff83de77e19419cf718bb02b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:45:38.729Z] ---> job-cost.sh [2023-09-18T21:45:38.730Z] lf-activate-venv: SKIPPING [2023-09-18T21:45:38.730Z] INFO: No Stack... [2023-09-18T21:45:38.990Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-18T21:45:39.248Z] INFO: Archiving Costs [Pipeline] sh [2023-09-18T21:45:39.560Z] + cat /w/workspace/dry_go-mod-core-contracts_PR-861/archives/cost.csv [2023-09-18T21:45:39.561Z] + cut -d, -f6 [Pipeline] lock [2023-09-18T21:45:39.605Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [2023-09-18T21:45:39.611Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] did not exist. Created. [2023-09-18T21:45:39.611Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-18T21:45:40.006Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-18T21:45:40.070Z] Stashed 1 file(s) [Pipeline] } [2023-09-18T21:45:40.084Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-18T21:45:40.156Z] $ docker stop --time=1 d9e8e4b9d45552a7c57df8f3eac0b80251e623dff83de77e19419cf718bb02b4 [2023-09-18T21:45:41.312Z] $ docker rm -f --volumes d9e8e4b9d45552a7c57df8f3eac0b80251e623dff83de77e19419cf718bb02b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-18T21:45:41.688Z] Failed in branch amd64 [2023-09-18T21:46:49.312Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6420 in /w/workspace/dry_go-mod-core-contracts_PR-861 [Pipeline] { [Pipeline] ws [2023-09-18T21:46:49.368Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2023-09-18T21:46:49.445Z] The recommended git tool is: git [2023-09-18T21:46:59.384Z] using credential edgex-jenkins-ssh [2023-09-18T21:46:59.407Z] Cloning the remote Git repository [2023-09-18T21:46:59.468Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-18T21:46:59.594Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2023-09-18T21:46:59.891Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-18T21:46:59.892Z] > git --version # timeout=10 [2023-09-18T21:46:59.965Z] > git --version # 'git version 2.25.1' [2023-09-18T21:46:59.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-18T21:47:00.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-18T21:47:01.531Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-09-18T21:47:01.603Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-18T21:47:02.940Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-09-18T21:47:03.015Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-18T21:47:03.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-18T21:47:03.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-18T21:47:03.610Z] Merging remotes/origin/main commit a3b42e94f94e881b46b1ffd7dc1266b644a738ca into PR head commit c147f006010a1769531a1c693b2da633d98c0349 [2023-09-18T21:47:04.120Z] Merge succeeded, producing c147f006010a1769531a1c693b2da633d98c0349 [2023-09-18T21:47:04.120Z] Checking out Revision c147f006010a1769531a1c693b2da633d98c0349 (PR-861) [2023-09-18T21:47:04.674Z] Commit message: "build(deps): bump github.com/go-playground/validator/v10" [2023-09-18T21:47:03.632Z] > git config core.sparsecheckout # timeout=10 [2023-09-18T21:47:03.780Z] > git checkout -f c147f006010a1769531a1c693b2da633d98c0349 # timeout=10 [2023-09-18T21:47:03.980Z] > git remote # timeout=10 [2023-09-18T21:47:04.014Z] > git config --get remote.origin.url # timeout=10 [2023-09-18T21:47:04.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-18T21:47:04.061Z] > git merge a3b42e94f94e881b46b1ffd7dc1266b644a738ca # timeout=10 [2023-09-18T21:47:04.097Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-18T21:47:04.124Z] > git config core.sparsecheckout # timeout=10 [2023-09-18T21:47:04.153Z] > git checkout -f c147f006010a1769531a1c693b2da633d98c0349 # timeout=10 [2023-09-18T21:47:04.734Z] > git --version # timeout=10 [2023-09-18T21:47:04.759Z] > git --version # 'git version 2.25.1' [2023-09-18T21:47:04.783Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-18T21:47:05.951Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-18T21:47:05.951Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-18T21:47:05.951Z] Dload Upload Total Spent Left Speed [2023-09-18T21:47:05.951Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-09-18T21:47:06.831Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-18T21:47:07.220Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-18T21:47:07.220Z] + sudo tee /etc/docker/daemon.new [2023-09-18T21:47:07.220Z] { [2023-09-18T21:47:07.220Z] "registry-mirrors": [ [2023-09-18T21:47:07.220Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-18T21:47:07.220Z] ], [2023-09-18T21:47:07.220Z] "bip": "10.250.0.254/24", [2023-09-18T21:47:07.220Z] "hosts": [ [2023-09-18T21:47:07.220Z] "tcp://0.0.0.0:5555", [2023-09-18T21:47:07.220Z] "unix:///var/run/docker.sock" [2023-09-18T21:47:07.220Z] ], [2023-09-18T21:47:07.220Z] "mtu": 1458, [2023-09-18T21:47:07.220Z] "selinux-enabled": true, [2023-09-18T21:47:07.220Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-18T21:47:07.220Z] } [Pipeline] sh [2023-09-18T21:47:07.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-18T21:47:07.910Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-09-18T21:47:30.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:47:30.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:47:30.298Z] ========================================================= [2023-09-18T21:47:30.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-18T21:47:30.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-18T21:47:30.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-18T21:47:31.299Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-18T21:47:31.299Z] 9fda8d8052c6: Pulling fs layer [2023-09-18T21:47:31.299Z] 5d54e960e981: Pulling fs layer [2023-09-18T21:47:31.299Z] c4a7e357bf2a: Pulling fs layer [2023-09-18T21:47:31.299Z] f0e02332f6b5: Pulling fs layer [2023-09-18T21:47:31.299Z] 66412af1f25a: Pulling fs layer [2023-09-18T21:47:31.299Z] 1baf3a5c0e64: Pulling fs layer [2023-09-18T21:47:31.299Z] 9a37bb91b891: Pulling fs layer [2023-09-18T21:47:31.299Z] a29adfc67d43: Pulling fs layer [2023-09-18T21:47:31.299Z] d5de9f91c1a4: Pulling fs layer [2023-09-18T21:47:31.299Z] 1baf3a5c0e64: Waiting [2023-09-18T21:47:31.299Z] 9a37bb91b891: Waiting [2023-09-18T21:47:31.299Z] a29adfc67d43: Waiting [2023-09-18T21:47:31.299Z] f0e02332f6b5: Waiting [2023-09-18T21:47:31.299Z] d5de9f91c1a4: Waiting [2023-09-18T21:47:31.299Z] 66412af1f25a: Waiting [2023-09-18T21:47:31.299Z] 5d54e960e981: Verifying Checksum [2023-09-18T21:47:31.299Z] 5d54e960e981: Download complete [2023-09-18T21:47:31.299Z] f0e02332f6b5: Verifying Checksum [2023-09-18T21:47:31.299Z] f0e02332f6b5: Download complete [2023-09-18T21:47:31.299Z] 66412af1f25a: Verifying Checksum [2023-09-18T21:47:31.299Z] 66412af1f25a: Download complete [2023-09-18T21:47:31.299Z] 9fda8d8052c6: Verifying Checksum [2023-09-18T21:47:31.299Z] 9fda8d8052c6: Download complete [2023-09-18T21:47:31.570Z] 9a37bb91b891: Verifying Checksum [2023-09-18T21:47:31.570Z] 9a37bb91b891: Download complete [2023-09-18T21:47:32.165Z] 9fda8d8052c6: Pull complete [2023-09-18T21:47:32.165Z] a29adfc67d43: Verifying Checksum [2023-09-18T21:47:32.165Z] a29adfc67d43: Download complete [2023-09-18T21:47:32.753Z] 5d54e960e981: Pull complete [2023-09-18T21:47:33.025Z] d5de9f91c1a4: Verifying Checksum [2023-09-18T21:47:33.025Z] d5de9f91c1a4: Download complete [2023-09-18T21:47:33.025Z] c4a7e357bf2a: Download complete [2023-09-18T21:47:33.990Z] 1baf3a5c0e64: Verifying Checksum [2023-09-18T21:47:33.990Z] 1baf3a5c0e64: Download complete [2023-09-18T21:47:44.176Z] c4a7e357bf2a: Pull complete [2023-09-18T21:47:44.176Z] f0e02332f6b5: Pull complete [2023-09-18T21:47:44.176Z] 66412af1f25a: Pull complete [2023-09-18T21:47:50.863Z] 1baf3a5c0e64: Pull complete [2023-09-18T21:47:53.443Z] 9a37bb91b891: Pull complete [2023-09-18T21:47:54.412Z] a29adfc67d43: Pull complete [2023-09-18T21:47:55.829Z] d5de9f91c1a4: Pull complete [2023-09-18T21:47:55.829Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-18T21:47:55.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-18T21:47:55.829Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh [2023-09-18T21:47:56.426Z] + 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 [2023-09-18T21:47:56.824Z] + docker inspect -f . ci-base-image-arm64 [2023-09-18T21:47:56.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:47:57.099Z] prd-ubuntu20.04-docker-arm64-4c-16g-6420 does not seem to be running inside a container [2023-09-18T21:47:57.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 [2023-09-18T21:48:00.000Z] $ docker top 960f4c5ccddc7350cdce2f5487d3854d2cfc7ac041b47df3d2c7b964104a0614 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:48:00.857Z] + go version [2023-09-18T21:48:00.858Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-18T21:48:00.888Z] $ docker stop --time=1 960f4c5ccddc7350cdce2f5487d3854d2cfc7ac041b47df3d2c7b964104a0614 [2023-09-18T21:48:02.487Z] $ docker rm -f --volumes 960f4c5ccddc7350cdce2f5487d3854d2cfc7ac041b47df3d2c7b964104a0614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:48:03.316Z] + docker inspect -f . ci-base-image-arm64 [2023-09-18T21:48:03.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:48:03.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-6420 does not seem to be running inside a container [2023-09-18T21:48:03.621Z] $ 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-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 [2023-09-18T21:48:06.353Z] $ docker top cc53389dd9cdc8c97d9e52f5c4d02d6ce2753d1971968fe6b72f41a6ef0b149f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:48:06.907Z] + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/1 [Pipeline] fileExists [Pipeline] sh [2023-09-18T21:48:07.548Z] + make test [2023-09-18T21:48:07.548Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-09-18T21:48:07.815Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-18T21:48:08.084Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-18T21:48:08.084Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-18T21:48:08.351Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-18T21:48:08.351Z] go: downloading github.com/go-playground/validator/v10 v10.15.4 [2023-09-18T21:48:08.619Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-18T21:48:08.906Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-18T21:48:08.906Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-09-18T21:48:08.906Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-09-18T21:48:08.906Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-18T21:48:08.906Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-18T21:48:08.906Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-18T21:48:08.906Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-18T21:48:08.906Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-18T21:48:09.180Z] go: downloading golang.org/x/crypto v0.7.0 [2023-09-18T21:48:09.180Z] go: downloading golang.org/x/text v0.8.0 [2023-09-18T21:48:09.773Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-18T21:48:14.018Z] go: downloading golang.org/x/net v0.8.0 [2023-09-18T21:48:15.958Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-09-18T21:49:03.059Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-09-18T21:49:03.059Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.412s coverage: 83.5% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.053s coverage: 32.4% of statements [2023-09-18T21:49:03.059Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.073s coverage: 29.4% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.094s coverage: 29.3% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.154s coverage: 53.8% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.039s coverage: 90.0% of statements [2023-09-18T21:49:03.059Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"name":"TestDevice","adminState":"LOCKED","operatingState":"UP","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}}}} [2023-09-18T21:49:03.059Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","device":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDevice","description":"TestDescription","adminState":"LOCKED","operatingState":"UP","serviceName":"TestDeviceServiceName","profileName":"TestDeviceProfileName","labels":["MODBUS","TEMP"],"location":"{40lat;45long}","autoEvents":[{"interval":"300ms","onChange":true,"sourceName":"TestDevice"}],"protocols":{"modbus-ip":{"Address":"localhost","Port":"1502","UnitID":"1"}},"tags":null,"properties":null}} [2023-09-18T21:49:03.059Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"name":"TestDeviceServiceName","labels":["MODBUS","TEMP"],"baseAddress":"http://0.0.0.0:49991/api/v1/callback","adminState":"LOCKED"}} [2023-09-18T21:49:03.059Z] {"apiVersion":"v3","requestId":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","service":{"id":"82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc","name":"TestDeviceServiceName","description":null,"baseAddress":"http://0.0.0.0:49991/api/v1/callback","labels":["MODBUS","TEMP"],"adminState":"LOCKED"}} [2023-09-18T21:49:03.059Z] --- FAIL: TestAddProvisionWatcherRequest_Validate (0.00s) [2023-09-18T21:49:03.059Z] --- FAIL: TestAddProvisionWatcherRequest_Validate/valid_AddProvisionWatcherRequest (0.00s) [2023-09-18T21:49:03.059Z] panic: dive error! can't dive on a non slice or map [recovered] [2023-09-18T21:49:03.059Z] panic: dive error! can't dive on a non slice or map [2023-09-18T21:49:03.059Z] [2023-09-18T21:49:03.059Z] goroutine 513 [running]: [2023-09-18T21:49:03.059Z] testing.tRunner.func1.2({0x27ebc0, 0x37b860}) [2023-09-18T21:49:03.059Z] /usr/local/go/src/testing/testing.go:1545 +0x1c8 [2023-09-18T21:49:03.059Z] testing.tRunner.func1() [2023-09-18T21:49:03.059Z] /usr/local/go/src/testing/testing.go:1548 +0x360 [2023-09-18T21:49:03.059Z] panic({0x27ebc0?, 0x37b860?}) [2023-09-18T21:49:03.059Z] /usr/local/go/src/runtime/panic.go:914 +0x218 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x40004fc000, {0x37d1d8, 0x598f60}, {0x2c9c00?, 0x40003ea030?, 0x4000452828?}, {0x2bcc40?, 0x40003ea0a8?, 0xa7a58?}, {0x40004fa000, ...}, ...) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:317 +0x1f74 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x40004fc000, {0x37d1d8, 0x598f60}, {0x2a5700?, 0x40003ea010?, 0x2?}, {0x2c9c00?, 0x40003ea030?, 0x10?}, {0x380b60?, ...}, ...) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:77 +0x518 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x40004fc000, {0x37d1d8, 0x598f60}, {0x2a5700?, 0x40003ea010?, 0x4000452b88?}, {0x2c9c00?, 0x40003ea030?, 0x93c50?}, {0x40004fa000, ...}, ...) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:197 +0x1448 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x40004fc000, {0x37d1d8, 0x598f60}, {0x294d80?, 0x40003ea010?, 0x3d87ef?}, {0x2a5700?, 0x40003ea010?, 0x0?}, {0x380b60?, ...}, ...) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator.go:77 +0x518 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0x40003adb20, {0x37d1d8, 0x598f60}, {0x294d80?, 0x40003ea010?}) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator_instance.go:393 +0x338 [2023-09-18T21:49:03.059Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2023-09-18T21:49:03.059Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.4/validator_instance.go:366 [2023-09-18T21:49:03.059Z] github.com/edgexfoundry/go-mod-core-contracts/v3/common.Validate({0x294d80?, 0x40003ea010?}) [2023-09-18T21:49:03.059Z] /w/workspace/go-mod-core-contracts/1/common/validator.go:59 +0x50 [2023-09-18T21:49:03.059Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.(*AddProvisionWatcherRequest).Validate(...) [2023-09-18T21:49:03.059Z] /w/workspace/go-mod-core-contracts/1/dtos/requests/provisionwatcher.go:26 [2023-09-18T21:49:03.059Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.TestAddProvisionWatcherRequest_Validate.func1(0x0?) [2023-09-18T21:49:03.059Z] /w/workspace/go-mod-core-contracts/1/dtos/requests/provisionwatcher_test.go:141 +0x64 [2023-09-18T21:49:03.059Z] testing.tRunner(0x40004e56c0, 0x40004dc6c0) [2023-09-18T21:49:03.059Z] /usr/local/go/src/testing/testing.go:1595 +0xe8 [2023-09-18T21:49:03.059Z] created by testing.(*T).Run in goroutine 144 [2023-09-18T21:49:03.059Z] /usr/local/go/src/testing/testing.go:1648 +0x33c [2023-09-18T21:49:03.059Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.239s [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.065s coverage: 60.5% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.038s coverage: 36.1% of statements [2023-09-18T21:49:03.059Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.033s coverage: 48.7% of statements [2023-09-18T21:49:03.059Z] FAIL [2023-09-18T21:49:03.326Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2023-09-18T21:49:03.367Z] $ docker stop --time=1 cc53389dd9cdc8c97d9e52f5c4d02d6ce2753d1971968fe6b72f41a6ef0b149f [2023-09-18T21:49:05.237Z] $ docker rm -f --volumes cc53389dd9cdc8c97d9e52f5c4d02d6ce2753d1971968fe6b72f41a6ef0b149f [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 [2023-09-18T21:49:07.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:49:07.455Z] [2023-09-18T21:49:07.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:49:07.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:49:08.128Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-18T21:49:08.128Z] 8998bd30e6a1: Pulling fs layer [2023-09-18T21:49:08.128Z] 04944245beec: Pulling fs layer [2023-09-18T21:49:08.128Z] 699f458cf7ca: Pulling fs layer [2023-09-18T21:49:08.128Z] 765212b225bb: Pulling fs layer [2023-09-18T21:49:08.128Z] f23df028b6ca: Pulling fs layer [2023-09-18T21:49:08.128Z] d65c8cfc05b1: Pulling fs layer [2023-09-18T21:49:08.128Z] 2437ff75d9bd: Pulling fs layer [2023-09-18T21:49:08.128Z] 765212b225bb: Waiting [2023-09-18T21:49:08.128Z] f23df028b6ca: Waiting [2023-09-18T21:49:08.128Z] d65c8cfc05b1: Waiting [2023-09-18T21:49:08.128Z] 2437ff75d9bd: Waiting [2023-09-18T21:49:08.128Z] 04944245beec: Verifying Checksum [2023-09-18T21:49:08.128Z] 04944245beec: Download complete [2023-09-18T21:49:08.128Z] 765212b225bb: Download complete [2023-09-18T21:49:08.128Z] f23df028b6ca: Verifying Checksum [2023-09-18T21:49:08.128Z] f23df028b6ca: Download complete [2023-09-18T21:49:08.128Z] d65c8cfc05b1: Verifying Checksum [2023-09-18T21:49:08.128Z] d65c8cfc05b1: Download complete [2023-09-18T21:49:08.397Z] 699f458cf7ca: Verifying Checksum [2023-09-18T21:49:08.397Z] 699f458cf7ca: Download complete [2023-09-18T21:49:08.666Z] 8998bd30e6a1: Verifying Checksum [2023-09-18T21:49:08.666Z] 8998bd30e6a1: Download complete [2023-09-18T21:49:10.618Z] 2437ff75d9bd: Verifying Checksum [2023-09-18T21:49:10.618Z] 2437ff75d9bd: Download complete [2023-09-18T21:49:12.567Z] 8998bd30e6a1: Pull complete [2023-09-18T21:49:13.152Z] 04944245beec: Pull complete [2023-09-18T21:49:14.575Z] 699f458cf7ca: Pull complete [2023-09-18T21:49:14.575Z] 765212b225bb: Pull complete [2023-09-18T21:49:17.924Z] f23df028b6ca: Pull complete [2023-09-18T21:49:17.924Z] d65c8cfc05b1: Pull complete [2023-09-18T21:49:32.921Z] 2437ff75d9bd: Pull complete [2023-09-18T21:49:32.922Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-18T21:49:32.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:49:32.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:49:33.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-6420 does not seem to be running inside a container [2023-09-18T21:49:33.341Z] $ 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-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/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 [2023-09-18T21:49:35.633Z] $ docker top 4af1d326a6fde68779b32050edc72b3c65153e00cb66ad32b0a75c856fea9fb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:36.213Z] ---> job-cost.sh [2023-09-18T21:49:36.478Z] lf-activate-venv: SKIPPING [2023-09-18T21:49:36.478Z] INFO: No Stack... [2023-09-18T21:49:37.058Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-18T21:49:37.639Z] INFO: Archiving Costs [Pipeline] sh [2023-09-18T21:49:37.979Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [2023-09-18T21:49:37.979Z] + cut -d, -f6 [Pipeline] lock [2023-09-18T21:49:38.319Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [2023-09-18T21:49:38.324Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] did not exist. Created. [2023-09-18T21:49:38.324Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-18T21:49:38.787Z] /w/workspace/go-mod-core-contracts/1@tmp/durable-f60776e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-18T21:49:39.137Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-18T21:49:39.177Z] Warning: overwriting stash ‘stack-cost’ [2023-09-18T21:49:39.563Z] Stashed 1 file(s) [Pipeline] } [2023-09-18T21:49:39.582Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-861-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-18T21:49:39.665Z] $ docker stop --time=1 4af1d326a6fde68779b32050edc72b3c65153e00cb66ad32b0a75c856fea9fb8 [2023-09-18T21:49:41.149Z] $ docker rm -f --volumes 4af1d326a6fde68779b32050edc72b3c65153e00cb66ad32b0a75c856fea9fb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-18T21:49:41.907Z] 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 [2023-09-18T21:49:43.873Z] + [ -d /w/workspace/dry_go-mod-core-contracts_PR-861/archives ] [2023-09-18T21:49:43.873Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-861/archives [2023-09-18T21:49:43.873Z] total 16 [2023-09-18T21:49:43.873Z] drwxr-xr-x 3 root root 4096 Sep 18 21:45 . [2023-09-18T21:49:43.873Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 21:45 .. [2023-09-18T21:49:43.873Z] drwxr-xr-x 2 root root 4096 Sep 18 21:45 cost [2023-09-18T21:49:43.873Z] -rw-r--r-- 1 root root 93 Sep 18 21:45 cost.csv [2023-09-18T21:49:43.873Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-861/archives [2023-09-18T21:49:43.873Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-861/archives [2023-09-18T21:49:43.873Z] total 16 [2023-09-18T21:49:43.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 21:45 . [2023-09-18T21:49:43.873Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 21:45 .. [2023-09-18T21:49:43.873Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 21:45 cost [2023-09-18T21:49:43.873Z] -rw-r--r-- 1 jenkins jenkins 93 Sep 18 21:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:44.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:45.083Z] ---> package-listing.sh [2023-09-18T21:49:45.083Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-18T21:49:45.083Z] ++ facter osfamily [2023-09-18T21:49:45.343Z] + OS_FAMILY=debian [2023-09-18T21:49:45.343Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-861 [2023-09-18T21:49:45.343Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-18T21:49:45.343Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-18T21:49:45.343Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-18T21:49:45.343Z] + PACKAGES=/tmp/packages_start.txt [2023-09-18T21:49:45.343Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-861 ']' [2023-09-18T21:49:45.343Z] + PACKAGES=/tmp/packages_end.txt [2023-09-18T21:49:45.343Z] + case "${OS_FAMILY}" in [2023-09-18T21:49:45.343Z] + dpkg -l [2023-09-18T21:49:45.343Z] + grep '^ii' [2023-09-18T21:49:45.343Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-18T21:49:45.343Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-18T21:49:45.343Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-18T21:49:45.343Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-861 ']' [2023-09-18T21:49:45.343Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-861/archives/ [2023-09-18T21:49:45.343Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-861/archives/ [Pipeline] echo [2023-09-18T21:49:45.376Z] 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/dry_go-mod-core-contracts_PR-861/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-18T21:49:45.665Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:49:46.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:49:46.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:49:46.425Z] prd-ubuntu20.04-docker-8c-8g-6418 does not seem to be running inside a container [2023-09-18T21:49:46.451Z] $ 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/dry_go-mod-core-contracts_PR-861/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-861 -v /w/workspace/dry_go-mod-core-contracts_PR-861:/w/workspace/dry_go-mod-core-contracts_PR-861:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-861@tmp:/w/workspace/dry_go-mod-core-contracts_PR-861@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 [2023-09-18T21:49:46.628Z] $ docker top f3e535a3ab47e2d3d9fd3820f7fa5b04a8ef46a0f215e54b196494d702d34eed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:49:47.012Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-18T21:49:47.321Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-18T21:49:47.640Z] + ls /var/log/sa-host [2023-09-18T21:49:47.640Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-18T21:49:47.771Z] provisioning config files... [2023-09-18T21:49:47.784Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-861@tmp/config9892102439807664832tmp [Pipeline] { [Pipeline] echo [2023-09-18T21:49:47.833Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:48.143Z] ---> create-netrc.sh [Pipeline] } [2023-09-18T21:49:48.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:48.558Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-18T21:49:48.597Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:48.906Z] ---> sudo-logs.sh [2023-09-18T21:49:48.906Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-18T21:49:48.996Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:49.306Z] ---> job-cost.sh [2023-09-18T21:49:49.306Z] lf-activate-venv: SKIPPING [2023-09-18T21:49:49.306Z] DEBUG: total: 0.2199999988079071 [2023-09-18T21:49:49.306Z] INFO: Retrieving Stack Cost... [2023-09-18T21:49:49.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-18T21:49:49.824Z] INFO: Archiving Costs [Pipeline] echo [2023-09-18T21:49:49.856Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:49:50.168Z] ---> logs-deploy.sh [2023-09-18T21:49:50.168Z] lf-activate-venv: SKIPPING [2023-09-18T21:49:50.168Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-861/1 [2023-09-18T21:49:50.168Z] INFO: archiving workspace using pattern(s): [2023-09-18T21:49:51.105Z] Archives upload complete. [2023-09-18T21:49:51.105Z] INFO: archiving logs to Nexus