Pull request #802 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch main at 62807294680df548b3f4bc1677cecbc260e77219 rather than 8e6320f9711b11443438434507f8bdeb2091f5c2 Obtained Jenkinsfile from 62807294680df548b3f4bc1677cecbc260e77219 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-ssh10676123094890147884.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh12870815906934516840.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-802/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-802/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2461749717661618748.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-802/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1808273138092390720.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12309846102898325815.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-802/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-802/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh941612212957516422.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6413 in /w/workspace/dry_go-mod-core-contracts_PR-802 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-802 # 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/802/head:refs/remotes/origin/PR-802 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62807294680df548b3f4bc1677cecbc260e77219 into PR head commit 8e6320f9711b11443438434507f8bdeb2091f5c2 Merge succeeded, producing 8e6320f9711b11443438434507f8bdeb2091f5c2 Checking out Revision 8e6320f9711b11443438434507f8bdeb2091f5c2 (PR-802) > git config core.sparsecheckout # timeout=10 > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # 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 62807294680df548b3f4bc1677cecbc260e77219 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # timeout=10 Commit message: "feat!: Remove LastConnected and LastReported from Device/DeviceService" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T06:35:23.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T06:35:24.127Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T06:35:24.232Z] ========================================================= [2023-02-17T06:35:24.232Z] EdgeX Global Pipelines Version Info [2023-02-17T06:35:24.232Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:35:24.989Z] ------------------- [2023-02-17T06:35:24.989Z] stable info: [2023-02-17T06:35:24.989Z] ------------------- [2023-02-17T06:35:24.989Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T06:35:24.989Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:24.989Z] Message: update stable to v1.0.244 [2023-02-17T06:35:25.561Z] ------------------- [2023-02-17T06:35:25.561Z] experimental info: [2023-02-17T06:35:25.561Z] ------------------- [2023-02-17T06:35:25.561Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T06:35:25.561Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T06:35:25.561Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T06:35:25.864Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo [2023-02-17T06:35:25.905Z] [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo [2023-02-17T06:35:25.946Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T06:35:25.982Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T06:35:26.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T06:35:26.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T06:35:26.098Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T06:35:26.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T06:35:26.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T06:35:26.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T06:35:26.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T06:35:26.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo [2023-02-17T06:35:26.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T06:35:26.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T06:35:26.416Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:26.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:26.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:26.547Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T06:35:26.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T06:35:26.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T06:35:26.664Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T06:35:26.699Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T06:35:26.735Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T06:35:26.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T06:35:26.809Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo [2023-02-17T06:35:26.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T06:35:26.883Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T06:35:26.919Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-802 [Pipeline] echo [2023-02-17T06:35:26.958Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-802 [Pipeline] echo [2023-02-17T06:35:26.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-802 [Pipeline] echo [2023-02-17T06:35:27.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo [2023-02-17T06:35:27.074Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e6320f [Pipeline] echo [2023-02-17T06:35:27.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T06:35:27.623Z] + git rev-list -1 --merges 8e6320f9711b11443438434507f8bdeb2091f5c2~1..8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo [2023-02-17T06:35:27.685Z] -----------> git rev-list -1 --merges 8e6320f9711b11443438434507f8bdeb2091f5c2~1..8e6320f9711b11443438434507f8bdeb2091f5c2 8e6320f9711b11443438434507f8bdeb2091f5c2 [false] [Pipeline] sh [2023-02-17T06:35:27.993Z] + git log --format=format:%s -1 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo [2023-02-17T06:35:28.024Z] ========================================================= [2023-02-17T06:35:28.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T06:35:28.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:35:28.452Z] + git log --format=format:%s -1 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo [2023-02-17T06:35:28.483Z] [semverPrep] GIT_COMMIT: 8e6320f9711b11443438434507f8bdeb2091f5c2, Commit Message: feat!: Remove LastConnected and LastReported from Device/DeviceService [Pipeline] echo [2023-02-17T06:35:28.513Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T06:35:28.891Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T06:35:28.892Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T06:35:28.892Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T06:35:28.892Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T06:35:28.892Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T06:35:28.892Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T06:35:28.892Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:29.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:29.578Z] [2023-02-17T06:35:29.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:30.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:30.298Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T06:35:30.298Z] b85a868b505f: Pulling fs layer [2023-02-17T06:35:30.298Z] e2be974225ed: Pulling fs layer [2023-02-17T06:35:30.298Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T06:35:30.298Z] 988bab9f4d93: Pulling fs layer [2023-02-17T06:35:30.298Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T06:35:30.298Z] eaf3925da568: Pulling fs layer [2023-02-17T06:35:30.298Z] bab4dde63d76: Pulling fs layer [2023-02-17T06:35:30.298Z] bde34c3a00c8: Pulling fs layer [2023-02-17T06:35:30.298Z] b352a97aabf1: Pulling fs layer [2023-02-17T06:35:30.298Z] 4872d77fe225: Pulling fs layer [2023-02-17T06:35:30.298Z] 5851b861e8e6: Pulling fs layer [2023-02-17T06:35:30.298Z] eaf3925da568: Waiting [2023-02-17T06:35:30.298Z] 988bab9f4d93: Waiting [2023-02-17T06:35:30.298Z] bde34c3a00c8: Waiting [2023-02-17T06:35:30.298Z] 1469e6f7b9e6: Waiting [2023-02-17T06:35:30.298Z] b352a97aabf1: Waiting [2023-02-17T06:35:30.298Z] 5851b861e8e6: Waiting [2023-02-17T06:35:30.298Z] e2be974225ed: Download complete [2023-02-17T06:35:30.298Z] 988bab9f4d93: Verifying Checksum [2023-02-17T06:35:30.298Z] 988bab9f4d93: Download complete [2023-02-17T06:35:30.560Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T06:35:30.560Z] 1469e6f7b9e6: Download complete [2023-02-17T06:35:30.560Z] eaf3925da568: Verifying Checksum [2023-02-17T06:35:30.560Z] eaf3925da568: Download complete [2023-02-17T06:35:30.560Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T06:35:30.560Z] 339a4e72a1f5: Download complete [2023-02-17T06:35:30.560Z] bde34c3a00c8: Verifying Checksum [2023-02-17T06:35:30.560Z] bde34c3a00c8: Download complete [2023-02-17T06:35:30.560Z] b352a97aabf1: Verifying Checksum [2023-02-17T06:35:30.560Z] b352a97aabf1: Download complete [2023-02-17T06:35:30.821Z] 4872d77fe225: Verifying Checksum [2023-02-17T06:35:30.821Z] 4872d77fe225: Download complete [2023-02-17T06:35:30.821Z] 5851b861e8e6: Verifying Checksum [2023-02-17T06:35:30.821Z] 5851b861e8e6: Download complete [2023-02-17T06:35:30.821Z] b85a868b505f: Verifying Checksum [2023-02-17T06:35:30.821Z] b85a868b505f: Download complete [2023-02-17T06:35:31.080Z] bab4dde63d76: Verifying Checksum [2023-02-17T06:35:31.080Z] bab4dde63d76: Download complete [2023-02-17T06:35:32.457Z] b85a868b505f: Pull complete [2023-02-17T06:35:32.457Z] e2be974225ed: Pull complete [2023-02-17T06:35:33.026Z] 339a4e72a1f5: Pull complete [2023-02-17T06:35:33.026Z] 988bab9f4d93: Pull complete [2023-02-17T06:35:33.292Z] 1469e6f7b9e6: Pull complete [2023-02-17T06:35:33.292Z] eaf3925da568: Pull complete [2023-02-17T06:35:35.214Z] bab4dde63d76: Pull complete [2023-02-17T06:35:35.475Z] bde34c3a00c8: Pull complete [2023-02-17T06:35:35.475Z] b352a97aabf1: Pull complete [2023-02-17T06:35:35.735Z] 4872d77fe225: Pull complete [2023-02-17T06:35:35.735Z] 5851b861e8e6: Pull complete [2023-02-17T06:35:35.735Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T06:35:35.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T06:35:35.735Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:35.953Z] prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container [2023-02-17T06:35:35.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-802 -v /w/workspace/dry_go-mod-core-contracts_PR-802:/w/workspace/dry_go-mod-core-contracts_PR-802:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-802@tmp:/w/workspace/dry_go-mod-core-contracts_PR-802@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-02-17T06:35:40.641Z] $ docker top 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 -eo pid,comm [2023-02-17T06:35:40.724Z] 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-02-17T06:35:40.724Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T06:35:40.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:40.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:40.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:40.952Z] $ docker exec 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent [2023-02-17T06:35:41.060Z] SSH_AUTH_SOCK=/tmp/ssh-AWRGulvKl0jS/agent.32 [2023-02-17T06:35:41.060Z] SSH_AGENT_PID=38 [2023-02-17T06:35:41.066Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:41.313Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-802@tmp/private_key_17059433760013504178.key (/w/workspace/dry_go-mod-core-contracts_PR-802@tmp/private_key_17059433760013504178.key) [2023-02-17T06:35:41.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:41.650Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T06:35:41.675Z] $ docker exec --env ******** --env ******** 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent -k [2023-02-17T06:35:41.787Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:41.787Z] unset SSH_AGENT_PID; [2023-02-17T06:35:41.788Z] echo Agent pid 38 killed; [2023-02-17T06:35:41.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T06:35:41.889Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T06:35:41.889Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T06:35:42.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T06:35:42.008Z] $ docker exec 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent [2023-02-17T06:35:42.118Z] SSH_AUTH_SOCK=/tmp/ssh-Tyk28clv3Slh/agent.70 [2023-02-17T06:35:42.118Z] SSH_AGENT_PID=76 [2023-02-17T06:35:42.123Z] Running ssh-add (command line suppressed) [2023-02-17T06:35:42.229Z] Identity added: /w/workspace/dry_go-mod-core-contracts_PR-802@tmp/private_key_6042693978872459455.key (/w/workspace/dry_go-mod-core-contracts_PR-802@tmp/private_key_6042693978872459455.key) [2023-02-17T06:35:42.243Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T06:35:42.569Z] + git semver init [2023-02-17T06:35:42.828Z] 2023-02-17 06:35:42,747 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T06:35:42.828Z] 2023-02-17 06:35:42,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-802/.semver [2023-02-17T06:35:42.828Z] 2023-02-17 06:35:42,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-802/.semver [2023-02-17T06:35:42.828Z] 2023-02-17 06:35:42,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-802/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-802, universal_newlines=False, shell=None, istream=None) [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,626 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-802/.git/info/exclude [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,627 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-802/.semver/PR-802 with force:False [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,627 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-802/.semver/PR-802 [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,631 [execute] INFO git cat-file --batch-check [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,632 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-802/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,638 [execute] INFO git cat-file --batch [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-802/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T06:35:43.767Z] 2023-02-17 06:35:43,642 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-802/.semver/PR-802 [2023-02-17T06:35:43.767Z] 0.0.0 [Pipeline] } [2023-02-17T06:35:43.796Z] $ docker exec --env ******** --env ******** 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent -k [2023-02-17T06:35:43.890Z] unset SSH_AUTH_SOCK; [2023-02-17T06:35:43.891Z] unset SSH_AGENT_PID; [2023-02-17T06:35:43.891Z] echo Agent pid 76 killed; [2023-02-17T06:35:43.900Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T06:35:44.317Z] + git semver [Pipeline] } [2023-02-17T06:35:44.598Z] $ docker stop --time=1 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 [2023-02-17T06:35:46.027Z] $ docker rm -f --volumes 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:35:46.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T06:35:46.703Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T06:35:46.721Z] [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-02-17T06:35:47.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:47.339Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:35:47.373Z] ========================================================= [2023-02-17T06:35:47.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T06:35:47.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:35:47.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T06:35:47.821Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T06:35:47.821Z] 213ec9aee27d: Pulling fs layer [2023-02-17T06:35:47.821Z] 4583459ba037: Pulling fs layer [2023-02-17T06:35:47.821Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T06:35:47.821Z] 53926ce57604: Pulling fs layer [2023-02-17T06:35:47.821Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T06:35:47.821Z] 22ff95d597cd: Pulling fs layer [2023-02-17T06:35:47.821Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T06:35:47.821Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T06:35:47.821Z] a7acece74701: Pulling fs layer [2023-02-17T06:35:47.821Z] 12d6caf4c0d1: Waiting [2023-02-17T06:35:47.821Z] 96b7cbca73a9: Waiting [2023-02-17T06:35:47.821Z] 53926ce57604: Waiting [2023-02-17T06:35:47.821Z] 21b2b0c7a3f4: Waiting [2023-02-17T06:35:47.821Z] 22ff95d597cd: Waiting [2023-02-17T06:35:47.821Z] a7acece74701: Waiting [2023-02-17T06:35:47.821Z] 93c1e223e6f2: Download complete [2023-02-17T06:35:47.821Z] 4583459ba037: Verifying Checksum [2023-02-17T06:35:47.821Z] 4583459ba037: Download complete [2023-02-17T06:35:47.821Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T06:35:47.821Z] 21b2b0c7a3f4: Download complete [2023-02-17T06:35:47.821Z] 22ff95d597cd: Download complete [2023-02-17T06:35:48.106Z] 213ec9aee27d: Verifying Checksum [2023-02-17T06:35:48.106Z] 213ec9aee27d: Download complete [2023-02-17T06:35:48.106Z] 12d6caf4c0d1: Verifying Checksum [2023-02-17T06:35:48.106Z] 12d6caf4c0d1: Download complete [2023-02-17T06:35:48.106Z] 213ec9aee27d: Pull complete [2023-02-17T06:35:48.366Z] 4583459ba037: Pull complete [2023-02-17T06:35:48.366Z] 93c1e223e6f2: Pull complete [2023-02-17T06:35:48.936Z] a7acece74701: Verifying Checksum [2023-02-17T06:35:48.936Z] a7acece74701: Download complete [2023-02-17T06:35:49.878Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T06:35:49.878Z] 96b7cbca73a9: Download complete [2023-02-17T06:35:50.139Z] 53926ce57604: Verifying Checksum [2023-02-17T06:35:50.139Z] 53926ce57604: Download complete [2023-02-17T06:35:54.326Z] 53926ce57604: Pull complete [2023-02-17T06:35:54.326Z] 21b2b0c7a3f4: Pull complete [2023-02-17T06:35:54.326Z] 22ff95d597cd: Pull complete [2023-02-17T06:35:54.326Z] 12d6caf4c0d1: Pull complete [2023-02-17T06:35:56.226Z] 96b7cbca73a9: Pull complete [2023-02-17T06:35:57.159Z] a7acece74701: Pull complete [2023-02-17T06:35:57.159Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T06:35:57.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T06:35:57.159Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh [2023-02-17T06:35:57.472Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:35:57.848Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:35:57.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:35:58.007Z] prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container [2023-02-17T06:35:58.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-802 -v /w/workspace/dry_go-mod-core-contracts_PR-802:/w/workspace/dry_go-mod-core-contracts_PR-802:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-802@tmp:/w/workspace/dry_go-mod-core-contracts_PR-802@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-02-17T06:36:02.135Z] Still waiting to schedule task [2023-02-17T06:36:02.136Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-17T06:36:06.548Z] $ docker top ae00b4c30fce93be38de886440d9e78a1ce766c030c60a2d33158f2d191208e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:36:06.933Z] + go version [2023-02-17T06:36:06.934Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T06:36:06.966Z] $ docker stop --time=1 ae00b4c30fce93be38de886440d9e78a1ce766c030c60a2d33158f2d191208e9 [2023-02-17T06:36:08.590Z] $ docker rm -f --volumes ae00b4c30fce93be38de886440d9e78a1ce766c030c60a2d33158f2d191208e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:36:09.333Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T06:36:09.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:36:09.473Z] prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container [2023-02-17T06:36:09.530Z] $ 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-802 -v /w/workspace/dry_go-mod-core-contracts_PR-802:/w/workspace/dry_go-mod-core-contracts_PR-802:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-802@tmp:/w/workspace/dry_go-mod-core-contracts_PR-802@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-02-17T06:36:10.182Z] $ docker top 703a202064df2082f7bab1107894916bf960dd6d6ff34762a4f5be4fa16c4577 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:36:10.573Z] + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-802 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:36:10.958Z] + make test [2023-02-17T06:36:10.958Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-02-17T06:36:10.958Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-02-17T06:36:10.958Z] go: downloading github.com/go-kit/log v0.2.1 [2023-02-17T06:36:10.958Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-02-17T06:36:10.958Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-17T06:36:10.958Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-17T06:36:10.958Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-17T06:36:11.217Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-02-17T06:36:11.217Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-17T06:36:11.217Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-17T06:36:11.217Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-17T06:36:11.217Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-17T06:36:11.217Z] go: downloading golang.org/x/text v0.6.0 [2023-02-17T06:36:11.217Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-02-17T06:36:11.217Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-17T06:36:11.217Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-17T06:36:11.217Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-02-17T06:36:12.628Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.086s coverage: 83.5% of statements [2023-02-17T06:36:19.213Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] [2023-02-17T06:36:19.213Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-02-17T06:36:19.213Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.020s coverage: 29.4% of statements [2023-02-17T06:36:19.213Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-02-17T06:36:19.213Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.024s coverage: 54.0% of statements [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.044s coverage: 90.0% of statements [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.033s coverage: 86.7% of statements [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.010s coverage: 60.5% of statements [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.034s coverage: 36.1% of statements [2023-02-17T06:36:19.213Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.009s coverage: 48.7% of statements [2023-02-17T06:36:27.335Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T06:36:27.335Z] dtos/requests/device_test.go:56:5: `testNowTime` is unused (deadcode) [2023-02-17T06:36:27.335Z] var testNowTime = time.Now().Unix() [2023-02-17T06:36:27.335Z] ^ [2023-02-17T06:36:27.335Z] make: *** [Makefile:14: lint] Error 1 [Pipeline] } [2023-02-17T06:36:27.380Z] $ docker stop --time=1 703a202064df2082f7bab1107894916bf960dd6d6ff34762a4f5be4fa16c4577 [2023-02-17T06:36:32.339Z] $ docker rm -f --volumes 703a202064df2082f7bab1107894916bf960dd6d6ff34762a4f5be4fa16c4577 [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-02-17T06:36:33.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:36:33.586Z] [2023-02-17T06:36:33.586Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:36:33.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:36:34.241Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T06:36:34.241Z] 5eb5b503b376: Pulling fs layer [2023-02-17T06:36:34.241Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T06:36:34.241Z] ec43610c2a17: Pulling fs layer [2023-02-17T06:36:34.241Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T06:36:34.241Z] 33b1e0a273af: Pulling fs layer [2023-02-17T06:36:34.241Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T06:36:34.241Z] 2f39f015ded8: Pulling fs layer [2023-02-17T06:36:34.241Z] 33b1e0a273af: Waiting [2023-02-17T06:36:34.241Z] 5d3b04190fa2: Waiting [2023-02-17T06:36:34.241Z] 2f39f015ded8: Waiting [2023-02-17T06:36:34.241Z] 3a2ae6a8a46f: Waiting [2023-02-17T06:36:34.241Z] 5c69ac0246d0: Download complete [2023-02-17T06:36:34.241Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T06:36:34.241Z] 3a2ae6a8a46f: Download complete [2023-02-17T06:36:34.504Z] ec43610c2a17: Verifying Checksum [2023-02-17T06:36:34.504Z] ec43610c2a17: Download complete [2023-02-17T06:36:34.504Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T06:36:34.504Z] 5d3b04190fa2: Download complete [2023-02-17T06:36:34.504Z] 33b1e0a273af: Verifying Checksum [2023-02-17T06:36:34.504Z] 33b1e0a273af: Download complete [2023-02-17T06:36:34.767Z] 5eb5b503b376: Download complete [2023-02-17T06:36:35.333Z] 2f39f015ded8: Download complete [2023-02-17T06:36:36.289Z] 5eb5b503b376: Pull complete [2023-02-17T06:36:36.573Z] 5c69ac0246d0: Pull complete [2023-02-17T06:36:37.145Z] ec43610c2a17: Pull complete [2023-02-17T06:36:37.750Z] 3a2ae6a8a46f: Pull complete [2023-02-17T06:36:38.009Z] 33b1e0a273af: Pull complete [2023-02-17T06:36:38.009Z] 5d3b04190fa2: Pull complete [2023-02-17T06:36:43.275Z] 2f39f015ded8: Pull complete [2023-02-17T06:36:43.275Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T06:36:43.275Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:36:43.275Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:36:43.501Z] prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container [2023-02-17T06:36:43.533Z] $ 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-802 -v /w/workspace/dry_go-mod-core-contracts_PR-802:/w/workspace/dry_go-mod-core-contracts_PR-802:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-802@tmp:/w/workspace/dry_go-mod-core-contracts_PR-802@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-02-17T06:36:53.050Z] $ docker top 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:36:53.492Z] ---> job-cost.sh [2023-02-17T06:36:53.492Z] lf-activate-venv: SKIPPING [2023-02-17T06:36:53.492Z] INFO: No Stack... [2023-02-17T06:36:53.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:36:54.322Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:36:54.669Z] + cat /w/workspace/dry_go-mod-core-contracts_PR-802/archives/cost.csv [2023-02-17T06:36:54.669Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T06:36:54.709Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [2023-02-17T06:36:54.714Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] did not exist. Created. [2023-02-17T06:36:54.714Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:36:55.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T06:36:55.167Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:36:55.181Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:36:55.256Z] $ docker stop --time=1 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 [2023-02-17T06:36:57.254Z] $ docker rm -f --volumes 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T06:36:57.787Z] Failed in branch amd64 [2023-02-17T06:38:57.168Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6419 in /w/workspace/dry_go-mod-core-contracts_PR-802 [Pipeline] { [Pipeline] ws [2023-02-17T06:38:57.227Z] Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout [2023-02-17T06:38:57.305Z] Selected Git installation does not exist. Using Default [2023-02-17T06:38:57.306Z] The recommended git tool is: NONE [2023-02-17T06:39:04.035Z] using credential edgex-jenkins-ssh [2023-02-17T06:39:04.057Z] Cloning the remote Git repository [2023-02-17T06:39:04.116Z] Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-02-17T06:39:04.213Z] > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 [2023-02-17T06:39:04.406Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-02-17T06:39:04.408Z] > git --version # timeout=10 [2023-02-17T06:39:04.433Z] > git --version # 'git version 2.25.1' [2023-02-17T06:39:04.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:39:04.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:39:05.965Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-02-17T06:39:06.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T06:39:07.211Z] > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 [2023-02-17T06:39:07.262Z] Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git [2023-02-17T06:39:07.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:39:07.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/802/head:refs/remotes/origin/PR-802 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T06:39:08.069Z] Merging remotes/origin/main commit 62807294680df548b3f4bc1677cecbc260e77219 into PR head commit 8e6320f9711b11443438434507f8bdeb2091f5c2 [2023-02-17T06:39:08.372Z] Merge succeeded, producing 8e6320f9711b11443438434507f8bdeb2091f5c2 [2023-02-17T06:39:08.373Z] Checking out Revision 8e6320f9711b11443438434507f8bdeb2091f5c2 (PR-802) [2023-02-17T06:39:08.092Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:39:08.117Z] > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # timeout=10 [2023-02-17T06:39:08.255Z] > git remote # timeout=10 [2023-02-17T06:39:08.279Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T06:39:08.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T06:39:08.318Z] > git merge 62807294680df548b3f4bc1677cecbc260e77219 # timeout=10 [2023-02-17T06:39:08.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T06:39:08.381Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T06:39:08.400Z] > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # timeout=10 [2023-02-17T06:39:12.059Z] Commit message: "feat!: Remove LastConnected and LastReported from Device/DeviceService" [2023-02-17T06:39:12.116Z] > git --version # timeout=10 [2023-02-17T06:39:12.131Z] > git --version # 'git version 2.25.1' [2023-02-17T06:39:12.148Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T06:39:13.173Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T06:39:13.173Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T06:39:13.173Z] Dload Upload Total Spent Left Speed [2023-02-17T06:39:13.173Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-02-17T06:39:13.947Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T06:39:14.322Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-02-17T06:39:14.322Z] /etc/docker/daemon.new [2023-02-17T06:39:14.322Z] { [2023-02-17T06:39:14.322Z] "registry-mirrors": [ [2023-02-17T06:39:14.322Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T06:39:14.322Z] ], [2023-02-17T06:39:14.322Z] "bip": "10.250.0.254/24", [2023-02-17T06:39:14.322Z] "hosts": [ [2023-02-17T06:39:14.322Z] "tcp://0.0.0.0:5555", [2023-02-17T06:39:14.322Z] "unix:///var/run/docker.sock" [2023-02-17T06:39:14.322Z] ], [2023-02-17T06:39:14.322Z] "mtu": 1458, [2023-02-17T06:39:14.322Z] "selinux-enabled": true, [2023-02-17T06:39:14.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T06:39:14.322Z] } [Pipeline] sh [2023-02-17T06:39:14.699Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T06:39:15.077Z] + sudo service docker restart [Pipeline] unstash [Pipeline] echo [2023-02-17T06:39:33.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:39:33.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T06:39:33.898Z] ========================================================= [2023-02-17T06:39:33.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T06:39:33.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:39:34.363Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T06:39:34.968Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T06:39:34.968Z] 9b18e9b68314: Pulling fs layer [2023-02-17T06:39:34.968Z] 35d82f9e3411: Pulling fs layer [2023-02-17T06:39:34.968Z] e16973657156: Pulling fs layer [2023-02-17T06:39:34.968Z] fc693d55d65f: Pulling fs layer [2023-02-17T06:39:34.968Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T06:39:34.968Z] dda99020689f: Pulling fs layer [2023-02-17T06:39:34.968Z] db1c61fa0a46: Pulling fs layer [2023-02-17T06:39:34.968Z] 891c053d2c06: Pulling fs layer [2023-02-17T06:39:34.968Z] 7e9fc2657dce: Waiting [2023-02-17T06:39:34.968Z] dda99020689f: Waiting [2023-02-17T06:39:34.968Z] db1c61fa0a46: Waiting [2023-02-17T06:39:34.968Z] 891c053d2c06: Waiting [2023-02-17T06:39:34.968Z] fc693d55d65f: Waiting [2023-02-17T06:39:34.968Z] e16973657156: Verifying Checksum [2023-02-17T06:39:34.968Z] e16973657156: Download complete [2023-02-17T06:39:34.968Z] 35d82f9e3411: Verifying Checksum [2023-02-17T06:39:34.968Z] 35d82f9e3411: Download complete [2023-02-17T06:39:34.968Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T06:39:34.968Z] 7e9fc2657dce: Download complete [2023-02-17T06:39:34.968Z] dda99020689f: Verifying Checksum [2023-02-17T06:39:34.968Z] dda99020689f: Download complete [2023-02-17T06:39:34.968Z] 9b18e9b68314: Verifying Checksum [2023-02-17T06:39:34.968Z] 9b18e9b68314: Download complete [2023-02-17T06:39:36.430Z] 9b18e9b68314: Pull complete [2023-02-17T06:39:36.706Z] 891c053d2c06: Verifying Checksum [2023-02-17T06:39:36.707Z] 891c053d2c06: Download complete [2023-02-17T06:39:36.993Z] 35d82f9e3411: Pull complete [2023-02-17T06:39:37.267Z] e16973657156: Pull complete [2023-02-17T06:39:37.865Z] db1c61fa0a46: Download complete [2023-02-17T06:39:38.479Z] fc693d55d65f: Verifying Checksum [2023-02-17T06:39:38.479Z] fc693d55d65f: Download complete [2023-02-17T06:39:53.585Z] fc693d55d65f: Pull complete [2023-02-17T06:39:53.585Z] 7e9fc2657dce: Pull complete [2023-02-17T06:39:53.585Z] dda99020689f: Pull complete [2023-02-17T06:39:58.982Z] db1c61fa0a46: Pull complete [2023-02-17T06:40:00.409Z] 891c053d2c06: Pull complete [2023-02-17T06:40:00.409Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T06:40:00.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T06:40:00.409Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2023-02-17T06:40:00.765Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:40:01.184Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:40:01.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:40:01.470Z] prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container [2023-02-17T06:40:01.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T06:40:05.132Z] $ docker top 8459dcb72da05ea713c93eb91b8dbe0f663774aea3b3d9eaa0ee5fd252e7fef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:40:06.049Z] + go version [2023-02-17T06:40:06.050Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T06:40:06.091Z] $ docker stop --time=1 8459dcb72da05ea713c93eb91b8dbe0f663774aea3b3d9eaa0ee5fd252e7fef7 [2023-02-17T06:40:07.779Z] $ docker rm -f --volumes 8459dcb72da05ea713c93eb91b8dbe0f663774aea3b3d9eaa0ee5fd252e7fef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:40:08.667Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T06:40:08.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:40:08.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container [2023-02-17T06:40:09.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T06:40:10.373Z] $ docker top f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:40:11.271Z] + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T06:40:11.985Z] + make test [2023-02-17T06:40:11.985Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-02-17T06:40:11.985Z] go: downloading github.com/google/uuid v1.3.0 [2023-02-17T06:40:11.985Z] go: downloading github.com/go-kit/log v0.2.1 [2023-02-17T06:40:11.985Z] go: downloading github.com/stretchr/testify v1.8.1 [2023-02-17T06:40:12.255Z] go: downloading github.com/go-playground/validator/v10 v10.11.2 [2023-02-17T06:40:12.255Z] go: downloading github.com/fxamacker/cbor/v2 v2.4.0 [2023-02-17T06:40:12.255Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2023-02-17T06:40:12.534Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2023-02-17T06:40:12.534Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2023-02-17T06:40:12.534Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2023-02-17T06:40:12.534Z] go: downloading github.com/stretchr/objx v0.5.0 [2023-02-17T06:40:12.534Z] go: downloading github.com/x448/float16 v0.8.4 [2023-02-17T06:40:12.534Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2023-02-17T06:40:12.534Z] go: downloading github.com/leodido/go-urn v1.2.1 [2023-02-17T06:40:12.534Z] go: downloading golang.org/x/crypto v0.5.0 [2023-02-17T06:40:12.534Z] go: downloading golang.org/x/text v0.6.0 [2023-02-17T06:40:12.805Z] go: downloading github.com/go-playground/locales v0.14.1 [2023-02-17T06:40:17.074Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.489s coverage: 83.5% of statements [2023-02-17T06:41:04.033Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] [2023-02-17T06:41:04.033Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] [2023-02-17T06:41:04.033Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.099s coverage: 29.4% of statements [2023-02-17T06:41:04.033Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] [2023-02-17T06:41:04.033Z] ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.217s coverage: 54.0% of statements [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.068s coverage: 90.0% of statements [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.261s coverage: 86.7% of statements [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.116s coverage: 60.5% of statements [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.046s coverage: 36.1% of statements [2023-02-17T06:41:04.033Z] ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.047s coverage: 48.7% of statements [2023-02-17T06:41:04.033Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T06:41:04.033Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2023-02-17T06:41:16.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T06:41:16.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo [2023-02-17T06:41:17.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T06:41:17.305Z] $ docker stop --time=1 f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c [2023-02-17T06:41:19.846Z] $ docker rm -f --volumes f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T06:41:21.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T06:41:22.137Z] 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-02-17T06:41:22.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:41:22.993Z] [2023-02-17T06:41:22.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:41:23.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:41:23.688Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T06:41:23.688Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T06:41:23.688Z] 04944245beec: Pulling fs layer [2023-02-17T06:41:23.688Z] 699f458cf7ca: Pulling fs layer [2023-02-17T06:41:23.688Z] 765212b225bb: Pulling fs layer [2023-02-17T06:41:23.688Z] f23df028b6ca: Pulling fs layer [2023-02-17T06:41:23.688Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T06:41:23.688Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T06:41:23.688Z] 765212b225bb: Waiting [2023-02-17T06:41:23.688Z] f23df028b6ca: Waiting [2023-02-17T06:41:23.688Z] d65c8cfc05b1: Waiting [2023-02-17T06:41:23.688Z] 2437ff75d9bd: Waiting [2023-02-17T06:41:23.959Z] 04944245beec: Verifying Checksum [2023-02-17T06:41:23.959Z] 04944245beec: Download complete [2023-02-17T06:41:23.959Z] 765212b225bb: Verifying Checksum [2023-02-17T06:41:23.959Z] 765212b225bb: Download complete [2023-02-17T06:41:23.959Z] f23df028b6ca: Verifying Checksum [2023-02-17T06:41:23.959Z] f23df028b6ca: Download complete [2023-02-17T06:41:23.959Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T06:41:23.959Z] d65c8cfc05b1: Download complete [2023-02-17T06:41:24.230Z] 699f458cf7ca: Verifying Checksum [2023-02-17T06:41:24.230Z] 699f458cf7ca: Download complete [2023-02-17T06:41:24.500Z] 8998bd30e6a1: Verifying Checksum [2023-02-17T06:41:24.500Z] 8998bd30e6a1: Download complete [2023-02-17T06:41:27.105Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T06:41:27.105Z] 2437ff75d9bd: Download complete [2023-02-17T06:41:29.053Z] 8998bd30e6a1: Pull complete [2023-02-17T06:41:29.322Z] 04944245beec: Pull complete [2023-02-17T06:41:31.911Z] 699f458cf7ca: Pull complete [2023-02-17T06:41:31.911Z] 765212b225bb: Pull complete [2023-02-17T06:41:32.877Z] f23df028b6ca: Pull complete [2023-02-17T06:41:33.149Z] d65c8cfc05b1: Pull complete [2023-02-17T06:41:48.158Z] 2437ff75d9bd: Pull complete [2023-02-17T06:41:48.158Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T06:41:48.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T06:41:48.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:41:48.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container [2023-02-17T06:41:48.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-core-contracts/1 -v /w/workspace/go-mod-core-contracts/1:/w/workspace/go-mod-core-contracts/1:rw,z -v /w/workspace/go-mod-core-contracts/1@tmp:/w/workspace/go-mod-core-contracts/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T06:41:51.255Z] $ docker top eb53268d1f2c165a485068f8649e84ed7a4edce1adf06b037dc4368ca6421073 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:41:52.176Z] ---> job-cost.sh [2023-02-17T06:41:52.177Z] lf-activate-venv: SKIPPING [2023-02-17T06:41:52.177Z] INFO: No Stack... [2023-02-17T06:41:52.444Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T06:41:53.405Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T06:41:54.074Z] + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv [2023-02-17T06:41:54.074Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T06:41:54.165Z] Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [2023-02-17T06:41:54.175Z] Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] did not exist. Created. [2023-02-17T06:41:54.175Z] Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T06:41:54.901Z] /w/workspace/go-mod-core-contracts/1@tmp/durable-f604fb46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T06:41:55.578Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T06:41:55.617Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T06:41:55.686Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T06:41:55.702Z] Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T06:41:55.782Z] $ docker stop --time=1 eb53268d1f2c165a485068f8649e84ed7a4edce1adf06b037dc4368ca6421073 [2023-02-17T06:41:59.047Z] $ docker rm -f --volumes eb53268d1f2c165a485068f8649e84ed7a4edce1adf06b037dc4368ca6421073 [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) 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-02-17T06:42:01.623Z] + [ -d /w/workspace/dry_go-mod-core-contracts_PR-802/archives ] [2023-02-17T06:42:01.623Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-802/archives [2023-02-17T06:42:01.623Z] total 16 [2023-02-17T06:42:01.623Z] drwxr-xr-x 3 root root 4096 Feb 17 06:36 . [2023-02-17T06:42:01.623Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 .. [2023-02-17T06:42:01.623Z] drwxr-xr-x 2 root root 4096 Feb 17 06:36 cost [2023-02-17T06:42:01.623Z] -rw-r--r-- 1 root root 93 Feb 17 06:36 cost.csv [2023-02-17T06:42:01.623Z] + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-802/archives [2023-02-17T06:42:01.623Z] + ls -al /w/workspace/dry_go-mod-core-contracts_PR-802/archives [2023-02-17T06:42:01.623Z] total 16 [2023-02-17T06:42:01.623Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:36 . [2023-02-17T06:42:01.623Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 .. [2023-02-17T06:42:01.623Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:36 cost [2023-02-17T06:42:01.623Z] -rw-r--r-- 1 jenkins jenkins 93 Feb 17 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:01.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:02.859Z] ---> package-listing.sh [2023-02-17T06:42:02.859Z] ++ facter osfamily [2023-02-17T06:42:02.859Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T06:42:03.119Z] + OS_FAMILY=debian [2023-02-17T06:42:03.119Z] + workspace=/w/workspace/dry_go-mod-core-contracts_PR-802 [2023-02-17T06:42:03.119Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T06:42:03.119Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T06:42:03.119Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T06:42:03.119Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T06:42:03.119Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-802 ']' [2023-02-17T06:42:03.119Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T06:42:03.119Z] + case "${OS_FAMILY}" in [2023-02-17T06:42:03.119Z] + dpkg -l [2023-02-17T06:42:03.119Z] + grep '^ii' [2023-02-17T06:42:03.119Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T06:42:03.119Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T06:42:03.119Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T06:42:03.119Z] + '[' /w/workspace/dry_go-mod-core-contracts_PR-802 ']' [2023-02-17T06:42:03.119Z] + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-802/archives/ [2023-02-17T06:42:03.119Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-802/archives/ [Pipeline] echo [2023-02-17T06:42:03.152Z] 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-802/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T06:42:03.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T06:42:04.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T06:42:04.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T06:42:04.223Z] prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container [2023-02-17T06:42:04.255Z] $ 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-802/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-802 -v /w/workspace/dry_go-mod-core-contracts_PR-802:/w/workspace/dry_go-mod-core-contracts_PR-802:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-802@tmp:/w/workspace/dry_go-mod-core-contracts_PR-802@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-02-17T06:42:04.540Z] $ docker top 63a160e1101c568f97454ffb02aebbd03b40f715a0411bcd531e620984d29da1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T06:42:05.311Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T06:42:06.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T06:42:06.492Z] + ls /var/log/sa-host [2023-02-17T06:42:06.492Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T06:42:06.718Z] provisioning config files... [2023-02-17T06:42:06.731Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-802@tmp/config5446238863455655459tmp [Pipeline] { [Pipeline] echo [2023-02-17T06:42:06.783Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:07.093Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T06:42:07.120Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:07.528Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T06:42:07.557Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:07.870Z] ---> sudo-logs.sh [2023-02-17T06:42:07.870Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T06:42:07.956Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:08.269Z] ---> job-cost.sh [2023-02-17T06:42:08.269Z] lf-activate-venv: SKIPPING [2023-02-17T06:42:08.269Z] DEBUG: total: 0.2199999988079071 [2023-02-17T06:42:08.269Z] INFO: Retrieving Stack Cost... [2023-02-17T06:42:08.836Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T06:42:09.096Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T06:42:09.130Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T06:42:09.446Z] ---> logs-deploy.sh [2023-02-17T06:42:09.446Z] lf-activate-venv: SKIPPING [2023-02-17T06:42:09.446Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-802/1 [2023-02-17T06:42:09.446Z] INFO: archiving workspace using pattern(s): [2023-02-17T06:42:10.825Z] Archives upload complete. [2023-02-17T06:42:10.825Z] INFO: archiving logs to Nexus