Skip to content

[ci-scan] Test failure: System.Threading.Tasks.Tests.AsyncProfilerTests.RuntimeAsync_* on android and tvos #127951

Description

@github-actions

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+):

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
1622757 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-2.WorkItemExecution #135144
1622673 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-2.WorkItemExecution #135144
1622562 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-2.WorkItemExecution #135144
1622110 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-2.WorkItemExecution #135144
1621892 dotnet/runtime WasmTestOnChrome-CLR-ST-Batch-2.WorkItemExecution #135144

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 5 5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions