OLD-9764: w64_graphics: a vk_harness timeout fails that fixture; the rest still run #27
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!27
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/27/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ItsMrDubey on GitHub · 2026-11-24 02:01 UTC · original
ItsMrDubey:w64-graphics-timeout→main· +34 −1 · 2 files · 2 commits · merged 2026-11-24 02:26 UTCClaimed in the coordination issue as: OLD-9764 (#14)
What and why
Old #9764:
runtime/test/shaders/w64_graphics.pycallsvk_harnesswithsubprocess.run(..., timeout=120). When a draw hangs past that,TimeoutExpiredescapescheck()andmain(), so a multi-fixture run ends in a traceback and the fixtures after the hung one are never tested or reported.Fix:
main()catchessubprocess.TimeoutExpiredaround each fixture'scheck(), reportsvk_harness timed out after 120 sas that fixture's failure, carries on with the rest, and still returns 1. This covers everyvk_harnesscall made undercheck()(draw,_draw_heap,_wave_sizeprobes,live_width).Carried from
old-pr/9770by Joaco9020 (original commit and authorship kept). One follow-up commit of mine: the regression test now usespatch.object/patch.dictliketests/test_w64_graphics_probe.pyand_reference.py, and clearsW64G_REF/W64G_SAVE_REFand the_appliedprobe cache so the environment can't affect it.Tested
Windows 11, Python 3.11.9, no GPU needed (
subprocess.runis mocked: the first call times out, later ones return UNSUPPORTED).w64_graphics.py:python -I tests/test_w64_graphics_args.py->FAILED (errors=1),subprocess.TimeoutExpired ... timed out after 120 secondsescapesmain()python -I tests/test_w64_graphics_args.py->Ran 4 tests ... OK; first fixture prints the timeout, second fixture still runs (SKIP), rc 1python -I tests/test_w64_graphics_probe.py-> OK;python -I tests/test_w64_graphics_reference.py-> OKpython -I scripts/check_no_game_data.py runtime/test/shaders/w64_graphics.py tests/test_w64_graphics_args.py-> cleanAI-assisted: yes
Checklist