De-quarantine test_deprecation_audit_logs#3938
De-quarantine test_deprecation_audit_logs#3938rlobillo wants to merge 1 commit intoRedHatQE:mainfrom
Conversation
RedHatQE#3479 implemented a fix that fixes the test. test_cnv_pod_security_violation_audit_logs, that uses the same fixtures, passed correctly in the last CI runs for 4.22. As the correct behaviour is confirmed, this commit is re-enabling it. It also updates the DEPRECATED_API_MAX_VERSION to the k8s version expected for OCP4.22: 1.35.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request updates a deprecation threshold constant in the test suite from "1.25" to "1.35" and removes an expected-failure marker from a deprecation audit logs test, allowing it to execute normally instead of skipping to an expected failure state. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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
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-3938 published |
|
thank you for fixing /approve |
|
/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:
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: |
| from utilities.infra import get_node_audit_log_line_dict | ||
|
|
||
| LOGGER = logging.getLogger(__name__) | ||
|
|
There was a problem hiding this comment.
Test Execution Plan
- Run smoke tests: False
tests/deprecated_api/test_deprecation_audit_logs.py- Verify the de-quarantined test executes successfully with the updated DEPRECATED_API_MAX_VERSION constant (1.35)
Rationale:
- This PR removes the xfail marker and updates the deprecation threshold
- The test is isolated with no imports or dependencies from smoke tests
- The
deprecated_apis_callsfixture (which depends onaudit_logs) is only used by this test - No smoke tests use the deprecated_api module or audit_logs fixture
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 5054 🏁 Script executed: Length of output: 883 🏁 Script executed: Length of output: 1321 🏁 Script executed: Length of output: 3300 🧠 Learnings used |
Short description:
#3479 implemented a fix that fixes the test.
Behaviour has been validated on
test_cnv_pod_security_violation_audit_logs, that uses the same fixtures, and passed correctly in the last CI runs for 4.22.As the correct behaviour is confirmed, this commit is re-enabling it. It also updates the DEPRECATED_API_MAX_VERSION to the k8s version expected for OCP4.22: 1.35.
More details:
N/A
What this PR does / why we need it:
N/A
Which issue(s) this PR fixes:
N/A
Special notes for reviewer:
N/A
jira-ticket:
https://issues.redhat.com/browse/CNV-76514
Summary by CodeRabbit
Tests