Repository navigation
Description
Current behavior π
Since 2026-07-16, the macOS Skia runtime-test host intermittently freezes mid-test: the process emits no stdout for 2β26 minutes, then resumes and the test passes. It is a livelock/starvation, not a deadlock.
Verbatim from build 223736 (master), log 1177 β 25m36s between two consecutive lines:
01:25:01 Running test When_Focused_Element_In_Scaled_Viewbox()
01:50:36 Running test When_Focused_Element_Scrolled()
The next-largest gap in that same run is 231 s, so this is a distinct failure mode rather than general slowness.
Effect on CI. Median Tests - Desktop Skia macOS job wall-clock roughly doubled on that date, across every branch simultaneously:
| scope | pre 2026-07-16 | post 2026-07-16 | ratio |
|---|---|---|---|
master |
26.0 min (n=79) | 37.1 min (n=63) | 1.43x |
PRs β feature/breakingchanges |
27.0 (n=103) | 41.9 (n=100) | 1.55x |
feature/breakingchanges |
25.0 (n=32) | 41.2 (n=26) | 1.65x |
Runs β₯55 min by ISO week: W25βW28 = 0, W29 = 5, W30 = 14, W31 = 9, W32 = 11. Against the 60-minute job timeout (build/ci/tests/.azure-devops-tests-macos-skia.yml:16) this produced 87 timeout occurrences across all job attempts (bc-branch 17/58, bc-pr 46/203, master 24/142 β master's are largely masked because its macOS stage is retried 41.3 % of the time and the retry re-runs only previously-failed tests).
All 28 final-attempt timeouts died frozen inside a named test. Attributed by the largest stall, 26 of 28 fall into four families:
| family | count |
|---|---|
Given_SystemFocusVisual.* (In_Scaled_Viewbox 8, Scrolled 3, Transformed 1) |
12 |
Given_ListViewBase.When_Reorder_DragDrop_ReusesContainers |
5 |
Given_ScrollViewer.When_TouchScrollDownWithInertia_Then_DoNotChainInertia |
5 |
Given_TextBlock.When_Focus_Changes_Selection_Is_Not_Shown |
4 |
These are almost certainly where the run happened to be when the host froze, not the cause β the same tests complete in 0.1β4.9 s in most runs.
Alternative explanations that were tested and do not hold
- Slow agents. Every other step of the same job on the same agent is flat or faster across the same boundary:
Build HR dependencies(three realdotnet build) 1.92 β 1.88 min,Checkout1.22 β 1.05, artifact download 0.75 β 0.69,Use .NET SDK0.44 β 0.32. Only the test step moved. - Hosted image rotation. macOS-15 (used by
master) did roll20260629.0276.1 β 20260715.0340.1on 07-16 β but macOS-14, used byfeature/breakingchangessince 07-07, never changed version across the window and degraded on the same day (26.34 min n=44 β 40.98 n=87, timeouts 1/44 β 16/87). The identical image ran clean on 07-15 (build 222544, max inter-test gap 48.6 s) and stalled on 07-16 (222659, 672.8 s). - Suite growth. NUnit result counts from the macOS logs: 8387 (06-25) β 8430 (07-12) β 8515 (07-29) β 8571 (08-05). +2.19 % tests against +73 % wall clock.
- A generic SamplesApp regression. Same binary and suite on other OSes barely moved: Linux Desktop Skia 14.25 β 15.32 min (1.075), Windows Desktop Skia 4.86 β 4.99 (1.03). Best control β builds 226284 and 226306 ran both stages on the same commit: Linux span 11.8 min, max gap 12.9 s, 8563 results; macOS 51.0/35.7 min with a 1583.8 s stall and 8565 results.
Expected behavior π―
Runtime tests on the macOS Skia host run to completion without multi-minute process-wide freezes, and the stage's wall-clock returns to its pre-2026-07-16 median of ~25 minutes.
How to reproduce it (as minimally and precisely as possible) π¬
Not reproducible on demand; it appears in roughly a third of macOS Skia CI runs. To observe it in an existing build, fetch a macOS Run macOS Runtime Tests log and compute the gaps between consecutive Running test lines β post-07-16 runs show at least one gap of 100 s+ in 9 of 13 sampled logs (max observed 1583.8 s); 0 of 12 pre-07-16 logs do (max 60.6 s).
The Azure DevOps REST API for this project is readable anonymously:
https://dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_apis/build/builds/223736/logs/1177?api-version=7.1
Workaround π οΈ
None. Raising timeoutInMinutes is not advisable β 4 of 9 sampled stalls ran 26β40 min, so a 90-minute wall would not have rescued them, and the stage already costs ~1.5x its designed budget.
Renderer π¨
Skia
Affected platforms π±π»π₯οΈ
macOS (Skia desktop) β observed on CI hosts (macos-14 and macos-15 hosted images)
Uno.Sdk version (and other relevant versions) π¦
N/A β repository CI. Present on master and feature/breakingchanges alike.
IDE version π§βπ»
N/A
Anything else we need to know? π¬
Two caveats for whoever picks this up:
- The stalls are ~60β70 % of the regression, not all of it. Subtracting every gap β₯100 s still leaves the median in-process span rising 21.02 β 27.17 min (+29 %). A separate, unexplained ~25 % macOS-only baseline regression landed the same day and needs its own investigation.
- Do not scope a fix to one test. Across 9 affected builds the longest stall landed on 5 distinct tests in 4 classes.
The mechanism is not established β no stack dump exists for a stalled process. #24004 adds a stall watchdog and an in-process heartbeat to the macOS and Linux runtime-test hosts specifically to capture that evidence; this issue should be picked up once a stalled run has produced a runtime-tests-desktop-skia-macos-diagnostics artifact.
Activity
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
feat(ci): Capture diagnostics when runtime tests stall
feat(ci): Capture diagnostics when runtime tests stall
MartinZikmund commentedon Oct 14, 2026
Closing as a duplicate of #24032. Any details that were only here have been copied over to #24032.
Jen-Uno commentedon Oct 28, 2026
This issue was closed as a duplicate, so there is nothing for QA to verify. Moving it from Ready for QA Review to Done on the Uno Team Backlog.