test: add e2e validation for MANA accelerated networking#8832
Open
titilambert wants to merge 14 commits into
Open
test: add e2e validation for MANA accelerated networking#8832titilambert wants to merge 14 commits into
titilambert wants to merge 14 commits into
Conversation
Contributor
Author
|
This change is part of the following stack: Change managed by git-spice. |
Contributor
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds end-to-end validation for MANA (Microsoft Azure Network Adapter) accelerated networking on newer VM series, expanding the e2e suite to assert both device/driver presence and datapath correctness on Ubuntu 22.04/24.04 and Azure Linux V3.
Changes:
- Added VMSS helper to explicitly enable Accelerated Networking on the primary NIC for targeted MANA scenarios.
- Introduced MANA validation helpers (PCI device, driver availability, VF bonding, VF traffic counters) and conditionally ran them from
ValidateCommonLinuxwhen MANA hardware is detected. - Added dedicated e2e scenarios for Ubuntu 22.04, Ubuntu 24.04, and Azure Linux V3 on a V6 SKU, plus a new
Tags.MANAfilter flag.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| e2e/vmss.go | Adds a helper to enable Accelerated Networking on the VMSS primary NIC. |
| e2e/validators.go | Implements MANA detection and validation steps (PCI/driver/VF bonding/traffic). |
| e2e/validation.go | Conditionally runs MANA validation as part of common Linux validations when hardware is detected. |
| e2e/types.go | Adds a MANA tag to scenario filtering. |
| e2e/scenario_test.go | Adds three VM-series coverage scenarios validating MANA on V6 SKUs across OSes. |
81bb13d to
294a4f3
Compare
e685e10 to
1e8d5e4
Compare
acc7ca8 to
cc1fdc0
Compare
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Thibault Cohen <thicohen@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
8a906bc to
68fcd3a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Adds end-to-end tests validating that MANA (Microsoft Azure Network Adapter)
accelerated networking is properly configured on V6 VM series. The tests cover
Ubuntu 22.04, Ubuntu 24.04, and Azure Linux V3.
Validations added:
Additionally, MANA validation is run conditionally in
ValidateCommonLinuxon any VM where MANA hardware is detected (V5+ series).
Which issue(s) this PR fixes:
Fixes #