Triggered by Gerrit: https://gerrit.opensdn.io/c/opensdn-io/tf-container-builder/+/1685
Obtained pipelines/main.groovy from git https://github.com/opensdn-io/tf-jenkins.git
[Pipeline] Start of Pipeline
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
[2025-05-16T09:58:09.173Z] Timeout set to expire in 8 hr 0 min
[Pipeline] {
[Pipeline] node
[2025-05-16T09:58:09.221Z] Running on slave-openstack-gz1_1 in /home/jenkins/workspace/pipeline-post-merge
[Pipeline] {
[Pipeline] stage
[Pipeline] { (init)
[Pipeline] cleanWs
[2025-05-16T09:58:09.297Z] [WS-CLEANUP] Deleting project workspace...
[2025-05-16T09:58:09.297Z] [WS-CLEANUP] Deferred wipeout is disabled by the job configuration...
[2025-05-16T09:58:09.588Z] [WS-CLEANUP] done
[Pipeline] checkout
[2025-05-16T09:58:09.740Z] The recommended git tool is: git
[2025-05-16T09:58:09.745Z] No credentials specified
[2025-05-16T09:58:09.747Z] Cloning the remote Git repository
[2025-05-16T09:58:09.751Z] Cloning repository https://github.com/opensdn-io/tf-jenkins.git
[2025-05-16T09:58:09.751Z]  > git init /home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins # timeout=10
[2025-05-16T09:58:09.756Z] Fetching upstream changes from https://github.com/opensdn-io/tf-jenkins.git
[2025-05-16T09:58:09.756Z]  > git --version # timeout=10
[2025-05-16T09:58:09.759Z]  > git --version # 'git version 2.25.1'
[2025-05-16T09:58:09.759Z]  > git fetch --tags --force --progress -- https://github.com/opensdn-io/tf-jenkins.git +refs/heads/*:refs/remotes/origin/* # timeout=10
[2025-05-16T09:58:10.989Z] Avoid second fetch
[2025-05-16T09:58:10.995Z] Checking out Revision 5f779b4fa7144b830007de156dde4ebfc9374eed (refs/remotes/origin/master)
[2025-05-16T09:58:11.062Z] Commit message: "add ansible-k8s-rocky9 template"
[2025-05-16T09:58:10.978Z]  > git config remote.origin.url https://github.com/opensdn-io/tf-jenkins.git # timeout=10
[2025-05-16T09:58:10.981Z]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2025-05-16T09:58:10.991Z]  > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
[2025-05-16T09:58:10.996Z]  > git config core.sparsecheckout # timeout=10
[2025-05-16T09:58:11.010Z]  > git checkout -f 5f779b4fa7144b830007de156dde4ebfc9374eed # timeout=10
[2025-05-16T09:58:11.064Z]  > git rev-list --no-walk 5f779b4fa7144b830007de156dde4ebfc9374eed # timeout=10
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/utils/gerrit.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] echo
[2025-05-16T09:58:11.382Z] INFO: resolved gerrit URL is https://gerrit.opensdn.io/
[Pipeline] sh
[2025-05-16T09:58:11.682Z] + /home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/infra/gerrit/resolve_patchsets.py --gerrit https://gerrit.opensdn.io/ --review Ib828f5d932245fd85b5834651c00ff61abb6bf09 --branch master --changed_files --output /home/jenkins/workspace/pipeline-post-merge/patchsets-info.json
[Pipeline] archiveArtifacts
[2025-05-16T09:58:11.718Z] Archiving artifacts
[Pipeline] sh
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/utils/gerrit.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/constants.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/utils/config.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/utils/jobs.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] load
[Pipeline] { (/home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/pipelines/utils/gate.groovy)
[Pipeline] }
[Pipeline] // load
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Pre-build)
[Pipeline] echo
[2025-05-16T09:58:13.627Z] Logs URL: http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/85/1685/1/post-merge_397
[Pipeline] echo
[2025-05-16T09:58:13.653Z] terminate_runs_by_review_number: start
[Pipeline] echo
[2025-05-16T09:58:15.222Z] terminate_runs_by_review_number: terminated builds = []
[Pipeline] sh
[Pipeline] echo
[2025-05-16T09:58:15.558Z] Pipeline to run: post-merge
[Pipeline] sh
[Pipeline] sh
[Pipeline] archiveArtifacts
[2025-05-16T09:58:16.191Z] Archiving artifacts
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] readYaml
[Pipeline] echo
[2025-05-16T09:58:17.110Z] Streams from  config: [:]
[Pipeline] echo
[2025-05-16T09:58:17.123Z] Jobs from config: [update-caches:[:]]
[Pipeline] echo
[2025-05-16T09:58:17.138Z] Post Jobs from config: [:]
[Pipeline] echo
[2025-05-16T09:58:17.166Z] Notify gerrit verified=null, submit=false, msg=
[2025-05-16T09:58:17.166Z] TF CI Build Started (post-merge) https://jenkins.opensdn.io/job/pipeline-post-merge/397/
[Pipeline] withCredentials
[2025-05-16T09:58:17.193Z] Masking supported pattern matches of $GERRIT_API_PASSWORD
[Pipeline] {
[Pipeline] echo
[2025-05-16T09:58:17.252Z] INFO: resolved gerrit URL is https://gerrit.opensdn.io/
[Pipeline] sh
[2025-05-16T09:58:17.542Z] + /home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/infra/gerrit/notify.py --gerrit https://gerrit.opensdn.io/ --user tf-gerrit --password **** --review Ib828f5d932245fd85b5834651c00ff61abb6bf09 --patchset 1 --branch master --message 'TF CI Build Started (post-merge) https://jenkins.opensdn.io/job/pipeline-post-merge/397/'
[2025-05-16T09:58:17.543Z] DEBUG: Change: {'id': 'opensdn-io%2Ftf-container-builder~master~Ib828f5d932245fd85b5834651c00ff61abb6bf09', 'project': 'opensdn-io/tf-container-builder', 'branch': 'master', 'attention_set': {}, 'removed_from_attention_set': {'1000002': {'account': {'_account_id': 1000002}, 'last_update': '2025-05-16 09:57:52.000000000', 'reason': 'Change was submitted'}}, 'hashtags': [], 'change_id': 'Ib828f5d932245fd85b5834651c00ff61abb6bf09', 'subject': 'add set -e to Dockerfiles', 'status': 'MERGED', 'created': '2025-05-13 10:21:12.000000000', 'updated': '2025-05-16 09:57:52.000000000', 'submitted': '2025-05-16 09:57:52.000000000', 'submitter': {'_account_id': 1000001}, 'insertions': 39, 'deletions': 27, 'total_comment_count': 1, 'unresolved_comment_count': 0, 'has_review_started': True, 'submission_id': '1685', 'meta_rev_id': 'fb59f9fcbb9f0819b13acfccf1b3b2b3625d71da', '_number': 1685, 'owner': {'_account_id': 1000002}, 'labels': {'Code-Review': {'all': [{'value': 2, 'date': '2025-05-16 07:45:34.000000000', 'permitted_voting_range': {'min': 2, 'max': 2}, '_account_id': 1000002}, {'value': 0, '_account_id': 1000001}], 'values': {'-2': 'This shall not be submitted', '-1': 'I would prefer this is not submitted as is', ' 0': 'No score', '+1': 'Looks good to me, but someone else must approve', '+2': 'Looks good to me, approved'}, 'description': '', 'default_value': 0}, 'Verified': {'all': [{'value': 0, '_account_id': 1000002}, {'value': 2, 'date': '2025-05-16 09:57:39.000000000', 'permitted_voting_range': {'min': 2, 'max': 2}, '_account_id': 1000001}], 'values': {'-2': 'Fails', '-1': 'Fails', ' 0': 'No score', '+1': 'Verified', '+2': 'Gating'}, 'description': '', 'default_value': 0}}, 'permitted_labels': {'Code-Review': [' 0', '+1', '+2'], 'Verified': ['+2']}, 'removable_labels': {}, 'removable_reviewers': [], 'reviewers': {'REVIEWER': [{'_account_id': 1000001}, {'_account_id': 1000002}]}, 'pending_reviewers': {}, 'current_revision': '92a4ea85364aa3337803e73c2477e217c5d08a43', 'revisions': {'92a4ea85364aa3337803e73c2477e217c5d08a43': {'kind': 'REWORK', '_number': 1, 'created': '2025-05-13 10:21:12.000000000', 'uploader': {'_account_id': 1000002}, 'ref': 'refs/changes/85/1685/1', 'fetch': {'ssh': {'url': 'ssh://tf-gerrit@gerrit.opensdn.io:29418/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}, 'anonymous http': {'url': 'https://gerrit.opensdn.io/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}, 'http': {'url': 'https://tf-gerrit@gerrit.opensdn.io/a/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}}, 'commit': {'parents': [{'commit': '7cf26b6fcd968da08d30662612c78992c5b5f365', 'subject': 'fix tools image name detection'}], 'author': {'name': 'tikitavi', 'email': 'rtikitavi@gmail.com', 'date': '2025-05-13 10:05:50.000000000', 'tz': 180}, 'committer': {'name': 'tikitavi', 'email': 'rtikitavi@gmail.com', 'date': '2025-05-13 10:20:30.000000000', 'tz': 180}, 'subject': 'add set -e to Dockerfiles', 'message': 'add set -e to Dockerfiles\n\nsometimes build has failures inside RUN sections but finish as success\nit makes the troubleshooting harder\n\nChange-Id: Ib828f5d932245fd85b5834651c00ff61abb6bf09\nSigned-off-by: tikitavi <rtikitavi@gmail.com>\n'}}}, 'requirements': [], 'submit_records': [{'rule_name': 'gerrit~DefaultSubmitRule', 'status': 'CLOSED', 'labels': [{'label': 'Code-Review', 'status': 'OK', 'applied_by': {'_account_id': 1000002}}, {'label': 'Verified', 'status': 'OK', 'applied_by': {'_account_id': 1000001}}]}]}
[2025-05-16T09:58:17.543Z] DEBUG: push message data: {'labels': {}, 'message': 'TF CI Build Started (post-merge) https://jenkins.opensdn.io/job/pipeline-post-merge/397/'}
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] echo
[2025-05-16T09:58:17.865Z] Notify discord for new job is started
[Pipeline] echo
[2025-05-16T09:58:17.910Z] INFO: resolved gerrit URL is https://gerrit.opensdn.io/
[Pipeline] echo
[2025-05-16T09:58:17.938Z] Notify discord msg=
[2025-05-16T09:58:17.938Z] The review was merged.
[2025-05-16T09:58:17.938Z] [add set -e to Dockerfiles](https://gerrit.opensdn.io/c/opensdn-io/tf-container-builder/+/1685)
[Pipeline] withCredentials
[2025-05-16T09:58:17.961Z] Masking supported pattern matches of $DISCORD_WEBHOOK_URL
[Pipeline] {
[Pipeline] writeFile
[Pipeline] sh
[2025-05-16T09:58:18.320Z]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
[2025-05-16T09:58:18.320Z]                                  Dload  Upload   Total   Spent    Left  Speed
[2025-05-16T09:58:18.884Z] 
[2025-05-16T09:58:18.884Z]   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[2025-05-16T09:58:18.884Z] 100   166    0     0  100   166      0    323 --:--:-- --:--:-- --:--:--   324
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] parallel
[Pipeline] { (Branch: job-update-caches)
[Pipeline] stage
[Pipeline] { (update-caches)
[Pipeline] echo
[2025-05-16T09:58:19.124Z] JOB update-caches: entering run_job
[Pipeline] echo
[2025-05-16T09:58:19.159Z] JOB update-caches: vars empty. do not store vars file.
[Pipeline] echo
[2025-05-16T09:58:19.195Z] JOB update-caches: Starting job: update-caches  rnd: #65913
[Pipeline] timeout
[2025-05-16T09:58:19.212Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] build
[2025-05-16T09:58:19.256Z] Scheduling project: update-caches
[2025-05-16T09:58:28.439Z] Starting building: update-caches #304
[2025-05-16T10:19:30.141Z] Build update-caches #304 completed: SUCCESS
[Pipeline] echo
[2025-05-16T10:19:30.171Z] JOB update-caches: Finished with SUCCESS
[Pipeline] }
[Pipeline] // timeout
[Pipeline] copyArtifacts
[2025-05-16T10:19:30.271Z] Copied 0 artifacts from "update-caches" build number 304
[Pipeline] echo
[2025-05-16T10:19:30.302Z] JOB update-caches: Collected artifacts:
[Pipeline] sh
[2025-05-16T10:19:30.636Z] + ls -la update-caches-65913
[2025-05-16T10:19:30.636Z] total 8
[2025-05-16T10:19:30.636Z] drwxr-xr-x 2 jenkins docker 4096 May 16 10:19 .
[2025-05-16T10:19:30.636Z] drwxr-xr-x 4 jenkins docker 4096 May 16 10:19 ..
[Pipeline] withCredentials
[2025-05-16T10:19:30.680Z] Masking supported pattern matches of $LOGS_HOST_SSH_KEY
[Pipeline] {
[Pipeline] sh
[2025-05-16T10:19:31.001Z] Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
[2025-05-16T10:19:32.372Z] Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
[Pipeline] sh
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] echo
[2025-05-16T10:19:33.417Z] Jobs results: [update-caches:[job-rnd:65913, number:304, started:1747389508438, duration:1261611, result:SUCCESS]]
[Pipeline] stage
[Pipeline] { (gerrit vote)
[Pipeline] echo
[2025-05-16T10:19:33.481Z] Evaluated results for update-caches = [results:[SUCCESS], duration:1261611]
[Pipeline] echo
[2025-05-16T10:19:33.522Z] Notify gerrit verified=null, submit=false, msg=
[2025-05-16T10:19:33.522Z] TF CI Build Succeeded (post-merge) in 0h 21m 19s
[2025-05-16T10:19:33.522Z] 
[2025-05-16T10:19:33.522Z] Succeeded checks:
[2025-05-16T10:19:33.522Z] - update-caches http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/85/1685/1/post-merge_397/update-caches : SUCCESS in 0h 21m 1s
[Pipeline] withCredentials
[2025-05-16T10:19:33.553Z] Masking supported pattern matches of $GERRIT_API_PASSWORD
[Pipeline] {
[Pipeline] echo
[2025-05-16T10:19:33.632Z] INFO: resolved gerrit URL is https://gerrit.opensdn.io/
[Pipeline] sh
[2025-05-16T10:19:33.933Z] + /home/jenkins/workspace/pipeline-post-merge/src/opensdn-io/tf-jenkins/infra/gerrit/notify.py --gerrit https://gerrit.opensdn.io/ --user tf-gerrit --password **** --review Ib828f5d932245fd85b5834651c00ff61abb6bf09 --patchset 1 --branch master --message 'TF CI Build Succeeded (post-merge) in 0h 21m 19s
[2025-05-16T10:19:33.934Z] 
[2025-05-16T10:19:33.934Z] Succeeded checks:
[2025-05-16T10:19:33.934Z] - update-caches http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/85/1685/1/post-merge_397/update-caches : SUCCESS in 0h 21m 1s'
[2025-05-16T10:19:34.191Z] DEBUG: Change: {'id': 'opensdn-io%2Ftf-container-builder~master~Ib828f5d932245fd85b5834651c00ff61abb6bf09', 'project': 'opensdn-io/tf-container-builder', 'branch': 'master', 'attention_set': {}, 'removed_from_attention_set': {'1000002': {'account': {'_account_id': 1000002}, 'last_update': '2025-05-16 09:57:52.000000000', 'reason': 'Change was submitted'}}, 'hashtags': [], 'change_id': 'Ib828f5d932245fd85b5834651c00ff61abb6bf09', 'subject': 'add set -e to Dockerfiles', 'status': 'MERGED', 'created': '2025-05-13 10:21:12.000000000', 'updated': '2025-05-16 09:58:17.000000000', 'submitted': '2025-05-16 09:57:52.000000000', 'submitter': {'_account_id': 1000001}, 'insertions': 39, 'deletions': 27, 'total_comment_count': 1, 'unresolved_comment_count': 0, 'has_review_started': True, 'submission_id': '1685', 'meta_rev_id': 'd6787bdc6456f7fb50a34d2fbd6df4a978562899', '_number': 1685, 'owner': {'_account_id': 1000002}, 'labels': {'Code-Review': {'all': [{'value': 2, 'date': '2025-05-16 07:45:34.000000000', 'permitted_voting_range': {'min': 2, 'max': 2}, '_account_id': 1000002}, {'value': 0, '_account_id': 1000001}], 'values': {'-2': 'This shall not be submitted', '-1': 'I would prefer this is not submitted as is', ' 0': 'No score', '+1': 'Looks good to me, but someone else must approve', '+2': 'Looks good to me, approved'}, 'description': '', 'default_value': 0}, 'Verified': {'all': [{'value': 0, '_account_id': 1000002}, {'value': 2, 'date': '2025-05-16 09:57:39.000000000', 'permitted_voting_range': {'min': 2, 'max': 2}, '_account_id': 1000001}], 'values': {'-2': 'Fails', '-1': 'Fails', ' 0': 'No score', '+1': 'Verified', '+2': 'Gating'}, 'description': '', 'default_value': 0}}, 'permitted_labels': {'Code-Review': [' 0', '+1', '+2'], 'Verified': ['+2']}, 'removable_labels': {}, 'removable_reviewers': [], 'reviewers': {'REVIEWER': [{'_account_id': 1000001}, {'_account_id': 1000002}]}, 'pending_reviewers': {}, 'current_revision': '92a4ea85364aa3337803e73c2477e217c5d08a43', 'revisions': {'92a4ea85364aa3337803e73c2477e217c5d08a43': {'kind': 'REWORK', '_number': 1, 'created': '2025-05-13 10:21:12.000000000', 'uploader': {'_account_id': 1000002}, 'ref': 'refs/changes/85/1685/1', 'fetch': {'ssh': {'url': 'ssh://tf-gerrit@gerrit.opensdn.io:29418/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}, 'anonymous http': {'url': 'https://gerrit.opensdn.io/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}, 'http': {'url': 'https://tf-gerrit@gerrit.opensdn.io/a/opensdn-io/tf-container-builder', 'ref': 'refs/changes/85/1685/1'}}, 'commit': {'parents': [{'commit': '7cf26b6fcd968da08d30662612c78992c5b5f365', 'subject': 'fix tools image name detection'}], 'author': {'name': 'tikitavi', 'email': 'rtikitavi@gmail.com', 'date': '2025-05-13 10:05:50.000000000', 'tz': 180}, 'committer': {'name': 'tikitavi', 'email': 'rtikitavi@gmail.com', 'date': '2025-05-13 10:20:30.000000000', 'tz': 180}, 'subject': 'add set -e to Dockerfiles', 'message': 'add set -e to Dockerfiles\n\nsometimes build has failures inside RUN sections but finish as success\nit makes the troubleshooting harder\n\nChange-Id: Ib828f5d932245fd85b5834651c00ff61abb6bf09\nSigned-off-by: tikitavi <rtikitavi@gmail.com>\n'}}}, 'requirements': [], 'submit_records': [{'rule_name': 'gerrit~DefaultSubmitRule', 'status': 'CLOSED', 'labels': [{'label': 'Code-Review', 'status': 'OK', 'applied_by': {'_account_id': 1000002}}, {'label': 'Verified', 'status': 'OK', 'applied_by': {'_account_id': 1000001}}]}]}
[2025-05-16T10:19:34.191Z] DEBUG: push message data: {'labels': {}, 'message': 'TF CI Build Succeeded (post-merge) in 0h 21m 19s\n\nSucceeded checks:\n- update-caches http://nexus.gz1.opensdn.io:8082/jenkins_logs/gerrit/85/1685/1/post-merge_397/update-caches : SUCCESS in 0h 21m 1s'}
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
[Pipeline] archiveArtifacts
[2025-05-16T10:19:34.589Z] Archiving artifacts
[Pipeline] withCredentials
[2025-05-16T10:19:34.650Z] Masking supported pattern matches of $LOGS_HOST_SSH_KEY
[Pipeline] {
[Pipeline] writeFile
[Pipeline] sh
[2025-05-16T10:19:35.002Z] Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
[2025-05-16T10:19:35.566Z] Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] echo
[2025-05-16T10:19:36.263Z] URL of console output = https://jenkins.opensdn.io/job/pipeline-post-merge/397/consoleText
[Pipeline] withCredentials
[2025-05-16T10:19:36.293Z] Masking supported pattern matches of $LOGS_HOST_SSH_KEY
[Pipeline] {
[Pipeline] sh