Block test_vmi_reports_ip_on_secondary_interface_without_vlan due to CNV-90600#5275
Conversation
…ue to CNV-90600 Test fails due to product bug where VMI does not correctly report IP addresses on secondary interface without VLAN. Signed-off-by: Yossi Segev <ysegev@redhat.com> Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
|
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
For more information, please refer to the project documentation or contact the maintainers. |
📝 WalkthroughWalkthroughA single ChangesTest Quarantine
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Possibly related issues
Possibly related PRs
Suggested reviewers
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (2 errors)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsLinked repositories: Your configuration references 1 linked repositories, but your current plan allows 0. Analyzed ``, skipped 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 |
|
/verified Verified the affected test is de-selected: |
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
# Get PR files changed and diff info
gh pr view 5275 --repo RedHatQE/openshift-virtualization-tests --json files --jq '.files[]'Length of output: 294 🏁 Script executed: #!/bin/bash
# Get the diff to find first changed line
gh pr diff 5275 --repo RedHatQE/openshift-virtualization-testsLength of output: 692 🏁 Script executed: #!/bin/bash
# Get head commit SHA
gh pr view 5275 --repo RedHatQE/openshift-virtualization-tests --json headRefOid --jq '.headRefOid'Length of output: 219 🏁 Script executed: #!/bin/bash
# Check smoke/gating markers in the affected test function
rg -A 20 'def test_vmi_reports_ip_on_secondary_interface_without_vlan' tests/network/localnet/test_default_bridge.pyLength of output: 1051 🏁 Script executed: #!/bin/bash
# Post inline review comment on the first changed line (line 59, new file) of the PR
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
/repos/RedHatQE/openshift-virtualization-tests/pulls/5275/reviews \
-f commit_id="c0f87635c8d7a366f6a336e8a5cc307a3ba8c4bf" \
-f body="" \
-f event="COMMENT" \
-f "comments[][path]=tests/network/localnet/test_default_bridge.py" \
-F "comments[][line]=59" \
-f "comments[][side]=RIGHT" \
-f "comments[][body]=**Test Execution Plan**
- **Run smoke tests: False** — No verified dependency path. \`test_vmi_reports_ip_on_secondary_interface_without_vlan\` carries no \`@pytest.mark.smoke\` marker, and no utilities/libs/conftest files were modified.
- **Run gating tests: False** — No verified dependency path. The affected test carries no \`@pytest.mark.gating\` marker.
**Change summary:** Adds \`@pytest.mark.jira(\"CNV-90600\", run=False)\` to quarantine \`test_vmi_reports_ip_on_secondary_interface_without_vlan\`. The test will be skipped on execution.
**Affected tests to run:**
- \`tests/network/localnet/test_default_bridge.py::test_vmi_reports_ip_on_secondary_interface_without_vlan\` — verify it is collected and skipped (no cluster required):
\`\`\`
pytest tests/network/localnet/test_default_bridge.py::test_vmi_reports_ip_on_secondary_interface_without_vlan --collect-only
\`\`\`
Expected: test collected with SKIP/jira marker, not ERROR."Length of output: 3231 |
RoniKishner
left a comment
There was a problem hiding this comment.
The Jira card has no fix version set, can you edit the Jira card before this is merged?
@RoniKishner The jira ticket depends on a cloud-init issue, so there's no way of knowin on which OCP/CNV version we can expect a fix. I set it to vFuture. |
|
/retest all Auto-triggered: Files in this PR were modified by merged PR #4994. Overlapping filestests/network/localnet/test_default_bridge.py |
rnetser
left a comment
There was a problem hiding this comment.
@yossisegev please update the PR title; the test is not quarantined (i.e fails on something that is not a known bug)
review was not followed up; dismissing
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:latest published |
|
/cherry-pick cnv-4.22 |
|
Cherry-picked PR Block test_vmi_reports_ip_on_secondary_interface_without_vlan due to CNV-90600 into cnv-4.22: #5444 |
…due to CNV-91976 Test fails due to product bug where VMI does not correctly report IP addresses on secondary interface without VLAN. This is a back port of RedHatQE#5275 Signed-off-by: Yossi Segev <ysegev@redhat.com> Signed-off-by: <ysegev@redhat.com>
Test fails due to product bug where VMI does not correctly report IP addresses on secondary interface without VLAN.
Assisted-by: Claude Sonnet 4.5 noreply@anthropic.com
Summary by CodeRabbit