dotnet / dotnet/runtime

[ci-scan] Test failure: UnmanagedCallersOnlyAssociatedSourceType.Run on android-x64 NativeAOT

Open
#129,366 3 comments 0 reactions 0 assignees View on GitHub
agentic-workflows area-NativeAOT-coreclr disabled-test os-android
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

## Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1460723
Build error leg or test failing: android-x64 Release AllSubsets_NativeAOT_RuntimeTests - TrimmingBehaviors

## Error Details

`UnmanagedCallersOnlyAssociatedSourceType.Run` fails on android-x64 NativeAOT RuntimeTests. The test expects to find an unmanaged export symbol `UnmanagedCallersOnlyAssociatedSourceType_Unconditional` but NativeAOT appears to have trimmed it, resulting in `EntryPointNotFoundException`.

```
===== Running test UnmanagedCallersOnlyAssociatedSourceType.Run =====
System.EntryPointNotFoundException: Unable to find an entry point named 'UnmanagedCallersOnlyAssociatedSourceType_Unconditional' in native library.
at System.Runtime.InteropServices.NativeLibrary.GetSymbol(IntPtr, String, Boolean)
at UnmanagedCallersOnlyAssociatedSourceType.AssertExportReturns(IntPtr, String, Int32)
at UnmanagedCallersOnlyAssociatedSourceType.Run()
at Program.<$>g__RunTest|0_0(Func`1, String)
===== Test UnmanagedCallersOnlyAssociatedSourceType.Run failed =====
MonoRunner finished, return-code=1
```

## Error Message

```json
{
"ErrorMessage": ["Test UnmanagedCallersOnlyAssociatedSourceType.Run failed", "Unable to find an entry point named 'UnmanagedCallersOnlyAssociatedSourceType_Unconditional' in native library"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

## Impact on platforms
- runtime-extra-platforms (def 154) / android-x64 Release AllSubsets_NativeAOT_RuntimeTests / Helix work item: TrimmingBehaviors / exit code 1

## First build it occurred
- Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1453379
- Finished: 2026-06-08T09:02:37Z
- Occurrences in window: 5+ (builds 1453379, 1455366, 1457058, 1458940, 1460723, 1462616)
- Persistent across the entire scanned window; true origin may predate 2026-06-08.

Confirmed in follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1462616

## Duplicate search
- `UnmanagedCallersOnlyAssociatedSourceType label:"Known Build Error"` — 0 results
- `TrimmingBehaviors android NativeAOT label:"Known Build Error"` — 0 results (1 integrity-filtered)
- `is:open UnmanagedCallersOnlyAssociatedSourceType android` — 0 results
- `is:pr is:open UnmanagedCallersOnlyAssociatedSourceType` — 0 results
- `is:pr is:open TrimmingBehaviors android` — 0 results

No existing KBE or PR matches this signature.

---
Filed by [`ci-failure-scan`](https://github.com/dotnet/runtime/blob/main/.github/workflows/ci-failure-scan.md) (detection only). [`ci-failure-fix`](https://github.com/dotnet/runtime/blob/main/.github/workflows/ci-failure-fix.md) 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]
>
> 🔒 Integrity filter blocked 2 items
>
> The following items were blocked because they don't meet the GitHub integrity level.
>
> - [#125371](https://github.com/dotnet/runtime/issues/125371) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#83422](https://github.com/dotnet/runtime/issues/83422) `search_issues`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
>
> To allow these resources, lower `min-integrity` in your GitHub frontmatter:
>
> ```yaml
> tools:
> github:
> min-integrity: approved # merged | approved | unapproved | none
> ```
>
>

> Generated by [CI Outer-Loop Failure Scanner](https://github.com/dotnet/runtime/actions/runs/27467623229/agentic_workflow) · ● 70.3M · [◷](https://github.com/search?q=repo%3Adotnet%2Fruntime+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Fruntime%2Fci-failure-scan%22&type=issues)

### Report
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.