Remove redundant and duplicated by upstream t2 tests - #5902
Conversation
|
Warning Review limit reached
Next review available in: 25 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 (8)
📝 WalkthroughWalkthroughThis change deletes obsolete launcher update, uninstall strategy, and strict-reconciliation tests. It also removes the unused ChangesReconciliation test cleanup
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 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 |
|
Clean rebase detected — no code changes compared to previous head ( |
|
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. |
|
/lgtm |
Remove tests that validate the same behavior already covered by upstream HCO func-tests (t1), per T2 package evaluation. strict_reconciliation/test_hco_cr_defaults_on_stanza_deletion.py: Remove test_certconfig_defaults_on_stanza_delete (CNV-6377-6393) and test_livemigrationconfig_defaults_on_stanza_delete (CNV-6403-6417). Duplicated by defaults_test.go certConfig (L32-65) and liveMigrationConfig (L102-133): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L32-L133 Keep test_featuregates_defaults_on_stanza_delete (CNV-6397, CNV-6399). strict_reconciliation/test_operator_defaults.py: Remove entire file — static reads of default values against hardcoded constants, covered by defaults_test.go. launcher_updates/test_default_launcher_updates.py: Remove static default value reads (CNV-6911, CNV-6912), covered by defaults_test.go workloadUpdateStrategy (L194-228): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L194-L228 product_uninstall/test_remove_kubevirt.py: Remove test_validate_default_uninstall_strategy (CNV-3738), covered by defaults_test.go uninstallStrategy (L216-245): https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L216-L245 Remove dead expected_certconfig_stanza and unused imports from strict_reconciliation/utils.py. Signed-off-by: Ohad <orevah@redhat.com> assisted by: claude code claude-opus-4-6
5d8f932 to
59e641a
Compare
|
/cherry-pick cnv-4.22 cnv-4.21 cnv-4.20 cnv-4.19 cnv-4.18 |
|
Cherry-pick conflicts were resolved by AI Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.19: #5928 @OhadRevah Manual verification is required — please review the changes and test before merging. |
|
Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.21: #5930 |
|
Cherry-pick conflicts were resolved by AI Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.20: #5931 @OhadRevah Manual verification is required — please review the changes and test before merging. |
|
Cherry-pick conflicts were resolved by AI Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.18: #5932 @OhadRevah Manual verification is required — please review the changes and test before merging. |
|
Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.22: #5933 |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:latest published |
##### What this PR does / why we need it: #5902 merged before #5834 without tox failure Remove the fixture since it's now unused and causing tox to fail in main ##### Which issue(s) this PR fixes: Failing tox in main ##### Special notes for reviewer: - ##### jira-ticket: - <!-- 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". --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Removed obsolete test setup related to network add-on configuration. * Simplified the test suite by eliminating unused configuration checks. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Asia Khromov <azhivovk@redhat.com>
…t2 tests (#5933) Cherry-pick from `main` branch, original PR: #5902, PR owner: OhadRevah <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Removed coverage for default launcher update strategies and uninstall behavior. * Removed validation of relationship labels across CNV resources. * Removed strict reconciliation tests for operator defaults and stanza restoration. * Removed related test fixtures, helpers, and shared validation constants. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Ohad Revah <orevah@redhat.com>
|
/cherry-pick cnv-4.20 |
|
Cherry-pick label already present for: |
|
/cherry-pick cnv-4.20 |
|
Cherry-pick conflicts were resolved by AI Cherry-picked PR Remove redundant and duplicated by upstream t2 tests into cnv-4.20: #5962 @OhadRevah Manual verification is required — please review the changes and test before merging. |
What this PR does / why we need it:
Remove tests that validate the same behavior already covered by upstream HCO func-tests (t1), per T2 package evaluation.
strict_reconciliation/test_hco_cr_defaults_on_stanza_deletion.py:
Remove test_certconfig_defaults_on_stanza_delete (CNV-6377-6393)
and test_livemigrationconfig_defaults_on_stanza_delete (CNV-6403-6417).
Duplicated by defaults_test.go certConfig (L32-65) and
liveMigrationConfig (L102-133):
https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L32-L133
Keep test_featuregates_defaults_on_stanza_delete (CNV-6397, CNV-6399).
strict_reconciliation/test_operator_defaults.py:
Remove entire file — static reads of default values against
hardcoded constants, covered by defaults_test.go.
launcher_updates/test_default_launcher_updates.py:
Remove static default value reads (CNV-6911, CNV-6912),
covered by defaults_test.go workloadUpdateStrategy (L194-228):
https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L194-L228
product_uninstall/test_remove_kubevirt.py:
Remove test_validate_default_uninstall_strategy (CNV-3738),
covered by defaults_test.go uninstallStrategy (L216-245):
https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/tests/func-tests/defaults_test.go#L216-L245
Remove dead expected_certconfig_stanza and unused imports from strict_reconciliation/utils.py.
assisted by: claude code claude-opus-4-6
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
Summary by CodeRabbit