Pull request #842 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e61d52a12cad3a889a881994ab7925b7bcbf992+ff059d2abd58224b472fcef7c0bd297b17133044 (c61c91d4dd7bd757fcfc0f318846cf8507bb2e03) 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-ssh17539160907059070399.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5161437718324707876.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh 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-842/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-842/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6493044716748640993.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-842/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh450147301051807394.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12299697680076837756.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-842/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-842/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5381271385448505887.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17899 in /w/workspace/dry_go-mod-core-contracts_PR-842 [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-842 # 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/842/head:refs/remotes/origin/PR-842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ff059d2abd58224b472fcef7c0bd297b17133044 into PR head commit 9e61d52a12cad3a889a881994ab7925b7bcbf992 Merge succeeded, producing 9e61d52a12cad3a889a881994ab7925b7bcbf992 Checking out Revision 9e61d52a12cad3a889a881994ab7925b7bcbf992 (PR-842) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-05T21:57:47.308Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-05T21:57:47.468Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-05T21:57:47.572Z] ========================================================= [2023-06-05T21:57:47.572Z] EdgeX Global Pipelines Version Info [2023-06-05T21:57:47.572Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 9e61d52a12cad3a889a881994ab7925b7bcbf992 # 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 ff059d2abd58224b472fcef7c0bd297b17133044 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e61d52a12cad3a889a881994ab7925b7bcbf992 # timeout=10 [2023-06-05T21:57:48.312Z] ------------------- [2023-06-05T21:57:48.312Z] stable info: [2023-06-05T21:57:48.312Z] ------------------- [2023-06-05T21:57:48.312Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-05T21:57:48.312Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T21:57:48.312Z] Message: update stable to v1.0.250 [2023-06-05T21:57:48.882Z] ------------------- [2023-06-05T21:57:48.882Z] experimental info: [2023-06-05T21:57:48.883Z] ------------------- [2023-06-05T21:57:48.883Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-05T21:57:48.883Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T21:57:48.883Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-05T21:57:49.169Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2023-06-05T21:57:49.211Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2023-06-05T21:57:49.251Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-05T21:57:49.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-05T21:57:49.331Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-05T21:57:49.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-05T21:57:49.404Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-05T21:57:49.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-05T21:57:49.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-05T21:57:49.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-05T21:57:49.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-05T21:57:49.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2023-06-05T21:57:49.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-05T21:57:49.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-05T21:57:49.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T21:57:49.768Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T21:57:49.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T21:57:49.847Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-05T21:57:49.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-05T21:57:49.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-05T21:57:49.958Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-05T21:57:49.998Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-05T21:57:50.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-05T21:57:50.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-05T21:57:50.130Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-06-05T21:57:50.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-05T21:57:50.212Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-05T21:57:50.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-842 [Pipeline] echo [2023-06-05T21:57:50.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-842 [Pipeline] echo [2023-06-05T21:57:50.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-842 [Pipeline] echo [2023-06-05T21:57:50.380Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e61d52a12cad3a889a881994ab7925b7bcbf992 [Pipeline] echo [2023-06-05T21:57:50.419Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e61d52 [Pipeline] echo [2023-06-05T21:57:50.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-05T21:57:51.007Z] + git rev-list -1 --merges 9e61d52a12cad3a889a881994ab7925b7bcbf992~1..9e61d52a12cad3a889a881994ab7925b7bcbf992 [Pipeline] echo [2023-06-05T21:57:51.077Z] -----------> git rev-list -1 --merges 9e61d52a12cad3a889a881994ab7925b7bcbf992~1..9e61d52a12cad3a889a881994ab7925b7bcbf992 9e61d52a12cad3a889a881994ab7925b7bcbf992 [false] [Pipeline] sh [2023-06-05T21:57:51.386Z] + git log --format=format:%s -1 9e61d52a12cad3a889a881994ab7925b7bcbf992 [Pipeline] echo [2023-06-05T21:57:51.423Z] ========================================================= [2023-06-05T21:57:51.423Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-05T21:57:51.423Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-05T21:57:51.859Z] + git log --format=format:%s -1 9e61d52a12cad3a889a881994ab7925b7bcbf992 [Pipeline] echo [2023-06-05T21:57:51.894Z] [semverPrep] GIT_COMMIT: 9e61d52a12cad3a889a881994ab7925b7bcbf992, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 [Pipeline] echo [2023-06-05T21:57:51.919Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-05T21:57:52.316Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-05T21:57:52.316Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-05T21:57:52.316Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-05T21:57:52.316Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-05T21:57:52.316Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-05T21:57:52.316Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-05T21:57:52.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T21:57:52.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T21:57:52.999Z] [2023-06-05T21:57:52.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T21:57:53.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T21:57:53.373Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-05T21:57:53.373Z] b85a868b505f: Pulling fs layer [2023-06-05T21:57:53.373Z] e2be974225ed: Pulling fs layer [2023-06-05T21:57:53.373Z] 339a4e72a1f5: Pulling fs layer [2023-06-05T21:57:53.373Z] 988bab9f4d93: Pulling fs layer [2023-06-05T21:57:53.373Z] 1469e6f7b9e6: Pulling fs layer [2023-06-05T21:57:53.373Z] eaf3925da568: Pulling fs layer [2023-06-05T21:57:53.373Z] bab4dde63d76: Pulling fs layer [2023-06-05T21:57:53.373Z] bde34c3a00c8: Pulling fs layer [2023-06-05T21:57:53.373Z] 988bab9f4d93: Waiting [2023-06-05T21:57:53.373Z] 1469e6f7b9e6: Waiting [2023-06-05T21:57:53.373Z] eaf3925da568: Waiting [2023-06-05T21:57:53.373Z] bab4dde63d76: Waiting [2023-06-05T21:57:53.373Z] b352a97aabf1: Pulling fs layer [2023-06-05T21:57:53.373Z] 4872d77fe225: Pulling fs layer [2023-06-05T21:57:53.373Z] bde34c3a00c8: Waiting [2023-06-05T21:57:53.373Z] 4872d77fe225: Waiting [2023-06-05T21:57:53.373Z] 5851b861e8e6: Pulling fs layer [2023-06-05T21:57:53.373Z] b352a97aabf1: Waiting [2023-06-05T21:57:53.373Z] 5851b861e8e6: Waiting [2023-06-05T21:57:53.373Z] e2be974225ed: Download complete [2023-06-05T21:57:53.373Z] 988bab9f4d93: Verifying Checksum [2023-06-05T21:57:53.373Z] 988bab9f4d93: Download complete [2023-06-05T21:57:53.373Z] 1469e6f7b9e6: Verifying Checksum [2023-06-05T21:57:53.373Z] 1469e6f7b9e6: Download complete [2023-06-05T21:57:53.640Z] eaf3925da568: Verifying Checksum [2023-06-05T21:57:53.640Z] eaf3925da568: Download complete [2023-06-05T21:57:53.640Z] 339a4e72a1f5: Verifying Checksum [2023-06-05T21:57:53.640Z] 339a4e72a1f5: Download complete [2023-06-05T21:57:53.640Z] bde34c3a00c8: Download complete [2023-06-05T21:57:53.640Z] b352a97aabf1: Verifying Checksum [2023-06-05T21:57:53.640Z] b352a97aabf1: Download complete [2023-06-05T21:57:53.640Z] 4872d77fe225: Verifying Checksum [2023-06-05T21:57:53.640Z] 4872d77fe225: Download complete [2023-06-05T21:57:53.640Z] 5851b861e8e6: Verifying Checksum [2023-06-05T21:57:53.640Z] 5851b861e8e6: Download complete [2023-06-05T21:57:53.640Z] b85a868b505f: Verifying Checksum [2023-06-05T21:57:53.640Z] b85a868b505f: Download complete [2023-06-05T21:57:53.900Z] bab4dde63d76: Verifying Checksum [2023-06-05T21:57:53.900Z] bab4dde63d76: Download complete [2023-06-05T21:57:54.835Z] b85a868b505f: Pull complete [2023-06-05T21:57:55.094Z] e2be974225ed: Pull complete [2023-06-05T21:57:55.662Z] 339a4e72a1f5: Pull complete [2023-06-05T21:57:55.662Z] 988bab9f4d93: Pull complete [2023-06-05T21:57:55.921Z] 1469e6f7b9e6: Pull complete [2023-06-05T21:57:55.921Z] eaf3925da568: Pull complete [2023-06-05T21:57:57.825Z] bab4dde63d76: Pull complete [2023-06-05T21:57:57.825Z] bde34c3a00c8: Pull complete [2023-06-05T21:57:57.825Z] b352a97aabf1: Pull complete [2023-06-05T21:57:58.084Z] 4872d77fe225: Pull complete [2023-06-05T21:57:58.084Z] 5851b861e8e6: Pull complete [2023-06-05T21:57:58.084Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-05T21:57:58.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-05T21:57:58.084Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T21:57:58.321Z] prd-ubuntu20.04-docker-8c-8g-17899 does not seem to be running inside a container [2023-06-05T21:57:58.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-842 -v /w/workspace/dry_go-mod-core-contracts_PR-842:/w/workspace/dry_go-mod-core-contracts_PR-842:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-842@tmp:/w/workspace/dry_go-mod-core-contracts_PR-842@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-06-05T21:57:59.545Z] $ docker top e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 -eo pid,comm [2023-06-05T21:57:59.608Z] 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-06-05T21:57:59.608Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-05T21:57:59.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-05T21:57:59.734Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-05T21:57:59.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-05T21:57:59.868Z] $ docker exec e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 ssh-agent [2023-06-05T21:57:59.987Z] SSH_AUTH_SOCK=/tmp/ssh-DYIhHoLZzjQ8/agent.33 [2023-06-05T21:57:59.987Z] SSH_AGENT_PID=39 [2023-06-05T21:57:59.994Z] Running ssh-add (command line suppressed) [2023-06-05T21:58:00.093Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-842@tmp/private_key_4334604672052750246.key (/w/workspace/dry_go-mod-core-contracts_PR-842@tmp/private_key_4334604672052750246.key) [2023-06-05T21:58:00.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-05T21:58:00.446Z] + git tag --points-at HEAD [Pipeline] } [2023-06-05T21:58:00.471Z] $ docker exec --env ******** --env ******** e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 ssh-agent -k [2023-06-05T21:58:00.575Z] unset SSH_AUTH_SOCK; [2023-06-05T21:58:00.576Z] unset SSH_AGENT_PID; [2023-06-05T21:58:00.577Z] echo Agent pid 39 killed; [2023-06-05T21:58:00.594Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-05T21:58:00.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-05T21:58:00.687Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-05T21:58:00.801Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-05T21:58:00.801Z] $ docker exec e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 ssh-agent [2023-06-05T21:58:00.917Z] SSH_AUTH_SOCK=/tmp/ssh-5b2HFJao9kPa/agent.71 [2023-06-05T21:58:00.917Z] SSH_AGENT_PID=77 [2023-06-05T21:58:00.923Z] Running ssh-add (command line suppressed) [2023-06-05T21:58:01.027Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-842@tmp/private_key_17945660752506548501.key (/w/workspace/dry_go-mod-core-contracts_PR-842@tmp/private_key_17945660752506548501.key) [2023-06-05T21:58:01.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-05T21:58:01.382Z] + git semver init [2023-06-05T21:58:01.644Z] 2023-06-05 21:58:01,560 [run_init] DEBUG init version:0.0.0 force:False [2023-06-05T21:58:01.644Z] 2023-06-05 21:58:01,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-842/.semver [2023-06-05T21:58:01.644Z] 2023-06-05 21:58:01,562 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-842/.semver [2023-06-05T21:58:01.644Z] 2023-06-05 21:58:01,562 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-842/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-842, universal_newlines=False, shell=None, istream=None) [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,350 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-842/.git/info/exclude [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,351 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-842/.semver/PR-842 with force:False [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,351 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-842/.semver/PR-842 [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,355 [execute] INFO git cat-file --batch-check [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,355 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-842/.semver, universal_newlines=False, shell=None, istream=) [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,361 [execute] INFO git cat-file --batch [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-842/.semver, universal_newlines=False, shell=None, istream=) [2023-06-05T21:58:02.582Z] 2023-06-05 21:58:02,366 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-842/.semver/PR-842 [2023-06-05T21:58:02.582Z] 0.0.0 [Pipeline] } [2023-06-05T21:58:02.614Z] $ docker exec --env ******** --env ******** e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 ssh-agent -k [2023-06-05T21:58:02.726Z] unset SSH_AUTH_SOCK; [2023-06-05T21:58:02.726Z] unset SSH_AGENT_PID; [2023-06-05T21:58:02.726Z] echo Agent pid 77 killed; [2023-06-05T21:58:02.739Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-05T21:58:03.165Z] + git semver [Pipeline] } [2023-06-05T21:58:03.448Z] $ docker stop --time=1 e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 [2023-06-05T21:58:04.751Z] $ docker rm -f --volumes e074b8cc614f5b87c8a45c8b75681ed6b4d55ca7eea89f701a5d22b889c1cdf7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T21:58:05.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-05T21:58:05.425Z] Stashed 1 file(s) [Pipeline] echo [2023-06-05T21:58:05.446Z] [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-06-05T21:58:06.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T21:58:06.080Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T21:58:06.112Z] ========================================================= [2023-06-05T21:58:06.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-05T21:58:06.112Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-06-05T21:58:06.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-05T21:58:06.501Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-05T21:58:06.501Z] f56be85fc22e: Pulling fs layer [2023-06-05T21:58:06.501Z] 85791d961cd3: Pulling fs layer [2023-06-05T21:58:06.501Z] d694b5ae8c79: Pulling fs layer [2023-06-05T21:58:06.501Z] 9f32a84ed3da: Pulling fs layer [2023-06-05T21:58:06.501Z] 4d19c01a9841: Pulling fs layer [2023-06-05T21:58:06.501Z] 9325e15d5711: Pulling fs layer [2023-06-05T21:58:06.501Z] 556b6ee489ea: Pulling fs layer [2023-06-05T21:58:06.501Z] c5a4b2cf53e6: Pulling fs layer [2023-06-05T21:58:06.501Z] 9f32a84ed3da: Waiting [2023-06-05T21:58:06.501Z] 4d19c01a9841: Waiting [2023-06-05T21:58:06.501Z] 9325e15d5711: Waiting [2023-06-05T21:58:06.501Z] 556b6ee489ea: Waiting [2023-06-05T21:58:06.501Z] c5a4b2cf53e6: Waiting [2023-06-05T21:58:06.501Z] 85791d961cd3: Download complete [2023-06-05T21:58:06.501Z] 9f32a84ed3da: Verifying Checksum [2023-06-05T21:58:06.501Z] 9f32a84ed3da: Download complete [2023-06-05T21:58:06.501Z] 4d19c01a9841: Verifying Checksum [2023-06-05T21:58:06.501Z] 4d19c01a9841: Download complete [2023-06-05T21:58:06.501Z] f56be85fc22e: Verifying Checksum [2023-06-05T21:58:06.501Z] f56be85fc22e: Download complete [2023-06-05T21:58:06.501Z] 9325e15d5711: Verifying Checksum [2023-06-05T21:58:06.501Z] 9325e15d5711: Download complete [2023-06-05T21:58:06.761Z] f56be85fc22e: Pull complete [2023-06-05T21:58:06.761Z] 85791d961cd3: Pull complete [2023-06-05T21:58:07.337Z] d694b5ae8c79: Download complete [2023-06-05T21:58:07.337Z] c5a4b2cf53e6: Verifying Checksum [2023-06-05T21:58:07.337Z] c5a4b2cf53e6: Download complete [2023-06-05T21:58:07.338Z] 556b6ee489ea: Verifying Checksum [2023-06-05T21:58:07.338Z] 556b6ee489ea: Download complete [2023-06-05T21:58:10.626Z] d694b5ae8c79: Pull complete [2023-06-05T21:58:10.626Z] 9f32a84ed3da: Pull complete [2023-06-05T21:58:10.885Z] 4d19c01a9841: Pull complete [2023-06-05T21:58:10.885Z] 9325e15d5711: Pull complete [2023-06-05T21:58:13.427Z] 556b6ee489ea: Pull complete [2023-06-05T21:58:14.365Z] c5a4b2cf53e6: Pull complete [2023-06-05T21:58:14.365Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-05T21:58:14.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-05T21:58:14.365Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [Pipeline] sh [2023-06-05T21:58:14.681Z] + 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-06-05T21:58:15.049Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-05T21:58:15.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T21:58:15.212Z] prd-ubuntu20.04-docker-8c-8g-17899 does not seem to be running inside a container [2023-06-05T21:58:15.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-842 -v /w/workspace/dry_go-mod-core-contracts_PR-842:/w/workspace/dry_go-mod-core-contracts_PR-842:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-842@tmp:/w/workspace/dry_go-mod-core-contracts_PR-842@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-06-05T21:58:17.043Z] $ docker top 5de8b83a59410dec2c0b1429a96997050569b24de63d76817673b52caf5e6552 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T21:58:17.446Z] + go version [2023-06-05T21:58:17.446Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-05T21:58:17.476Z] $ docker stop --time=1 5de8b83a59410dec2c0b1429a96997050569b24de63d76817673b52caf5e6552 [2023-06-05T21:58:18.765Z] $ docker rm -f --volumes 5de8b83a59410dec2c0b1429a96997050569b24de63d76817673b52caf5e6552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T21:58:19.469Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-05T21:58:19.469Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T21:58:19.608Z] prd-ubuntu20.04-docker-8c-8g-17899 does not seem to be running inside a container [2023-06-05T21:58:19.634Z] $ 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-842 -v /w/workspace/dry_go-mod-core-contracts_PR-842:/w/workspace/dry_go-mod-core-contracts_PR-842:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-842@tmp:/w/workspace/dry_go-mod-core-contracts_PR-842@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-06-05T21:58:19.999Z] $ docker top bcda8b3eab24735fb724feed30d056a576c735bd460ebac65f81d9bb9e329812 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T21:58:20.412Z] + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-842 [Pipeline] fileExists [Pipeline] sh [2023-06-05T21:58:20.773Z] + make test [2023-06-05T21:58:20.773Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-06-05T21:58:20.773Z] go: downloading github.com/go-kit/log v0.2.1 [2023-06-05T21:58:20.773Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-06-05T21:58:20.773Z] go: downloading github.com/go-playground/validator/v10 v10.13.0 [2023-06-05T21:58:20.773Z] go: downloading github.com/google/uuid v1.3.0 [2023-06-05T21:58:20.773Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-06-05T21:58:20.773Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-06-05T21:58:20.854Z] Still waiting to schedule task [2023-06-05T21:58:20.855Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-05T21:58:21.031Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-06-05T21:58:21.031Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-06-05T21:58:21.031Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-06-05T21:58:21.031Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-06-05T21:58:21.031Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-06-05T21:58:21.031Z] go: downloading github.com/leodido/go-urn v1.2.3 [2023-06-05T21:58:21.031Z] go: downloading golang.org/x/crypto v0.7.0 [2023-06-05T21:58:21.031Z] go: downloading golang.org/x/text v0.8.0 [2023-06-05T21:58:21.031Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-06-05T21:58:21.031Z] go: downloading github.com/x448/float16 v0.8.4 [2023-06-05T21:58:27.595Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-06-05T21:58:32.864Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-06-05T21:58:32.864Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-06-05T21:58:32.864Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-06-05T21:58:33.122Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.103s coverage: 83.5% of statements [2023-06-05T21:58:33.122Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.026s coverage: 32.4% of statements [2023-06-05T21:58:33.122Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.018s coverage: 29.4% of statements [2023-06-05T21:58:33.122Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.020s coverage: 18.3% of statements [2023-06-05T21:58:33.122Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.038s coverage: 53.8% of statements [2023-06-05T21:58:33.451Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.011s coverage: 90.0% of statements [2023-06-05T21:58:33.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.046s coverage: 86.7% of statements [2023-06-05T21:58:33.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.013s coverage: 60.5% of statements [2023-06-05T21:58:33.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.009s coverage: 36.1% of statements [2023-06-05T21:58:33.710Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.014s coverage: 48.7% of statements [2023-06-05T21:58:45.909Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-06-05T21:58:46.475Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-05T21:58:46.475Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-06-05T21:58:46.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-05T21:58:46.786Z] $ docker stop --time=1 bcda8b3eab24735fb724feed30d056a576c735bd460ebac65f81d9bb9e329812 [2023-06-05T21:58:49.272Z] $ docker rm -f --volumes bcda8b3eab24735fb724feed30d056a576c735bd460ebac65f81d9bb9e329812 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T21:58:49.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-05T21:58:49.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T21:58:50.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T21:58:50.913Z] [2023-06-05T21:58:50.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T21:58:51.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T21:58:51.285Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-05T21:58:51.285Z] 5eb5b503b376: Pulling fs layer [2023-06-05T21:58:51.285Z] 5c69ac0246d0: Pulling fs layer [2023-06-05T21:58:51.285Z] ec43610c2a17: Pulling fs layer [2023-06-05T21:58:51.285Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-05T21:58:51.285Z] 33b1e0a273af: Pulling fs layer [2023-06-05T21:58:51.285Z] 5d3b04190fa2: Pulling fs layer [2023-06-05T21:58:51.285Z] 2f39f015ded8: Pulling fs layer [2023-06-05T21:58:51.285Z] 3a2ae6a8a46f: Waiting [2023-06-05T21:58:51.285Z] 33b1e0a273af: Waiting [2023-06-05T21:58:51.285Z] 2f39f015ded8: Waiting [2023-06-05T21:58:51.285Z] 5d3b04190fa2: Waiting [2023-06-05T21:58:51.285Z] 5c69ac0246d0: Download complete [2023-06-05T21:58:51.285Z] 3a2ae6a8a46f: Download complete [2023-06-05T21:58:51.285Z] 33b1e0a273af: Verifying Checksum [2023-06-05T21:58:51.285Z] 33b1e0a273af: Download complete [2023-06-05T21:58:51.285Z] ec43610c2a17: Verifying Checksum [2023-06-05T21:58:51.285Z] ec43610c2a17: Download complete [2023-06-05T21:58:51.545Z] 5d3b04190fa2: Verifying Checksum [2023-06-05T21:58:51.545Z] 5d3b04190fa2: Download complete [2023-06-05T21:58:51.545Z] 5eb5b503b376: Verifying Checksum [2023-06-05T21:58:51.545Z] 5eb5b503b376: Download complete [2023-06-05T21:58:52.110Z] 2f39f015ded8: Verifying Checksum [2023-06-05T21:58:52.110Z] 2f39f015ded8: Download complete [2023-06-05T21:58:52.676Z] 5eb5b503b376: Pull complete [2023-06-05T21:58:52.935Z] 5c69ac0246d0: Pull complete [2023-06-05T21:58:53.194Z] ec43610c2a17: Pull complete [2023-06-05T21:58:53.452Z] 3a2ae6a8a46f: Pull complete [2023-06-05T21:58:53.713Z] 33b1e0a273af: Pull complete [2023-06-05T21:58:53.713Z] 5d3b04190fa2: Pull complete [2023-06-05T21:58:57.908Z] 2f39f015ded8: Pull complete [2023-06-05T21:58:57.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-05T21:58:57.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T21:58:57.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T21:58:58.136Z] prd-ubuntu20.04-docker-8c-8g-17899 does not seem to be running inside a container [2023-06-05T21:58:58.157Z] $ 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-842 -v /w/workspace/dry_go-mod-core-contracts_PR-842:/w/workspace/dry_go-mod-core-contracts_PR-842:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-842@tmp:/w/workspace/dry_go-mod-core-contracts_PR-842@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-06-05T21:59:00.193Z] $ docker top 166b127b3f3486e9b1627813fb967c8929db07f71510386d4a6490dce69a79e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-05T21:59:00.649Z] ---> job-cost.sh [2023-06-05T21:59:00.650Z] lf-activate-venv: SKIPPING [2023-06-05T21:59:00.650Z] INFO: No Stack... [2023-06-05T21:59:00.907Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-05T21:59:01.167Z] INFO: Archiving Costs [Pipeline] sh [2023-06-05T21:59:01.480Z] + cat /w/workspace/dry_go-mod-core-contracts_PR-842/archives/cost.csv [2023-06-05T21:59:01.480Z] + cut -d, -f6 [Pipeline] lock [2023-06-05T21:59:01.517Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [2023-06-05T21:59:01.521Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] did not exist. Created. [2023-06-05T21:59:01.522Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-05T21:59:01.904Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-05T21:59:01.953Z] Stashed 1 file(s) [Pipeline] } [2023-06-05T21:59:01.978Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-05T21:59:02.051Z] $ docker stop --time=1 166b127b3f3486e9b1627813fb967c8929db07f71510386d4a6490dce69a79e1 [2023-06-05T21:59:03.214Z] $ docker rm -f --volumes 166b127b3f3486e9b1627813fb967c8929db07f71510386d4a6490dce69a79e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-05T21:59:57.674Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17902 in /w/workspace/dry_go-mod-core-contracts_PR-842 [Pipeline] { [Pipeline] ws [2023-06-05T21:59:57.731Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2023-06-05T21:59:57.814Z] The recommended git tool is: git [2023-06-05T22:00:02.766Z] using credential edgex-jenkins-ssh [2023-06-05T22:00:02.782Z] Cloning the remote Git repository [2023-06-05T22:00:02.825Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-06-05T22:00:02.918Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2023-06-05T22:00:03.051Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-06-05T22:00:03.052Z] > git --version # timeout=10 [2023-06-05T22:00:03.074Z] > git --version # 'git version 2.25.1' [2023-06-05T22:00:03.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T22:00:03.219Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-05T22:00:05.476Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-06-05T22:00:05.507Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-05T22:00:06.305Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-06-05T22:00:06.352Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-06-05T22:00:06.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T22:00:06.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/842/head:refs/remotes/origin/PR-842 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-05T22:00:06.930Z] Merging remotes/origin/main commit ff059d2abd58224b472fcef7c0bd297b17133044 into PR head commit 9e61d52a12cad3a889a881994ab7925b7bcbf992 [2023-06-05T22:00:07.247Z] Merge succeeded, producing 9e61d52a12cad3a889a881994ab7925b7bcbf992 [2023-06-05T22:00:07.248Z] Checking out Revision 9e61d52a12cad3a889a881994ab7925b7bcbf992 (PR-842) [2023-06-05T22:00:07.734Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4" [2023-06-05T22:00:07.778Z] > git --version # timeout=10 [2023-06-05T22:00:07.790Z] > git --version # 'git version 2.25.1' [2023-06-05T22:00:07.803Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-05T22:00:06.947Z] > git config core.sparsecheckout # timeout=10 [2023-06-05T22:00:07.030Z] > git checkout -f 9e61d52a12cad3a889a881994ab7925b7bcbf992 # timeout=10 [2023-06-05T22:00:07.154Z] > git remote # timeout=10 [2023-06-05T22:00:07.175Z] > git config --get remote.origin.url # timeout=10 [2023-06-05T22:00:07.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-05T22:00:07.209Z] > git merge ff059d2abd58224b472fcef7c0bd297b17133044 # timeout=10 [2023-06-05T22:00:07.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-05T22:00:07.254Z] > git config core.sparsecheckout # timeout=10 [2023-06-05T22:00:07.269Z] > git checkout -f 9e61d52a12cad3a889a881994ab7925b7bcbf992 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-05T22:00:08.835Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-05T22:00:08.835Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-05T22:00:08.835Z] Dload Upload Total Spent Left Speed [2023-06-05T22:00:08.835Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-06-05T22:00:09.445Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-05T22:00:09.788Z] + sudo tee /etc/docker/daemon.new [2023-06-05T22:00:09.788Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-05T22:00:09.788Z] { [2023-06-05T22:00:09.788Z] "registry-mirrors": [ [2023-06-05T22:00:09.788Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-05T22:00:09.788Z] ], [2023-06-05T22:00:09.788Z] "bip": "10.250.0.254/24", [2023-06-05T22:00:09.788Z] "hosts": [ [2023-06-05T22:00:09.788Z] "tcp://0.0.0.0:5555", [2023-06-05T22:00:09.788Z] "unix:///var/run/docker.sock" [2023-06-05T22:00:09.788Z] ], [2023-06-05T22:00:09.788Z] "mtu": 1458, [2023-06-05T22:00:09.788Z] "selinux-enabled": true, [2023-06-05T22:00:09.788Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-05T22:00:09.788Z] } [Pipeline] sh [2023-06-05T22:00:10.130Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-05T22:00:10.487Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-06-05T22:00:28.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T22:00:29.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-05T22:00:29.036Z] ========================================================= [2023-06-05T22:00:29.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-05T22:00:29.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-06-05T22:00:29.449Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-05T22:00:32.804Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-05T22:00:32.804Z] c41833b44d91: Pulling fs layer [2023-06-05T22:00:32.804Z] ed15518f5707: Pulling fs layer [2023-06-05T22:00:32.804Z] feae8fd75edb: Pulling fs layer [2023-06-05T22:00:32.804Z] 242c74f7c9fa: Pulling fs layer [2023-06-05T22:00:32.804Z] 3cdef696dda3: Pulling fs layer [2023-06-05T22:00:32.804Z] 2ced38df9373: Pulling fs layer [2023-06-05T22:00:32.804Z] 58f1dce35555: Pulling fs layer [2023-06-05T22:00:32.804Z] 3cdef696dda3: Waiting [2023-06-05T22:00:32.804Z] 242c74f7c9fa: Waiting [2023-06-05T22:00:32.804Z] 2ced38df9373: Waiting [2023-06-05T22:00:32.804Z] 58f1dce35555: Waiting [2023-06-05T22:00:32.804Z] ed15518f5707: Verifying Checksum [2023-06-05T22:00:32.804Z] ed15518f5707: Download complete [2023-06-05T22:00:32.804Z] 242c74f7c9fa: Verifying Checksum [2023-06-05T22:00:32.804Z] 242c74f7c9fa: Download complete [2023-06-05T22:00:32.804Z] 3cdef696dda3: Verifying Checksum [2023-06-05T22:00:32.804Z] 3cdef696dda3: Download complete [2023-06-05T22:00:32.804Z] c41833b44d91: Verifying Checksum [2023-06-05T22:00:32.804Z] c41833b44d91: Download complete [2023-06-05T22:00:33.777Z] c41833b44d91: Pull complete [2023-06-05T22:00:34.046Z] 58f1dce35555: Verifying Checksum [2023-06-05T22:00:34.046Z] 58f1dce35555: Download complete [2023-06-05T22:00:34.046Z] ed15518f5707: Pull complete [2023-06-05T22:00:35.018Z] feae8fd75edb: Verifying Checksum [2023-06-05T22:00:35.018Z] feae8fd75edb: Download complete [2023-06-05T22:00:35.288Z] 2ced38df9373: Verifying Checksum [2023-06-05T22:00:35.288Z] 2ced38df9373: Download complete [2023-06-05T22:00:47.753Z] feae8fd75edb: Pull complete [2023-06-05T22:00:47.753Z] 242c74f7c9fa: Pull complete [2023-06-05T22:00:47.753Z] 3cdef696dda3: Pull complete [2023-06-05T22:00:53.106Z] 2ced38df9373: Pull complete [2023-06-05T22:00:55.710Z] 58f1dce35555: Pull complete [2023-06-05T22:00:55.710Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-05T22:00:55.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-05T22:00:55.710Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [Pipeline] sh [2023-06-05T22:00:56.051Z] + 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-06-05T22:00:56.461Z] + docker inspect -f . ci-base-image-arm64 [2023-06-05T22:00:56.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T22:00:56.757Z] prd-ubuntu20.04-docker-arm64-4c-16g-17902 does not seem to be running inside a container [2023-06-05T22:00:56.822Z] $ 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 ******** ci-base-image-arm64 cat [2023-06-05T22:01:00.580Z] $ docker top 9ac6e69dfccee2397a46dcfeba122d21db9ac3f408cc515c914bec2b09ebcf01 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T22:01:01.444Z] + go version [2023-06-05T22:01:01.444Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-05T22:01:01.480Z] $ docker stop --time=1 9ac6e69dfccee2397a46dcfeba122d21db9ac3f408cc515c914bec2b09ebcf01 [2023-06-05T22:01:03.102Z] $ docker rm -f --volumes 9ac6e69dfccee2397a46dcfeba122d21db9ac3f408cc515c914bec2b09ebcf01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T22:01:03.939Z] + docker inspect -f . ci-base-image-arm64 [2023-06-05T22:01:03.939Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T22:01:04.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-17902 does not seem to be running inside a container [2023-06-05T22:01:04.309Z] $ 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 ******** ci-base-image-arm64 cat [2023-06-05T22:01:05.431Z] $ docker top 4cd9bc5de280ae782da5621bb6037261fa697fa2e2af6e5ed253961f2afbf7aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T22:01:05.972Z] + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/1 [Pipeline] fileExists [Pipeline] sh [2023-06-05T22:01:06.413Z] + make test [2023-06-05T22:01:06.413Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-06-05T22:01:06.684Z] go: downloading github.com/stretchr/testify v1.8.4 [2023-06-05T22:01:06.953Z] go: downloading github.com/go-kit/log v0.2.1 [2023-06-05T22:01:06.953Z] go: downloading github.com/google/uuid v1.3.0 [2023-06-05T22:01:06.953Z] go: downloading github.com/go-playground/validator/v10 v10.13.0 [2023-06-05T22:01:06.953Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-06-05T22:01:07.221Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-06-05T22:01:07.493Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-06-05T22:01:07.493Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-06-05T22:01:07.493Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-06-05T22:01:07.493Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-06-05T22:01:07.493Z] go: downloading github.com/x448/float16 v0.8.4 [2023-06-05T22:01:07.493Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-06-05T22:01:07.493Z] go: downloading github.com/leodido/go-urn v1.2.3 [2023-06-05T22:01:07.493Z] go: downloading golang.org/x/crypto v0.7.0 [2023-06-05T22:01:07.493Z] go: downloading golang.org/x/text v0.8.0 [2023-06-05T22:01:07.763Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-06-05T22:01:39.992Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-06-05T22:02:27.117Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-06-05T22:02:27.117Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-06-05T22:02:27.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.416s coverage: 83.5% of statements [2023-06-05T22:02:27.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.080s coverage: 32.4% of statements [2023-06-05T22:02:27.117Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-06-05T22:02:27.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.089s coverage: 29.4% of statements [2023-06-05T22:02:27.117Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.076s coverage: 18.3% of statements [2023-06-05T22:02:29.057Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.252s coverage: 53.8% of statements [2023-06-05T22:02:29.057Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.128s coverage: 90.0% of statements [2023-06-05T22:02:31.635Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.306s coverage: 86.7% of statements [2023-06-05T22:02:31.635Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.073s coverage: 60.5% of statements [2023-06-05T22:02:31.635Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.051s coverage: 36.1% of statements [2023-06-05T22:02:31.635Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.049s coverage: 48.7% of statements [2023-06-05T22:02:31.901Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-05T22:02:31.901Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-06-05T22:02:46.887Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-05T22:02:46.887Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-06-05T22:02:46.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-06-05T22:02:46.954Z] $ docker stop --time=1 4cd9bc5de280ae782da5621bb6037261fa697fa2e2af6e5ed253961f2afbf7aa [2023-06-05T22:02:50.006Z] $ docker rm -f --volumes 4cd9bc5de280ae782da5621bb6037261fa697fa2e2af6e5ed253961f2afbf7aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-05T22:02:51.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-06-05T22:02:51.623Z] Warning: overwriting stash ‘coverage-report’ [2023-06-05T22:02:52.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T22:02:53.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T22:02:53.026Z] [2023-06-05T22:02:53.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T22:02:53.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T22:02:53.426Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-05T22:02:53.426Z] 8998bd30e6a1: Pulling fs layer [2023-06-05T22:02:53.426Z] 04944245beec: Pulling fs layer [2023-06-05T22:02:53.426Z] 699f458cf7ca: Pulling fs layer [2023-06-05T22:02:53.426Z] 765212b225bb: Pulling fs layer [2023-06-05T22:02:53.426Z] f23df028b6ca: Pulling fs layer [2023-06-05T22:02:53.426Z] d65c8cfc05b1: Pulling fs layer [2023-06-05T22:02:53.426Z] 2437ff75d9bd: Pulling fs layer [2023-06-05T22:02:53.426Z] f23df028b6ca: Waiting [2023-06-05T22:02:53.426Z] d65c8cfc05b1: Waiting [2023-06-05T22:02:53.426Z] 2437ff75d9bd: Waiting [2023-06-05T22:02:53.426Z] 765212b225bb: Waiting [2023-06-05T22:02:53.691Z] 04944245beec: Verifying Checksum [2023-06-05T22:02:53.691Z] 04944245beec: Download complete [2023-06-05T22:02:53.691Z] 765212b225bb: Verifying Checksum [2023-06-05T22:02:53.691Z] 765212b225bb: Download complete [2023-06-05T22:02:53.691Z] f23df028b6ca: Verifying Checksum [2023-06-05T22:02:53.691Z] f23df028b6ca: Download complete [2023-06-05T22:02:53.691Z] d65c8cfc05b1: Verifying Checksum [2023-06-05T22:02:53.691Z] d65c8cfc05b1: Download complete [2023-06-05T22:02:53.691Z] 699f458cf7ca: Verifying Checksum [2023-06-05T22:02:53.691Z] 699f458cf7ca: Download complete [2023-06-05T22:02:54.279Z] 8998bd30e6a1: Verifying Checksum [2023-06-05T22:02:54.279Z] 8998bd30e6a1: Download complete [2023-06-05T22:02:56.213Z] 2437ff75d9bd: Verifying Checksum [2023-06-05T22:02:56.213Z] 2437ff75d9bd: Download complete [2023-06-05T22:02:57.617Z] 8998bd30e6a1: Pull complete [2023-06-05T22:02:58.198Z] 04944245beec: Pull complete [2023-06-05T22:02:59.600Z] 699f458cf7ca: Pull complete [2023-06-05T22:02:59.600Z] 765212b225bb: Pull complete [2023-06-05T22:03:00.182Z] f23df028b6ca: Pull complete [2023-06-05T22:03:00.449Z] d65c8cfc05b1: Pull complete [2023-06-05T22:03:15.437Z] 2437ff75d9bd: Pull complete [2023-06-05T22:03:15.437Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-05T22:03:15.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-05T22:03:15.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T22:03:15.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-17902 does not seem to be running inside a container [2023-06-05T22:03:15.808Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-05T22:03:18.130Z] $ docker top 652c3b57e1916ef4e3cc7099f2ef4573c320a4bb468bbf878825ce3ba88b697d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:19.028Z] ---> job-cost.sh [2023-06-05T22:03:19.029Z] lf-activate-venv: SKIPPING [2023-06-05T22:03:19.029Z] INFO: No Stack... [2023-06-05T22:03:19.295Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-05T22:03:20.251Z] INFO: Archiving Costs [Pipeline] sh [2023-06-05T22:03:20.588Z] + cut -d, -f6+ [2023-06-05T22:03:20.588Z] cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [Pipeline] lock [2023-06-05T22:03:20.662Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [2023-06-05T22:03:20.667Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] did not exist. Created. [2023-06-05T22:03:20.667Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-05T22:03:21.089Z] /w/workspace/go-mod-core-contracts/1@tmp/durable-3d1ea31c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-05T22:03:21.428Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-05T22:03:21.464Z] Warning: overwriting stash ‘stack-cost’ [2023-06-05T22:03:21.518Z] Stashed 1 file(s) [Pipeline] } [2023-06-05T22:03:21.534Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-842-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-05T22:03:21.615Z] $ docker stop --time=1 652c3b57e1916ef4e3cc7099f2ef4573c320a4bb468bbf878825ce3ba88b697d [2023-06-05T22:03:23.074Z] $ docker rm -f --volumes 652c3b57e1916ef4e3cc7099f2ef4573c320a4bb468bbf878825ce3ba88b697d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-06-05T22:03:24.040Z] provisioning config files... [2023-06-05T22:03:24.055Z] copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-842@tmp/config12403168581537385440tmp [Pipeline] { [Pipeline] sh [2023-06-05T22:03:24.372Z] + set +x [2023-06-05T22:03:24.372Z] + bash -s -- [2023-06-05T22:03:24.372Z] + curl -s https://codecov.io/bash [2023-06-05T22:03:24.372Z] [2023-06-05T22:03:24.372Z] _____ _ [2023-06-05T22:03:24.372Z] / ____| | | [2023-06-05T22:03:24.372Z] | | ___ __| | ___ ___ _____ __ [2023-06-05T22:03:24.372Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-06-05T22:03:24.372Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-06-05T22:03:24.372Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-06-05T22:03:24.372Z] Bash-1.0.6 [2023-06-05T22:03:24.372Z] [2023-06-05T22:03:24.372Z] [2023-06-05T22:03:24.372Z] ==> git version 2.25.1 found [2023-06-05T22:03:24.372Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-06-05T22:03:24.372Z] Release-Date: 2020-01-08 [2023-06-05T22:03:24.372Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-06-05T22:03:24.372Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-06-05T22:03:24.372Z] ==> Jenkins CI detected. [2023-06-05T22:03:24.372Z] current dir:  /w/workspace/dry_go-mod-core-contracts_PR-842 [2023-06-05T22:03:24.372Z] project root: . [2023-06-05T22:03:24.372Z] --> token set from env [2023-06-05T22:03:24.373Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-06-05T22:03:24.632Z] ==> Running gcov in . (disable via -X gcov) [2023-06-05T22:03:24.632Z] ==> Python coveragepy not found [2023-06-05T22:03:24.632Z] ==> Searching for coverage reports in: [2023-06-05T22:03:24.632Z] + . [2023-06-05T22:03:24.632Z] -> Found 1 reports [2023-06-05T22:03:24.632Z] ==> Detecting git/mercurial file structure [2023-06-05T22:03:24.632Z] ==> Reading reports [2023-06-05T22:03:24.632Z] + ./coverage.out bytes=134600 [2023-06-05T22:03:24.632Z] ==> Appending adjustments [2023-06-05T22:03:24.632Z] https://docs.codecov.io/docs/fixing-reports [2023-06-05T22:03:25.199Z] + Found adjustments [2023-06-05T22:03:25.199Z] ==> Gzipping contents [2023-06-05T22:03:25.199Z] 20K /tmp/codecov.MdMrCL.gz [2023-06-05T22:03:25.199Z] ==> Uploading reports [2023-06-05T22:03:25.199Z] url: https://codecov.io [2023-06-05T22:03:25.199Z] query: branch=PR-842&commit=9e61d52a12cad3a889a881994ab7925b7bcbf992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-842%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=842&job=&cmd_args= [2023-06-05T22:03:25.199Z] -> Pinging Codecov [2023-06-05T22:03:25.199Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=ed6cf6b4-2a06-43fb-b229-bfa3e55f90ff&branch=PR-842&commit=9e61d52a12cad3a889a881994ab7925b7bcbf992&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-842%2F1%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=842&job=&cmd_args= [2023-06-05T22:03:25.459Z] -> Uploading to [2023-06-05T22:03:25.459Z] https://storage.googleapis.com/codecov/v4/raw/2023-06-05/71470A77251A30514AAF9C0BB2E5B6CE/9e61d52a12cad3a889a881994ab7925b7bcbf992/083714ca-56b8-4053-8e70-91d767edb845.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230605%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230605T220325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1d597c6a4ed3907cbbb58d2b87f994536c49155df26e1a7ed27fe8bf09fc24af [2023-06-05T22:03:25.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-05T22:03:25.459Z] Dload Upload Total Spent Left Speed [2023-06-05T22:03:25.717Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19029 0 0 100 19029 0 98087 --:--:-- --:--:-- --:--:-- 97584 100 19029 0 0 100 19029 0 98087 --:--:-- --:--:-- --:--:-- 97584 [2023-06-05T22:03:25.717Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/9e61d52a12cad3a889a881994ab7925b7bcbf992 [Pipeline] } [2023-06-05T22:03:25.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-05T22:03:27.416Z] + [ -d /w/workspace/dry_go-mod-core-contracts_PR-842/archives ] [2023-06-05T22:03:27.416Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-842/archives [2023-06-05T22:03:27.416Z] total 16 [2023-06-05T22:03:27.416Z] drwxr-xr-x 3 root root 4096 Jun 5 21:59 . [2023-06-05T22:03:27.416Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 5 21:59 .. [2023-06-05T22:03:27.416Z] drwxr-xr-x 2 root root 4096 Jun 5 21:59 cost [2023-06-05T22:03:27.416Z] -rw-r--r-- 1 root root 93 Jun 5 21:59 cost.csv [2023-06-05T22:03:27.416Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-842/archives [2023-06-05T22:03:27.416Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-842/archives [2023-06-05T22:03:27.416Z] total 16 [2023-06-05T22:03:27.416Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 5 21:59 . [2023-06-05T22:03:27.416Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 5 21:59 .. [2023-06-05T22:03:27.416Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 5 21:59 cost [2023-06-05T22:03:27.417Z] -rw-r--r-- 1 jenkins jenkins 93 Jun 5 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:27.742Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:28.632Z] ---> package-listing.sh [2023-06-05T22:03:28.632Z] ++ facter osfamily [2023-06-05T22:03:28.632Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-05T22:03:28.891Z] + OS_FAMILY=debian [2023-06-05T22:03:28.891Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-842 [2023-06-05T22:03:28.891Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-05T22:03:28.891Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-05T22:03:28.891Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-05T22:03:28.891Z] + PACKAGES=/tmp/packages_start.txt [2023-06-05T22:03:28.891Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-842 ']' [2023-06-05T22:03:28.891Z] + PACKAGES=/tmp/packages_end.txt [2023-06-05T22:03:28.891Z] + case "${OS_FAMILY}" in [2023-06-05T22:03:28.891Z] + dpkg -l [2023-06-05T22:03:28.891Z] + grep '^ii' [2023-06-05T22:03:28.891Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-05T22:03:28.891Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-05T22:03:28.891Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-05T22:03:28.891Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-842 ']' [2023-06-05T22:03:28.891Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-842/archives/ [2023-06-05T22:03:28.891Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-842/archives/ [Pipeline] echo [2023-06-05T22:03:28.930Z] 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-842/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-05T22:03:29.222Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-05T22:03:29.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-05T22:03:29.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-05T22:03:29.994Z] prd-ubuntu20.04-docker-8c-8g-17899 does not seem to be running inside a container [2023-06-05T22:03:30.021Z] $ 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-842/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-842 -v /w/workspace/dry_go-mod-core-contracts_PR-842:/w/workspace/dry_go-mod-core-contracts_PR-842:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-842@tmp:/w/workspace/dry_go-mod-core-contracts_PR-842@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-06-05T22:03:30.245Z] $ docker top 004f3e27de8ccc93cbf124f519df93c1336860865f72862b5950c119dcc857e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-05T22:03:30.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-05T22:03:30.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-05T22:03:31.249Z] + ls /var/log/sa-host [2023-06-05T22:03:31.249Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-05T22:03:31.387Z] provisioning config files... [2023-06-05T22:03:31.395Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-842@tmp/config14839016040899604102tmp [Pipeline] { [Pipeline] echo [2023-06-05T22:03:31.444Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:31.759Z] ---> create-netrc.sh [Pipeline] } [2023-06-05T22:03:31.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:32.188Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-05T22:03:32.224Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:32.536Z] ---> sudo-logs.sh [2023-06-05T22:03:32.536Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-05T22:03:32.620Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:32.931Z] ---> job-cost.sh [2023-06-05T22:03:32.932Z] lf-activate-venv: SKIPPING [2023-06-05T22:03:32.932Z] DEBUG: total: 0.2199999988079071 [2023-06-05T22:03:32.932Z] INFO: Retrieving Stack Cost... [2023-06-05T22:03:33.191Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-05T22:03:33.451Z] INFO: Archiving Costs [Pipeline] echo [2023-06-05T22:03:33.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-05T22:03:33.796Z] ---> logs-deploy.sh [2023-06-05T22:03:33.796Z] lf-activate-venv: SKIPPING [2023-06-05T22:03:33.796Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-842/1 [2023-06-05T22:03:33.796Z] INFO: archiving workspace using pattern(s): [2023-06-05T22:03:34.732Z] Archives upload complete. [2023-06-05T22:03:34.732Z] INFO: archiving logs to Nexus