Repository navigation
net, stability: Change bridge_nncp scope from package to module - #5573
Conversation
scope="package" in a fixture loaded via root-level pytest_plugins behaves like scope="session" due to a known pytest bug (pytest-dev/pytest#7232). The NNCP was held for the entire session, unnecessariliy blocking an available NIC and causing failures in nmstate and other network tests that use the same interface. scope="module" is correctly finalized at module boundaries regardless of where the fixture is defined, confirmed against the Jenkins logs. Assisted-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Asia Khromov <azhivovk@redhat.com>
|
Warning Review limit reached
Next review available in: 37 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. 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 Run ID: 📒 Files selected for processing (1)
✨ 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
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 |
|
/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: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
git fetch origin pull/5573/head:pr5573 2>&1 | tail -5
git checkout pr5573 2>&1 | tail -5
git diff origin/main...pr5573 --stat
echo "---DIFF---"
git diff origin/main...pr5573Length of output: 2221 🏁 Script executed: #!/bin/bash
set -euo pipefail
gh pr diff 5573 --repo RedHatQE/openshift-virtualization-tests || true
echo "---FILES---"
gh pr view 5573 --repo RedHatQE/openshift-virtualization-tests --json files --jq '.files[].path' || trueLength of output: 2242 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "retry"
git rev-parse --abbrev-ref HEAD
git diff origin/main...HEAD --statLength of output: 2127
Once repository access is restored, I can re-run the analysis (tracing the ٻ( •_• )ᓄ |
|
@coderabbitai review and address this |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
gh pr diff 5573 --repo RedHatQE/openshift-virtualization-tests 2>&1 | head -200
echo "---FILES---"
gh pr view 5573 --repo RedHatQE/openshift-virtualization-tests --json files --jq '.files[].path'Length of output: 2243
This is a persistent, infrastructure-level access issue on my end (not a transient failure I can retry past), so I still can't pull the actual diff for PR This needs to be resolved at the CodeRabbit platform/repo-access level (e.g., re-checking the GitHub App installation token or credentials for this repository). Once access is restored, I can immediately re-run the trace and post the inline test execution plan comment as requested. ᓚᘏᗢ...zzz (waiting on access) |
|
/approve |
|
/check-can-merge |
1 similar comment
|
/check-can-merge |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:latest published |
…atQE#5573) ##### What this PR does / why we need it: `scope="package"` in a fixture loaded via root-level pytest_plugins behaves like `scope="session"` due to a known pytest bug (pytest-dev/pytest#7232). The NNCP was held for the entire session, unnecessarily blocking an available NIC and causing failures in nmstate and other network tests that use the same interface. ##### Which issue(s) this PR fixes: `scope="module"` is correctly finalized at module boundaries regardless of where the fixture is defined, confirmed against the Jenkins logs. ##### 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". --> Signed-off-by: Asia Khromov <azhivovk@redhat.com>
…atQE#5573) ##### What this PR does / why we need it: `scope="package"` in a fixture loaded via root-level pytest_plugins behaves like `scope="session"` due to a known pytest bug (pytest-dev/pytest#7232). The NNCP was held for the entire session, unnecessarily blocking an available NIC and causing failures in nmstate and other network tests that use the same interface. ##### Which issue(s) this PR fixes: `scope="module"` is correctly finalized at module boundaries regardless of where the fixture is defined, confirmed against the Jenkins logs. ##### 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". --> Signed-off-by: Asia Khromov <azhivovk@redhat.com>
…atQE#5573) ##### What this PR does / why we need it: `scope="package"` in a fixture loaded via root-level pytest_plugins behaves like `scope="session"` due to a known pytest bug (pytest-dev/pytest#7232). The NNCP was held for the entire session, unnecessarily blocking an available NIC and causing failures in nmstate and other network tests that use the same interface. ##### Which issue(s) this PR fixes: `scope="module"` is correctly finalized at module boundaries regardless of where the fixture is defined, confirmed against the Jenkins logs. ##### 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". --> Signed-off-by: Asia Khromov <azhivovk@redhat.com>
What this PR does / why we need it:
scope="package"in a fixture loaded via root-level pytest_plugins behaves likescope="session"due to a known pytest bug (pytest-dev/pytest#7232). The NNCP was held for the entire session, unnecessarily blocking an available NIC and causing failures in nmstate and other network tests that use the same interface.Which issue(s) this PR fixes:
scope="module"is correctly finalized at module boundaries regardless of where the fixture is defined, confirmed against the Jenkins logs.Special notes for reviewer: -
jira-ticket: -