Pull request #1045 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 FelixTing for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from ab1c1dbe42df6de86cbc270056ac02474d2811dc+a328329ecd7a6713db99247851cf4144c04dfd8c (154e353fdd4ad95730b3b78e83d8551e172e50ad) 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-ssh4600227960463691470.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-ssh14561488187774456530.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-1045/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-1045/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15110714500406244192.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-ssh16935468643296528853.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-1045/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-1045/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14800043744128573023.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.25, 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.25 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: go-mod-core-contracts DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5050’ Running on prd-ubuntu20.04-docker-8c-8g-5057 in /w/workspace/ry_go-mod-core-contracts_PR-1045 [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-1045 # 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/1045/head:refs/remotes/origin/PR-1045 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a328329ecd7a6713db99247851cf4144c04dfd8c into PR head commit ab1c1dbe42df6de86cbc270056ac02474d2811dc Merge succeeded, producing 8165d92b0c9638814b8a32e81932807da2b91233 Checking out Revision 8165d92b0c9638814b8a32e81932807da2b91233 (PR-1045) > git config core.sparsecheckout # timeout=10 > git checkout -f ab1c1dbe42df6de86cbc270056ac02474d2811dc # 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 a328329ecd7a6713db99247851cf4144c04dfd8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8165d92b0c9638814b8a32e81932807da2b91233 # timeout=10 Commit message: "Merge commit 'a328329ecd7a6713db99247851cf4144c04dfd8c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1af6111524a0f355f27445168f518be17e7286c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:36:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:36:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:36:50 ========================================================= 02:36:50 EdgeX Global Pipelines Version Info 02:36:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:36:51 ------------------- 02:36:51 stable info: 02:36:51 ------------------- 02:36:51 Commited By: Cherry Wang cherry@iotechsys.com 02:36:51 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 02:36:51 Message: update stable to v1.0.278 02:36:51 ------------------- 02:36:51 experimental info: 02:36:51 ------------------- 02:36:51 Commited By: **** collab-it+edgex@linuxfoundation.org 02:36:51 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 02:36:51 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:36:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 02:36:51 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 02:36:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:36:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1045 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1045 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1045 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8165d92b0c9638814b8a32e81932807da2b91233 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8165d92 [Pipeline] echo 02:36:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:36:53 + git rev-list -1 --merges 8165d92b0c9638814b8a32e81932807da2b91233~1..8165d92b0c9638814b8a32e81932807da2b91233 [Pipeline] echo 02:36:53 -----------> git rev-list -1 --merges 8165d92b0c9638814b8a32e81932807da2b91233~1..8165d92b0c9638814b8a32e81932807da2b91233 8165d92b0c9638814b8a32e81932807da2b91233 02:36:53 8165d92b0c9638814b8a32e81932807da2b91233 [false] [Pipeline] sh 02:36:53 + git log --format=format:%s -1 8165d92b0c9638814b8a32e81932807da2b91233 [Pipeline] echo 02:36:53 ========================================================= 02:36:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:36:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:53 + git log --format=format:%s -1 8165d92b0c9638814b8a32e81932807da2b91233 [Pipeline] echo 02:36:53 [semverPrep] GIT_COMMIT: 8165d92b0c9638814b8a32e81932807da2b91233, Commit Message: Merge commit 'a328329ecd7a6713db99247851cf4144c04dfd8c' into HEAD [Pipeline] echo 02:36:53 [semverPrep] This is not a build commit. [Pipeline] sh 02:36:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:36:54 + grep -v github /etc/ssh/ssh_known_hosts 02:36:54 + [ -e /tmp/ssh_known_hosts ] 02:36:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:36:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:36:54 + sudo tee -a /etc/ssh/ssh_known_hosts 02:36:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:54 02:36:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:54 0.1.4: Pulling from edgex-devops/py-git-semver 02:36:54 3dae71ba6b94: Pulling fs layer 02:36:54 6bf1a483ea7c: Pulling fs layer 02:36:54 f5dfc541a4d3: Pulling fs layer 02:36:54 461d9e800cba: Pulling fs layer 02:36:54 80192f66455f: Pulling fs layer 02:36:54 2e8e34ca0e6c: Pulling fs layer 02:36:54 a29436f7fd5d: Pulling fs layer 02:36:54 923cac83aea3: Pulling fs layer 02:36:54 25ad8b0a4227: Pulling fs layer 02:36:54 db01528c6b51: Pulling fs layer 02:36:54 28988de357af: Pulling fs layer 02:36:54 2e8e34ca0e6c: Waiting 02:36:54 80192f66455f: Waiting 02:36:54 a29436f7fd5d: Waiting 02:36:54 923cac83aea3: Waiting 02:36:54 25ad8b0a4227: Waiting 02:36:54 db01528c6b51: Waiting 02:36:54 28988de357af: Waiting 02:36:54 461d9e800cba: Waiting 02:36:55 6bf1a483ea7c: Download complete 02:36:55 461d9e800cba: Verifying Checksum 02:36:55 461d9e800cba: Download complete 02:36:55 80192f66455f: Verifying Checksum 02:36:55 80192f66455f: Download complete 02:36:55 f5dfc541a4d3: Verifying Checksum 02:36:55 f5dfc541a4d3: Download complete 02:36:55 3dae71ba6b94: Download complete 02:36:55 923cac83aea3: Verifying Checksum 02:36:55 923cac83aea3: Download complete 02:36:55 25ad8b0a4227: Verifying Checksum 02:36:55 25ad8b0a4227: Download complete 02:36:55 db01528c6b51: Verifying Checksum 02:36:55 db01528c6b51: Download complete 02:36:55 28988de357af: Verifying Checksum 02:36:55 28988de357af: Download complete 02:36:55 a29436f7fd5d: Verifying Checksum 02:36:55 a29436f7fd5d: Download complete 02:36:55 2e8e34ca0e6c: Verifying Checksum 02:36:55 2e8e34ca0e6c: Download complete 02:36:56 3dae71ba6b94: Pull complete 02:36:56 6bf1a483ea7c: Pull complete 02:36:57 f5dfc541a4d3: Pull complete 02:36:57 461d9e800cba: Pull complete 02:36:57 80192f66455f: Pull complete 02:37:01 2e8e34ca0e6c: Pull complete 02:37:02 a29436f7fd5d: Pull complete 02:37:02 923cac83aea3: Pull complete 02:37:02 25ad8b0a4227: Pull complete 02:37:02 db01528c6b51: Pull complete 02:37:02 28988de357af: Pull complete 02:37:02 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:02 prd-ubuntu20.04-docker-8c-8g-5057 does not seem to be running inside a container 02:37:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_go-mod-core-contracts_PR-1045 -v /w/workspace/ry_go-mod-core-contracts_PR-1045:/w/workspace/ry_go-mod-core-contracts_PR-1045:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1045@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-devops/py-git-semver:0.1.4 cat 02:37:04 $ docker top 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 -eo pid,comm 02:37:04 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). 02:37:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:04 [ssh-agent] Looking for ssh-agent implementation... 02:37:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:05 $ docker exec 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 ssh-agent 02:37:05 SSH_AUTH_SOCK=/tmp/ssh-FgTkUTGHeW17/agent.32 02:37:05 SSH_AGENT_PID=38 02:37:05 Running ssh-add (command line suppressed) 02:37:05 Identity added: /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp/private_key_3547015067362877366.key (/w/workspace/ry_go-mod-core-contracts_PR-1045@tmp/private_key_3547015067362877366.key) 02:37:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:05 + git config --global --add safe.directory /w/workspace/ry_go-mod-core-contracts_PR-1045 [Pipeline] sh 02:37:05 + git tag --points-at HEAD [Pipeline] } 02:37:05 $ docker exec --env ******** --env ******** 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 ssh-agent -k 02:37:05 unset SSH_AUTH_SOCK; 02:37:05 unset SSH_AGENT_PID; 02:37:05 echo Agent pid 38 killed; 02:37:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:37:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:06 [ssh-agent] Looking for ssh-agent implementation... 02:37:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:06 $ docker exec 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 ssh-agent 02:37:06 SSH_AUTH_SOCK=/tmp/ssh-yS1eL4ZjOSQR/agent.86 02:37:06 SSH_AGENT_PID=92 02:37:06 Running ssh-add (command line suppressed) 02:37:06 Identity added: /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp/private_key_4564178345207789162.key (/w/workspace/ry_go-mod-core-contracts_PR-1045@tmp/private_key_4564178345207789162.key) 02:37:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:06 + git semver init 02:37:06 2026-04-13 02:37:06,839 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:37:06 2026-04-13 02:37:06,843 [run_init] DEBUG init version:0.0.0 force:False 02:37:06 2026-04-13 02:37:06,844 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver 02:37:06 2026-04-13 02:37:06,844 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/ry_go-mod-core-contracts_PR-1045/.semver 02:37:06 2026-04-13 02:37:06,845 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1045, stdin=None, shell=False, universal_newlines=False) 02:37:08 2026-04-13 02:37:07,905 [append_file] DEBUG append to file:/w/workspace/ry_go-mod-core-contracts_PR-1045/.git/info/exclude 02:37:08 2026-04-13 02:37:07,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver/PR-1045 with force:False 02:37:08 2026-04-13 02:37:07,906 [write_file] DEBUG write to file:/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver/PR-1045 02:37:08 2026-04-13 02:37:07,910 [execute] INFO git cat-file --batch-check 02:37:08 2026-04-13 02:37:07,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver, stdin=, shell=False, universal_newlines=False) 02:37:08 2026-04-13 02:37:07,915 [execute] INFO git cat-file --batch 02:37:08 2026-04-13 02:37:07,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/ry_go-mod-core-contracts_PR-1045/.semver, stdin=, shell=False, universal_newlines=False) 02:37:08 2026-04-13 02:37:07,919 [read_version] DEBUG read version from /w/workspace/ry_go-mod-core-contracts_PR-1045/.semver/PR-1045 02:37:08 0.0.0 [Pipeline] } 02:37:08 $ docker exec --env ******** --env ******** 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 ssh-agent -k 02:37:08 unset SSH_AUTH_SOCK; 02:37:08 unset SSH_AGENT_PID; 02:37:08 echo Agent pid 92 killed; 02:37:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:08 + git semver [Pipeline] } 02:37:08 $ docker stop --time=1 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 02:37:10 $ docker rm -f --volumes 655bf5ade2b8508825e8f143c60372ad8c5e9ce8827be2d5caa34275cd712b76 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:37:10 Stashed 1 file(s) [Pipeline] echo 02:37:10 [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 02:37:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:37:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:37:11 ========================================================= 02:37:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 02:37:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 02:37:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 02:37:11 1.25-alpine: Pulling from edgex-devops/edgex-golang-base 02:37:11 2d35ebdb57d9: Pulling fs layer 02:37:11 c35fb4624d26: Pulling fs layer 02:37:11 4e2aec7ef170: Pulling fs layer 02:37:11 333b49ad6fbf: Pulling fs layer 02:37:11 4f4fb700ef54: Pulling fs layer 02:37:11 c3e65509a76b: Pulling fs layer 02:37:11 7cf9ebb963bd: Pulling fs layer 02:37:11 bb34ca984cfb: Pulling fs layer 02:37:11 151cf03bc807: Pulling fs layer 02:37:11 7cf9ebb963bd: Waiting 02:37:11 bb34ca984cfb: Waiting 02:37:11 151cf03bc807: Waiting 02:37:11 c3e65509a76b: Waiting 02:37:11 4f4fb700ef54: Waiting 02:37:11 333b49ad6fbf: Waiting 02:37:11 c35fb4624d26: Verifying Checksum 02:37:11 c35fb4624d26: Download complete 02:37:11 333b49ad6fbf: Verifying Checksum 02:37:11 333b49ad6fbf: Download complete 02:37:11 4f4fb700ef54: Download complete 02:37:11 c3e65509a76b: Verifying Checksum 02:37:11 c3e65509a76b: Download complete 02:37:11 2d35ebdb57d9: Verifying Checksum 02:37:11 2d35ebdb57d9: Download complete 02:37:11 2d35ebdb57d9: Pull complete 02:37:11 7cf9ebb963bd: Verifying Checksum 02:37:11 7cf9ebb963bd: Download complete 02:37:11 c35fb4624d26: Pull complete 02:37:11 4e2aec7ef170: Verifying Checksum 02:37:11 4e2aec7ef170: Download complete 02:37:12 151cf03bc807: Verifying Checksum 02:37:12 151cf03bc807: Download complete 02:37:12 bb34ca984cfb: Verifying Checksum 02:37:12 bb34ca984cfb: Download complete 02:37:16 4e2aec7ef170: Pull complete 02:37:16 333b49ad6fbf: Pull complete 02:37:16 4f4fb700ef54: Pull complete 02:37:16 c3e65509a76b: Pull complete 02:37:16 7cf9ebb963bd: Pull complete 02:37:20 bb34ca984cfb: Pull complete 02:37:20 151cf03bc807: Pull complete 02:37:20 Digest: sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 02:37:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 02:37:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine [Pipeline] sh 02:37:20 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:20 + docker inspect -f . ci-base-image-x86_64 02:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:20 prd-ubuntu20.04-docker-8c-8g-5057 does not seem to be running inside a container 02:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_go-mod-core-contracts_PR-1045 -v /w/workspace/ry_go-mod-core-contracts_PR-1045:/w/workspace/ry_go-mod-core-contracts_PR-1045:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1045@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 ******** ci-base-image-x86_64 cat 02:37:22 $ docker top cff202902ed162d69ff011fe88acb002678742ba699ff4fa34435ddbb32d9f09 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:22 + go version 02:37:22 go version go1.25.2 linux/amd64 [Pipeline] } 02:37:22 $ docker stop --time=1 cff202902ed162d69ff011fe88acb002678742ba699ff4fa34435ddbb32d9f09 02:37:23 $ docker rm -f --volumes cff202902ed162d69ff011fe88acb002678742ba699ff4fa34435ddbb32d9f09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:24 + docker inspect -f . ci-base-image-x86_64 02:37:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:24 prd-ubuntu20.04-docker-8c-8g-5057 does not seem to be running inside a container 02:37:24 $ 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-1045 -v /w/workspace/ry_go-mod-core-contracts_PR-1045:/w/workspace/ry_go-mod-core-contracts_PR-1045:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1045@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 ******** ci-base-image-x86_64 cat 02:37:24 $ docker top 896f2ef8463f993a13f861231c8c7f40c899c8e01d3d522e7df768a13e373181 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:24 + git config --global --add safe.directory /w/workspace/ry_go-mod-core-contracts_PR-1045 [Pipeline] fileExists [Pipeline] sh 02:37:25 + make test 02:37:25 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:37:25 go: downloading github.com/go-playground/validator/v10 v10.30.2 02:37:25 go: downloading github.com/google/uuid v1.6.0 02:37:25 go: downloading github.com/stretchr/testify v1.11.1 02:37:25 go: downloading github.com/fxamacker/cbor/v2 v2.9.1 02:37:25 go: downloading gopkg.in/yaml.v3 v3.0.1 02:37:25 go: downloading github.com/go-kit/log v0.2.1 02:37:25 go: downloading github.com/davecgh/go-spew v1.1.1 02:37:25 go: downloading github.com/pmezard/go-difflib v1.0.0 02:37:25 go: downloading github.com/stretchr/objx v0.5.2 02:37:25 go: downloading github.com/go-logfmt/logfmt v0.5.1 02:37:25 go: downloading github.com/x448/float16 v0.8.4 02:37:25 go: downloading golang.org/x/text v0.35.0 02:37:25 go: downloading github.com/gabriel-vasile/mimetype v1.4.13 02:37:25 go: downloading github.com/go-playground/universal-translator v0.18.1 02:37:25 go: downloading github.com/leodido/go-urn v1.4.0 02:37:25 go: downloading golang.org/x/crypto v0.49.0 02:37:25 go: downloading github.com/go-playground/locales v0.14.1 02:37:25 go: downloading golang.org/x/sys v0.42.0 02:37:29 github.com/edgexfoundry/go-mod-core-contracts/v4/clients coverage: 0.0% of statements 02:37:35 --- FAIL: TestGetCommand (0.01s) 02:37:35 deviceservicecommand_test.go:57: 02:37:35 Error Trace: /w/workspace/ry_go-mod-core-contracts_PR-1045/clients/http/deviceservicecommand_test.go:57 02:37:35 Error: Not equal: 02:37:35 expected: responses.EventResponse{BaseResponse:common.BaseResponse{Versionable:common.Versionable{ApiVersion:"v3"}, RequestId:"b63b35dd-6892-433b-be5d-24533b886818", Message:"", StatusCode:200}, Event:dtos.Event{Versionable:common.Versionable{ApiVersion:"v3"}, Id:"7a1707f0-166f-4c4b-bc9d-1d54c74e0137", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"", Origin:1594963842, Readings:[]dtos.BaseReading(nil), Tags:dtos.Tags{"GatewayID":"Houston-0001", "Latitude":"29.630771", "Longitude":"-95.377603"}, Extensions:map[string]interface {}(nil)}} 02:37:35 actual : responses.EventResponse{BaseResponse:common.BaseResponse{Versionable:common.Versionable{ApiVersion:"v3"}, RequestId:"b63b35dd-6892-433b-be5d-24533b886818", Message:"", StatusCode:200}, Event:dtos.Event{Versionable:common.Versionable{ApiVersion:"v3"}, Id:"7a1707f0-166f-4c4b-bc9d-1d54c74e0137", DeviceName:"TestDevice", ProfileName:"TestDeviceProfileName", SourceName:"", Origin:1594963842, Readings:[]dtos.BaseReading(nil), Tags:dtos.Tags{"GatewayID":"Houston-0001", "Latitude":"29.630771", "Longitude":"-95.377603"}, Extensions:map[string]interface {}{}}} 02:37:35 02:37:35 Diff: 02:37:35 --- Expected 02:37:35 +++ Actual 02:37:35 @@ -24,3 +24,4 @@ 02:37:35 }, 02:37:35 - Extensions: (map[string]interface {}) 02:37:35 + Extensions: (map[string]interface {}) { 02:37:35 + } 02:37:35 } 02:37:35 Test: TestGetCommand 02:37:35 FAIL 02:37:35 coverage: 78.7% of statements 02:37:35 FAIL github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http 0.102s 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/clients/http/utils 0.018s coverage: 34.3% of statements 02:37:35 ? github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces [no test files] 02:37:35 github.com/edgexfoundry/go-mod-core-contracts/v4/clients/interfaces/mocks coverage: 0.0% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger 0.013s coverage: 29.4% of statements 02:37:35 github.com/edgexfoundry/go-mod-core-contracts/v4/clients/logger/mocks coverage: 0.0% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/common 0.013s coverage: 52.2% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos 0.031s coverage: 78.4% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/common 0.006s coverage: 90.0% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/requests 0.042s coverage: 85.1% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/dtos/responses 0.009s coverage: 66.0% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/errors 0.009s coverage: 33.8% of statements 02:37:35 ok github.com/edgexfoundry/go-mod-core-contracts/v4/models 0.010s coverage: 71.1% of statements 02:37:35 FAIL 02:37:35 make: *** [Makefile:10: unittest] Error 1 [Pipeline] } 02:37:35 $ docker stop --time=1 896f2ef8463f993a13f861231c8c7f40c899c8e01d3d522e7df768a13e373181 02:37:37 $ docker rm -f --volumes 896f2ef8463f993a13f861231c8c7f40c899c8e01d3d522e7df768a13e373181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:38 02:37:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:38 latest: Pulling from edgex-lftools-log-publisher 02:37:38 5eb5b503b376: Pulling fs layer 02:37:38 5c69ac0246d0: Pulling fs layer 02:37:38 ec43610c2a17: Pulling fs layer 02:37:38 3a2ae6a8a46f: Pulling fs layer 02:37:38 33b1e0a273af: Pulling fs layer 02:37:38 5d3b04190fa2: Pulling fs layer 02:37:38 2f39f015ded8: Pulling fs layer 02:37:38 33b1e0a273af: Waiting 02:37:38 5d3b04190fa2: Waiting 02:37:38 2f39f015ded8: Waiting 02:37:38 3a2ae6a8a46f: Waiting 02:37:38 5c69ac0246d0: Download complete 02:37:38 3a2ae6a8a46f: Verifying Checksum 02:37:38 3a2ae6a8a46f: Download complete 02:37:38 33b1e0a273af: Download complete 02:37:38 5d3b04190fa2: Verifying Checksum 02:37:38 5d3b04190fa2: Download complete 02:37:38 ec43610c2a17: Verifying Checksum 02:37:38 ec43610c2a17: Download complete 02:37:38 5eb5b503b376: Verifying Checksum 02:37:38 5eb5b503b376: Download complete 02:37:39 2f39f015ded8: Download complete 02:37:40 5eb5b503b376: Pull complete 02:37:40 5c69ac0246d0: Pull complete 02:37:41 ec43610c2a17: Pull complete 02:37:41 3a2ae6a8a46f: Pull complete 02:37:41 33b1e0a273af: Pull complete 02:37:41 5d3b04190fa2: Pull complete 02:37:46 2f39f015ded8: Pull complete 02:37:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:37:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:46 prd-ubuntu20.04-docker-8c-8g-5057 does not seem to be running inside a container 02:37:46 $ 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-1045 -v /w/workspace/ry_go-mod-core-contracts_PR-1045:/w/workspace/ry_go-mod-core-contracts_PR-1045:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1045@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 02:37:47 $ docker top 66328250a3f638fa4445154ad1b30bad3a020fdc9eda9b0cf8f8e79822bf83e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:48 ---> job-cost.sh 02:37:48 lf-activate-venv: SKIPPING 02:37:48 INFO: No Stack... 02:37:48 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:48 INFO: Archiving Costs [Pipeline] sh 02:37:48 + cat /w/workspace/ry_go-mod-core-contracts_PR-1045/archives/cost.csv 02:37:48 + cut -d, -f6 [Pipeline] lock 02:37:48 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1045-2-stack-cost] 02:37:48 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-1045-2-stack-cost] did not exist. Created. 02:37:48 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1045-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:49 + echo total: 0.2199999988079071 [Pipeline] stash 02:37:49 Stashed 1 file(s) [Pipeline] } 02:37:49 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-1045-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:49 $ docker stop --time=1 66328250a3f638fa4445154ad1b30bad3a020fdc9eda9b0cf8f8e79822bf83e5 02:37:50 $ docker rm -f --volumes 66328250a3f638fa4445154ad1b30bad3a020fdc9eda9b0cf8f8e79822bf83e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:37:50 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 02:37:51 + [ -d /w/workspace/ry_go-mod-core-contracts_PR-1045/archives ] 02:37:51 + ls -al /w/workspace/ry_go-mod-core-contracts_PR-1045/archives 02:37:51 total 16 02:37:51 drwxr-xr-x 3 root root 4096 Apr 13 02:37 . 02:37:51 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:37 .. 02:37:51 drwxr-xr-x 2 root root 4096 Apr 13 02:37 cost 02:37:51 -rw-r--r-- 1 root root 94 Apr 13 02:37 cost.csv 02:37:51 + sudo chown -R jenkins:jenkins /w/workspace/ry_go-mod-core-contracts_PR-1045/archives 02:37:51 + ls -al /w/workspace/ry_go-mod-core-contracts_PR-1045/archives 02:37:51 total 16 02:37:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 02:37 . 02:37:51 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 02:37 .. 02:37:51 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 02:37 cost 02:37:51 -rw-r--r-- 1 jenkins jenkins 94 Apr 13 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:37:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:37:52 ---> package-listing.sh 02:37:52 ++ facter osfamily 02:37:52 ++ tr '[:upper:]' '[:lower:]' 02:37:52 + OS_FAMILY=debian 02:37:52 + workspace=/w/workspace/ry_go-mod-core-contracts_PR-1045 02:37:52 + START_PACKAGES=/tmp/packages_start.txt 02:37:52 + END_PACKAGES=/tmp/packages_end.txt 02:37:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:37:52 + PACKAGES=/tmp/packages_start.txt 02:37:52 + '[' /w/workspace/ry_go-mod-core-contracts_PR-1045 ']' 02:37:52 + PACKAGES=/tmp/packages_end.txt 02:37:52 + case "${OS_FAMILY}" in 02:37:52 + dpkg -l 02:37:52 + grep '^ii' 02:37:52 + '[' -f /tmp/packages_start.txt ']' 02:37:52 + '[' -f /tmp/packages_end.txt ']' 02:37:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:37:52 + '[' /w/workspace/ry_go-mod-core-contracts_PR-1045 ']' 02:37:52 + mkdir -p /w/workspace/ry_go-mod-core-contracts_PR-1045/archives/ 02:37:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_go-mod-core-contracts_PR-1045/archives/ [Pipeline] echo 02:37:52 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-1045/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:37:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:53 prd-ubuntu20.04-docker-8c-8g-5057 does not seem to be running inside a container 02:37:53 $ 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-1045/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-1045 -v /w/workspace/ry_go-mod-core-contracts_PR-1045:/w/workspace/ry_go-mod-core-contracts_PR-1045:rw,z -v /w/workspace/ry_go-mod-core-contracts_PR-1045@tmp:/w/workspace/ry_go-mod-core-contracts_PR-1045@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:37:54 $ docker top 18cd2c50e6ded465dffc7c98aae1ea846b1b670ef48768653ce7fd067f66b2c0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:37:54 + mkdir -p /var/log/sysstat [Pipeline] sh 02:37:54 + ls /var/log/sa-host 02:37:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:55 provisioning config files... 02:37:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_go-mod-core-contracts_PR-1045@tmp/config5991984965346993737tmp [Pipeline] { [Pipeline] echo 02:37:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:37:55 ---> create-netrc.sh [Pipeline] } 02:37:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:37:55 ---> python-tools-install.sh [Pipeline] echo 02:37:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:37:56 ---> sudo-logs.sh 02:37:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:37:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:37:56 ---> job-cost.sh 02:37:56 lf-activate-venv: SKIPPING 02:37:56 DEBUG: total: 0.2199999988079071 02:37:56 INFO: Retrieving Stack Cost... 02:37:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:56 INFO: Archiving Costs [Pipeline] echo 02:37:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:37:57 ---> logs-deploy.sh 02:37:57 lf-activate-venv: SKIPPING 02:37:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-1045/2 02:37:57 INFO: archiving workspace using pattern(s): 02:37:58 Archives upload complete. 02:37:58 INFO: archiving logs to Nexus