Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tvos-arm64 Mono AOT precompilation fails with Invalid IL code for multiple test assemblies #126458

Open
Labels
Milestone

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
1472657 dotnet/runtime System.Diagnostics.TextWriterTraceListener.Tests.WorkItemExecution
1472667 dotnet/runtime System.Runtime.Tests.WorkItemExecution
1470048 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1469347 dotnet/runtime iOS.Device.ExportManagedSymbols.Test.WorkItemExecution
1469350 dotnet/runtime System.Runtime.Numerics.Tests.WorkItemExecution
1469354 dotnet/runtime iOS.Device.Aot.Test.WorkItemExecution #129440
1468533 dotnet/runtime System.Runtime.Serialization.Json.Tests.WorkItemExecution #129514
1468488 dotnet/runtime iOS.Device.ExportManagedSymbols.Test.WorkItemExecution #129375
1467678 dotnet/runtime System.Xml.Schema.Extensions.Tests.WorkItemExecution
1465808 dotnet/runtime System.Formats.Asn1.Tests.WorkItemExecution
1465781 dotnet/runtime System.Text.RegularExpressions.Unit.Tests.WorkItemExecution
1465282 dotnet/runtime System.Composition.Hosting.Tests.WorkItemExecution
1464635 dotnet/runtime System.IO.FileSystem.DisabledFileLocking.Tests.WorkItemExecution
1464480 dotnet/runtime Microsoft.XmlSerializer.Generator.Tests.WorkItemExecution
1460065 dotnet/runtime System.Globalization.Tests.WorkItemExecution
1463828 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1463443 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #128409
1463147 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1462467 dotnet/runtime System.Runtime.Tests.WorkItemExecution #129355
1462616 dotnet/runtime tvOS.Device.Aot.Test.WorkItemExecution
1461575 dotnet/runtime Invariant.Tests.WorkItemExecution
1461002 dotnet/runtime System.Formats.Nrbf.Tests.WorkItemExecution
1460723 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1459629 dotnet/runtime System.Globalization.CalendarsWithConfigSwitch.Tests.WorkItemExecution
1459621 dotnet/runtime System.Globalization.Calendars.Tests.WorkItemExecution #129226
1459328 dotnet/runtime Microsoft.Extensions.HostFactoryResolver.Tests.WorkItemExecution #125437
1458274 dotnet/runtime System.Runtime.Tests.WorkItemExecution #129195
1457550 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #129226
1457553 dotnet/runtime System.Memory.Tests.WorkItemExecution #125437
1457564 dotnet/runtime System.Runtime.Tests.WorkItemExecution #129195
1456913 dotnet/runtime System.Runtime.Tests.WorkItemExecution #128224
1456365 dotnet/runtime System.Diagnostics.Process.Tests.WorkItemExecution
1455662 dotnet/runtime System.Drawing.Primitives.Tests.WorkItemExecution
1455366 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1453839 dotnet/runtime System.ComponentModel.TypeConverter.Tests.WorkItemExecution
1453379 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1452872 dotnet/runtime System.Xml.Linq.Events.Tests.WorkItemExecution
1450787 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1450155 dotnet/runtime System.Globalization.Calendars.Tests.WorkItemExecution
1449323 dotnet/runtime System.Globalization.Tests.WorkItemExecution
1449088 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1447125 dotnet/runtime System.Runtime.Serialization.Xml.ReflectionOnly.Tests.WorkItemExecution
1447485 dotnet/runtime System.Diagnostics.Debug.Tests.WorkItemExecution
1447487 dotnet/runtime System.Runtime.Tests.WorkItemExecution #128218
1446635 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1445761 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution
1444966 dotnet/runtime System.Net.Http.Json.Functional.Tests.HttpClientJsonExtensionsTests.GetFromJsonAsync_EnforcesMaxResponseContentBufferSize
1443952 dotnet/runtime Microsoft.Extensions.FileProviders.Physical.Tests.WorkItemExecution
1442805 dotnet/runtime System.Security.Cryptography.Cose.Tests.WorkItemExecution
1442382 dotnet/runtime System.Threading.Tests.WorkItemExecution
1442260 dotnet/runtime WBT-NoWebcil-MONO-ST-Wasm.Build.Tests.MainWithArgsTests.WorkItemExecution
1441664 dotnet/runtime WBT-Workloads-MONO-ST-Wasm.Build.Tests.SatelliteAssembliesTests.WorkItemExecution #128606
1442058 dotnet/runtime WBT-NoWebcil-MONO-ST-Wasm.Build.Tests.IcuTests.WorkItemExecution #128799
1441846 dotnet/runtime System.Xml.Linq.TreeManipulation.Tests.WorkItemExecution
1440990 dotnet/runtime System.Security.Cryptography.Xml.Tests.WorkItemExecution #128408
1441232 dotnet/runtime Microsoft.Extensions.Hosting.Systemd.Tests.WorkItemExecution
1441485 dotnet/runtime WBT-Workloads-MONO-ST-Wasm.Build.NativeRebuild.Tests.OptimizationFlagChangeTests.WorkItemExecution #128423
1441029 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #128409
1440694 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #127498
1440890 dotnet/runtime WBT-NoWebcil-MONO-ST-Wasm.Build.Tests.IcuShardingTests.WorkItemExecution #128705
1440408 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #128448
1440191 dotnet/runtime System.Text.Json.Tests.WorkItemExecution
1439314 dotnet/runtime tvOS.Device.Aot.Test.WorkItemExecution #128705
1438268 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution
1437078 dotnet/runtime System.Runtime.Loader.Tests.WorkItemExecution #128404
1436493 dotnet/runtime System.Xml.Linq.Properties.Tests.WorkItemExecution
1436708 dotnet/runtime System.Xml.Linq.SDMSample.Tests.WorkItemExecution #128586
1435940 dotnet/runtime System.Runtime.Loader.RefEmitLoadContext.Tests.WorkItemExecution #128448

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 68

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /