vmm_tests: Fix serial interrupt test race - #4186
Merged
Steven Malis (smalis-msft) merged 2 commits intoAug 7, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the PCIe multiarch VMM test that verifies IOAPIC interrupt remapping by generating larger serial output, reducing a race where the “after” /proc/interrupts snapshot could be taken before the serial transmission triggered interrupts.
Changes:
- Replace a small repeated
echoloop with a largerddwrite to overflow the tty transmit buffer and force interrupt-driven draining. - Add test-local documentation explaining why a larger write is required.
- Introduce a
TX_PAGESconstant to parameterize the amount of serial traffic generated.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Chris Oo (chris-oo)
approved these changes
Aug 7, 2026
Steven Malis (smalis-msft)
merged commit Aug 7, 2026
43e4012
into
microsoft:main
68 of 69 checks passed
Matt LaFayette (Kurjanowicz) (mattkur)
added a commit
that referenced
this pull request
Aug 8, 2026
Member
|
Backported to release/1.8.2607 in #4194 |
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.
Write a larger amount of data to the serial device to ensure that it triggers interrupts as needed.