Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1542248
Build error leg or test failing: windows-x64 Release NativeAOT_Pri1 - JIT/Regression/JitBlue/Runtime_101046/Runtime_101046
Error Details
13:11:03.521 Running test: JIT\Regression\JitBlue\Runtime_101046\Runtime_101046\Runtime_101046.cmd
Unhandled exception. System.IO.FileNotFoundException: Could not find file 'TestLibrary'.
File name: 'TestLibrary'
at Internal.Runtime.TypeLoaderExceptionHelper.CreateFileNotFoundException(ExceptionStringID, String)
at __GeneratedMainWrapper.Main()
Return code: 1
Expected: 100
Actual: -1073740791
END EXECUTION - FAILED
This NativeAOT test regularly fails on windows.10.amd64 in the
runtime-nativeaot-outerloop pipeline (definition 265). The generated NativeAOT
entry point throws System.IO.FileNotFoundException: Could not find file 'TestLibrary' from TypeLoaderExceptionHelper.CreateFileNotFoundException
before the test body runs, exiting with -1073740791 (0xC0000409). The
signature is stable across builds 1541654, 1542248, and follow-up 1543362.
First build it occurred: 1541654 (2026-08-05).
Error Message
{
"ErrorMessage": [
"Running test: JIT\\Regression\\JitBlue\\Runtime_101046",
"Unhandled exception. System.IO.FileNotFoundException: Could not find file 'TestLibrary'."
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Note
This issue was generated by an AI (GitHub Copilot) CI failure-scan workflow.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpg
To allow these domains, add them to the
network.allowedlist in your workflow frontmatter:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
Generated by CI Outer-Loop Failure Scanner · 991.7 AIC · ⌖ 17.1 AIC · ⊞ 18.3K · ◷
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 3 | 12 | 12 |
Activity
dotnet-policy-service commentedon Aug 7, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
github-actions commentedon Aug 8, 2026
Workflow artifact: ci-fix
Artifact kind: handoff
Linked KBE: #131997
Note
AI/Copilot-generated triage note.
This Known Build Error has no producible automated code change I can stand behind (the test is
[ActiveIssue]-guarded for the exact platform capability that appears to be at play, and the remaining candidate changes are NativeAOT-harness / rooting decisions rather than a small safe source diff — and the one mitigation that would "work", disabling the test, is out of scope for this workflow). Looping in owners so it can be fixed forward rather than muted.Root cause (best analysis)
On the
runtime-nativeaot-outerloopNativeAOT_Pri1 windows-x64 leg,JIT/Regression/JitBlue/Runtime_101046fails before the test body runs:The test P/Invokes into a native
Runtime101046Nativeasset and references the managedTestLibraryhelper. The generated NativeAOT entry point throwsFileNotFoundException: Could not find file 'TestLibrary'fromTypeLoaderExceptionHelper— i.e. under NativeAOT theTestLibraryassembly (or a type it needs) is not present/resolvable at runtime in the app layout for this test.Notably the test already carries:
so on platforms that lack native test-asset support it is skipped. The NativeAOT windows-x64 leg is not excluded by that guard, yet the native/
TestLibraryasset is missing at run time — this looks like a NativeAOT test-layout / harness packaging gap (the managedTestLibraryand the native asset not being copied/rooted into the NativeAOT app bundle), which is an owner decision, not a mechanical source fix. I deliberately did not propose an[ActiveIssue]widening or a test-disable, since this workflow must not mute tests.Evidence
Suggested reviewers / area contacts
area-NativeAOT-coreclr):@agocke,@dotnet/ilc-contribarea-CodeGen-coreclr):@JulieLeeMSFT,@dotnet/jit-contribA fix would likely involve ensuring the managed
TestLibraryassembly and the nativeRuntime101046Nativeasset are packaged/rooted into the NativeAOT app layout for this test (or adjusting the harness so native-test-asset tests are handled consistently under NativeAOT), so__GeneratedMainWrapper.Main()can resolveTestLibraryat run time.Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.
Fix FileNotFoundException in NativeAOT test (#132173)