feat(MTV-6351): test Critical DI concerns block warm migration - #629
feat(MTV-6351): test Critical DI concerns block warm migration#629MiriSafra wants to merge 3 commits into
Conversation
|
Warning Review limit reached
Next review available in: 34 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
WalkthroughThe change adds a validator for Critical Deep Inspection migration blocks and a fixture-backed warm migration test. The test configuration enables one powered-on source VM, creates migration resources, expects plan execution to fail, and verifies the blocked VMs. ChangesWarm migration DI blocking
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Branch Management
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
Security Checks
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
PR Summary by QodoTest warm migration is blocked by Critical Deep Inspection concerns
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/tests_config/config.py`:
- Around line 821-824: Update the "test_warm_di_concerns" configuration to
explicitly set run_preflight_inspection to True alongside warm_migration,
ensuring create_plan_resource() always enables the preflight inspection
condition this test verifies.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: f2d9ab19-9cfb-44a1-93cc-dd0d556e704c
📒 Files selected for processing (3)
tests/deep_inspection/test_plan_driven_di.pytests/tests_config/config.pyutilities/deep_inspection.py
Warm migration with a VM whose fstab uses /dev/disk/by-path/ triggers a Critical concern during Deep Inspection, blocking migration at the PreflightInspection pipeline step.
Code Review by Qodo
1.
|
Ensures test fails if migration errors for an unrelated reason, matching the pattern used by LUKS tests (match="ImageConversion").
2a27595 to
523ffae
Compare
|
Code review by qodo was updated up to the latest commit 523ffae |
Use getattr(..., None) or [] to prevent TypeError when pipeline attribute exists but is None, matching _get_failed_migration_step pattern in mtv_migration.py.
|
Code review by qodo was updated up to the latest commit 2f48c8d |
|
/verified |
Summary
/dev/disk/by-path/entries in fstab (fstab-by-path-deviceconcern) on vmware-7verify_di_concerns_block_migration()utility to validate the pipeline error after migration failuretest_warm_di_concernsconfig entryJira: MTV-6351
Summary by CodeRabbit
Bug Fixes
Tests