Optimize WHEA UEFI shell test#893
Merged
Merged
Conversation
Contributor
✅ QEMU Validation PassedSource Dependencies
Results
Workflow run: https://github.com/microsoft/mu_plus/actions/runs/27084483584 This comment was automatically generated by the Mu QEMU PR Validation workflow. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/202511 #893 +/- ##
================================================
Coverage ? 7.37%
================================================
Files ? 21
Lines ? 3051
Branches ? 121
================================================
Hits ? 225
Misses ? 2825
Partials ? 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
cfernald
approved these changes
Jun 8, 2026
vineelko
approved these changes
Jun 8, 2026
kuqin12
pushed a commit
to microsoft/mu_tiano_platforms
that referenced
this pull request
Jun 9, 2026
Bumps Common/MU from `2025110000.0.4` to `2025110001.0.0` Introduces 12 new merges in https://github.com/microsoft/mu_plus.git. microsoft/mu_plus#880 microsoft/mu_plus#882 microsoft/mu_plus#876 microsoft/mu_plus#881 microsoft/mu_plus#884 microsoft/mu_plus#886 microsoft/mu_plus#888 microsoft/mu_plus#887 microsoft/mu_plus#889 microsoft/mu_plus#883 microsoft/mu_plus#892 microsoft/mu_plus#893 Signed-off-by: Project Mu Bot <mubot@microsoft.com>
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.
Description
The WHEA UEFI shell test currently can take up to 16 minutes to run for AArch64 platforms. 2 main reasons are:
HwErrRec0000toHwErrRecFFFF;This PR aims at fixing the latter issue. Given the test will sequentially populate the telemetry entries, the cleanup can also be optimized to, after the first deep clean, stop at the first
EFI_NOT_FOUND.The change created a common routine to centralize all clean up functions and added a new shallow cleanup routine. By adopting shallow cleanups, the tests reduce the original 10 deep cleans down to 2, which should shorten the corresponding test time by 75% ~ 80%.
For details on how to complete these options and their meaning refer to CONTRIBUTING.md.
How This Was Tested
This test is run on ARM virt platform and confirmed only 2 full cleanups and shortened to local runs to < 2min. All tests are still passing.
Integration Instructions
N/A