[ci-scan] Test failure: System.Threading.Tasks.Tests.AsyncProfilerTests.StateMachineAsync_CallstackOverflow_PreservesFullDepth o [Content truncated due to length]
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1592661 Build error leg or test failing: osx-arm64 Release NoDynamicCodeCompiled-System.Threading.Tasks.Tests
KBE authoring guidance (ci-failure-scan)Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
System.Threading.Tasks.Tests.AsyncProfilerTests.StateMachineAsync_CallstackOverflow_PreservesFullDepth [FAIL]
Assert.Equal() Failure: Values differ
Expected: 255
Actual: 153
----- BEGIN ASYNC EVENTS (CSV) -----
seq,delta,thread,event,disp,parent,frames,unwind
...
/_/src/libraries/System.Runtime/tests/System.Threading.Tasks.Tests/System.Runtime.CompilerServices/AsyncProfilerV1Tests.cs(1574,0): at System.Threading.Tasks.Tests.AsyncProfilerTests.StateMachineAsync_CallstackOverflow_PreservesFullDepth()AsyncProfilerTests.StateMachineAsync_CallstackOverflow_PreservesFullDepth fails on the osx-arm64 Release NoDynamicCodeCompiled leg of runtime-libraries-interpreter. The async-callstack profiler resume events report a truncated frame depth (Actual: 153) where the full depth (Expected: 255) is required, so Assert.Equal() fails. Reproduced in build 1592661 (2026-09-11) and still failing in build 1595619 (2026-09-14).
Error Message
{
"ErrorMessage": [
"System.Threading.Tasks.Tests.AsyncProfilerTests.StateMachineAsync_CallstackOverflow_PreservesFullDepth [FAIL]",
"Assert.Equal() Failure: Values differ",
"Expected: 255",
"Actual: 153"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Workflow artifact: ci-failure-scan Artifact kind: kbe-verification Verified match count: 1 hits in failure.log
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
[!NOTE] This issue was generated by the
ci-failure-scanCopilot agentic workflow.
Generated by CI Outer-Loop Failure Scanner · opus48 · 1K AIC · ⌖ 19.8 AIC · ⊞ 19.7K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Source: dotnet/runtime