[4.19] Refactor and Unquarantine test test_successful_concurrent_blank_disk_import to set sequential creation of DVs and VMs#3939
Conversation
…lank_disk_import to set sequential creation of DVs and VMs (RedHatQE#3750) Unquarantine and Refactor the test **test_successful_concurrent_blank_disk_import** in order to remove multithreading creation of DVs and VMs in order to reduce automation issues associated with it. Change in DVs and VMs creations in conftest.py / Unquarantine test. The test flakes on waiting for a process to finish even though all expected resources have already been created. It also requires continuous maintenance whenever python version or infrastructure changes. We want to reduce test framework's dependency and focus on validating test objectives. PR assisted by Cursor AI https://issues.redhat.com/browse/CNV-75838 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> * **Tests** * Converted storage import tests from concurrent/multiprocess execution to strictly sequential creation, deploy/start, and per-object cleanup. * Renamed fixtures and test parameters to reflect sequential "blank disk" resources and updated test signatures and iterations. * Removed an expected-failure marker on a certificate-configuration test so it now runs normally. * **Chores** * Removed multiprocessing helper utilities and related synchronization/cleanup behavior from the test suite. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.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 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 |
for more information, see https://pre-commit.ci
|
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
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
💡 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-3939 published |
|
/approve |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-3939 published |
|
/verified
Jenkins run: https://jenkins-csb-cnvqe-main.dno.corp.redhat.com/job/openshift-virtualization-tests-runner/4549 |
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:
Your deliverable: Test Execution Plan
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: Before setting "Run smoke tests: True", you MUST use shell scripts to: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 7076 🏁 Script executed: Length of output: 104 🏁 Script executed: Length of output: 14290 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 498 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 233 🏁 Script executed: Length of output: 56 🏁 Script executed: Length of output: 949 🏁 Script executed: Length of output: 527 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 1735 🧠 Learnings used |
|
/lgtm |
Short description:
Backport: #3750
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket: