Manual Cherry-pick: [4.22] Add support for multiarch dedicated tests (#5124)#5565
Conversation
|
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
📌 Additional InformationCustom Commands:
For more information, please refer to the project documentation or contact the maintainers. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (14)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📝 WalkthroughWalkthroughThis PR adds multiarch pytest filtering and collection wiring, updates cluster architecture handling for comma-separated values, changes architecture-aware fixtures, adds multiarch collection checks and documentation, marks a test module, and switches several tests to safer ChangesMultiarch Test Collection and Architecture Filtering
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (2 errors)
✅ Passed checks (3 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 |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5565 published |
|
/verified |
Test execution plan request detailsCRITICAL: You MUST post an inline review comment on the first changed line of the first file. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Output rules: Your deliverable: Test Execution Plan
Use these formats:
Real test commands (MANDATORY when changes affect session/runtime code): When the affected code runs at session/collection time (conftest fixtures, pytest plugins,
Example output for a session-startup fix: Guidelines:
Hardware-Related Checks (SR-IOV, GPU, DPDK): When PR modifies fixtures for hardware-specific resources:
CRITICAL WORKFLOW COMPLETION RULES: When responding to this test execution plan request, you MUST follow these rules EXACTLY:
ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):
Remember: The pull request review is visible to users. Additional comments are redundant noise. CRITICAL — Verification rules for smoke and gating decisions: |
🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "=== repo check ==="
git rev-parse --abbrev-ref HEAD || true
echo "=== find schedulable_nodes callers ==="
rg -n 'schedulable_nodes' tests/ utilities/ --type py -C1 | head -100
echo "=== find get_cluster_architecture callers ==="
rg -n 'get_cluster_architecture' tests/ utilities/ --type py
echo "=== smoke marked files ==="
rg -l '`@pytest.mark.smoke`' tests/ | head -50
echo "=== gating marked files ==="
rg -l '`@pytest.mark.gating`' tests/ | head -50
echo "=== filter_multiarch_tests usage ==="
rg -n 'filter_multiarch_tests|remove_tests_from_list' --type pyLength of output: 16689
Test Execution Plan
Affected tests to run
Real tests (cluster required) — Error/fix path (multiarch deselection on homogeneous cluster): Happy path (regression on multiarch/heterogeneous cluster, or default single-arch): ✏️ Learnings added
✅ Action performedReview finished.
|
|
/lgtm |
|
/lgtm |
|
/retest all Auto-triggered: Files in this PR were modified by merged PR #5596. Overlapping filestests/conftest.py |
|
/approve |
|
Successfully removed PR tag: quay.io/openshift-cnv/openshift-virtualization-tests:pr-5565. |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:cnv-4.22 published |
Short description:
Manual Cherry-pick from #5124
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
Summary by CodeRabbit