CherryPicked: [cnv-4.22] [Storage] Use Windows 2k22 with vTPM in Storage Class migration test #6294
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 308 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.343
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6294"
general
weight: 0.35
acinko-rh
##### What this PR does / why we need it:
This is part of a project where we use common Windows datasource for windows VMs in storage module.
Also adjusted the helper functions that create Windows VMs with bool attribute that just yields the VM and doesn't verify it if it's running if the argument is set to False manually.
##### Which issue(s) this PR fixes:
https://redhat.atlassian.net/browse/CNV-51351
##### Special notes for reviewer:
Co-Authored-By: Claude <noreply@anthropic.com>
##### jira-ticket:
https://redhat.atlassian.net/browse/CNV-94499
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Tests
Updated Windows storage migration test setup to use Windows Server 2022 virtual machines.
Added an option to create test virtual machines without automatically starting them or waiting for Windows to boot.
Simplified test data volume setup by using a shared configuration helper.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
##### Backport additions — cnv-4.22
Backport of the original main PR: https://github.com/RedHatQE/openshift-virtualization-tests/pull/5837
Original Jira context: https://redhat.atlassian.net/browse/CNV-51351
Release module: https://redhat.atlassian.net/browse/CNV-94499
Source change: 0fcc8accd014ceabd715ff8aeb5719b6b053f43b
Existing manual-recovery notes:
This cherry-pick required resolving one merge conflict in
tests/storage/storage_migration/conftest.py:from utilities.constants import X, Y, Z), while main (after the refactor) uses the modularized style (from utilities.constants.images import X).get_http_image_urlandOS_FLAVOR_WINDOWS, keptcreate_windows2022_vm_with_data_volume_templatefromtests.utils.Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Verification status: existing CI reports tox, build-container, and DCO success. The can-be-merged check reports missing cnv-smoke/validation and verified checks, a missing tox:verify-tc-requirement-polarion:passed label, and required approvals/LGTMs. A historical bot comment reports a downstream Polarion requirement check failure. Cluster tests were not run during this backport resumption. Required review and verification remain pending.