-
Notifications
You must be signed in to change notification settings - Fork 161
mana: enable mana keepalive by default for tests #2461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
mana: enable mana keepalive by default for tests #2461
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables MANA keepalive by default for all tests, making it consistent with NVMe keepalive behavior. Unlike NVMe keepalive which is added to the boot command line by OpenHCL boot, MANA keepalive requires explicit configuration through the petri test framework.
Key changes:
- Default servicing flags now enable MANA keepalive for OpenVMM backend
- MANA keepalive command line parameter automatically added to all test configurations
- Test no longer needs to explicitly set MANA keepalive parameters
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| vmm_tests/vmm_tests/tests/tests/multiarch/openhcl_servicing.rs | Removes explicit MANA keepalive command line setting from test, now uses default configuration |
| petri/src/vm/openvmm/mod.rs | Sets enable_mana_keepalive to true in default servicing flags for OpenVMM backend |
| petri/src/vm/mod.rs | Adds OPENHCL_MANA_KEEP_ALIVE=host,privatepool to OpenHCL command line by default for all tests |
0d03e4f to
912ae81
Compare
|
Nice. This looks good, and glad that it caught a bug. |
#2461 found a bug in MANA's keepalive implementation, where we can race on an empty collection which results in a divide by zero in futures-concurrency. This checks for that condition and returns early if there are no endpoints configured.
Intended to be an equivalent change for MANA to #2401, but with some minor differences. NVMe keepalive is added to the boot cmdline by default but MANA keepalive is not, so this adds it to petri's command line builder.