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 06:35:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:35:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:35:24 ========================================================= 06:35:24 EdgeX Global Pipelines Version Info 06:35:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:35:24 ------------------- 06:35:24 stable info: 06:35:24 ------------------- 06:35:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:35:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:35:24 Message: update stable to v1.0.244 06:35:25 ------------------- 06:35:25 experimental info: 06:35:25 ------------------- 06:35:25 Commited By: **** collab-it+edgex@linuxfoundation.org 06:35:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:35:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:35:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 06:35:25 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 06:35:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:35:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-802 [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-802 [Pipeline] echo 06:35:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-802 [Pipeline] echo 06:35:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo 06:35:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e6320f [Pipeline] echo 06:35:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:35:27 + git rev-list -1 --merges 8e6320f9711b11443438434507f8bdeb2091f5c2~1..8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo 06:35:27 -----------> git rev-list -1 --merges 8e6320f9711b11443438434507f8bdeb2091f5c2~1..8e6320f9711b11443438434507f8bdeb2091f5c2 8e6320f9711b11443438434507f8bdeb2091f5c2 [false] [Pipeline] sh 06:35:27 + git log --format=format:%s -1 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo 06:35:28 ========================================================= 06:35:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:35:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:28 + git log --format=format:%s -1 8e6320f9711b11443438434507f8bdeb2091f5c2 [Pipeline] echo 06:35:28 [semverPrep] GIT_COMMIT: 8e6320f9711b11443438434507f8bdeb2091f5c2, Commit Message: feat!: Remove LastConnected and LastReported from Device/DeviceService [Pipeline] echo 06:35:28 [semverPrep] This is not a build commit. [Pipeline] sh 06:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:35:28 + grep -v github /etc/ssh/ssh_known_hosts 06:35:28 + [ -e /tmp/ssh_known_hosts ] 06:35:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:35:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:35:28 + sudo tee -a /etc/ssh/ssh_known_hosts 06:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:35:29 06:35:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:35:30 0.1.4: Pulling from edgex-devops/py-git-semver 06:35:30 b85a868b505f: Pulling fs layer 06:35:30 e2be974225ed: Pulling fs layer 06:35:30 339a4e72a1f5: Pulling fs layer 06:35:30 988bab9f4d93: Pulling fs layer 06:35:30 1469e6f7b9e6: Pulling fs layer 06:35:30 eaf3925da568: Pulling fs layer 06:35:30 bab4dde63d76: Pulling fs layer 06:35:30 bde34c3a00c8: Pulling fs layer 06:35:30 b352a97aabf1: Pulling fs layer 06:35:30 4872d77fe225: Pulling fs layer 06:35:30 5851b861e8e6: Pulling fs layer 06:35:30 eaf3925da568: Waiting 06:35:30 988bab9f4d93: Waiting 06:35:30 bde34c3a00c8: Waiting 06:35:30 1469e6f7b9e6: Waiting 06:35:30 b352a97aabf1: Waiting 06:35:30 5851b861e8e6: Waiting 06:35:30 e2be974225ed: Download complete 06:35:30 988bab9f4d93: Verifying Checksum 06:35:30 988bab9f4d93: Download complete 06:35:30 1469e6f7b9e6: Verifying Checksum 06:35:30 1469e6f7b9e6: Download complete 06:35:30 eaf3925da568: Verifying Checksum 06:35:30 eaf3925da568: Download complete 06:35:30 339a4e72a1f5: Verifying Checksum 06:35:30 339a4e72a1f5: Download complete 06:35:30 bde34c3a00c8: Verifying Checksum 06:35:30 bde34c3a00c8: Download complete 06:35:30 b352a97aabf1: Verifying Checksum 06:35:30 b352a97aabf1: Download complete 06:35:30 4872d77fe225: Verifying Checksum 06:35:30 4872d77fe225: Download complete 06:35:30 5851b861e8e6: Verifying Checksum 06:35:30 5851b861e8e6: Download complete 06:35:30 b85a868b505f: Verifying Checksum 06:35:30 b85a868b505f: Download complete 06:35:31 bab4dde63d76: Verifying Checksum 06:35:31 bab4dde63d76: Download complete 06:35:32 b85a868b505f: Pull complete 06:35:32 e2be974225ed: Pull complete 06:35:33 339a4e72a1f5: Pull complete 06:35:33 988bab9f4d93: Pull complete 06:35:33 1469e6f7b9e6: Pull complete 06:35:33 eaf3925da568: Pull complete 06:35:35 bab4dde63d76: Pull complete 06:35:35 bde34c3a00c8: Pull complete 06:35:35 b352a97aabf1: Pull complete 06:35:35 4872d77fe225: Pull complete 06:35:35 5851b861e8e6: Pull complete 06:35:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:35:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:35 prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container 06:35:35 $ 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 06:35:40 $ docker top 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 -eo pid,comm 06:35:40 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). 06:35:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:35:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:40 [ssh-agent] Looking for ssh-agent implementation... 06:35:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:40 $ docker exec 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent 06:35:41 SSH_AUTH_SOCK=/tmp/ssh-AWRGulvKl0jS/agent.32 06:35:41 SSH_AGENT_PID=38 06:35:41 Running ssh-add (command line suppressed) 06:35:41 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) 06:35:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:41 + git tag --points-at HEAD [Pipeline] } 06:35:41 $ docker exec --env ******** --env ******** 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent -k 06:35:41 unset SSH_AUTH_SOCK; 06:35:41 unset SSH_AGENT_PID; 06:35:41 echo Agent pid 38 killed; 06:35:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:35:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:35:41 [ssh-agent] Looking for ssh-agent implementation... 06:35:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:35:42 $ docker exec 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent 06:35:42 SSH_AUTH_SOCK=/tmp/ssh-Tyk28clv3Slh/agent.70 06:35:42 SSH_AGENT_PID=76 06:35:42 Running ssh-add (command line suppressed) 06:35:42 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) 06:35:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:35:42 + git semver init 06:35:42 2023-02-17 06:35:42,747 [run_init] DEBUG init version:0.0.0 force:False 06:35:42 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 06:35:42 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 06:35:42 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) 06:35:43 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 06:35:43 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 06:35:43 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 06:35:43 2023-02-17 06:35:43,631 [execute] INFO git cat-file --batch-check 06:35:43 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=) 06:35:43 2023-02-17 06:35:43,638 [execute] INFO git cat-file --batch 06:35:43 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=) 06:35:43 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 06:35:43 0.0.0 [Pipeline] } 06:35:43 $ docker exec --env ******** --env ******** 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 ssh-agent -k 06:35:43 unset SSH_AUTH_SOCK; 06:35:43 unset SSH_AGENT_PID; 06:35:43 echo Agent pid 76 killed; 06:35:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:35:44 + git semver [Pipeline] } 06:35:44 $ docker stop --time=1 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 06:35:46 $ docker rm -f --volumes 1ddd75dd700efbe002bc5172e2fdf5b7f34648b2aa11929c3c1bb68a51ee51c9 [Pipeline] // withDockerContainer [Pipeline] sh 06:35:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:35:46 Stashed 1 file(s) [Pipeline] echo 06:35:46 [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 06:35:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:47 ========================================================= 06:35:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:35:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 06:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:35:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:35:47 213ec9aee27d: Pulling fs layer 06:35:47 4583459ba037: Pulling fs layer 06:35:47 93c1e223e6f2: Pulling fs layer 06:35:47 53926ce57604: Pulling fs layer 06:35:47 21b2b0c7a3f4: Pulling fs layer 06:35:47 22ff95d597cd: Pulling fs layer 06:35:47 12d6caf4c0d1: Pulling fs layer 06:35:47 96b7cbca73a9: Pulling fs layer 06:35:47 a7acece74701: Pulling fs layer 06:35:47 12d6caf4c0d1: Waiting 06:35:47 96b7cbca73a9: Waiting 06:35:47 53926ce57604: Waiting 06:35:47 21b2b0c7a3f4: Waiting 06:35:47 22ff95d597cd: Waiting 06:35:47 a7acece74701: Waiting 06:35:47 93c1e223e6f2: Download complete 06:35:47 4583459ba037: Verifying Checksum 06:35:47 4583459ba037: Download complete 06:35:47 21b2b0c7a3f4: Verifying Checksum 06:35:47 21b2b0c7a3f4: Download complete 06:35:47 22ff95d597cd: Download complete 06:35:48 213ec9aee27d: Verifying Checksum 06:35:48 213ec9aee27d: Download complete 06:35:48 12d6caf4c0d1: Verifying Checksum 06:35:48 12d6caf4c0d1: Download complete 06:35:48 213ec9aee27d: Pull complete 06:35:48 4583459ba037: Pull complete 06:35:48 93c1e223e6f2: Pull complete 06:35:48 a7acece74701: Verifying Checksum 06:35:48 a7acece74701: Download complete 06:35:49 96b7cbca73a9: Verifying Checksum 06:35:49 96b7cbca73a9: Download complete 06:35:50 53926ce57604: Verifying Checksum 06:35:50 53926ce57604: Download complete 06:35:54 53926ce57604: Pull complete 06:35:54 21b2b0c7a3f4: Pull complete 06:35:54 22ff95d597cd: Pull complete 06:35:54 12d6caf4c0d1: Pull complete 06:35:56 96b7cbca73a9: Pull complete 06:35:57 a7acece74701: Pull complete 06:35:57 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:35:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:35:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [Pipeline] sh 06:35:57 + 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 06:35:57 + docker inspect -f . ci-base-image-x86_64 06:35:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:35:58 prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container 06:35:58 $ 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 06:36:02 Still waiting to schedule task 06:36:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:36:06 $ docker top ae00b4c30fce93be38de886440d9e78a1ce766c030c60a2d33158f2d191208e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:06 + go version 06:36:06 go version go1.18.7 linux/amd64 [Pipeline] } 06:36:06 $ docker stop --time=1 ae00b4c30fce93be38de886440d9e78a1ce766c030c60a2d33158f2d191208e9 06:36:08 $ 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 06:36:09 + docker inspect -f . ci-base-image-x86_64 06:36:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:09 prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container 06:36:09 $ 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 06:36:10 $ docker top 703a202064df2082f7bab1107894916bf960dd6d6ff34762a4f5be4fa16c4577 -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:10 + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-802 [Pipeline] fileExists [Pipeline] sh 06:36:10 + make test 06:36:10 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:36:10 go: downloading github.com/stretchr/testify v1.8.1 06:36:10 go: downloading github.com/go-kit/log v0.2.1 06:36:10 go: downloading github.com/go-playground/validator/v10 v10.11.2 06:36:10 go: downloading github.com/google/uuid v1.3.0 06:36:10 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 06:36:10 go: downloading gopkg.in/yaml.v3 v3.0.1 06:36:11 go: downloading github.com/go-logfmt/logfmt v0.5.1 06:36:11 go: downloading github.com/x448/float16 v0.8.4 06:36:11 go: downloading github.com/davecgh/go-spew v1.1.1 06:36:11 go: downloading github.com/pmezard/go-difflib v1.0.0 06:36:11 go: downloading github.com/stretchr/objx v0.5.0 06:36:11 go: downloading golang.org/x/text v0.6.0 06:36:11 go: downloading github.com/go-playground/universal-translator v0.18.1 06:36:11 go: downloading github.com/leodido/go-urn v1.2.1 06:36:11 go: downloading golang.org/x/crypto v0.5.0 06:36:11 go: downloading github.com/go-playground/locales v0.14.1 06:36:12 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.086s coverage: 83.5% of statements 06:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 06:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 06:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.020s coverage: 29.4% of statements 06:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 06:36:19 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.024s coverage: 54.0% of statements 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.044s coverage: 90.0% of statements 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.033s coverage: 86.7% of statements 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.010s coverage: 60.5% of statements 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.034s coverage: 36.1% of statements 06:36:19 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.009s coverage: 48.7% of statements 06:36:27 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." 06:36:27 dtos/requests/device_test.go:56:5: `testNowTime` is unused (deadcode) 06:36:27 var testNowTime = time.Now().Unix() 06:36:27 ^ 06:36:27 make: *** [Makefile:14: lint] Error 1 [Pipeline] } 06:36:27 $ docker stop --time=1 703a202064df2082f7bab1107894916bf960dd6d6ff34762a4f5be4fa16c4577 06:36:32 $ 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 06:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:33 06:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:34 latest: Pulling from edgex-lftools-log-publisher 06:36:34 5eb5b503b376: Pulling fs layer 06:36:34 5c69ac0246d0: Pulling fs layer 06:36:34 ec43610c2a17: Pulling fs layer 06:36:34 3a2ae6a8a46f: Pulling fs layer 06:36:34 33b1e0a273af: Pulling fs layer 06:36:34 5d3b04190fa2: Pulling fs layer 06:36:34 2f39f015ded8: Pulling fs layer 06:36:34 33b1e0a273af: Waiting 06:36:34 5d3b04190fa2: Waiting 06:36:34 2f39f015ded8: Waiting 06:36:34 3a2ae6a8a46f: Waiting 06:36:34 5c69ac0246d0: Download complete 06:36:34 3a2ae6a8a46f: Verifying Checksum 06:36:34 3a2ae6a8a46f: Download complete 06:36:34 ec43610c2a17: Verifying Checksum 06:36:34 ec43610c2a17: Download complete 06:36:34 5d3b04190fa2: Verifying Checksum 06:36:34 5d3b04190fa2: Download complete 06:36:34 33b1e0a273af: Verifying Checksum 06:36:34 33b1e0a273af: Download complete 06:36:34 5eb5b503b376: Download complete 06:36:35 2f39f015ded8: Download complete 06:36:36 5eb5b503b376: Pull complete 06:36:36 5c69ac0246d0: Pull complete 06:36:37 ec43610c2a17: Pull complete 06:36:37 3a2ae6a8a46f: Pull complete 06:36:38 33b1e0a273af: Pull complete 06:36:38 5d3b04190fa2: Pull complete 06:36:43 2f39f015ded8: Pull complete 06:36:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:43 prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container 06:36:43 $ 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 06:36:53 $ docker top 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:53 ---> job-cost.sh 06:36:53 lf-activate-venv: SKIPPING 06:36:53 INFO: No Stack... 06:36:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:54 INFO: Archiving Costs [Pipeline] sh 06:36:54 + cat /w/workspace/dry_go-mod-core-contracts_PR-802/archives/cost.csv 06:36:54 + cut -d, -f6 [Pipeline] lock 06:36:54 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] 06:36:54 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] did not exist. Created. 06:36:54 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:55 + echo total: 0.2199999988079071 [Pipeline] stash 06:36:55 Stashed 1 file(s) [Pipeline] } 06:36:55 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:55 $ docker stop --time=1 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 06:36:57 $ docker rm -f --volumes 9fa7093c09095f2b558da6731d236b520c9b7948c643c1e36622f1cb1c1ee807 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:57 Failed in branch amd64 06:38:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6419 in /w/workspace/dry_go-mod-core-contracts_PR-802 [Pipeline] { [Pipeline] ws 06:38:57 Running in /w/workspace/go-mod-core-contracts/1 [Pipeline] { [Pipeline] checkout 06:38:57 Selected Git installation does not exist. Using Default 06:38:57 The recommended git tool is: NONE 06:39:04 using credential edgex-jenkins-ssh 06:39:04 Cloning the remote Git repository 06:39:04 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:04 > git init /w/workspace/go-mod-core-contracts/1 # timeout=10 06:39:04 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:04 > git --version # timeout=10 06:39:04 > git --version # 'git version 2.25.1' 06:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:05 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:07 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 06:39:07 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 06:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:07 > 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 06:39:08 Merging remotes/origin/main commit 62807294680df548b3f4bc1677cecbc260e77219 into PR head commit 8e6320f9711b11443438434507f8bdeb2091f5c2 06:39:08 Merge succeeded, producing 8e6320f9711b11443438434507f8bdeb2091f5c2 06:39:08 Checking out Revision 8e6320f9711b11443438434507f8bdeb2091f5c2 (PR-802) 06:39:08 > git config core.sparsecheckout # timeout=10 06:39:08 > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # timeout=10 06:39:08 > git remote # timeout=10 06:39:08 > git config --get remote.origin.url # timeout=10 06:39:08 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:08 > git merge 62807294680df548b3f4bc1677cecbc260e77219 # timeout=10 06:39:08 > git rev-parse HEAD^{commit} # timeout=10 06:39:08 > git config core.sparsecheckout # timeout=10 06:39:08 > git checkout -f 8e6320f9711b11443438434507f8bdeb2091f5c2 # timeout=10 06:39:12 Commit message: "feat!: Remove LastConnected and LastReported from Device/DeviceService" 06:39:12 > git --version # timeout=10 06:39:12 > git --version # 'git version 2.25.1' 06:39:12 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:39:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:13 Dload Upload Total Spent Left Speed 06:39:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 06:39:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:39:14 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:39:14 /etc/docker/daemon.new 06:39:14 { 06:39:14 "registry-mirrors": [ 06:39:14 "https://nexus3.edgexfoundry.org:10001" 06:39:14 ], 06:39:14 "bip": "10.250.0.254/24", 06:39:14 "hosts": [ 06:39:14 "tcp://0.0.0.0:5555", 06:39:14 "unix:///var/run/docker.sock" 06:39:14 ], 06:39:14 "mtu": 1458, 06:39:14 "selinux-enabled": true, 06:39:14 "seccomp-profile": "/etc/docker/seccomp.json" 06:39:14 } [Pipeline] sh 06:39:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:39:15 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 06:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:39:33 ========================================================= 06:39:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:39:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 06:39:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:39:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:39:34 9b18e9b68314: Pulling fs layer 06:39:34 35d82f9e3411: Pulling fs layer 06:39:34 e16973657156: Pulling fs layer 06:39:34 fc693d55d65f: Pulling fs layer 06:39:34 7e9fc2657dce: Pulling fs layer 06:39:34 dda99020689f: Pulling fs layer 06:39:34 db1c61fa0a46: Pulling fs layer 06:39:34 891c053d2c06: Pulling fs layer 06:39:34 7e9fc2657dce: Waiting 06:39:34 dda99020689f: Waiting 06:39:34 db1c61fa0a46: Waiting 06:39:34 891c053d2c06: Waiting 06:39:34 fc693d55d65f: Waiting 06:39:34 e16973657156: Verifying Checksum 06:39:34 e16973657156: Download complete 06:39:34 35d82f9e3411: Verifying Checksum 06:39:34 35d82f9e3411: Download complete 06:39:34 7e9fc2657dce: Verifying Checksum 06:39:34 7e9fc2657dce: Download complete 06:39:34 dda99020689f: Verifying Checksum 06:39:34 dda99020689f: Download complete 06:39:34 9b18e9b68314: Verifying Checksum 06:39:34 9b18e9b68314: Download complete 06:39:36 9b18e9b68314: Pull complete 06:39:36 891c053d2c06: Verifying Checksum 06:39:36 891c053d2c06: Download complete 06:39:36 35d82f9e3411: Pull complete 06:39:37 e16973657156: Pull complete 06:39:37 db1c61fa0a46: Download complete 06:39:38 fc693d55d65f: Verifying Checksum 06:39:38 fc693d55d65f: Download complete 06:39:53 fc693d55d65f: Pull complete 06:39:53 7e9fc2657dce: Pull complete 06:39:53 dda99020689f: Pull complete 06:39:58 db1c61fa0a46: Pull complete 06:40:00 891c053d2c06: Pull complete 06:40:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:40:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh 06:40:00 + 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 06:40:01 + docker inspect -f . ci-base-image-arm64 06:40:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:01 prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container 06:40:01 $ 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 06:40:05 $ docker top 8459dcb72da05ea713c93eb91b8dbe0f663774aea3b3d9eaa0ee5fd252e7fef7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:06 + go version 06:40:06 go version go1.18.7 linux/arm64 [Pipeline] } 06:40:06 $ docker stop --time=1 8459dcb72da05ea713c93eb91b8dbe0f663774aea3b3d9eaa0ee5fd252e7fef7 06:40:07 $ 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 06:40:08 + docker inspect -f . ci-base-image-arm64 06:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:08 prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container 06:40:09 $ 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 06:40:10 $ docker top f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:11 + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/1 [Pipeline] fileExists [Pipeline] sh 06:40:11 + make test 06:40:11 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:40:11 go: downloading github.com/google/uuid v1.3.0 06:40:11 go: downloading github.com/go-kit/log v0.2.1 06:40:11 go: downloading github.com/stretchr/testify v1.8.1 06:40:12 go: downloading github.com/go-playground/validator/v10 v10.11.2 06:40:12 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 06:40:12 go: downloading gopkg.in/yaml.v3 v3.0.1 06:40:12 go: downloading github.com/go-logfmt/logfmt v0.5.1 06:40:12 go: downloading github.com/davecgh/go-spew v1.1.1 06:40:12 go: downloading github.com/pmezard/go-difflib v1.0.0 06:40:12 go: downloading github.com/stretchr/objx v0.5.0 06:40:12 go: downloading github.com/x448/float16 v0.8.4 06:40:12 go: downloading github.com/go-playground/universal-translator v0.18.1 06:40:12 go: downloading github.com/leodido/go-urn v1.2.1 06:40:12 go: downloading golang.org/x/crypto v0.5.0 06:40:12 go: downloading golang.org/x/text v0.6.0 06:40:12 go: downloading github.com/go-playground/locales v0.14.1 06:40:17 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.489s coverage: 83.5% of statements 06:41:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils [no test files] 06:41:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 06:41:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.099s coverage: 29.4% of statements 06:41:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 06:41:04 ? github.com/edgexfoundry/go-mod-core-contracts/v3/common [no test files] 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.217s coverage: 54.0% of statements 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.068s coverage: 90.0% of statements 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.261s coverage: 86.7% of statements 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.116s coverage: 60.5% of statements 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.046s coverage: 36.1% of statements 06:41:04 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.047s coverage: 48.7% of statements 06:41:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:41:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:41:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:41:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 06:41:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:41:17 $ docker stop --time=1 f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c 06:41:19 $ docker rm -f --volumes f226f3c72ad820ce4181eb13f10d4e7521078ffe56309cbfc7bc1b3a4c34827c [Pipeline] // withDockerContainer [Pipeline] sh 06:41:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:41:22 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 06:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:22 06:41:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:23 arm64: Pulling from edgex-lftools-log-publisher 06:41:23 8998bd30e6a1: Pulling fs layer 06:41:23 04944245beec: Pulling fs layer 06:41:23 699f458cf7ca: Pulling fs layer 06:41:23 765212b225bb: Pulling fs layer 06:41:23 f23df028b6ca: Pulling fs layer 06:41:23 d65c8cfc05b1: Pulling fs layer 06:41:23 2437ff75d9bd: Pulling fs layer 06:41:23 765212b225bb: Waiting 06:41:23 f23df028b6ca: Waiting 06:41:23 d65c8cfc05b1: Waiting 06:41:23 2437ff75d9bd: Waiting 06:41:23 04944245beec: Verifying Checksum 06:41:23 04944245beec: Download complete 06:41:23 765212b225bb: Verifying Checksum 06:41:23 765212b225bb: Download complete 06:41:23 f23df028b6ca: Verifying Checksum 06:41:23 f23df028b6ca: Download complete 06:41:23 d65c8cfc05b1: Verifying Checksum 06:41:23 d65c8cfc05b1: Download complete 06:41:24 699f458cf7ca: Verifying Checksum 06:41:24 699f458cf7ca: Download complete 06:41:24 8998bd30e6a1: Verifying Checksum 06:41:24 8998bd30e6a1: Download complete 06:41:27 2437ff75d9bd: Verifying Checksum 06:41:27 2437ff75d9bd: Download complete 06:41:29 8998bd30e6a1: Pull complete 06:41:29 04944245beec: Pull complete 06:41:31 699f458cf7ca: Pull complete 06:41:31 765212b225bb: Pull complete 06:41:32 f23df028b6ca: Pull complete 06:41:33 d65c8cfc05b1: Pull complete 06:41:48 2437ff75d9bd: Pull complete 06:41:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:41:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:48 prd-ubuntu20.04-docker-arm64-4c-16g-6419 does not seem to be running inside a container 06:41:48 $ 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 06:41:51 $ docker top eb53268d1f2c165a485068f8649e84ed7a4edce1adf06b037dc4368ca6421073 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:52 ---> job-cost.sh 06:41:52 lf-activate-venv: SKIPPING 06:41:52 INFO: No Stack... 06:41:52 INFO: Retrieving Pricing Info for: v3-standard-4 06:41:53 INFO: Archiving Costs [Pipeline] sh 06:41:54 + cat /w/workspace/go-mod-core-contracts/1/archives/cost.csv 06:41:54 + cut -d, -f6 [Pipeline] lock 06:41:54 Trying to acquire lock on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] 06:41:54 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] did not exist. Created. 06:41:54 Lock acquired on [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:41:54 /w/workspace/go-mod-core-contracts/1@tmp/durable-f604fb46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:41:55 + echo total: 0.10999999940395355 [Pipeline] stash 06:41:55 Warning: overwriting stash ‘stack-cost’ 06:41:55 Stashed 1 file(s) [Pipeline] } 06:41:55 Lock released on resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-802-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:41:55 $ docker stop --time=1 eb53268d1f2c165a485068f8649e84ed7a4edce1adf06b037dc4368ca6421073 06:41:59 $ 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 06:42:01 + [ -d /w/workspace/dry_go-mod-core-contracts_PR-802/archives ] 06:42:01 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-802/archives 06:42:01 total 16 06:42:01 drwxr-xr-x 3 root root 4096 Feb 17 06:36 . 06:42:01 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 .. 06:42:01 drwxr-xr-x 2 root root 4096 Feb 17 06:36 cost 06:42:01 -rw-r--r-- 1 root root 93 Feb 17 06:36 cost.csv 06:42:01 + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-802/archives 06:42:01 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-802/archives 06:42:01 total 16 06:42:01 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 06:36 . 06:42:01 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 06:36 .. 06:42:01 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 06:36 cost 06:42:01 -rw-r--r-- 1 jenkins jenkins 93 Feb 17 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:42:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:02 ---> package-listing.sh 06:42:02 ++ facter osfamily 06:42:02 ++ tr '[:upper:]' '[:lower:]' 06:42:03 + OS_FAMILY=debian 06:42:03 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-802 06:42:03 + START_PACKAGES=/tmp/packages_start.txt 06:42:03 + END_PACKAGES=/tmp/packages_end.txt 06:42:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:03 + PACKAGES=/tmp/packages_start.txt 06:42:03 + '[' /w/workspace/dry_go-mod-core-contracts_PR-802 ']' 06:42:03 + PACKAGES=/tmp/packages_end.txt 06:42:03 + case "${OS_FAMILY}" in 06:42:03 + dpkg -l 06:42:03 + grep '^ii' 06:42:03 + '[' -f /tmp/packages_start.txt ']' 06:42:03 + '[' -f /tmp/packages_end.txt ']' 06:42:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:03 + '[' /w/workspace/dry_go-mod-core-contracts_PR-802 ']' 06:42:03 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-802/archives/ 06:42:03 + 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 06:42:03 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 06:42:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:42:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:04 prd-ubuntu20.04-docker-8c-8g-6413 does not seem to be running inside a container 06:42:04 $ 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 06:42:04 $ docker top 63a160e1101c568f97454ffb02aebbd03b40f715a0411bcd531e620984d29da1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:42:06 + mkdir -p /var/log/sysstat [Pipeline] sh 06:42:06 + ls /var/log/sa-host 06:42:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:06 provisioning config files... 06:42:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-802@tmp/config5446238863455655459tmp [Pipeline] { [Pipeline] echo 06:42:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:07 ---> create-netrc.sh [Pipeline] } 06:42:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:42:07 ---> python-tools-install.sh [Pipeline] echo 06:42:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:42:07 ---> sudo-logs.sh 06:42:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:42:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:42:08 ---> job-cost.sh 06:42:08 lf-activate-venv: SKIPPING 06:42:08 DEBUG: total: 0.2199999988079071 06:42:08 INFO: Retrieving Stack Cost... 06:42:08 INFO: Retrieving Pricing Info for: v3-standard-8 06:42:09 INFO: Archiving Costs [Pipeline] echo 06:42:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:09 ---> logs-deploy.sh 06:42:09 lf-activate-venv: SKIPPING 06:42:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-802/1 06:42:09 INFO: archiving workspace using pattern(s): 06:42:10 Archives upload complete. 06:42:10 INFO: archiving logs to Nexus