[Storage] Add CBT multi-incremental and multi-disk backup tests #6047
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 297 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.341
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6047"
general
weight: 0.35
dalia-frank
Implement TestMultipleIncrementalBackups and TestMultipleDiskBackup backup-success tests, replacing their STD placeholders.
##### What this PR does / why we need it:
Add backup-success coverage for sequential incremental backup chains and multi-disk VMs in both push and pull modes.
completed_push_backup_chainandready_pull_backup_chainfixtures that perform a full backup followed by a configurable number of incremental backups, and use them (with incremental_count 0 or 1) in place of the now-removed single-purpose full/incremental fixtures.vm_with_cbt_labelwith an optionaldata_disk_countto attach and write test data to additional blank data disks before first boot.use_sudotowrite_file_via_sshfor writing to guest paths (e.g. raw block devices) the unprivileged SSH user cannot access directly.##### Which issue(s) this PR fixes:
##### Special notes for reviewer:
These tests are scoped to backup success (
includedVolumes/type). The STP uses restore only as a QE integrity check, not as a product feature (known limitation: there is no restore API). Restore-based integrity validation for the implemented P0 scenarios is intentionally excluded from this PR and remains covered by remaining STD placeholders in the same file (Windows, hotplug, concurrent, live-migration). Follow-up tracking: https://redhat.atlassian.net/browse/CNV-61552##### jira-ticket:
https://issues.redhat.com/browse/CNV-61530
Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Tests
Expanded CBT backup coverage for sequential incremental chains and virtual machines with multiple data disks.
Added validation for backup status, included volumes, backup types, boot-disk handling, and export readiness.
Added support for configurable blank data disks, generated incremental test data, and VM-wide storage sizing.
Replaced placeholder restore checks with executable backup-success validation.
Chores
* Improved test file-writing support with optional elevated permissions and safer content handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->