[Storage][4.20] Remove artifactory usage from disk preallocation tests#5484
Conversation
RedHatQE#5391) Refactors CDI disk preallocation tests from a single flat file into a proper feature subdirectory (tests/storage/disk_preallocation/), replacing Artifactory-hosted images with Quay registry images. Fix flakiness related to Artifactory-hosted images on gating tests. Manual backport of RedHatQE#5265 <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> CNV-90355 Signed-off-by: Emanuele Prella <eprella@redhat.com>
Signed-off-by: Emanuele Prella <eprella@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ 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
Custom Commands
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. |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-5484 published |
|
/verified All tests passed for PR #5484. Execution details |
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: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
gh pr view 5484 --repo RedHatQE/openshift-virtualization-tests --json files,title,body -q '.files[].path'Length of output: 489 🏁 Script executed: #!/bin/bash
set -e
gh pr diff 5484 --repo RedHatQE/openshift-virtualization-tests > /tmp/pr.diff
wc -l /tmp/pr.diff
echo "---markers in new test file---"
rg -n '`@pytest.mark`' tests/storage/disk_preallocation/test_disk_preallocation.py 2>/dev/null || echo "not present locally, checking diff"
grep -n '`@pytest.mark`' /tmp/pr.diff | head -50
echo "---old file removed check---"
git log --oneline -1 -- tests/storage/test_disk_preallocation.py 2>/dev/null
echo "---first changed file first hunk---"
awk '/^diff --git/{c++} c==1' /tmp/pr.diff | head -60Length of output: 2114 Test Execution Plan
Affected tests to run
|
What this PR does / why we need it:
Refactors CDI disk preallocation tests from a single flat file into a proper feature subdirectory (tests/storage/disk_preallocation/), replacing Artifactory-hosted images with Quay registry images.
Which issue(s) this PR fixes:
Fix flakiness related to Artifactory-hosted images on gating tests.
Special notes for reviewer:
Manual backport of #5265
jira-ticket:
CNV-90355