Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ac5f7beface14a537436911f9fbdb4c3ea054d91+171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917 (cc7e0b3d789e953ffa840d1b89e5583a4037683a) 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-ssh8388818378701508462.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh369412064864451160.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-854/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-854/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13252084716230031769.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7831359554297039604.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-854/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-854/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13747642671145295874.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5324’ Running on prd-ubuntu20.04-docker-8c-8g-5326 in /w/workspace/dry_go-mod-core-contracts_PR-854 [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-854 # 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 > 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/854/head:refs/remotes/origin/PR-854 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917 into PR head commit ac5f7beface14a537436911f9fbdb4c3ea054d91 Merge succeeded, producing be8e8fab90d1b8466e8323cbb739a10e32a663d5 Checking out Revision be8e8fab90d1b8466e8323cbb739a10e32a663d5 (PR-854) > git config core.sparsecheckout # timeout=10 > git checkout -f ac5f7beface14a537436911f9fbdb4c3ea054d91 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be8e8fab90d1b8466e8323cbb739a10e32a663d5 # timeout=10 Commit message: "Merge commit '171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917' into HEAD" > git rev-list --no-walk ac5f7beface14a537436911f9fbdb4c3ea054d91 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-05T08:41:24.439Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-05T08:41:24.483Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-05T08:41:24.497Z] ========================================================= [2023-09-05T08:41:24.498Z] EdgeX Global Pipelines Version Info [2023-09-05T08:41:24.498Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:41:25.224Z] ------------------- [2023-09-05T08:41:25.224Z] stable info: [2023-09-05T08:41:25.224Z] ------------------- [2023-09-05T08:41:25.224Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-05T08:41:25.224Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T08:41:25.224Z] Message: update stable to v1.0.253 [2023-09-05T08:41:25.794Z] ------------------- [2023-09-05T08:41:25.794Z] experimental info: [2023-09-05T08:41:25.794Z] ------------------- [2023-09-05T08:41:25.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-05T08:41:25.794Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T08:41:25.795Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-05T08:41:25.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2023-09-05T08:41:25.969Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2023-09-05T08:41:25.983Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-05T08:41:25.991Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-05T08:41:25.999Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-05T08:41:26.010Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-05T08:41:26.019Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-05T08:41:26.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-05T08:41:26.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-05T08:41:26.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-05T08:41:26.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-05T08:41:26.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2023-09-05T08:41:26.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-05T08:41:26.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-05T08:41:26.140Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T08:41:26.160Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T08:41:26.177Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T08:41:26.197Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T08:41:26.217Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-05T08:41:26.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-05T08:41:26.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-05T08:41:26.279Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-05T08:41:26.298Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-05T08:41:26.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-05T08:41:26.335Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-09-05T08:41:26.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-05T08:41:26.373Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-05T08:41:26.392Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-854 [Pipeline] echo [2023-09-05T08:41:26.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-854 [Pipeline] echo [2023-09-05T08:41:26.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-854 [Pipeline] echo [2023-09-05T08:41:26.448Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be8e8fab90d1b8466e8323cbb739a10e32a663d5 [Pipeline] echo [2023-09-05T08:41:26.468Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be8e8fa [Pipeline] echo [2023-09-05T08:41:26.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-05T08:41:26.825Z] + git rev-list -1 --merges be8e8fab90d1b8466e8323cbb739a10e32a663d5~1..be8e8fab90d1b8466e8323cbb739a10e32a663d5 [Pipeline] echo [2023-09-05T08:41:26.866Z] -----------> git rev-list -1 --merges be8e8fab90d1b8466e8323cbb739a10e32a663d5~1..be8e8fab90d1b8466e8323cbb739a10e32a663d5 be8e8fab90d1b8466e8323cbb739a10e32a663d5 [2023-09-05T08:41:26.866Z] be8e8fab90d1b8466e8323cbb739a10e32a663d5 [false] [Pipeline] sh [2023-09-05T08:41:27.151Z] + git log --format=format:%s -1 be8e8fab90d1b8466e8323cbb739a10e32a663d5 [Pipeline] echo [2023-09-05T08:41:27.163Z] ========================================================= [2023-09-05T08:41:27.163Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-05T08:41:27.163Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T08:41:27.489Z] + git log --format=format:%s -1 be8e8fab90d1b8466e8323cbb739a10e32a663d5 [Pipeline] echo [2023-09-05T08:41:27.501Z] [semverPrep] GIT_COMMIT: be8e8fab90d1b8466e8323cbb739a10e32a663d5, Commit Message: Merge commit '171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917' into HEAD [Pipeline] echo [2023-09-05T08:41:27.513Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-05T08:41:27.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T08:41:27.905Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-05T08:41:27.905Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-05T08:41:27.905Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-05T08:41:27.905Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-05T08:41:27.905Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-05T08:41:27.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:41:28.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T08:41:28.249Z] [2023-09-05T08:41:28.249Z] 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-05T08:41:28.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T08:41:28.545Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-05T08:41:28.545Z] b85a868b505f: Pulling fs layer [2023-09-05T08:41:28.545Z] e2be974225ed: Pulling fs layer [2023-09-05T08:41:28.545Z] 339a4e72a1f5: Pulling fs layer [2023-09-05T08:41:28.545Z] 988bab9f4d93: Pulling fs layer [2023-09-05T08:41:28.545Z] 1469e6f7b9e6: Pulling fs layer [2023-09-05T08:41:28.545Z] eaf3925da568: Pulling fs layer [2023-09-05T08:41:28.545Z] 988bab9f4d93: Waiting [2023-09-05T08:41:28.545Z] bab4dde63d76: Pulling fs layer [2023-09-05T08:41:28.545Z] 1469e6f7b9e6: Waiting [2023-09-05T08:41:28.545Z] bde34c3a00c8: Pulling fs layer [2023-09-05T08:41:28.545Z] b352a97aabf1: Pulling fs layer [2023-09-05T08:41:28.545Z] 4872d77fe225: Pulling fs layer [2023-09-05T08:41:28.545Z] 5851b861e8e6: Pulling fs layer [2023-09-05T08:41:28.545Z] bde34c3a00c8: Waiting [2023-09-05T08:41:28.545Z] bab4dde63d76: Waiting [2023-09-05T08:41:28.545Z] eaf3925da568: Waiting [2023-09-05T08:41:28.545Z] b352a97aabf1: Waiting [2023-09-05T08:41:28.545Z] 4872d77fe225: Waiting [2023-09-05T08:41:28.803Z] e2be974225ed: Download complete [2023-09-05T08:41:28.803Z] 988bab9f4d93: Verifying Checksum [2023-09-05T08:41:28.803Z] 988bab9f4d93: Download complete [2023-09-05T08:41:28.803Z] 1469e6f7b9e6: Verifying Checksum [2023-09-05T08:41:28.803Z] 1469e6f7b9e6: Download complete [2023-09-05T08:41:28.803Z] eaf3925da568: Verifying Checksum [2023-09-05T08:41:28.803Z] eaf3925da568: Download complete [2023-09-05T08:41:28.803Z] 339a4e72a1f5: Verifying Checksum [2023-09-05T08:41:28.803Z] 339a4e72a1f5: Download complete [2023-09-05T08:41:28.803Z] bde34c3a00c8: Download complete [2023-09-05T08:41:28.803Z] b352a97aabf1: Download complete [2023-09-05T08:41:28.804Z] 4872d77fe225: Download complete [2023-09-05T08:41:28.804Z] 5851b861e8e6: Verifying Checksum [2023-09-05T08:41:28.804Z] 5851b861e8e6: Download complete [2023-09-05T08:41:28.804Z] b85a868b505f: Verifying Checksum [2023-09-05T08:41:28.804Z] b85a868b505f: Download complete [2023-09-05T08:41:29.370Z] bab4dde63d76: Verifying Checksum [2023-09-05T08:41:29.370Z] bab4dde63d76: Download complete [2023-09-05T08:41:30.321Z] b85a868b505f: Pull complete [2023-09-05T08:41:30.321Z] e2be974225ed: Pull complete [2023-09-05T08:41:30.894Z] 339a4e72a1f5: Pull complete [2023-09-05T08:41:30.894Z] 988bab9f4d93: Pull complete [2023-09-05T08:41:31.154Z] 1469e6f7b9e6: Pull complete [2023-09-05T08:41:31.154Z] eaf3925da568: Pull complete [2023-09-05T08:41:33.059Z] bab4dde63d76: Pull complete [2023-09-05T08:41:33.059Z] bde34c3a00c8: Pull complete [2023-09-05T08:41:33.320Z] b352a97aabf1: Pull complete [2023-09-05T08:41:33.320Z] 4872d77fe225: Pull complete [2023-09-05T08:41:33.320Z] 5851b861e8e6: Pull complete [2023-09-05T08:41:33.320Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-05T08:41:33.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T08:41:33.320Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:41:33.424Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2023-09-05T08:41:33.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-854 -v /w/workspace/dry_go-mod-core-contracts_PR-854:/w/workspace/dry_go-mod-core-contracts_PR-854:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-854@tmp:/w/workspace/dry_go-mod-core-contracts_PR-854@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-devops/py-git-semver:0.1.4 cat [2023-09-05T08:41:35.868Z] $ docker top 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 -eo pid,comm [2023-09-05T08:41:35.920Z] 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-05T08:41:35.920Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T08:41:35.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T08:41:35.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T08:41:36.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T08:41:36.090Z] $ docker exec 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 ssh-agent [2023-09-05T08:41:36.200Z] SSH_AUTH_SOCK=/tmp/ssh-WQgSRiEegtwV/agent.32 [2023-09-05T08:41:36.200Z] SSH_AGENT_PID=38 [2023-09-05T08:41:36.208Z] Running ssh-add (command line suppressed) [2023-09-05T08:41:36.311Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-854@tmp/private_key_13669421009749276043.key (/w/workspace/dry_go-mod-core-contracts_PR-854@tmp/private_key_13669421009749276043.key) [2023-09-05T08:41:36.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T08:41:36.623Z] + git tag --points-at HEAD [Pipeline] } [2023-09-05T08:41:36.642Z] $ docker exec --env ******** --env ******** 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 ssh-agent -k [2023-09-05T08:41:36.750Z] unset SSH_AUTH_SOCK; [2023-09-05T08:41:36.751Z] unset SSH_AGENT_PID; [2023-09-05T08:41:36.751Z] echo Agent pid 38 killed; [2023-09-05T08:41:36.766Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-05T08:41:36.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T08:41:36.794Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T08:41:36.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T08:41:36.899Z] $ docker exec 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 ssh-agent [2023-09-05T08:41:36.999Z] SSH_AUTH_SOCK=/tmp/ssh-ZzTggYhj0zWt/agent.70 [2023-09-05T08:41:36.999Z] SSH_AGENT_PID=76 [2023-09-05T08:41:37.004Z] Running ssh-add (command line suppressed) [2023-09-05T08:41:37.095Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-854@tmp/private_key_14784684283532407209.key (/w/workspace/dry_go-mod-core-contracts_PR-854@tmp/private_key_14784684283532407209.key) [2023-09-05T08:41:37.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T08:41:37.396Z] + git semver init [2023-09-05T08:41:37.657Z] 2023-09-05 08:41:37,577 [run_init] DEBUG init version:0.0.0 force:False [2023-09-05T08:41:37.657Z] 2023-09-05 08:41:37,580 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-854/.semver [2023-09-05T08:41:37.657Z] 2023-09-05 08:41:37,581 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-854/.semver [2023-09-05T08:41:37.657Z] 2023-09-05 08:41:37,581 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-854/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-854, universal_newlines=False, shell=None, istream=None) [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,365 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-854/.git/info/exclude [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-854/.semver/PR-854 with force:False [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,366 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-854/.semver/PR-854 [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,370 [execute] INFO git cat-file --batch-check [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-854/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,377 [execute] INFO git cat-file --batch [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-854/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T08:41:38.596Z] 2023-09-05 08:41:38,381 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-854/.semver/PR-854 [2023-09-05T08:41:38.596Z] 0.0.0 [Pipeline] } [2023-09-05T08:41:38.606Z] $ docker exec --env ******** --env ******** 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 ssh-agent -k [2023-09-05T08:41:38.705Z] unset SSH_AUTH_SOCK; [2023-09-05T08:41:38.706Z] unset SSH_AGENT_PID; [2023-09-05T08:41:38.706Z] echo Agent pid 76 killed; [2023-09-05T08:41:38.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T08:41:39.027Z] + git semver [Pipeline] } [2023-09-05T08:41:39.303Z] $ docker stop --time=1 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 [2023-09-05T08:41:40.598Z] $ docker rm -f --volumes 4f7bc9bb1183db5db47ee18e06e41fe58bd1defeabe036cb72dbd9c131e6deb7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T08:41:40.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-05T08:41:41.168Z] Stashed 1 file(s) [Pipeline] echo [2023-09-05T08:41:41.171Z] [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-05T08:41:41.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T08:41:41.351Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T08:41:41.360Z] ========================================================= [2023-09-05T08:41:41.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-05T08:41:41.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-05T08:41:41.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-05T08:41:41.659Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-05T08:41:41.659Z] 4db1b89c0bd1: Pulling fs layer [2023-09-05T08:41:41.659Z] 6911f1a30b25: Pulling fs layer [2023-09-05T08:41:41.659Z] e194b8c5c2a9: Pulling fs layer [2023-09-05T08:41:41.659Z] 6863d3e3a2b1: Pulling fs layer [2023-09-05T08:41:41.659Z] ec0bb842ea78: Pulling fs layer [2023-09-05T08:41:41.659Z] 40a00589a448: Pulling fs layer [2023-09-05T08:41:41.659Z] 6c08303d61cc: Pulling fs layer [2023-09-05T08:41:41.659Z] 798269fcf238: Pulling fs layer [2023-09-05T08:41:41.659Z] 798269fcf238: Waiting [2023-09-05T08:41:41.659Z] 6c08303d61cc: Waiting [2023-09-05T08:41:41.659Z] 6863d3e3a2b1: Waiting [2023-09-05T08:41:41.659Z] ec0bb842ea78: Waiting [2023-09-05T08:41:41.659Z] 40a00589a448: Waiting [2023-09-05T08:41:41.659Z] 6911f1a30b25: Verifying Checksum [2023-09-05T08:41:41.659Z] 6911f1a30b25: Download complete [2023-09-05T08:41:41.659Z] 6863d3e3a2b1: Verifying Checksum [2023-09-05T08:41:41.659Z] 6863d3e3a2b1: Download complete [2023-09-05T08:41:41.659Z] ec0bb842ea78: Verifying Checksum [2023-09-05T08:41:41.659Z] ec0bb842ea78: Download complete [2023-09-05T08:41:41.659Z] 4db1b89c0bd1: Verifying Checksum [2023-09-05T08:41:41.659Z] 4db1b89c0bd1: Download complete [2023-09-05T08:41:41.659Z] 40a00589a448: Verifying Checksum [2023-09-05T08:41:41.659Z] 40a00589a448: Download complete [2023-09-05T08:41:41.920Z] 4db1b89c0bd1: Pull complete [2023-09-05T08:41:41.920Z] 6911f1a30b25: Pull complete [2023-09-05T08:41:42.179Z] 798269fcf238: Verifying Checksum [2023-09-05T08:41:42.179Z] 798269fcf238: Download complete [2023-09-05T08:41:42.437Z] e194b8c5c2a9: Verifying Checksum [2023-09-05T08:41:42.437Z] e194b8c5c2a9: Download complete [2023-09-05T08:41:42.437Z] 6c08303d61cc: Verifying Checksum [2023-09-05T08:41:42.437Z] 6c08303d61cc: Download complete [2023-09-05T08:41:46.630Z] e194b8c5c2a9: Pull complete [2023-09-05T08:41:46.630Z] 6863d3e3a2b1: Pull complete [2023-09-05T08:41:46.630Z] ec0bb842ea78: Pull complete [2023-09-05T08:41:46.630Z] 40a00589a448: Pull complete [2023-09-05T08:41:48.533Z] 6c08303d61cc: Pull complete [2023-09-05T08:41:49.465Z] 798269fcf238: Pull complete [2023-09-05T08:41:49.465Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-05T08:41:49.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-05T08:41:49.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-09-05T08:41:49.753Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:41:50.052Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T08:41:50.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:41:50.129Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2023-09-05T08:41:50.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-854 -v /w/workspace/dry_go-mod-core-contracts_PR-854:/w/workspace/dry_go-mod-core-contracts_PR-854:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-854@tmp:/w/workspace/dry_go-mod-core-contracts_PR-854@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T08:41:54.221Z] $ docker top 1d32894e534ce5ce00c60a418c638eb701c701735bc60d18b7418c53cfddfca9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T08:41:54.565Z] + go version [2023-09-05T08:41:54.565Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-05T08:41:54.575Z] $ docker stop --time=1 1d32894e534ce5ce00c60a418c638eb701c701735bc60d18b7418c53cfddfca9 [2023-09-05T08:41:55.858Z] $ docker rm -f --volumes 1d32894e534ce5ce00c60a418c638eb701c701735bc60d18b7418c53cfddfca9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:41:56.278Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T08:41:56.278Z] . [2023-09-05T08:41:56.280Z] Still waiting to schedule task [2023-09-05T08:41:56.280Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5325’ [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:41:56.353Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2023-09-05T08:41:56.383Z] $ 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-854 -v /w/workspace/dry_go-mod-core-contracts_PR-854:/w/workspace/dry_go-mod-core-contracts_PR-854:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-854@tmp:/w/workspace/dry_go-mod-core-contracts_PR-854@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T08:41:56.738Z] $ docker top d48e2a154dbfbb13e1b33d9ccde80e9c3deeec284c8854b053edf10c9054fdae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T08:41:57.087Z] + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-854 [Pipeline] fileExists [Pipeline] sh [2023-09-05T08:41:57.380Z] + make test [2023-09-05T08:41:57.380Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-09-05T08:41:57.380Z] go: downloading github.com/go-playground/validator/v10 v10.15.3 [2023-09-05T08:41:57.380Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-05T08:41:57.380Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-05T08:41:57.380Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-05T08:41:57.380Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-05T08:41:57.380Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-05T08:41:57.380Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-05T08:41:57.380Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-09-05T08:41:57.380Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-09-05T08:41:57.380Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-05T08:41:57.639Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-05T08:41:57.639Z] go: downloading golang.org/x/text v0.8.0 [2023-09-05T08:41:57.639Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-05T08:41:57.639Z] go: downloading golang.org/x/crypto v0.7.0 [2023-09-05T08:41:57.639Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-05T08:41:57.639Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-05T08:41:57.898Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-05T08:41:58.834Z] go: downloading golang.org/x/net v0.8.0 [2023-09-05T08:42:04.106Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-09-05T08:42:10.661Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-09-05T08:42:10.661Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-09-05T08:42:10.661Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.080s coverage: 83.5% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.021s coverage: 32.4% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.016s coverage: 29.4% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.015s coverage: 19.4% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.032s coverage: 53.8% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.010s coverage: 90.0% of statements [2023-09-05T08:42:10.661Z] {"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-05T08:42:10.661Z] {"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-05T08:42:10.661Z] {"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-05T08:42:10.661Z] {"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-05T08:42:10.661Z] --- FAIL: TestAddProvisionWatcherRequest_Validate (0.00s) [2023-09-05T08:42:10.661Z] --- FAIL: TestAddProvisionWatcherRequest_Validate/valid_AddProvisionWatcherRequest (0.00s) [2023-09-05T08:42:10.661Z] panic: dive error! can't dive on a non slice or map [recovered] [2023-09-05T08:42:10.661Z] panic: dive error! can't dive on a non slice or map [2023-09-05T08:42:10.661Z] [2023-09-05T08:42:10.661Z] goroutine 514 [running]: [2023-09-05T08:42:10.661Z] testing.tRunner.func1.2({0x6a98a0, 0x7a33a8}) [2023-09-05T08:42:10.661Z] /usr/local/go/src/testing/testing.go:1526 +0x24e [2023-09-05T08:42:10.661Z] testing.tRunner.func1() [2023-09-05T08:42:10.661Z] /usr/local/go/src/testing/testing.go:1529 +0x39f [2023-09-05T08:42:10.661Z] panic({0x6a98a0, 0x7a33a8}) [2023-09-05T08:42:10.661Z] /usr/local/go/src/runtime/panic.go:884 +0x213 [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc0003e0000, {0x7a58f8, 0xc0000b8000}, {0x6f3060?, 0xc00071e030?, 0x70000c000256c68?}, {0x6e4b80?, 0xc00071e0a8?, 0xc000714750?}, {0xc00060a000, ...}, ...) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:317 +0x2aef [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0003e0000, {0x7a58f8, 0xc0000b8000}, {0x6ceda0?, 0xc00071e010?, 0x1?}, {0x6f3060?, 0xc00071e030?, 0x300?}, {0x7a9448, ...}, ...) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:77 +0x750 [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*validate).traverseField(0xc0003e0000, {0x7a58f8, 0xc0000b8000}, {0x6ceda0?, 0xc00071e010?, 0x455889?}, {0x6f3060?, 0xc00071e030?, 0x940998?}, {0xc00060a000, ...}, ...) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:197 +0x1ad0 [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0xc0003e0000, {0x7a58f8, 0xc0000b8000}, {0x6be380?, 0xc00071e010?, 0x4211e5?}, {0x6ceda0?, 0xc00071e010?, 0x51f5b4?}, {0x7a9448, ...}, ...) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:77 +0x750 [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0xc0003f7ce0, {0x7a58f8, 0xc0000b8000}, {0x6be380, 0xc00071e010?}) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator_instance.go:393 +0x479 [2023-09-05T08:42:10.661Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2023-09-05T08:42:10.661Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator_instance.go:366 [2023-09-05T08:42:10.661Z] github.com/edgexfoundry/go-mod-core-contracts/v3/common.Validate({0x6be380?, 0xc00071e010?}) [2023-09-05T08:42:10.661Z] /w/workspace/dry_go-mod-core-contracts_PR-854/common/validator.go:59 +0x5c [2023-09-05T08:42:10.661Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.(*AddProvisionWatcherRequest).Validate(...) [2023-09-05T08:42:10.661Z] /w/workspace/dry_go-mod-core-contracts_PR-854/dtos/requests/provisionwatcher.go:26 [2023-09-05T08:42:10.661Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.TestAddProvisionWatcherRequest_Validate.func1(0xc000711a00?) [2023-09-05T08:42:10.661Z] /w/workspace/dry_go-mod-core-contracts_PR-854/dtos/requests/provisionwatcher_test.go:141 +0x65 [2023-09-05T08:42:10.661Z] testing.tRunner(0xc000711ba0, 0xc000718260) [2023-09-05T08:42:10.661Z] /usr/local/go/src/testing/testing.go:1576 +0x10b [2023-09-05T08:42:10.661Z] created by testing.(*T).Run [2023-09-05T08:42:10.661Z] /usr/local/go/src/testing/testing.go:1629 +0x3ea [2023-09-05T08:42:10.661Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.039s [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.013s coverage: 60.5% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.005s coverage: 36.1% of statements [2023-09-05T08:42:10.661Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.015s coverage: 48.7% of statements [2023-09-05T08:42:10.661Z] FAIL [2023-09-05T08:42:10.661Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2023-09-05T08:42:10.672Z] $ docker stop --time=1 d48e2a154dbfbb13e1b33d9ccde80e9c3deeec284c8854b053edf10c9054fdae [2023-09-05T08:42:14.173Z] $ docker rm -f --volumes d48e2a154dbfbb13e1b33d9ccde80e9c3deeec284c8854b053edf10c9054fdae [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-05T08:42:14.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T08:42:14.811Z] [2023-09-05T08:42:14.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:42:15.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T08:42:15.121Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-05T08:42:15.121Z] 5eb5b503b376: Pulling fs layer [2023-09-05T08:42:15.121Z] 5c69ac0246d0: Pulling fs layer [2023-09-05T08:42:15.121Z] ec43610c2a17: Pulling fs layer [2023-09-05T08:42:15.121Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-05T08:42:15.121Z] 33b1e0a273af: Pulling fs layer [2023-09-05T08:42:15.121Z] 3a2ae6a8a46f: Waiting [2023-09-05T08:42:15.121Z] 5d3b04190fa2: Pulling fs layer [2023-09-05T08:42:15.121Z] 2f39f015ded8: Pulling fs layer [2023-09-05T08:42:15.121Z] 5d3b04190fa2: Waiting [2023-09-05T08:42:15.121Z] 33b1e0a273af: Waiting [2023-09-05T08:42:15.121Z] 2f39f015ded8: Waiting [2023-09-05T08:42:15.121Z] 5c69ac0246d0: Download complete [2023-09-05T08:42:15.121Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-05T08:42:15.121Z] 3a2ae6a8a46f: Download complete [2023-09-05T08:42:15.121Z] 33b1e0a273af: Verifying Checksum [2023-09-05T08:42:15.121Z] 33b1e0a273af: Download complete [2023-09-05T08:42:15.121Z] 5d3b04190fa2: Verifying Checksum [2023-09-05T08:42:15.121Z] 5d3b04190fa2: Download complete [2023-09-05T08:42:15.380Z] ec43610c2a17: Verifying Checksum [2023-09-05T08:42:15.380Z] ec43610c2a17: Download complete [2023-09-05T08:42:15.380Z] 5eb5b503b376: Download complete [2023-09-05T08:42:15.950Z] 2f39f015ded8: Verifying Checksum [2023-09-05T08:42:15.950Z] 2f39f015ded8: Download complete [2023-09-05T08:42:16.517Z] 5eb5b503b376: Pull complete [2023-09-05T08:42:16.775Z] 5c69ac0246d0: Pull complete [2023-09-05T08:42:17.034Z] ec43610c2a17: Pull complete [2023-09-05T08:42:17.034Z] 3a2ae6a8a46f: Pull complete [2023-09-05T08:42:17.293Z] 33b1e0a273af: Pull complete [2023-09-05T08:42:17.293Z] 5d3b04190fa2: Pull complete [2023-09-05T08:42:22.558Z] 2f39f015ded8: Pull complete [2023-09-05T08:42:22.558Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-05T08:42:22.558Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T08:42:22.558Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:42:22.646Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2023-09-05T08:42:22.678Z] $ 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-854 -v /w/workspace/dry_go-mod-core-contracts_PR-854:/w/workspace/dry_go-mod-core-contracts_PR-854:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-854@tmp:/w/workspace/dry_go-mod-core-contracts_PR-854@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-05T08:42:26.525Z] $ docker top 90bf0537dcee534ab996195d83c8c46724698e6ff06701b524dde27bf7f63f74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:42:26.918Z] ---> job-cost.sh [2023-09-05T08:42:26.918Z] lf-activate-venv: SKIPPING [2023-09-05T08:42:26.918Z] INFO: No Stack... [2023-09-05T08:42:27.177Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T08:42:27.745Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T08:42:28.031Z] + cat /w/workspace/dry_go-mod-core-contracts_PR-854/archives/cost.csv [2023-09-05T08:42:28.031Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T08:42:28.043Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [2023-09-05T08:42:28.049Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] did not exist. Created. [2023-09-05T08:42:28.049Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T08:42:28.353Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-05T08:42:28.395Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T08:42:28.406Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T08:42:28.422Z] $ docker stop --time=1 90bf0537dcee534ab996195d83c8c46724698e6ff06701b524dde27bf7f63f74 [2023-09-05T08:42:29.559Z] $ docker rm -f --volumes 90bf0537dcee534ab996195d83c8c46724698e6ff06701b524dde27bf7f63f74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-05T08:42:29.675Z] Failed in branch amd64 [2023-09-05T08:45:28.219Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5327 in /w/workspace/dry_go-mod-core-contracts_PR-854 [Pipeline] { [Pipeline] ws [2023-09-05T08:45:28.233Z] Running in /w/workspace/go-mod-core-contracts/2 [Pipeline] { [Pipeline] checkout [2023-09-05T08:45:28.273Z] The recommended git tool is: git [2023-09-05T08:45:33.864Z] using credential edgex-jenkins-ssh [2023-09-05T08:45:33.889Z] Cloning the remote Git repository [2023-09-05T08:45:33.936Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-05T08:45:34.052Z] > git init /w/workspace/go-mod-core-contracts/2 # timeout=10 [2023-09-05T08:45:34.227Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-05T08:45:34.228Z] > git --version # timeout=10 [2023-09-05T08:45:34.253Z] > git --version # 'git version 2.25.1' [2023-09-05T08:45:34.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T08:45:34.442Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T08:45:35.815Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-09-05T08:45:35.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T08:45:36.808Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-09-05T08:45:36.858Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-09-05T08:45:36.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T08:45:36.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/854/head:refs/remotes/origin/PR-854 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-05T08:45:37.494Z] Merging remotes/origin/main commit 171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917 into PR head commit ac5f7beface14a537436911f9fbdb4c3ea054d91 [2023-09-05T08:45:37.965Z] Merge succeeded, producing d006694af1aabee174a7c020bf5db62c7c17b259 [2023-09-05T08:45:37.966Z] Checking out Revision d006694af1aabee174a7c020bf5db62c7c17b259 (PR-854) [2023-09-05T08:45:37.511Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T08:45:37.595Z] > git checkout -f ac5f7beface14a537436911f9fbdb4c3ea054d91 # timeout=10 [2023-09-05T08:45:37.736Z] > git remote # timeout=10 [2023-09-05T08:45:37.756Z] > git config --get remote.origin.url # timeout=10 [2023-09-05T08:45:37.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T08:45:37.789Z] > git merge 171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917 # timeout=10 [2023-09-05T08:45:37.940Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-05T08:45:37.971Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T08:45:37.995Z] > git checkout -f d006694af1aabee174a7c020bf5db62c7c17b259 # timeout=10 [2023-09-05T08:45:41.583Z] Commit message: "Merge commit '171c2b7d2fdecdd73b691d0ed80f4aaf6c80f917' into HEAD" [2023-09-05T08:45:41.593Z] > git rev-list --no-walk ac5f7beface14a537436911f9fbdb4c3ea054d91 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T08:45:42.733Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-05T08:45:42.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T08:45:42.734Z] Dload Upload Total Spent Left Speed [2023-09-05T08:45:43.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 17652 0 --:--:-- --:--:-- --:--:-- 17652 100 12751 100 12751 0 0 20401 0 --:--:-- --:--:-- --:--:-- 20369 [Pipeline] sh [2023-09-05T08:45:44.047Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-05T08:45:44.378Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-05T08:45:44.378Z] sudo tee /etc/docker/daemon.new [2023-09-05T08:45:44.378Z] { [2023-09-05T08:45:44.378Z] "registry-mirrors": [ [2023-09-05T08:45:44.378Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-05T08:45:44.378Z] ], [2023-09-05T08:45:44.378Z] "bip": "10.250.0.254/24", [2023-09-05T08:45:44.378Z] "hosts": [ [2023-09-05T08:45:44.378Z] "tcp://0.0.0.0:5555", [2023-09-05T08:45:44.378Z] "unix:///var/run/docker.sock" [2023-09-05T08:45:44.378Z] ], [2023-09-05T08:45:44.378Z] "mtu": 1458, [2023-09-05T08:45:44.378Z] "selinux-enabled": true, [2023-09-05T08:45:44.378Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-05T08:45:44.378Z] } [Pipeline] sh [2023-09-05T08:45:44.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-05T08:45:45.052Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-09-05T08:46:07.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T08:46:07.437Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T08:46:07.448Z] ========================================================= [2023-09-05T08:46:07.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-05T08:46:07.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-09-05T08:46:07.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-05T08:46:08.368Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-05T08:46:08.368Z] edb6bdbacee9: Pulling fs layer [2023-09-05T08:46:08.368Z] 5f9638ab2659: Pulling fs layer [2023-09-05T08:46:08.368Z] 8d51d6327a98: Pulling fs layer [2023-09-05T08:46:08.368Z] 8b374f2dd631: Pulling fs layer [2023-09-05T08:46:08.368Z] ec14aa9079de: Pulling fs layer [2023-09-05T08:46:08.368Z] 2f466654f4bb: Pulling fs layer [2023-09-05T08:46:08.368Z] 554e91adad29: Pulling fs layer [2023-09-05T08:46:08.368Z] ec14aa9079de: Waiting [2023-09-05T08:46:08.368Z] 2f466654f4bb: Waiting [2023-09-05T08:46:08.368Z] 554e91adad29: Waiting [2023-09-05T08:46:08.368Z] 8b374f2dd631: Waiting [2023-09-05T08:46:08.368Z] 5f9638ab2659: Verifying Checksum [2023-09-05T08:46:08.368Z] 5f9638ab2659: Download complete [2023-09-05T08:46:08.368Z] 8b374f2dd631: Verifying Checksum [2023-09-05T08:46:08.368Z] 8b374f2dd631: Download complete [2023-09-05T08:46:08.368Z] ec14aa9079de: Verifying Checksum [2023-09-05T08:46:08.368Z] ec14aa9079de: Download complete [2023-09-05T08:46:08.368Z] edb6bdbacee9: Download complete [2023-09-05T08:46:09.342Z] edb6bdbacee9: Pull complete [2023-09-05T08:46:09.936Z] 554e91adad29: Verifying Checksum [2023-09-05T08:46:09.936Z] 554e91adad29: Download complete [2023-09-05T08:46:09.936Z] 5f9638ab2659: Pull complete [2023-09-05T08:46:10.911Z] 8d51d6327a98: Verifying Checksum [2023-09-05T08:46:10.911Z] 8d51d6327a98: Download complete [2023-09-05T08:46:10.911Z] 2f466654f4bb: Verifying Checksum [2023-09-05T08:46:10.911Z] 2f466654f4bb: Download complete [2023-09-05T08:46:21.991Z] 8d51d6327a98: Pull complete [2023-09-05T08:46:22.260Z] 8b374f2dd631: Pull complete [2023-09-05T08:46:22.529Z] ec14aa9079de: Pull complete [2023-09-05T08:46:30.763Z] 2f466654f4bb: Pull complete [2023-09-05T08:46:31.729Z] 554e91adad29: Pull complete [2023-09-05T08:46:31.998Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-05T08:46:31.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-05T08:46:31.998Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-09-05T08:46:32.326Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:46:32.665Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T08:46:32.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:46:32.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-5327 does not seem to be running inside a container [2023-09-05T08:46:32.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-05T08:46:35.248Z] $ docker top d6945cb381e208b7accb001f9b61bfbce80009e94f915171752610b489706631 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T08:46:36.088Z] + go version [2023-09-05T08:46:36.088Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-05T08:46:36.116Z] $ docker stop --time=1 d6945cb381e208b7accb001f9b61bfbce80009e94f915171752610b489706631 [2023-09-05T08:46:37.786Z] $ docker rm -f --volumes d6945cb381e208b7accb001f9b61bfbce80009e94f915171752610b489706631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:46:38.351Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T08:46:38.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:46:38.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-5327 does not seem to be running inside a container [2023-09-05T08:46:38.628Z] $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-05T08:46:39.874Z] $ docker top d272434df37b8a630ef821a768cbfabb459db8edb7a1f8f16257d1f72b78eba6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T08:46:40.708Z] + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/2 [Pipeline] fileExists [Pipeline] sh [2023-09-05T08:46:41.363Z] + make test [2023-09-05T08:46:41.363Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-09-05T08:46:41.629Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-09-05T08:46:41.629Z] go: downloading github.com/go-kit/log v0.2.1 [2023-09-05T08:46:41.629Z] go: downloading github.com/go-playground/validator/v10 v10.15.3 [2023-09-05T08:46:41.896Z] go: downloading github.com/fxamacker/cbor/v2 v2.5.0 [2023-09-05T08:46:41.896Z] go: downloading github.com/google/uuid v1.3.1 [2023-09-05T08:46:41.896Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-09-05T08:46:42.167Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-09-05T08:46:42.167Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-09-05T08:46:42.167Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-09-05T08:46:42.167Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-09-05T08:46:42.436Z] go: downloading github.com/x448/float16 v0.8.4 [2023-09-05T08:46:42.436Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.2 [2023-09-05T08:46:42.436Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-09-05T08:46:42.436Z] go: downloading github.com/leodido/go-urn v1.2.4 [2023-09-05T08:46:42.436Z] go: downloading golang.org/x/crypto v0.7.0 [2023-09-05T08:46:42.436Z] go: downloading golang.org/x/text v0.8.0 [2023-09-05T08:46:43.024Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-09-05T08:46:47.568Z] go: downloading golang.org/x/net v0.8.0 [2023-09-05T08:47:19.806Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-09-05T08:48:16.191Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.501s coverage: 83.5% of statements [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.082s coverage: 32.4% of statements [2023-09-05T08:48:16.191Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-09-05T08:48:16.191Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.077s coverage: 29.4% of statements [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.072s coverage: 19.4% of statements [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.214s coverage: 53.8% of statements [2023-09-05T08:48:16.191Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.076s coverage: 90.0% of statements [2023-09-05T08:48:18.134Z] {"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-05T08:48:18.134Z] {"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-05T08:48:18.134Z] {"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-05T08:48:18.134Z] {"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-05T08:48:18.134Z] --- FAIL: TestAddProvisionWatcherRequest_Validate (0.00s) [2023-09-05T08:48:18.134Z] --- FAIL: TestAddProvisionWatcherRequest_Validate/valid_AddProvisionWatcherRequest (0.00s) [2023-09-05T08:48:18.134Z] panic: dive error! can't dive on a non slice or map [recovered] [2023-09-05T08:48:18.134Z] panic: dive error! can't dive on a non slice or map [2023-09-05T08:48:18.134Z] [2023-09-05T08:48:18.134Z] goroutine 508 [running]: [2023-09-05T08:48:18.134Z] testing.tRunner.func1.2({0x2807c0, 0x37b018}) [2023-09-05T08:48:18.134Z] /usr/local/go/src/testing/testing.go:1526 +0x1c8 [2023-09-05T08:48:18.134Z] testing.tRunner.func1() [2023-09-05T08:48:18.134Z] /usr/local/go/src/testing/testing.go:1529 +0x364 [2023-09-05T08:48:18.134Z] panic({0x2807c0, 0x37b018}) [2023-09-05T08:48:18.134Z] /usr/local/go/src/runtime/panic.go:884 +0x1f4 [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x40004285a0, {0x37d548, 0x400001a170}, {0x2c9de0?, 0x40004ce030?, 0x400043cad0?}, {0x2bb9e0?, 0x40004ce0a8?, 0x40000a7900?}, {0x40003cc140, ...}, ...) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:317 +0x2124 [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x40004285a0, {0x37d548, 0x400001a170}, {0x2a5c00?, 0x40004ce010?, 0x40004b64e0?}, {0x2c9de0?, 0x40004ce030?, 0x4000453a70?}, {0x380dd0?, ...}, ...) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:77 +0x51c [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*validate).traverseField(0x40004285a0, {0x37d548, 0x400001a170}, {0x2a5c00?, 0x40004ce010?, 0x40000a7b78?}, {0x2c9de0?, 0x40004ce030?, 0xd5cc4?}, {0x40003cc140, ...}, ...) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:197 +0x14f0 [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*validate).validateStruct(0x40004285a0, {0x37d548, 0x400001a170}, {0x2951e0?, 0x40004ce010?, 0x4000043d98?}, {0x2a5c00?, 0x40004ce010?, 0x594a00?}, {0x380dd0?, ...}, ...) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator.go:77 +0x51c [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*Validate).StructCtx(0x400042bce0, {0x37d548, 0x400001a170}, {0x2951e0, 0x40004ce010}) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator_instance.go:393 +0x390 [2023-09-05T08:48:18.134Z] github.com/go-playground/validator/v10.(*Validate).Struct(...) [2023-09-05T08:48:18.134Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.15.3/validator_instance.go:366 [2023-09-05T08:48:18.134Z] github.com/edgexfoundry/go-mod-core-contracts/v3/common.Validate({0x2951e0?, 0x40004ce010?}) [2023-09-05T08:48:18.134Z] /w/workspace/go-mod-core-contracts/2/common/validator.go:59 +0x50 [2023-09-05T08:48:18.134Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.(*AddProvisionWatcherRequest).Validate(...) [2023-09-05T08:48:18.134Z] /w/workspace/go-mod-core-contracts/2/dtos/requests/provisionwatcher.go:26 [2023-09-05T08:48:18.134Z] github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests.TestAddProvisionWatcherRequest_Validate.func1(0x0?) [2023-09-05T08:48:18.134Z] /w/workspace/go-mod-core-contracts/2/dtos/requests/provisionwatcher_test.go:141 +0x68 [2023-09-05T08:48:18.134Z] testing.tRunner(0x40004cc680, 0x400045fee0) [2023-09-05T08:48:18.134Z] /usr/local/go/src/testing/testing.go:1576 +0x104 [2023-09-05T08:48:18.134Z] created by testing.(*T).Run [2023-09-05T08:48:18.134Z] /usr/local/go/src/testing/testing.go:1629 +0x370 [2023-09-05T08:48:18.134Z] FAIL github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.237s [2023-09-05T08:48:18.134Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.064s coverage: 60.5% of statements [2023-09-05T08:48:18.134Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.034s coverage: 36.1% of statements [2023-09-05T08:48:18.718Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.055s coverage: 48.7% of statements [2023-09-05T08:48:18.718Z] FAIL [2023-09-05T08:48:18.986Z] make: *** [Makefile:10: unittest] Error 1 [Pipeline] } [2023-09-05T08:48:19.013Z] $ docker stop --time=1 d272434df37b8a630ef821a768cbfabb459db8edb7a1f8f16257d1f72b78eba6 [2023-09-05T08:48:23.469Z] $ docker rm -f --volumes d272434df37b8a630ef821a768cbfabb459db8edb7a1f8f16257d1f72b78eba6 [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-05T08:48:25.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T08:48:25.169Z] [2023-09-05T08:48:25.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:48:25.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T08:48:25.762Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-05T08:48:25.762Z] 8998bd30e6a1: Pulling fs layer [2023-09-05T08:48:25.762Z] 04944245beec: Pulling fs layer [2023-09-05T08:48:25.762Z] 699f458cf7ca: Pulling fs layer [2023-09-05T08:48:25.762Z] 765212b225bb: Pulling fs layer [2023-09-05T08:48:25.762Z] f23df028b6ca: Pulling fs layer [2023-09-05T08:48:25.762Z] d65c8cfc05b1: Pulling fs layer [2023-09-05T08:48:25.762Z] 2437ff75d9bd: Pulling fs layer [2023-09-05T08:48:25.762Z] f23df028b6ca: Waiting [2023-09-05T08:48:25.762Z] d65c8cfc05b1: Waiting [2023-09-05T08:48:25.762Z] 2437ff75d9bd: Waiting [2023-09-05T08:48:25.762Z] 04944245beec: Verifying Checksum [2023-09-05T08:48:25.762Z] 04944245beec: Download complete [2023-09-05T08:48:25.762Z] 765212b225bb: Verifying Checksum [2023-09-05T08:48:25.762Z] 765212b225bb: Download complete [2023-09-05T08:48:25.762Z] f23df028b6ca: Verifying Checksum [2023-09-05T08:48:25.762Z] f23df028b6ca: Download complete [2023-09-05T08:48:26.029Z] d65c8cfc05b1: Verifying Checksum [2023-09-05T08:48:26.029Z] d65c8cfc05b1: Download complete [2023-09-05T08:48:26.029Z] 699f458cf7ca: Verifying Checksum [2023-09-05T08:48:26.029Z] 699f458cf7ca: Download complete [2023-09-05T08:48:26.614Z] 8998bd30e6a1: Verifying Checksum [2023-09-05T08:48:26.614Z] 8998bd30e6a1: Download complete [2023-09-05T08:48:28.559Z] 2437ff75d9bd: Verifying Checksum [2023-09-05T08:48:28.559Z] 2437ff75d9bd: Download complete [2023-09-05T08:48:30.499Z] 8998bd30e6a1: Pull complete [2023-09-05T08:48:30.499Z] 04944245beec: Pull complete [2023-09-05T08:48:31.902Z] 699f458cf7ca: Pull complete [2023-09-05T08:48:31.902Z] 765212b225bb: Pull complete [2023-09-05T08:48:36.145Z] f23df028b6ca: Pull complete [2023-09-05T08:48:36.410Z] d65c8cfc05b1: Pull complete [2023-09-05T08:48:51.398Z] 2437ff75d9bd: Pull complete [2023-09-05T08:48:51.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-05T08:48:51.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T08:48:51.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:48:51.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-5327 does not seem to be running inside a container [2023-09-05T08:48:51.649Z] $ 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/2 -v /w/workspace/go-mod-core-contracts/2:/w/workspace/go-mod-core-contracts/2:rw,z -v /w/workspace/go-mod-core-contracts/2@tmp:/w/workspace/go-mod-core-contracts/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-05T08:48:53.933Z] $ docker top 239eaa1d791d6acd9492e730dd8f61c3368145737f62b641d00904f5ddd28283 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:48:54.755Z] ---> job-cost.sh [2023-09-05T08:48:54.755Z] lf-activate-venv: SKIPPING [2023-09-05T08:48:54.755Z] INFO: No Stack... [2023-09-05T08:48:55.022Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-05T08:48:55.977Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T08:48:56.609Z] + cat /w/workspace/go-mod-core-contracts/2/archives/cost.csv [2023-09-05T08:48:56.609Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T08:48:56.670Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [2023-09-05T08:48:56.676Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] did not exist. Created. [2023-09-05T08:48:56.676Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T08:48:57.329Z] /w/workspace/go-mod-core-contracts/2@tmp/durable-19ae67e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-05T08:48:57.656Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-05T08:48:57.679Z] Warning: overwriting stash ‘stack-cost’ [2023-09-05T08:48:58.253Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T08:48:58.261Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-854-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T08:48:58.301Z] $ docker stop --time=1 239eaa1d791d6acd9492e730dd8f61c3368145737f62b641d00904f5ddd28283 [2023-09-05T08:48:59.831Z] $ docker rm -f --volumes 239eaa1d791d6acd9492e730dd8f61c3368145737f62b641d00904f5ddd28283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-05T08:49:00.082Z] 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-05T08:49:00.813Z] + [ -d /w/workspace/dry_go-mod-core-contracts_PR-854/archives ] [2023-09-05T08:49:00.813Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-854/archives [2023-09-05T08:49:00.813Z] total 16 [2023-09-05T08:49:00.813Z] drwxr-xr-x 3 root root 4096 Sep 5 08:42 . [2023-09-05T08:49:00.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 08:42 .. [2023-09-05T08:49:00.813Z] drwxr-xr-x 2 root root 4096 Sep 5 08:42 cost [2023-09-05T08:49:00.813Z] -rw-r--r-- 1 root root 93 Sep 5 08:42 cost.csv [2023-09-05T08:49:00.813Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-854/archives [2023-09-05T08:49:00.813Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-854/archives [2023-09-05T08:49:00.813Z] total 16 [2023-09-05T08:49:00.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 08:42 . [2023-09-05T08:49:00.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 08:42 .. [2023-09-05T08:49:00.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 08:42 cost [2023-09-05T08:49:00.813Z] -rw-r--r-- 1 jenkins jenkins 93 Sep 5 08:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:01.104Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:01.956Z] ---> package-listing.sh [2023-09-05T08:49:01.956Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-05T08:49:01.956Z] ++ facter osfamily [2023-09-05T08:49:02.215Z] + OS_FAMILY=debian [2023-09-05T08:49:02.215Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-854 [2023-09-05T08:49:02.215Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-05T08:49:02.215Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-05T08:49:02.215Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-05T08:49:02.215Z] + PACKAGES=/tmp/packages_start.txt [2023-09-05T08:49:02.215Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-854 ']' [2023-09-05T08:49:02.215Z] + PACKAGES=/tmp/packages_end.txt [2023-09-05T08:49:02.215Z] + case "${OS_FAMILY}" in [2023-09-05T08:49:02.215Z] + dpkg -l [2023-09-05T08:49:02.215Z] + grep '^ii' [2023-09-05T08:49:02.215Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-05T08:49:02.215Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-05T08:49:02.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-05T08:49:02.215Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-854 ']' [2023-09-05T08:49:02.215Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-854/archives/ [2023-09-05T08:49:02.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-854/archives/ [Pipeline] echo [2023-09-05T08:49:02.225Z] 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-854/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-05T08:49:02.502Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T08:49:03.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T08:49:03.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T08:49:03.138Z] prd-ubuntu20.04-docker-8c-8g-5326 does not seem to be running inside a container [2023-09-05T08:49:03.162Z] $ 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-854/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-854 -v /w/workspace/dry_go-mod-core-contracts_PR-854:/w/workspace/dry_go-mod-core-contracts_PR-854:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-854@tmp:/w/workspace/dry_go-mod-core-contracts_PR-854@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-05T08:49:03.357Z] $ docker top 37e7366d9651e0abf9297adbe56dd2c727dcafb717cc9cc81f4e3edf5f2c66c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T08:49:03.707Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-05T08:49:03.990Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-05T08:49:04.276Z] + ls /var/log/sa-host [2023-09-05T08:49:04.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T08:49:04.435Z] provisioning config files... [2023-09-05T08:49:04.448Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-854@tmp/config2464363442052813806tmp [Pipeline] { [Pipeline] echo [2023-09-05T08:49:04.465Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:04.745Z] ---> create-netrc.sh [Pipeline] } [2023-09-05T08:49:04.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:05.085Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-05T08:49:05.093Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:05.377Z] ---> sudo-logs.sh [2023-09-05T08:49:05.377Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-05T08:49:05.399Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:05.681Z] ---> job-cost.sh [2023-09-05T08:49:05.681Z] lf-activate-venv: SKIPPING [2023-09-05T08:49:05.681Z] DEBUG: total: 0.2199999988079071 [2023-09-05T08:49:05.681Z] INFO: Retrieving Stack Cost... [2023-09-05T08:49:05.941Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T08:49:06.506Z] INFO: Archiving Costs [Pipeline] echo [2023-09-05T08:49:06.516Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T08:49:06.800Z] ---> logs-deploy.sh [2023-09-05T08:49:06.800Z] lf-activate-venv: SKIPPING [2023-09-05T08:49:06.800Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-854/2 [2023-09-05T08:49:06.800Z] INFO: archiving workspace using pattern(s): [2023-09-05T08:49:07.733Z] Archives upload complete. [2023-09-05T08:49:07.733Z] INFO: archiving logs to Nexus