Skip to content

Capture diagnostics for Windows Python 3.11 test hangs - #2122

Closed
brianstrauch wants to merge 1 commit into
mainfrom
ci/windows-py311-hang-diagnostics
Closed

brianstrauch wants to merge 1 commit into
mainfrom
ci/windows-py311-hang-diagnostics

Conversation

@brianstrauch

Copy link
Copy Markdown
Member

Windows/Python 3.11 CI can reach the 15-minute test-step timeout with only progress dots and no failing test or stack trace. This occurred on main and in two attempts for #2120. The underlying cause and any connection to #2120 remain unconfirmed.

Enable verbose pytest output and a 90-second native faulthandler watchdog for both test suites in the Windows/Python 3.11 matrix entry. The watchdog dumps thread stacks and exits the blocked worker even when the existing thread-based timeout cannot acquire the GIL, giving xdist a chance to identify the test that hung.

Validation: parsed the workflow YAML and checked that both test steps receive the matrix options; verified that Python 3.11.9 with pytest 9.1.1 parses the verbosity, watchdog timeout, and exit settings correctly; git diff --check passed.

@brianstrauch
brianstrauch requested a review from a team as a code owner November 13, 2026 19:06
@tconley1428
tconley1428 marked this pull request as draft November 13, 2026 19:10
@brianstrauch brianstrauch added the skip-changelog PR changes do not require changelog updates label Nov 13, 2026 — with ChatGPT Codex Connector
@brianstrauch

Copy link
Copy Markdown
Member Author

Inconclusive, closing.

@brianstrauch
brianstrauch deleted the ci/windows-py311-hang-diagnostics branch November 13, 2026 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant