Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1413202
Build error leg or test failing: android-arm64 Release AllSubsets_CoreCLR - System.Threading.Tasks.Tests and tvos-arm64 Release AllSubsets_CoreCLR - System.Threading.Tasks.Tests
Error Message
{
"ErrorMessage": "[FAIL] System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Additional Context
Summary: Multiple AsyncProfilerTests.RuntimeAsync_* tests consistently fail on android-arm64 and tvos-arm64 in the runtime-extra-platforms pipeline. The async profiler EventPipe events (suspend/resume/create callstacks) are not emitted on these mobile platforms, causing assertion and collection-empty failures.
Failed in (10+):
- runtime-extra-platforms 1413202 (2026-05-08)
- runtime-extra-platforms 1411505 (2026-05-07)
- runtime-extra-platforms 1406427 (2026-05-03)
- All 10 checked builds in the window show android-arm64 CoreCLR failing
Console Log: android-arm64 Console Log
Failed tests:
runtime-extra-platforms (android-arm64 Release AllSubsets_CoreCLR)
- Windows.11.Amd64.Android.Open
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WrapperIndexMatchesCallstack
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_UnhandledExceptionUnwind
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_SuspendCallstackDepthMatchesChain
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_SuspendAsyncCallstackEmittedOnAwait
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_CallstackDepthMatchesChain
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_CreateCallstackDepthMatchesChain
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_SuspendCallstackDeeperThanInitialResume
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_SuspendResumeCompleteEvents
- System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_CallstackStressWithVaryingDepths
runtime-extra-platforms (tvos-arm64 Release AllSubsets_CoreCLR)
- osx.15.amd64.appletv.open
- Same AsyncProfilerTests.RuntimeAsync_* tests failing
Error Message:
[FAIL] System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WrapperIndexMatchesCallstack
Expected callstack with 4 frames, got 3
Stack Trace:
at System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WrapperIndexMatchesCallstack()
at System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_SuspendCallstackDepthMatchesChain()
Assert.NotEmpty() Failure: Collection was empty
Impact on platforms:
- runtime-extra-platforms + android-arm64 + Windows.11.Amd64.Android.Open + exit code 1
- runtime-extra-platforms + tvos-arm64 + osx.15.amd64.appletv.open + exit code 1
First build it occurred: First seen in build 1396313 (2026-04-25) within the scanned window (earliest of 10 checked builds). 10/10 builds affected. Note: this is the earliest in the scanned window and may not be the true origin.
Recommended action: The AsyncProfilerTests.RuntimeAsync_* tests rely on EventPipe async profiler events that are not supported on mobile platforms (android, tvos). These tests should be annotated with [ActiveIssue] for mobile platforms or the test infrastructure should skip them when runtime async profiling is unavailable. Area owners: @AaronRobinsonMSFT, @dotnet/diagnostics.
Generated by CI Outer-Loop Failure Scanner · ● 26.1M · ◷
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1681136 | dotnet/runtime | System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_EventSequenceOrder | |
| 1680152 | dotnet/runtime | System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WhenAny_TracksAllBranches | #137440 |
| 1678327 | dotnet/runtime | System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WhenAny_TracksAllBranches | #137440 |
| 1668025 | dotnet/runtime | System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WhenAny_TracksAllBranches | #137014 |
| 1665733 | dotnet/runtime | System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_WhenAny_TracksAllBranches | #137014 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 5 |
Activity
dotnet-policy-service commentedon May 8, 2026
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
Skip AsyncProfilerTests on Android and tvOS (refs #127951)
[ci-failure-scan] Tighten KBE filing rules and PR-search coverage (#1…
dotnet-policy-service commentedon May 11, 2026
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.
[ci-scan] Skip AsyncProfilerTests on Android, iOS, tvOS, and MacCatal…
[ci-failure-scan] Tighten KBE filing rules and PR-search coverage (do…
github-actions commentedon Jun 13, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #127951
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: the fix requires runtime-level EventPipe/async profiler support on mobile platforms, which is out of scope for an automated small fix), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.
Root cause (best analysis)
AsyncProfilerTests.RuntimeAsync_*tests fail on android-arm64 and tvos-arm64 because the runtime async profiler EventPipe events (suspend/resume/create callstacks) are not emitted on these mobile platforms. The tests callEventPipeSessionto collect async profiler events and then assert on the collected event data — but no events arrive on mobile, causing:Assert.NotEmpty() Failure: Collection was empty(no suspend/resume events)Expected callstack with N frames, got M(incomplete callstack data)The failing log line (representative):
Source location:
src/libraries/System.Threading.Tasks/tests/AsyncProfilerTests.csThis is not a test bug — it is a platform support gap. The runtime async profiler infrastructure (EventPipe events for async method suspend/resume/create) has not been enabled on Android and tvOS. A code fix cannot be produced without implementing this platform support.
Evidence
RuntimeAsync_*tests were added to the mobile test matrixSuggested reviewers / area contacts
area-Diagnostics-coreclr):@steveisok,@tommcdon@dotnet/dotnet-diagA fix would likely involve enabling the runtime async profiler EventPipe event emission on Android/tvOS, or (if mobile profiling is intentionally out of scope) working with the test authors to exclude these tests from mobile runs via proper platform detection rather than
[ActiveIssue]annotations.[ci-failure-scan] Tighten KBE filing rules and PR-search coverage (#1…
[ci-scan] Skip AsyncProfilerTests on Android, iOS, tvOS, and MacCatal…
github-actions commentedon Jul 28, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #127951
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: runtime EventPipe/diagnostics behavior on mobile — a product capability gap, not a small test correction), so I could not open a best-effort PR. Looping in owners to fix forward rather than mute. An earlier automated attempt to skip these tests (PR #127963) was closed without merge, so a mute is not the desired outcome.
Root cause (best analysis)
System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_*consistently fail on android-arm64 and tvos-arm64 (AllSubsets_CoreCLR, runtime-extra-platforms). The tests assert on RuntimeAsync EventPipe callstack events (create/suspend/resume) emitted while awaiting; on these mobile targets fewer frames are emitted than expected:The async-profiler suspend/resume/create callstack events are not fully emitted on these mobile CoreCLR configurations, causing depth-mismatch and empty-collection assertions. This is a runtime diagnostics/EventPipe capability difference on mobile, not a small test-expectation bug — a correct fix needs a product decision (emit the events on mobile, or scope the feature/test to supported configurations). That decision belongs to the diagnostics owners.
Evidence
Suggested reviewers / area contacts
area-Diagnostics-coreclr):@steveisok,@tommcdon,@dotnet/dotnet-diagA fix likely involves either enabling RuntimeAsync profiler callstack event emission on android/tvos CoreCLR, or a maintainer decision on the intended supported scope of these events on mobile.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
github-actions commentedon Aug 9, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #127951
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change (reason: runtime async-profiler / EventPipe support gap on mobile — a non-disabling fix would be a product diagnostics change I cannot safely author or validate here), so I could not open even a best-effort PR. Looping in owners so it can be fixed forward rather than muted.
Root cause (best analysis)
System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_*fail consistently onandroid-arm64andtvos-arm64(AllSubsets_CoreCLR, runtime-extra-platforms). The tests assert on EventPipe async-profiler events (suspend/resume/create callstacks):The async-profiler callstack events appear not to be emitted (or are emitted with truncated depth) on these mobile CoreCLR configurations, so every RuntimeAsync_* assertion that inspects callstack depth or non-emptiness fails. The correct fix is a diagnostics/EventPipe product change (emit the runtime-async callstack events on mobile, or gate the capability), which is an area-owner decision — not a test annotation. Per workflow rules I will not add
[ActiveIssue]/skip, and I cannot produce a validated product diagnostics diff for mobile from this environment.Evidence
Suggested reviewers / area contacts
area-Diagnostics-coreclr):@tommcdon,@AaronRobinsonMSFT@dotnet/dotnet-diagA fix likely involves emitting the runtime-async profiler callstack EventPipe events on mobile CoreCLR (android/tvos), or making the test harness require the capability only where the runtime actually provides it — without disabling the tests.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
jeffschwMSFT commentedon Aug 17, 2026
removing blocking-clean-ci as it has not failed in 30 days
24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0