Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1362636
Build error leg or test failing: System.Net.NameResolution.Functional.Tests.WorkItemExecution, System.Reflection.Context.Tests.WorkItemExecution, System.Text.Encoding.Extensions.Tests.WorkItemExecution
Pull request: #125441
Affected CI jobs: build_tvos_arm64_Release_AllSubsets_Mono
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Precompiling failed",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Summary
On tvos-arm64 Mono Release (AOT mode), the Mono AOT compiler fails to precompile test assemblies with "Invalid IL code" errors:
Precompiling failed for aot-instances.dll with exit code 134
Unable to compile method ... due to: 'Invalid IL code in ...: IL_0000: ret'
3 work items affected:
- System.Net.NameResolution.Functional.Tests
- System.Reflection.Context.Tests
- System.Text.Encoding.Extensions.Tests
Note
This issue was filed with the assistance of GitHub Copilot.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1362636
Error message validated: [Precompiling failed]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/2/2026 10:17:08 AM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1698976 | dotnet/runtime | System.Reflection.Extensions.Tests.WorkItemExecution | |
| 1696229 | dotnet/runtime | System.Runtime.Tests.WorkItemExecution | #137710 |
| 1694546 | dotnet/runtime | System.Runtime.CompilerServices.VisualC.Tests.WorkItemExecution | |
| 1692131 | dotnet/runtime | System.Diagnostics.FileVersionInfo.Tests.WorkItemExecution | |
| 1691574 | dotnet/runtime | System.Runtime.IOS.Tests.WorkItemExecution | |
| 1687801 | dotnet/runtime | System.Linq.Queryable.Tests.WorkItemExecution | #137593 |
| 1685915 | dotnet/runtime | System.Drawing.Primitives.Tests.WorkItemExecution | |
| 1684551 | dotnet/runtime | IcuAppLocal.Tests.WorkItemExecution | |
| 1683807 | dotnet/runtime | System.Globalization.Calendars.IOS.Tests.WorkItemExecution | |
| 1683324 | dotnet/runtime | System.Net.Primitives.Functional.Tests.WorkItemExecution | |
| 1681026 | dotnet/runtime | System.IO.FileSystem.DisabledFileLocking.Tests.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 5 | 11 |
Activity
dotnet-policy-service commentedon Apr 2, 2026
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
BrzVlad commentedon May 21, 2026
@kotlarmilos Any idea about this ? I seem to remember you fixed something similar at some point, with the issue being that we were passing the wrong processed assemblies to the compiler, some issue on the infrastructure side.
Looking at some logs seems like this might match on unrelated issues. Ex:
kotlarmilos commentedon May 22, 2026
This happens on Helix retries. I think the ILLinker runs on the first attempt, and if the job fails, it tries trimming again on the same payload, which has already been trimmed. Although the error message is too generic