WIP: net, multiarch: implement pod network connectivity tests#5394
WIP: net, multiarch: implement pod network connectivity tests#5394servolkov wants to merge 2 commits into
Conversation
The connectivity folder is too generic. Pod network multiarch tests belong under primary_network/multiarch alongside other primary network test subdirectories. Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
Implement two ICMP connectivity tests between ARM64 and AMD64 VMs over pod network. Each test creates VMs with explicit architecture set on VMISpec, letting KubeVirt schedule them to the correct nodes. Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Assisted-by: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThe PR removes an obsolete disabled multi-arch pod-network test module and adds ARM64/AMD64 VM fixtures plus new IPv4 ping tests that verify pod-network reachability in both directions. ChangesMultiarch pod-network reachability
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (4 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 |
|
/wip |
|
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
Custom Commands
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. |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/network/primary_network/multiarch/test_pod_network.py`:
- Around line 38-40: The ping-based connectivity checks in
test_pod_network_connectivity_arm_to_amd and
test_pod_network_connectivity_amd_to_arm only execute arm_vm.console(...) and
never assert that the ping output shows 0% packet loss. Update the tests to
explicitly validate the ping result after build_ping_command, either by parsing
the console output for the expected packet-loss string or by using an existing
connectivity/assertion helper if one already exists, so partial loss does not
pass silently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: 87a6c1cf-9fe3-4376-a641-b19a3619453f
📒 Files selected for processing (4)
tests/network/connectivity/test_pod_network_multiarch.pytests/network/primary_network/multiarch/__init__.pytests/network/primary_network/multiarch/conftest.pytests/network/primary_network/multiarch/test_pod_network.py
💤 Files with no reviewable changes (1)
- tests/network/connectivity/test_pod_network_multiarch.py
What this PR does / why we need it:
Implement two ICMP connectivity tests between ARM64 and AMD64 VMs
over pod network. Each test creates VMs with explicit architecture
set on VMISpec, letting KubeVirt schedule them to the correct nodes.
Which issue(s) this PR fixes:
Special notes for reviewer:
The connectivity folder is too generic. Pod network multiarch tests
belong under primary_network/multiarch alongside other primary network
test subdirectories.
jira-ticket:
https://redhat.atlassian.net/browse/CNV-89416
Summary by CodeRabbit