Pull request #909 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 jackchenjc for edgexfoundry/go-mod-core-contracts Obtained Jenkinsfile from 9015c92cab6a44932358801ffd507647d17d4640+ffa9c054b21573ab79118fa838111d792bab13ae (8649bd7a495501daed824bf06287f831fe81c8ed) 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-ssh16986621865361657423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7082802593624453600.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 590556114a56c6d90cc8043840e039c2f74196dc 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-909/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-909/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4924055624232318871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9443882147648054715.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-909/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-909/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7292445572360152200.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, 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.21 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-6402’ Running on prd-ubuntu20.04-docker-8c-8g-6405 in /w/workspace/dry_go-mod-core-contracts_PR-909 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git > git init /w/workspace/dry_go-mod-core-contracts_PR-909 # 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/909/head:refs/remotes/origin/PR-909 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ffa9c054b21573ab79118fa838111d792bab13ae into PR head commit 9015c92cab6a44932358801ffd507647d17d4640 Merge succeeded, producing 9015c92cab6a44932358801ffd507647d17d4640 Checking out Revision 9015c92cab6a44932358801ffd507647d17d4640 (PR-909) > git config core.sparsecheckout # timeout=10 > git checkout -f 9015c92cab6a44932358801ffd507647d17d4640 # 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 ffa9c054b21573ab79118fa838111d792bab13ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9015c92cab6a44932358801ffd507647d17d4640 # timeout=10 Commit message: "feat: Add UnmarshalJSON and GetCopy methods with more tests" > git rev-list --no-walk 4693839e8e45a4235d6f8fe2b629030bf52e96e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:28:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:28:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:28:23 ========================================================= 04:28:23 EdgeX Global Pipelines Version Info 04:28:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:28:24 ------------------- 04:28:24 stable info: 04:28:24 ------------------- 04:28:24 Commited By: Ginny Guan ginny@iotechsys.com 04:28:24 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:28:24 Message: update stable to v1.0.260 04:28:24 ------------------- 04:28:24 experimental info: 04:28:24 ------------------- 04:28:24 Commited By: Ginny Guan ginny@iotechsys.com 04:28:24 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:28:24 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = go-mod-core-contracts-settings [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar PROJECT = go-mod-core-contracts [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:28:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = go-mod-core-contracts [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-909 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-909 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-909 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9015c92cab6a44932358801ffd507647d17d4640 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9015c92 [Pipeline] echo 04:28:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:28:25 + git rev-list -1 --merges 9015c92cab6a44932358801ffd507647d17d4640~1..9015c92cab6a44932358801ffd507647d17d4640 [Pipeline] echo 04:28:25 -----------> git rev-list -1 --merges 9015c92cab6a44932358801ffd507647d17d4640~1..9015c92cab6a44932358801ffd507647d17d4640 9015c92cab6a44932358801ffd507647d17d4640 [false] [Pipeline] sh 04:28:26 + git log --format=format:%s -1 9015c92cab6a44932358801ffd507647d17d4640 [Pipeline] echo 04:28:26 ========================================================= 04:28:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:28:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:26 + git log --format=format:%s -1 9015c92cab6a44932358801ffd507647d17d4640 [Pipeline] echo 04:28:26 [semverPrep] GIT_COMMIT: 9015c92cab6a44932358801ffd507647d17d4640, Commit Message: feat: Add UnmarshalJSON and GetCopy methods with more tests [Pipeline] echo 04:28:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:28:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:26 + grep -v github /etc/ssh/ssh_known_hosts 04:28:26 + [ -e /tmp/ssh_known_hosts ] 04:28:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:28:26 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 04:28:26 -a /etc/ssh/ssh_known_hosts 04:28:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:27 04:28:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:27 0.1.4: Pulling from edgex-devops/py-git-semver 04:28:27 b85a868b505f: Pulling fs layer 04:28:27 e2be974225ed: Pulling fs layer 04:28:27 339a4e72a1f5: Pulling fs layer 04:28:27 988bab9f4d93: Pulling fs layer 04:28:27 1469e6f7b9e6: Pulling fs layer 04:28:27 eaf3925da568: Pulling fs layer 04:28:27 bab4dde63d76: Pulling fs layer 04:28:27 bde34c3a00c8: Pulling fs layer 04:28:27 b352a97aabf1: Pulling fs layer 04:28:27 4872d77fe225: Pulling fs layer 04:28:27 1469e6f7b9e6: Waiting 04:28:27 eaf3925da568: Waiting 04:28:27 5851b861e8e6: Pulling fs layer 04:28:27 988bab9f4d93: Waiting 04:28:27 b352a97aabf1: Waiting 04:28:27 bab4dde63d76: Waiting 04:28:27 bde34c3a00c8: Waiting 04:28:27 4872d77fe225: Waiting 04:28:27 5851b861e8e6: Waiting 04:28:27 e2be974225ed: Verifying Checksum 04:28:27 e2be974225ed: Download complete 04:28:27 988bab9f4d93: Verifying Checksum 04:28:27 988bab9f4d93: Download complete 04:28:27 1469e6f7b9e6: Verifying Checksum 04:28:27 1469e6f7b9e6: Download complete 04:28:28 eaf3925da568: Verifying Checksum 04:28:28 eaf3925da568: Download complete 04:28:28 339a4e72a1f5: Verifying Checksum 04:28:28 339a4e72a1f5: Download complete 04:28:28 bde34c3a00c8: Download complete 04:28:28 b352a97aabf1: Download complete 04:28:28 4872d77fe225: Download complete 04:28:28 5851b861e8e6: Verifying Checksum 04:28:28 b85a868b505f: Verifying Checksum 04:28:28 b85a868b505f: Download complete 04:28:28 bab4dde63d76: Verifying Checksum 04:28:28 bab4dde63d76: Download complete 04:28:29 b85a868b505f: Pull complete 04:28:29 e2be974225ed: Pull complete 04:28:30 339a4e72a1f5: Pull complete 04:28:30 988bab9f4d93: Pull complete 04:28:30 1469e6f7b9e6: Pull complete 04:28:30 eaf3925da568: Pull complete 04:28:32 bab4dde63d76: Pull complete 04:28:32 bde34c3a00c8: Pull complete 04:28:32 b352a97aabf1: Pull complete 04:28:32 4872d77fe225: Pull complete 04:28:32 5851b861e8e6: Pull complete 04:28:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:32 prd-ubuntu20.04-docker-8c-8g-6405 does not seem to be running inside a container 04:28:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dry_go-mod-core-contracts_PR-909 -v /w/workspace/dry_go-mod-core-contracts_PR-909:/w/workspace/dry_go-mod-core-contracts_PR-909:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-909@tmp:/w/workspace/dry_go-mod-core-contracts_PR-909@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 04:28:35 $ docker top 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 -eo pid,comm 04:28:35 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). 04:28:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:35 [ssh-agent] Looking for ssh-agent implementation... 04:28:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:36 $ docker exec 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 ssh-agent 04:28:36 SSH_AUTH_SOCK=/tmp/ssh-UFg7dZbeaT0h/agent.32 04:28:36 SSH_AGENT_PID=38 04:28:36 Running ssh-add (command line suppressed) 04:28:36 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-909@tmp/private_key_11642545170505998477.key (/w/workspace/dry_go-mod-core-contracts_PR-909@tmp/private_key_11642545170505998477.key) 04:28:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:36 + git tag --points-at HEAD [Pipeline] } 04:28:36 $ docker exec --env ******** --env ******** 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 ssh-agent -k 04:28:36 unset SSH_AUTH_SOCK; 04:28:36 unset SSH_AGENT_PID; 04:28:36 echo Agent pid 38 killed; 04:28:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:28:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:36 [ssh-agent] Looking for ssh-agent implementation... 04:28:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:36 $ docker exec 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 ssh-agent 04:28:36 SSH_AUTH_SOCK=/tmp/ssh-WH8kJ7oQRwPK/agent.71 04:28:36 SSH_AGENT_PID=77 04:28:36 Running ssh-add (command line suppressed) 04:28:37 Identity added: /w/workspace/dry_go-mod-core-contracts_PR-909@tmp/private_key_15007930189369608941.key (/w/workspace/dry_go-mod-core-contracts_PR-909@tmp/private_key_15007930189369608941.key) 04:28:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:37 + git semver init 04:28:37 2024-07-25 04:28:37,549 [run_init] DEBUG init version:0.0.0 force:False 04:28:37 2024-07-25 04:28:37,550 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dry_go-mod-core-contracts_PR-909/.semver 04:28:37 2024-07-25 04:28:37,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/go-mod-core-contracts.git /w/workspace/dry_go-mod-core-contracts_PR-909/.semver 04:28:37 2024-07-25 04:28:37,550 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/go-mod-core-contracts.git', '/w/workspace/dry_go-mod-core-contracts_PR-909/.semver'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-909, universal_newlines=False, shell=None, istream=None) 04:28:38 2024-07-25 04:28:38,490 [append_file] DEBUG append to file:/w/workspace/dry_go-mod-core-contracts_PR-909/.git/info/exclude 04:28:38 2024-07-25 04:28:38,491 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dry_go-mod-core-contracts_PR-909/.semver/PR-909 with force:False 04:28:38 2024-07-25 04:28:38,491 [write_file] DEBUG write to file:/w/workspace/dry_go-mod-core-contracts_PR-909/.semver/PR-909 04:28:38 2024-07-25 04:28:38,495 [execute] INFO git cat-file --batch-check 04:28:38 2024-07-25 04:28:38,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-909/.semver, universal_newlines=False, shell=None, istream=) 04:28:38 2024-07-25 04:28:38,502 [execute] INFO git cat-file --batch 04:28:38 2024-07-25 04:28:38,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dry_go-mod-core-contracts_PR-909/.semver, universal_newlines=False, shell=None, istream=) 04:28:38 2024-07-25 04:28:38,509 [read_version] DEBUG read version from /w/workspace/dry_go-mod-core-contracts_PR-909/.semver/PR-909 04:28:38 0.0.0 [Pipeline] } 04:28:38 $ docker exec --env ******** --env ******** 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 ssh-agent -k 04:28:38 unset SSH_AUTH_SOCK; 04:28:38 unset SSH_AGENT_PID; 04:28:38 echo Agent pid 77 killed; 04:28:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:39 + git semver [Pipeline] } 04:28:39 $ docker stop --time=1 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 04:28:40 $ docker rm -f --volumes 19186c958cd3facb9a8b97790b962a6e4221ab98e9a8bcf5546037281c9143f8 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:28:41 Stashed 1 file(s) [Pipeline] echo 04:28:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 04:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:28:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:28:41 ========================================================= 04:28:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:28:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:28:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:28:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:28:41 619be1103602: Pulling fs layer 04:28:41 7862e08f4a3e: Pulling fs layer 04:28:41 5df492c9dc93: Pulling fs layer 04:28:41 7629e6793208: Pulling fs layer 04:28:41 4f4fb700ef54: Pulling fs layer 04:28:41 fb5054dd5b73: Pulling fs layer 04:28:41 eeca6798cff9: Pulling fs layer 04:28:41 aa269ceb94a6: Pulling fs layer 04:28:41 ada007ff1a6a: Pulling fs layer 04:28:41 eeca6798cff9: Waiting 04:28:41 4f4fb700ef54: Waiting 04:28:41 fb5054dd5b73: Waiting 04:28:41 ada007ff1a6a: Waiting 04:28:41 7862e08f4a3e: Verifying Checksum 04:28:41 7862e08f4a3e: Download complete 04:28:41 7629e6793208: Verifying Checksum 04:28:41 7629e6793208: Download complete 04:28:41 4f4fb700ef54: Verifying Checksum 04:28:41 4f4fb700ef54: Download complete 04:28:41 fb5054dd5b73: Verifying Checksum 04:28:41 fb5054dd5b73: Download complete 04:28:41 619be1103602: Verifying Checksum 04:28:41 619be1103602: Download complete 04:28:41 eeca6798cff9: Verifying Checksum 04:28:41 eeca6798cff9: Download complete 04:28:42 619be1103602: Pull complete 04:28:42 ada007ff1a6a: Verifying Checksum 04:28:42 ada007ff1a6a: Download complete 04:28:42 7862e08f4a3e: Pull complete 04:28:42 5df492c9dc93: Verifying Checksum 04:28:42 5df492c9dc93: Download complete 04:28:42 aa269ceb94a6: Verifying Checksum 04:28:42 aa269ceb94a6: Download complete 04:28:45 5df492c9dc93: Pull complete 04:28:45 7629e6793208: Pull complete 04:28:45 4f4fb700ef54: Pull complete 04:28:45 fb5054dd5b73: Pull complete 04:28:45 eeca6798cff9: Pull complete 04:28:48 aa269ceb94a6: Pull complete 04:28:48 ada007ff1a6a: Pull complete 04:28:48 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:28:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:28:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [Pipeline] sh 04:28:48 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine ci-base-image-x86_64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:49 + docker inspect -f . ci-base-image-x86_64 04:28:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:49 prd-ubuntu20.04-docker-8c-8g-6405 does not seem to be running inside a container 04:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dry_go-mod-core-contracts_PR-909 -v /w/workspace/dry_go-mod-core-contracts_PR-909:/w/workspace/dry_go-mod-core-contracts_PR-909:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-909@tmp:/w/workspace/dry_go-mod-core-contracts_PR-909@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 04:28:54 $ docker top fca8467a02f9a1aa6e6070045c8736b8218e11dda316bac9a8e2b9d943278a49 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:54 + go version 04:28:54 go version go1.21.9 linux/amd64 [Pipeline] } 04:28:54 $ docker stop --time=1 fca8467a02f9a1aa6e6070045c8736b8218e11dda316bac9a8e2b9d943278a49 04:28:55 $ docker rm -f --volumes fca8467a02f9a1aa6e6070045c8736b8218e11dda316bac9a8e2b9d943278a49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:56 + docker inspect -f . ci-base-image-x86_64 04:28:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:56 prd-ubuntu20.04-docker-8c-8g-6405 does not seem to be running inside a container 04:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dry_go-mod-core-contracts_PR-909 -v /w/workspace/dry_go-mod-core-contracts_PR-909:/w/workspace/dry_go-mod-core-contracts_PR-909:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-909@tmp:/w/workspace/dry_go-mod-core-contracts_PR-909@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 04:28:56 Still waiting to schedule task 04:28:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6403’ is offline 04:28:56 $ docker top ad31799b0d58151036a24bdb0a61bf014ee62efab4d880cee7dc175a45d480aa -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:56 + git config --global --add safe.directory /w/workspace/dry_go-mod-core-contracts_PR-909 [Pipeline] fileExists [Pipeline] sh 04:28:57 + make test 04:28:57 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:28:57 go: downloading github.com/stretchr/testify v1.9.0 04:28:57 go: downloading github.com/google/uuid v1.6.0 04:28:57 go: downloading github.com/go-playground/validator/v10 v10.22.0 04:28:57 go: downloading github.com/go-kit/log v0.2.1 04:28:57 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 04:28:57 go: downloading gopkg.in/yaml.v3 v3.0.1 04:28:57 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:28:57 go: downloading github.com/davecgh/go-spew v1.1.1 04:28:57 go: downloading github.com/pmezard/go-difflib v1.0.0 04:28:57 go: downloading github.com/stretchr/objx v0.5.2 04:28:57 go: downloading github.com/x448/float16 v0.8.4 04:28:57 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 04:28:57 go: downloading github.com/go-playground/universal-translator v0.18.1 04:28:57 go: downloading github.com/leodido/go-urn v1.4.0 04:28:57 go: downloading golang.org/x/crypto v0.25.0 04:28:57 go: downloading golang.org/x/text v0.16.0 04:28:57 go: downloading github.com/go-playground/locales v0.14.1 04:28:57 go: downloading golang.org/x/sys v0.22.0 04:28:58 go: downloading golang.org/x/net v0.27.0 04:29:00 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 04:29:06 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 04:29:06 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 04:29:06 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.087s coverage: 83.8% of statements 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.011s coverage: 38.7% of statements 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.005s coverage: 29.4% of statements 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.010s coverage: 29.3% of statements 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.013s coverage: 54.4% of statements 04:29:06 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.009s coverage: 90.0% of statements 04:29:07 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.036s coverage: 84.6% of statements 04:29:07 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.008s coverage: 67.3% of statements 04:29:07 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.004s coverage: 36.1% of statements 04:29:07 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.009s coverage: 56.0% of statements 04:29:19 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:29:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:29:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:29:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:29:20 $ docker stop --time=1 ad31799b0d58151036a24bdb0a61bf014ee62efab4d880cee7dc175a45d480aa 04:29:25 $ docker rm -f --volumes ad31799b0d58151036a24bdb0a61bf014ee62efab4d880cee7dc175a45d480aa [Pipeline] // withDockerContainer [Pipeline] sh 04:29:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:29:25 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 04:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:26 04:29:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:26 latest: Pulling from edgex-lftools-log-publisher 04:29:26 5eb5b503b376: Pulling fs layer 04:29:26 5c69ac0246d0: Pulling fs layer 04:29:26 ec43610c2a17: Pulling fs layer 04:29:26 3a2ae6a8a46f: Pulling fs layer 04:29:26 33b1e0a273af: Pulling fs layer 04:29:26 33b1e0a273af: Waiting 04:29:26 3a2ae6a8a46f: Waiting 04:29:26 5d3b04190fa2: Pulling fs layer 04:29:26 2f39f015ded8: Pulling fs layer 04:29:26 5d3b04190fa2: Waiting 04:29:26 2f39f015ded8: Waiting 04:29:26 5c69ac0246d0: Download complete 04:29:26 3a2ae6a8a46f: Verifying Checksum 04:29:26 33b1e0a273af: Verifying Checksum 04:29:26 33b1e0a273af: Download complete 04:29:26 ec43610c2a17: Verifying Checksum 04:29:26 ec43610c2a17: Download complete 04:29:26 5d3b04190fa2: Verifying Checksum 04:29:26 5eb5b503b376: Download complete 04:29:27 2f39f015ded8: Download complete 04:29:28 5eb5b503b376: Pull complete 04:29:28 5c69ac0246d0: Pull complete 04:29:28 ec43610c2a17: Pull complete 04:29:28 3a2ae6a8a46f: Pull complete 04:29:28 33b1e0a273af: Pull complete 04:29:28 5d3b04190fa2: Pull complete 04:29:34 2f39f015ded8: Pull complete 04:29:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:36 prd-ubuntu20.04-docker-8c-8g-6405 does not seem to be running inside a container 04:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-909 -v /w/workspace/dry_go-mod-core-contracts_PR-909:/w/workspace/dry_go-mod-core-contracts_PR-909:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-909@tmp:/w/workspace/dry_go-mod-core-contracts_PR-909@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 04:29:42 $ docker top 821f435f8bf9f8f02ea35924a433bacdf33904aec84da1dbca5e83a465781c4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:42 ---> job-cost.sh 04:29:42 lf-activate-venv: SKIPPING 04:29:42 INFO: No Stack... 04:29:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:43 INFO: Archiving Costs [Pipeline] sh 04:29:43 + cat /w/workspace/dry_go-mod-core-contracts_PR-909/archives/cost.csv 04:29:43 + cut -d, -f6 [Pipeline] lock 04:29:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] 04:29:44 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] did not exist. Created. 04:29:44 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:44 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:44 Stashed 1 file(s) [Pipeline] } 04:29:44 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:44 $ docker stop --time=1 821f435f8bf9f8f02ea35924a433bacdf33904aec84da1dbca5e83a465781c4d 04:29:45 $ docker rm -f --volumes 821f435f8bf9f8f02ea35924a433bacdf33904aec84da1dbca5e83a465781c4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6406 in /w/workspace/dry_go-mod-core-contracts_PR-909 [Pipeline] { [Pipeline] ws 04:30:25 Running in /w/workspace/go-mod-core-contracts/4 [Pipeline] { [Pipeline] checkout 04:30:28 The recommended git tool is: git 04:30:32 using credential edgex-jenkins-ssh 04:30:33 Cloning the remote Git repository 04:30:33 Cloning repository git@github.com:edgexfoundry/go-mod-core-contracts.git 04:30:33 > git init /w/workspace/go-mod-core-contracts/4 # timeout=10 04:30:33 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:30:33 > git --version # timeout=10 04:30:33 > git --version # 'git version 2.25.1' 04:30:33 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:34 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:30:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:35 > git config remote.origin.url git@github.com:edgexfoundry/go-mod-core-contracts.git # timeout=10 04:30:35 Fetching upstream changes from git@github.com:edgexfoundry/go-mod-core-contracts.git 04:30:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/go-mod-core-contracts.git +refs/pull/909/head:refs/remotes/origin/PR-909 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:36 Merging remotes/origin/main commit ffa9c054b21573ab79118fa838111d792bab13ae into PR head commit 9015c92cab6a44932358801ffd507647d17d4640 04:30:36 Merge succeeded, producing 9015c92cab6a44932358801ffd507647d17d4640 04:30:36 Checking out Revision 9015c92cab6a44932358801ffd507647d17d4640 (PR-909) 04:30:36 > git config core.sparsecheckout # timeout=10 04:30:36 > git checkout -f 9015c92cab6a44932358801ffd507647d17d4640 # timeout=10 04:30:36 > git remote # timeout=10 04:30:36 > git config --get remote.origin.url # timeout=10 04:30:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:36 > git merge ffa9c054b21573ab79118fa838111d792bab13ae # timeout=10 04:30:36 > git rev-parse HEAD^{commit} # timeout=10 04:30:36 > git config core.sparsecheckout # timeout=10 04:30:36 > git checkout -f 9015c92cab6a44932358801ffd507647d17d4640 # timeout=10 04:30:40 Commit message: "feat: Add UnmarshalJSON and GetCopy methods with more tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:30:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:41 Dload Upload Total Spent Left Speed 04:30:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 04:30:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:30:42 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 04:30:42 /etc/docker/daemon.json 04:30:42 { 04:30:42 "registry-mirrors": [ 04:30:42 "https://nexus3.edgexfoundry.org:10001" 04:30:42 ], 04:30:42 "bip": "10.250.0.254/24", 04:30:42 "hosts": [ 04:30:42 "tcp://0.0.0.0:5555", 04:30:42 "unix:///var/run/docker.sock" 04:30:42 ], 04:30:42 "mtu": 1458, 04:30:42 "selinux-enabled": true, 04:30:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:30:42 } [Pipeline] sh 04:30:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:30:43 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 04:31:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:31:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:31:01 ========================================================= 04:31:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:31:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh 04:31:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:31:02 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:31:02 c6b39de5b339: Pulling fs layer 04:31:02 a69c41024577: Pulling fs layer 04:31:02 d6de4b400683: Pulling fs layer 04:31:02 35cb2a7552d0: Pulling fs layer 04:31:02 4f4fb700ef54: Pulling fs layer 04:31:02 464afbd9ba4c: Pulling fs layer 04:31:02 00f215d4a9da: Pulling fs layer 04:31:02 d496ad576159: Pulling fs layer 04:31:02 35cb2a7552d0: Waiting 04:31:02 4f4fb700ef54: Waiting 04:31:02 464afbd9ba4c: Waiting 04:31:02 00f215d4a9da: Waiting 04:31:02 d496ad576159: Waiting 04:31:02 a69c41024577: Verifying Checksum 04:31:02 a69c41024577: Download complete 04:31:02 35cb2a7552d0: Verifying Checksum 04:31:02 35cb2a7552d0: Download complete 04:31:02 4f4fb700ef54: Verifying Checksum 04:31:02 4f4fb700ef54: Download complete 04:31:02 464afbd9ba4c: Verifying Checksum 04:31:02 464afbd9ba4c: Download complete 04:31:02 c6b39de5b339: Verifying Checksum 04:31:02 c6b39de5b339: Download complete 04:31:03 d496ad576159: Verifying Checksum 04:31:03 c6b39de5b339: Pull complete 04:31:04 a69c41024577: Pull complete 04:31:04 d6de4b400683: Verifying Checksum 04:31:04 d6de4b400683: Download complete 04:31:05 00f215d4a9da: Verifying Checksum 04:31:05 00f215d4a9da: Download complete 04:31:17 d6de4b400683: Pull complete 04:31:17 35cb2a7552d0: Pull complete 04:31:17 4f4fb700ef54: Pull complete 04:31:17 464afbd9ba4c: Pull complete 04:31:26 00f215d4a9da: Pull complete 04:31:28 d496ad576159: Pull complete 04:31:28 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:31:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [Pipeline] sh 04:31:28 + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:28 + docker inspect -f . ci-base-image-arm64 04:31:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:28 prd-ubuntu20.04-docker-arm64-4c-16g-6406 does not seem to be running inside a container 04:31:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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-arm64 cat 04:31:32 $ docker top 9546aff747fb868538a4ab3e7f2386e99061bb7277c8fc421f034473ba5fd64d -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:33 + go version 04:31:33 go version go1.21.9 linux/arm64 [Pipeline] } 04:31:33 $ docker stop --time=1 9546aff747fb868538a4ab3e7f2386e99061bb7277c8fc421f034473ba5fd64d 04:31:34 $ docker rm -f --volumes 9546aff747fb868538a4ab3e7f2386e99061bb7277c8fc421f034473ba5fd64d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:35 + docker inspect -f . ci-base-image-arm64 04:31:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:35 prd-ubuntu20.04-docker-arm64-4c-16g-6406 does not seem to be running inside a container 04:31:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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-arm64 cat 04:31:36 $ docker top e8db87462a815c102c7178a10b277ebec37915eff6105a3e0dfd49f91aa08f1c -eo pid,comm [Pipeline] { [Pipeline] sh 04:31:37 + git config --global --add safe.directory /w/workspace/go-mod-core-contracts/4 [Pipeline] fileExists [Pipeline] sh 04:31:37 + make test 04:31:37 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:31:38 go: downloading github.com/google/uuid v1.6.0 04:31:38 go: downloading github.com/stretchr/testify v1.9.0 04:31:38 go: downloading github.com/go-kit/log v0.2.1 04:31:38 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 04:31:38 go: downloading github.com/go-playground/validator/v10 v10.22.0 04:31:38 go: downloading gopkg.in/yaml.v3 v3.0.1 04:31:38 go: downloading github.com/go-logfmt/logfmt v0.5.1 04:31:38 go: downloading github.com/davecgh/go-spew v1.1.1 04:31:38 go: downloading github.com/pmezard/go-difflib v1.0.0 04:31:38 go: downloading github.com/stretchr/objx v0.5.2 04:31:39 go: downloading github.com/x448/float16 v0.8.4 04:31:39 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 04:31:39 go: downloading github.com/go-playground/universal-translator v0.18.1 04:31:39 go: downloading github.com/leodido/go-urn v1.4.0 04:31:39 go: downloading golang.org/x/crypto v0.25.0 04:31:39 go: downloading golang.org/x/text v0.16.0 04:31:39 go: downloading github.com/go-playground/locales v0.14.1 04:31:40 go: downloading golang.org/x/sys v0.22.0 04:31:44 go: downloading golang.org/x/net v0.27.0 04:31:46 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients [no test files] 04:32:43 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces [no test files] 04:32:43 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/interfaces/mocks [no test files] 04:32:43 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http 0.529s coverage: 83.8% of statements 04:32:43 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/http/utils 0.032s coverage: 38.7% of statements 04:32:43 ? github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger/mocks [no test files] 04:32:43 ok github.com/edgexfoundry/go-mod-core-contracts/v3/clients/logger 0.021s coverage: 29.4% of statements 04:32:43 ok github.com/edgexfoundry/go-mod-core-contracts/v3/common 0.026s coverage: 29.3% of statements 04:32:46 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos 0.092s coverage: 54.4% of statements 04:32:46 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common 0.056s coverage: 90.0% of statements 04:32:48 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/requests 0.268s coverage: 84.6% of statements 04:32:48 ok github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/responses 0.031s coverage: 67.3% of statements 04:32:48 ok github.com/edgexfoundry/go-mod-core-contracts/v3/errors 0.029s coverage: 36.1% of statements 04:32:48 ok github.com/edgexfoundry/go-mod-core-contracts/v3/models 0.033s coverage: 56.0% of statements 04:32:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:32:49 CGO_ENABLED=0 GO111MODULE=on go vet ./... 04:33:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [Pipeline] echo 04:33:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:33:04 $ docker stop --time=1 e8db87462a815c102c7178a10b277ebec37915eff6105a3e0dfd49f91aa08f1c 04:33:05 $ docker rm -f --volumes e8db87462a815c102c7178a10b277ebec37915eff6105a3e0dfd49f91aa08f1c [Pipeline] // withDockerContainer [Pipeline] sh 04:33:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:07 Warning: overwriting stash ‘coverage-report’ 04:33:08 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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:09 04:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:09 arm64: Pulling from edgex-lftools-log-publisher 04:33:09 8998bd30e6a1: Pulling fs layer 04:33:09 04944245beec: Pulling fs layer 04:33:09 699f458cf7ca: Pulling fs layer 04:33:09 765212b225bb: Pulling fs layer 04:33:09 f23df028b6ca: Pulling fs layer 04:33:09 d65c8cfc05b1: Pulling fs layer 04:33:09 2437ff75d9bd: Pulling fs layer 04:33:09 f23df028b6ca: Waiting 04:33:09 d65c8cfc05b1: Waiting 04:33:09 2437ff75d9bd: Waiting 04:33:09 765212b225bb: Waiting 04:33:09 04944245beec: Verifying Checksum 04:33:09 04944245beec: Download complete 04:33:09 765212b225bb: Verifying Checksum 04:33:09 765212b225bb: Download complete 04:33:10 f23df028b6ca: Download complete 04:33:10 d65c8cfc05b1: Download complete 04:33:10 699f458cf7ca: Verifying Checksum 04:33:10 699f458cf7ca: Download complete 04:33:10 8998bd30e6a1: Download complete 04:33:13 2437ff75d9bd: Verifying Checksum 04:33:13 2437ff75d9bd: Download complete 04:33:15 8998bd30e6a1: Pull complete 04:33:15 04944245beec: Pull complete 04:33:17 699f458cf7ca: Pull complete 04:33:17 765212b225bb: Pull complete 04:33:18 f23df028b6ca: Pull complete 04:33:18 d65c8cfc05b1: Pull complete 04:33:36 2437ff75d9bd: Pull complete 04:33:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:33:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-6406 does not seem to be running inside a container 04:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/go-mod-core-contracts/4 -v /w/workspace/go-mod-core-contracts/4:/w/workspace/go-mod-core-contracts/4:rw,z -v /w/workspace/go-mod-core-contracts/4@tmp:/w/workspace/go-mod-core-contracts/4@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:arm64 cat 04:33:39 $ docker top ed67aded7f371200ee8936ed03c5a8719866b7591b778cf1581a7a181db845ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:40 ---> job-cost.sh 04:33:40 lf-activate-venv: SKIPPING 04:33:40 INFO: No Stack... 04:33:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:33:41 INFO: Archiving Costs [Pipeline] sh 04:33:42 + + catcut /w/workspace/go-mod-core-contracts/4/archives/cost.csv -d, 04:33:42 -f6 [Pipeline] lock 04:33:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] 04:33:42 Resource [jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] did not exist. Created. 04:33:42 Lock acquired on [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:33:42 /w/workspace/go-mod-core-contracts/4@tmp/durable-aa9f6066/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:33:43 + echo total: 0.10999999940395355 [Pipeline] stash 04:33:43 Warning: overwriting stash ‘stack-cost’ 04:33:43 Stashed 1 file(s) [Pipeline] } 04:33:43 Lock released on resource [Resource: jenkins-edgexfoundry-go-mod-core-contracts-PR-909-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:33:43 $ docker stop --time=1 ed67aded7f371200ee8936ed03c5a8719866b7591b778cf1581a7a181db845ca 04:33:44 $ docker rm -f --volumes ed67aded7f371200ee8936ed03c5a8719866b7591b778cf1581a7a181db845ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:33:45 provisioning config files... 04:33:45 copy managed file [go-mod-core-contracts-codecov-token] to file:/w/workspace/dry_go-mod-core-contracts_PR-909@tmp/config10516240287794881642tmp [Pipeline] { [Pipeline] sh 04:33:45 + set +x 04:33:45 + curl -s https://codecov.io/bash 04:33:45 + bash -s -- 04:33:45 04:33:45 _____ _ 04:33:45 / ____| | | 04:33:45 | | ___ __| | ___ ___ _____ __ 04:33:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:33:45 | |___| (_) | (_| | __/ (_| (_) \ V / 04:33:45 \_____\___/ \__,_|\___|\___\___/ \_/ 04:33:45 Bash-1.0.6 04:33:45 04:33:45 04:33:45 ==> git version 2.25.1 found 04:33:45 ==> 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 04:33:45 Release-Date: 2020-01-08 04:33:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:33:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:33:45 ==> Jenkins CI detected. 04:33:45 current dir:  /w/workspace/dry_go-mod-core-contracts_PR-909 04:33:45 project root: . 04:33:45 --> token set from env 04:33:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:33:45 ==> Running gcov in . (disable via -X gcov) 04:33:45 ==> Python coveragepy not found 04:33:45 ==> Searching for coverage reports in: 04:33:45 + . 04:33:45 -> Found 1 reports 04:33:45 ==> Detecting git/mercurial file structure 04:33:45 ==> Reading reports 04:33:45 + ./coverage.out bytes=158426 04:33:45 ==> Appending adjustments 04:33:45 https://docs.codecov.io/docs/fixing-reports 04:33:46 + Found adjustments 04:33:46 ==> Gzipping contents 04:33:46 24K /tmp/codecov.T5wnK8.gz 04:33:46 ==> Uploading reports 04:33:46 url: https://codecov.io 04:33:46 query: branch=PR-909&commit=9015c92cab6a44932358801ffd507647d17d4640&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-909%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=909&job=&cmd_args= 04:33:46 -> Pinging Codecov 04:33:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-909&commit=9015c92cab6a44932358801ffd507647d17d4640&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fgo-mod-core-contracts%2Fjob%2FPR-909%2F4%2F&name=&tag=&slug=edgexfoundry%2Fgo-mod-core-contracts&service=jenkins&flags=&pr=909&job=&cmd_args= 04:33:46 -> Uploading to 04:33:46 https://storage.googleapis.com/codecov/v4/raw/2024-07-25/71470A77251A30514AAF9C0BB2E5B6CE/9015c92cab6a44932358801ffd507647d17d4640/42ac097a-7b76-4b63-be6d-4a2ecc21d78e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240725%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240725T043346Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=22c4966ddbddcf8284a6807a2d25f91c9845b856b13859e45316f25c2ba9f460 04:33:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:33:46 Dload Upload Total Spent Left Speed 04:33:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22902 0 0 100 22902 0 87412 --:--:-- --:--:-- --:--:-- 87412 04:33:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/go-mod-core-contracts/commit/9015c92cab6a44932358801ffd507647d17d4640 [Pipeline] } 04:33:47 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 04:33:48 + [ -d /w/workspace/dry_go-mod-core-contracts_PR-909/archives ] 04:33:48 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-909/archives 04:33:48 total 16 04:33:48 drwxr-xr-x 3 root root 4096 Jul 25 04:29 . 04:33:48 drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 04:29 .. 04:33:48 drwxr-xr-x 2 root root 4096 Jul 25 04:29 cost 04:33:48 -rw-r--r-- 1 root root 93 Jul 25 04:29 cost.csv 04:33:48 + sudo chown -R jenkins:jenkins /w/workspace/dry_go-mod-core-contracts_PR-909/archives 04:33:48 + ls -al /w/workspace/dry_go-mod-core-contracts_PR-909/archives 04:33:48 total 16 04:33:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 25 04:29 . 04:33:48 drwxrwxr-x 11 jenkins jenkins 4096 Jul 25 04:29 .. 04:33:48 drwxr-xr-x 2 jenkins jenkins 4096 Jul 25 04:29 cost 04:33:48 -rw-r--r-- 1 jenkins jenkins 93 Jul 25 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:33:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:33:49 ---> package-listing.sh 04:33:49 ++ facter osfamily 04:33:49 ++ tr '[:upper:]' '[:lower:]' 04:33:49 + OS_FAMILY=debian 04:33:49 + workspace=/w/workspace/dry_go-mod-core-contracts_PR-909 04:33:49 + START_PACKAGES=/tmp/packages_start.txt 04:33:49 + END_PACKAGES=/tmp/packages_end.txt 04:33:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:33:49 + PACKAGES=/tmp/packages_start.txt 04:33:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-909 ']' 04:33:49 + PACKAGES=/tmp/packages_end.txt 04:33:49 + case "${OS_FAMILY}" in 04:33:49 + dpkg -l 04:33:49 + grep '^ii' 04:33:49 + '[' -f /tmp/packages_start.txt ']' 04:33:49 + '[' -f /tmp/packages_end.txt ']' 04:33:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:33:49 + '[' /w/workspace/dry_go-mod-core-contracts_PR-909 ']' 04:33:49 + mkdir -p /w/workspace/dry_go-mod-core-contracts_PR-909/archives/ 04:33:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dry_go-mod-core-contracts_PR-909/archives/ [Pipeline] echo 04:33:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-909/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:33:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:33:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:50 prd-ubuntu20.04-docker-8c-8g-6405 does not seem to be running inside a container 04:33:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dry_go-mod-core-contracts_PR-909/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dry_go-mod-core-contracts_PR-909 -v /w/workspace/dry_go-mod-core-contracts_PR-909:/w/workspace/dry_go-mod-core-contracts_PR-909:rw,z -v /w/workspace/dry_go-mod-core-contracts_PR-909@tmp:/w/workspace/dry_go-mod-core-contracts_PR-909@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 04:33:50 $ docker top b919146a9ffda17cbdea65c4d6e2e5ff331ef4d0e866aba338a4d15dbfa70082 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:50 + touch /tmp/pre-build-complete [Pipeline] sh 04:33:51 + mkdir -p /var/log/sysstat [Pipeline] sh 04:33:51 + ls /var/log/sa-host 04:33:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:51 provisioning config files... 04:33:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dry_go-mod-core-contracts_PR-909@tmp/config12290560062244237197tmp [Pipeline] { [Pipeline] echo 04:33:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:33:51 ---> create-netrc.sh [Pipeline] } 04:33:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:33:52 ---> python-tools-install.sh [Pipeline] echo 04:33:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:33:52 ---> sudo-logs.sh 04:33:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:33:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:33:52 ---> job-cost.sh 04:33:52 lf-activate-venv: SKIPPING 04:33:52 DEBUG: total: 0.2199999988079071 04:33:52 INFO: Retrieving Stack Cost... 04:33:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:33:53 INFO: Archiving Costs [Pipeline] echo 04:33:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:33:53 ---> logs-deploy.sh 04:33:53 lf-activate-venv: SKIPPING 04:33:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/go-mod-core-contracts/PR-909/4 04:33:53 INFO: archiving workspace using pattern(s): 04:33:54 Archives upload complete. 04:33:54 INFO: archiving logs to Nexus