Repository navigation
Description
Current behavior 🐛
When a desktop Skia runtime-test host freezes, CI produces no evidence of what froze. The job goes silent, Azure DevOps kills it at timeoutInMinutes: 60, and the only artefact is a truncated console log whose last line is the name of whatever test happened to be running.
There is no stack, no dump, no indication of whether the UI thread, the thread pool, or the whole process stopped. Three separate, currently-live problems are all undiagnosable for exactly this reason:
| symptom | scale | tracked as |
|---|---|---|
| macOS host freezes 2–26 min mid-test | 87 timeout occurrences across all job attempts (2026-06-15 → 08-07) | #24005 |
Given_BitmapSource.When_MsAppData hangs forever on Linux |
25 of 26 feature/breakingchanges Linux 60-min kills |
#23967 |
| a ~25 % macOS baseline slowdown that is not explained by the freezes | median in-process span 21.0 → 27.2 min after subtracting every stall ≥100 s | #24005 |
Two further properties of the current scripts make a frozen run more expensive than it needs to be:
- A killed run writes no failed-test list.
list-failed(Uno.NUnitTransformTool) runs only after the app exits, so when the job is killed the retry has no filter and re-runs the whole ~8.5k-test suite. Verbatim from build 225870 attempt 2:##[error]Artifact runtime-tests-desktop-skia-macos-failures was not found for build 225870.Across the window, 4 042 of 7 403 macOS agent-minutes spent on retried jobs went to attempts that themselves timed out. macos-skia-runtime-tests.shruns underset -e, so a non-zero app exit aborts the script before the failed-test list is written at all.
Expected behavior 🎯
A frozen runtime-test run leaves enough evidence to identify what is blocked, without anyone having to reproduce it locally:
- a periodic heartbeat proving whether the process is alive at all, and separately whether the UI dispatcher and the thread pool are responsive;
- native and managed stacks captured automatically while the process is still stuck;
- those artefacts published from the job even when it fails;
- the app terminated slightly before the job wall so results and the failed-test list still get written.
How to reproduce it (as minimally and precisely as possible) 🔬
Open any timed-out Tests - Desktop Skia macOS or Tests - Desktop Skia Linux job and attempt to determine why it stopped. The log ends mid-run with no further information, and no diagnostic artefact is published.
Workaround 🛠️
None. The freezes are not reproducible on demand — roughly a third of macOS runs are affected, and the affected test differs between runs.
Renderer 🎨
Skia
Affected platforms 📱💻🖥️
macOS and Linux (Skia desktop) — CI test infrastructure
Uno.Sdk version (and other relevant versions) 📦
N/A — repository CI infrastructure.
IDE version 🧑💻
N/A
Anything else we need to know? 💬
This issue covers only the diagnosability gap, not the underlying freezes — those stay open as #24005 and #23967 until a captured stack explains them.
Activity
test: Report when WaitForIdle stops being serviced promptly
test: Report when WaitForIdle stops being serviced promptly
feat(ci): Capture diagnostics when runtime tests stall
test: Report when WaitForIdle stops being serviced promptly
feat(ci): Capture diagnostics when runtime tests stall
test: Report when WaitForIdle stops being serviced promptly
feat(ci): Capture diagnostics when runtime tests stall
feat(ci): Capture diagnostics when runtime tests stall
feat(ci): Capture diagnostics when runtime tests stall
feat(ci): Capture diagnostics when runtime tests stall