Pull request #1027 updated 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 sabrina-lin527 for edgexfoundry/go-mod-core-contracts Loading trusted files from base branch odesa at 25958560002bd9ea126557cf39536f0763bd20f2 rather than e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 Obtained Jenkinsfile from 25958560002bd9ea126557cf39536f0763bd20f2 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-ssh901516225261105307.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh16499787560270099006.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 67d2f908f88f8156fbe481f59f373e57362cafe7 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-1027/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-1027/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10046673067819064623.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4260960614806545903.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-1027/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/go-mod-core-contracts/branches/PR-1027/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1131034291434847169.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:go-mod-core-contracts, goVersion:1.23, 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-773023 in /w/workspace/ry_go-mod-core-contracts_PR-1027 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/ry_go-mod-core-contracts_PR-1027 # 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/1027/head:refs/remotes/origin/PR-1027 +refs/heads/odesa:refs/remotes/origin/odesa # timeout=10 Merging remotes/origin/odesa commit 25958560002bd9ea126557cf39536f0763bd20f2 into PR head commit e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 Merge succeeded, producing e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 Checking out Revision e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 (PR-1027) > git config core.sparsecheckout # timeout=10 > git checkout -f e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 # 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 25958560002bd9ea126557cf39536f0763bd20f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 # timeout=10 Commit message: "docs: Update changelog for 4.0.2 release" > git rev-list --no-walk 1e6cb723df249a8de2dc88ed45c1663fc240ebe9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:40:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:40:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:40:33 ========================================================= 03:40:33 EdgeX Global Pipelines Version Info 03:40:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:40:35 ------------------- 03:40:35 stable info: 03:40:35 ------------------- 03:40:35 Commited By: Cherry Wang cherry@iotechsys.com 03:40:35 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 03:40:35 Message: update stable to v1.0.278 03:40:35 ------------------- 03:40:35 experimental info: 03:40:35 ------------------- 03:40:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:40:35 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 03:40:35 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:40:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1027 [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1027 [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1027 [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e80b53c [Pipeline] echo 03:40:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:40:36 + git rev-list -1 --merges e80b53cfc7d207d7e121f4122d08ff69b5b66fa1~1..e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [Pipeline] echo 03:40:36 -----------> git rev-list -1 --merges e80b53cfc7d207d7e121f4122d08ff69b5b66fa1~1..e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [false] [Pipeline] sh 03:40:37 + git log --format=format:%s -1 e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [Pipeline] echo 03:40:37 ========================================================= 03:40:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:40:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:40:37 + git log --format=format:%s -1 e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [Pipeline] echo 03:40:37 [semverPrep] GIT_COMMIT: e80b53cfc7d207d7e121f4122d08ff69b5b66fa1, Commit Message: docs: Update changelog for 4.0.2 release [Pipeline] echo 03:40:37 [semverPrep] This is not a build commit. [Pipeline] sh 03:40:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:40:37 + grep -v github /etc/ssh/ssh_known_hosts 03:40:37 + [ -e /tmp/ssh_known_hosts ] 03:40:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:40:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:40:37 + sudo tee -a /etc/ssh/ssh_known_hosts 03:40:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:38 03:40:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:38 0.1.4: Pulling from edgex-devops/py-git-semver 03:40:38 3dae71ba6b94: Pulling fs layer 03:40:38 6bf1a483ea7c: Pulling fs layer 03:40:38 f5dfc541a4d3: Pulling fs layer 03:40:38 461d9e800cba: Pulling fs layer 03:40:38 80192f66455f: Pulling fs layer 03:40:38 2e8e34ca0e6c: Pulling fs layer 03:40:38 a29436f7fd5d: Pulling fs layer 03:40:38 923cac83aea3: Pulling fs layer 03:40:38 25ad8b0a4227: Pulling fs layer 03:40:38 db01528c6b51: Pulling fs layer 03:40:38 28988de357af: Pulling fs layer 03:40:38 461d9e800cba: Waiting 03:40:38 80192f66455f: Waiting 03:40:38 2e8e34ca0e6c: Waiting 03:40:38 a29436f7fd5d: Waiting 03:40:38 923cac83aea3: Waiting 03:40:38 25ad8b0a4227: Waiting 03:40:38 db01528c6b51: Waiting 03:40:38 28988de357af: Waiting 03:40:38 6bf1a483ea7c: Verifying Checksum 03:40:38 6bf1a483ea7c: Download complete 03:40:38 461d9e800cba: Verifying Checksum 03:40:38 461d9e800cba: Download complete 03:40:38 80192f66455f: Verifying Checksum 03:40:38 80192f66455f: Download complete 03:40:38 f5dfc541a4d3: Verifying Checksum 03:40:38 f5dfc541a4d3: Download complete 03:40:39 3dae71ba6b94: Verifying Checksum 03:40:39 3dae71ba6b94: Download complete 03:40:39 923cac83aea3: Verifying Checksum 03:40:39 923cac83aea3: Download complete 03:40:39 25ad8b0a4227: Verifying Checksum 03:40:39 25ad8b0a4227: Download complete 03:40:39 db01528c6b51: Verifying Checksum 03:40:39 db01528c6b51: Download complete 03:40:39 28988de357af: Verifying Checksum 03:40:39 28988de357af: Download complete 03:40:39 a29436f7fd5d: Verifying Checksum 03:40:39 a29436f7fd5d: Download complete 03:40:39 2e8e34ca0e6c: Verifying Checksum 03:40:39 2e8e34ca0e6c: Download complete 03:40:40 3dae71ba6b94: Pull complete 03:40:40 6bf1a483ea7c: Pull complete 03:40:41 f5dfc541a4d3: Pull complete 03:40:41 461d9e800cba: Pull complete 03:40:41 80192f66455f: Pull complete 03:40:45 2e8e34ca0e6c: Pull complete 03:40:45 a29436f7fd5d: Pull complete 03:40:45 923cac83aea3: Pull complete 03:40:45 25ad8b0a4227: Pull complete 03:40:45 db01528c6b51: Pull complete 03:40:45 28988de357af: Pull complete 03:40:45 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 03:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:40:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:46 prd-ubuntu20.04-docker-8c-8g-773023 does not seem to be running inside a container 03:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_go-mod-core-contracts_PR-1027 -v /w/workspace/ry_go-mod-core-contracts_PR-1027:/w/workspace/ry_go-mod-core-contracts_PR-1027:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1027@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:40:49 $ docker top d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc -eo pid,comm 03:40:49 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). 03:40:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:40:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:49 [ssh-agent] Looking for ssh-agent implementation... 03:40:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:49 $ docker exec d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc ssh-agent 03:40:49 SSH_AUTH_SOCK=/tmp/ssh-O8BEzkqPw2io/agent.32 03:40:49 SSH_AGENT_PID=38 03:40:49 Running ssh-add (command line suppressed) 03:40:49 Identity added: /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/private_key_17801699451708853441.key (/w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/private_key_17801699451708853441.key) 03:40:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:50 + git config --global --add safe.directory /w/workspace/ry_go-mod-core-contracts_PR-1027 [Pipeline] sh 03:40:50 + git tag --points-at HEAD [Pipeline] } 03:40:50 $ docker exec --env ******** --env ******** d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc ssh-agent -k 03:40:50 unset SSH_AUTH_SOCK; 03:40:50 unset SSH_AGENT_PID; 03:40:50 echo Agent pid 38 killed; 03:40:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:40:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:40:50 [ssh-agent] Looking for ssh-agent implementation... 03:40:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:40:50 $ docker exec d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc ssh-agent 03:40:50 SSH_AUTH_SOCK=/tmp/ssh-yadTa0cg09D5/agent.85 03:40:50 SSH_AGENT_PID=91 03:40:50 Running ssh-add (command line suppressed) 03:40:50 Identity added: /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/private_key_10481256743784642951.key (/w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/private_key_10481256743784642951.key) 03:40:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:40:51 + git semver init 03:40:51 2025-11-13 03:40:51,462 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:40:51 2025-11-13 03:40:51,466 [run_init] DEBUG init version:0.0.0 force:False 03:40:51 2025-11-13 03:40:51,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver 03:40:51 2025-11-13 03:40:51,468 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/ry_go-mod-core-contracts_PR-1027/.semver 03:40:51 2025-11-13 03:40:51,468 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1027, stdin=None, shell=False, universal_newlines=False) 03:40:52 2025-11-13 03:40:52,489 [append_file] DEBUG append to file:/w/workspace/ry_go-mod-core-contracts_PR-1027/.git/info/exclude 03:40:52 2025-11-13 03:40:52,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver/PR-1027 with force:False 03:40:52 2025-11-13 03:40:52,490 [write_file] DEBUG write to file:/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver/PR-1027 03:40:52 2025-11-13 03:40:52,493 [execute] INFO git cat-file --batch-check 03:40:52 2025-11-13 03:40:52,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver, stdin=, shell=False, universal_newlines=False) 03:40:52 2025-11-13 03:40:52,497 [execute] INFO git cat-file --batch 03:40:52 2025-11-13 03:40:52,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1027/.semver, stdin=, shell=False, universal_newlines=False) 03:40:52 2025-11-13 03:40:52,500 [read_version] DEBUG read version from /w/workspace/ry_go-mod-core-contracts_PR-1027/.semver/PR-1027 03:40:52 0.0.0 [Pipeline] } 03:40:52 $ docker exec --env ******** --env ******** d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc ssh-agent -k 03:40:52 unset SSH_AUTH_SOCK; 03:40:52 unset SSH_AGENT_PID; 03:40:52 echo Agent pid 91 killed; 03:40:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:40:53 + git semver [Pipeline] } 03:40:53 $ docker stop --time=1 d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc 03:40:54 $ docker rm -f --volumes d5189d84e81c281d924020f6b47291676d10c6fb277f0b88c5405f71f51b44bc [Pipeline] // withDockerContainer [Pipeline] sh 03:40:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:40:55 Stashed 1 file(s) [Pipeline] echo 03:40:55 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 03:40:55 [edgeX.isLTS] Checking if [odesa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:40:55 [edgeX.isLTS] Checking if [odesa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:40:55 ========================================================= 03:40:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:40:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 03:40:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:40:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:40:56 9824c27679d3: Pulling fs layer 03:40:56 8371a51cbc44: Pulling fs layer 03:40:56 d5791340ef18: Pulling fs layer 03:40:56 d3178a7b2709: Pulling fs layer 03:40:56 4f4fb700ef54: Pulling fs layer 03:40:56 063b4f904bf5: Pulling fs layer 03:40:56 d3178a7b2709: Waiting 03:40:56 4f4fb700ef54: Waiting 03:40:56 066ecc492849: Pulling fs layer 03:40:56 50a4da29d654: Pulling fs layer 03:40:56 417dd178857c: Pulling fs layer 03:40:56 50a4da29d654: Waiting 03:40:56 417dd178857c: Waiting 03:40:56 063b4f904bf5: Waiting 03:40:56 066ecc492849: Waiting 03:40:56 d3178a7b2709: Verifying Checksum 03:40:56 d3178a7b2709: Download complete 03:40:56 4f4fb700ef54: Download complete 03:40:56 9824c27679d3: Download complete 03:40:56 063b4f904bf5: Verifying Checksum 03:40:56 063b4f904bf5: Download complete 03:40:56 066ecc492849: Verifying Checksum 03:40:56 066ecc492849: Download complete 03:40:56 9824c27679d3: Pull complete 03:40:56 417dd178857c: Verifying Checksum 03:40:56 417dd178857c: Download complete 03:40:56 d5791340ef18: Download complete 03:40:56 8371a51cbc44: Pull complete 03:40:57 50a4da29d654: Verifying Checksum 03:40:57 50a4da29d654: Download complete 03:41:01 d5791340ef18: Pull complete 03:41:01 d3178a7b2709: Pull complete 03:41:01 4f4fb700ef54: Pull complete 03:41:01 063b4f904bf5: Pull complete 03:41:01 066ecc492849: Pull complete 03:41:05 50a4da29d654: Pull complete 03:41:05 417dd178857c: Pull complete 03:41:05 Digest: sha256:1c67d479bcd1a15db4fd1475bc6acd8d9d5cb054f0d16636ffbadbea3c5c0a87 03:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:41:05 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [Pipeline] sh 03:41:05 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:05 + docker inspect -f . ci-base-image-x86_64 03:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:05 prd-ubuntu20.04-docker-8c-8g-773023 does not seem to be running inside a container 03:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_go-mod-core-contracts_PR-1027 -v /w/workspace/ry_go-mod-core-contracts_PR-1027:/w/workspace/ry_go-mod-core-contracts_PR-1027:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1027@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:41:10 $ docker top 309f0a1b703450d9d20261dedbddfc6d6b45be3989294707de9da4ba243b7127 -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:11 + go version 03:41:11 go version go1.23.12 linux/amd64 [Pipeline] } 03:41:11 $ docker stop --time=1 309f0a1b703450d9d20261dedbddfc6d6b45be3989294707de9da4ba243b7127 03:41:12 $ docker rm -f --volumes 309f0a1b703450d9d20261dedbddfc6d6b45be3989294707de9da4ba243b7127 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:12 + docker inspect -f . ci-base-image-x86_64 03:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:13 prd-ubuntu20.04-docker-8c-8g-773023 does not seem to be running inside a container 03:41:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/ry_go-mod-core-contracts_PR-1027 -v /w/workspace/ry_go-mod-core-contracts_PR-1027:/w/workspace/ry_go-mod-core-contracts_PR-1027:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1027@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:41:13 $ docker top 1c69813579e535d6f52b4f04a58a87e3cb29441fec04b39aa16f6de284d03fbc -eo pid,comm [Pipeline] { [Pipeline] sh 03:41:13 + git config --global --add safe.directory /w/workspace/ry_go-mod-core-contracts_PR-1027 [Pipeline] fileExists [Pipeline] sh 03:41:13 + make test 03:41:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:41:15 github.com/edgexfoundry/go-mod-core-contracts/v4/clients coverage: 0.0% of statements 03:41:22 ? github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces [no test files] 03:41:22 github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces/mocks coverage: 0.0% of statements 03:41:22 github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger/mocks coverage: 0.0% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http 0.095s coverage: 79.0% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils 0.007s coverage: 35.5% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger 0.017s coverage: 29.4% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/common 0.015s coverage: 31.7% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos 0.037s coverage: 76.3% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common 0.007s coverage: 90.0% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests 0.035s coverage: 84.1% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses 0.006s coverage: 65.3% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/errors 0.006s coverage: 33.8% of statements 03:41:22 ok github.com/edgexfoundry/go-mod-core-contracts/v4/models 0.011s coverage: 71.4% of statements 03:41:32 CGO_ENABLED=0 GO111MODULE=on go vet ./... 03:41:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:41:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 03:41:34 [edgeX.isLTS] Checking if [odesa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:41:34 $ docker stop --time=1 1c69813579e535d6f52b4f04a58a87e3cb29441fec04b39aa16f6de284d03fbc 03:41:38 $ docker rm -f --volumes 1c69813579e535d6f52b4f04a58a87e3cb29441fec04b39aa16f6de284d03fbc [Pipeline] // withDockerContainer [Pipeline] sh 03:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:41:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:41:39 03:41:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:41:39 latest: Pulling from edgex-lftools-log-publisher 03:41:39 5eb5b503b376: Pulling fs layer 03:41:39 5c69ac0246d0: Pulling fs layer 03:41:39 ec43610c2a17: Pulling fs layer 03:41:39 3a2ae6a8a46f: Pulling fs layer 03:41:39 33b1e0a273af: Pulling fs layer 03:41:39 5d3b04190fa2: Pulling fs layer 03:41:39 2f39f015ded8: Pulling fs layer 03:41:39 3a2ae6a8a46f: Waiting 03:41:39 33b1e0a273af: Waiting 03:41:39 5d3b04190fa2: Waiting 03:41:39 2f39f015ded8: Waiting 03:41:39 5c69ac0246d0: Verifying Checksum 03:41:39 5c69ac0246d0: Download complete 03:41:39 3a2ae6a8a46f: Verifying Checksum 03:41:39 3a2ae6a8a46f: Download complete 03:41:39 33b1e0a273af: Verifying Checksum 03:41:39 33b1e0a273af: Download complete 03:41:39 5d3b04190fa2: Verifying Checksum 03:41:39 5d3b04190fa2: Download complete 03:41:39 ec43610c2a17: Download complete 03:41:39 5eb5b503b376: Verifying Checksum 03:41:39 5eb5b503b376: Download complete 03:41:40 2f39f015ded8: Verifying Checksum 03:41:40 2f39f015ded8: Download complete 03:41:41 5eb5b503b376: Pull complete 03:41:41 5c69ac0246d0: Pull complete 03:41:41 ec43610c2a17: Pull complete 03:41:41 3a2ae6a8a46f: Pull complete 03:41:42 33b1e0a273af: Pull complete 03:41:42 5d3b04190fa2: Pull complete 03:41:47 2f39f015ded8: Pull complete 03:41:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:41:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:41:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:47 prd-ubuntu20.04-docker-8c-8g-773023 does not seem to be running inside a container 03:41:47 $ 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/ry_go-mod-core-contracts_PR-1027 -v /w/workspace/ry_go-mod-core-contracts_PR-1027:/w/workspace/ry_go-mod-core-contracts_PR-1027:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1027@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:41:52 $ docker top 1fb7aa0f664fe86d85e1c0267ce4c2bffe20cfd4aa228a2b2d6a55689c5bd7d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:41:53 ---> job-cost.sh 03:41:53 lf-activate-venv: SKIPPING 03:41:53 INFO: No Stack... 03:41:53 INFO: Retrieving Pricing Info for: v3-standard-8 03:41:53 INFO: Archiving Costs [Pipeline] sh 03:41:53 + cat /w/workspace/ry_go-mod-core-contracts_PR-1027/archives/cost.csv 03:41:53 + cut -d, -f6 [Pipeline] lock 03:41:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1027-2-stack-cost] 03:41:53 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-1027-2-stack-cost] did not exist. Created. 03:41:53 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1027-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:41:54 + echo total: 0.2199999988079071 [Pipeline] stash 03:41:54 Stashed 1 file(s) [Pipeline] } 03:41:54 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1027-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:41:54 $ docker stop --time=1 1fb7aa0f664fe86d85e1c0267ce4c2bffe20cfd4aa228a2b2d6a55689c5bd7d6 03:41:55 $ docker rm -f --volumes 1fb7aa0f664fe86d85e1c0267ce4c2bffe20cfd4aa228a2b2d6a55689c5bd7d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:41:55 provisioning config files... 03:41:55 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/config17500805747894715996tmp [Pipeline] { [Pipeline] sh 03:41:56 + set +x 03:41:56 + curl -s https://codecov.io/bash 03:41:56 + bash -s -- 03:41:56 03:41:56 _____ _ 03:41:56 / ____| | | 03:41:56 | | ___ __| | ___ ___ _____ __ 03:41:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:41:56 | |___| (_) | (_| | __/ (_| (_) \ V / 03:41:56 \_____\___/ \__,_|\___|\___\___/ \_/ 03:41:56 Bash-1.0.6 03:41:56 03:41:56 03:41:56 ==> git version 2.25.1 found 03:41:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:41:56 Release-Date: 2020-01-08 03:41:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:41:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:41:56 ==> Jenkins CI detected. 03:41:56 current dir:  /w/workspace/ry_go-mod-core-contracts_PR-1027 03:41:56 project root: . 03:41:56 --> token set from env 03:41:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:41:56 ==> Running gcov in . (disable via -X gcov) 03:41:56 ==> Python coveragepy not found 03:41:56 ==> Searching for coverage reports in: 03:41:56 + . 03:41:56 -> Found 1 reports 03:41:56 ==> Detecting git/mercurial file structure 03:41:56 ==> Reading reports 03:41:56 + ./coverage.out bytes=363664 03:41:56 ==> Appending adjustments 03:41:56 https://docs.codecov.io/docs/fixing-reports 03:41:56 + Found adjustments 03:41:56 ==> Gzipping contents 03:41:56 40K /tmp/codecov.BpWxYb.gz 03:41:56 ==> Uploading reports 03:41:56 url: https://codecov.io 03:41:56 query: branch=PR-1027&commit=e80b53cfc7d207d7e121f4122d08ff69b5b66fa1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-1027%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=1027&job=&cmd_args= 03:41:57 -> Pinging Codecov 03:41:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1027&commit=e80b53cfc7d207d7e121f4122d08ff69b5b66fa1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-1027%2F2%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=1027&job=&cmd_args= 03:41:57 -> Uploading to 03:41:57 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/go-mod-core-contracts/e80b53cfc7d207d7e121f4122d08ff69b5b66fa1/49a49cf5-df47-4a0b-a1e3-1d8fa11ea1ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20251113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20251113T034157Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=1afede350a0271e44e20e697793657fc9bc8808904569eaee4b65ca06a65f85e 03:41:57 % Total % Received % Xferd Average Speed Time Time Time Current 03:41:57 Dload Upload Total Spent Left Speed 03:41:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 40025 0 0 100 40025 0 187k --:--:-- --:--:-- --:--:-- 187k 03:41:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/e80b53cfc7d207d7e121f4122d08ff69b5b66fa1 [Pipeline] } 03:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:41:58 + [ -d /w/workspace/ry_go-mod-core-contracts_PR-1027/archives ] 03:41:58 + ls -al /w/workspace/ry_go-mod-core-contracts_PR-1027/archives 03:41:58 total 16 03:41:58 drwxr-xr-x 3 root root 4096 Nov 13 03:41 . 03:41:58 drwxrwxr-x 12 jenkins jenkins 4096 Nov 13 03:41 .. 03:41:58 drwxr-xr-x 2 root root 4096 Nov 13 03:41 cost 03:41:58 -rw-r--r-- 1 root root 94 Nov 13 03:41 cost.csv 03:41:58 + sudo chown -R jenkins:jenkins /w/workspace/ry_go-mod-core-contracts_PR-1027/archives 03:41:58 + ls -al /w/workspace/ry_go-mod-core-contracts_PR-1027/archives 03:41:58 total 16 03:41:58 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 03:41 . 03:41:58 drwxrwxr-x 12 jenkins jenkins 4096 Nov 13 03:41 .. 03:41:58 drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 03:41 cost 03:41:58 -rw-r--r-- 1 jenkins jenkins 94 Nov 13 03:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:41:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:41:59 ---> package-listing.sh 03:41:59 ++ facter osfamily 03:41:59 ++ tr '[:upper:]' '[:lower:]' 03:41:59 + OS_FAMILY=debian 03:41:59 + workspace=/w/workspace/ry_go-mod-core-contracts_PR-1027 03:41:59 + START_PACKAGES=/tmp/packages_start.txt 03:41:59 + END_PACKAGES=/tmp/packages_end.txt 03:41:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:41:59 + PACKAGES=/tmp/packages_start.txt 03:41:59 + '[' /w/workspace/ry_go-mod-core-contracts_PR-1027 ']' 03:41:59 + PACKAGES=/tmp/packages_end.txt 03:41:59 + case "${OS_FAMILY}" in 03:41:59 + dpkg -l 03:41:59 + grep '^ii' 03:41:59 + '[' -f /tmp/packages_start.txt ']' 03:41:59 + '[' -f /tmp/packages_end.txt ']' 03:41:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:41:59 + '[' /w/workspace/ry_go-mod-core-contracts_PR-1027 ']' 03:41:59 + mkdir -p /w/workspace/ry_go-mod-core-contracts_PR-1027/archives/ 03:41:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_go-mod-core-contracts_PR-1027/archives/ [Pipeline] echo 03:41:59 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/ry_go-mod-core-contracts_PR-1027/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:42:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:00 prd-ubuntu20.04-docker-8c-8g-773023 does not seem to be running inside a container 03:42:00 $ 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/ry_go-mod-core-contracts_PR-1027/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_go-mod-core-contracts_PR-1027 -v /w/workspace/ry_go-mod-core-contracts_PR-1027:/w/workspace/ry_go-mod-core-contracts_PR-1027:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1027@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1027@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:42:01 $ docker top 66c064ae7c0da47bca4abf0a2d7a1c41124ab75ce6e5bb200449af63e415ce43 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:01 + touch /tmp/pre-build-complete [Pipeline] sh 03:42:01 + mkdir -p /var/log/sysstat [Pipeline] sh 03:42:01 + ls /var/log/sa-host 03:42:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:02 provisioning config files... 03:42:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_go-mod-core-contracts_PR-1027@tmp/config16619496317794941619tmp [Pipeline] { [Pipeline] echo 03:42:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:42:02 ---> create-netrc.sh [Pipeline] } 03:42:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:42:02 ---> python-tools-install.sh [Pipeline] echo 03:42:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:42:03 ---> sudo-logs.sh 03:42:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:42:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:42:03 ---> job-cost.sh 03:42:03 lf-activate-venv: SKIPPING 03:42:03 DEBUG: total: 0.2199999988079071 03:42:03 INFO: Retrieving Stack Cost... 03:42:03 INFO: Retrieving Pricing Info for: v3-standard-8 03:42:03 INFO: Archiving Costs [Pipeline] echo 03:42:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:42:03 ---> logs-deploy.sh 03:42:03 lf-activate-venv: SKIPPING 03:42:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-1027/2 03:42:03 INFO: archiving workspace using pattern(s): 03:42:04 Archives upload complete. 03:42:04 INFO: archiving logs to Nexus