Skip to content

vmm_tests: Fix serial interrupt test race (#4186) - #4194

Merged
Matt LaFayette (Kurjanowicz) (mattkur) merged 1 commit into
microsoft:release/1.8.2607from
mattkur:cherrypick/release/1.8.2607/pr-4186
Aug 8, 2026
Merged

vmm_tests: Fix serial interrupt test race (#4186)#4194
Matt LaFayette (Kurjanowicz) (mattkur) merged 1 commit into
microsoft:release/1.8.2607from
mattkur:cherrypick/release/1.8.2607/pr-4186

Conversation

@mattkur

Copy link
Copy Markdown
Contributor

Clean cherry pick of PR #4186

Write a larger amount of data to the serial device to ensure that it triggers interrupts as needed.

Write a larger amount of data to the serial device to ensure that it
triggers interrupts as needed.

(cherry picked from commit 43e4012)
Copilot AI lite review requested due to automatic review settings August 7, 2026 21:55
@github-actions github-actions Bot added the release_1.8.2607 Targets the release/1.8.2607 branch. label Aug 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the vmm_tests PCIe multiarch test to make the IOAPIC interrupt-remapping verification more reliable by generating enough serial traffic to deterministically drive IRQ delivery (avoiding a race where the second /proc/interrupts snapshot could occur before interrupts fire).

Changes:

  • Replace many small echo writes with a single larger dd write to /dev/ttyS1 to better guarantee interrupt activity.
  • Expand and clarify the in-test rationale around set -e and why the write size must exceed the tty transmit buffer.

@mattkur
Matt LaFayette (Kurjanowicz) (mattkur) merged commit b8e4e4f into microsoft:release/1.8.2607 Aug 8, 2026
65 checks passed
@mattkur
Matt LaFayette (Kurjanowicz) (mattkur) deleted the cherrypick/release/1.8.2607/pr-4186 branch August 8, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_1.8.2607 Targets the release/1.8.2607 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants