Skip to content

[linux_x64_minifullaot/llvmfullaot, 10.0] class loader exception type assertion fails #112093

Open

Description

@jkurdek

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=972237
Build error leg or test failing: Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd

Error Message

Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 2/2/2025 11:10:03 AM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /datadisks/disk1/work/AD9209D1/w/A91008EE/e/Loader/Loader/../classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.sh
Xunit.Sdk.TrueException: 
Return code:      1
Raw output file:      /datadisks/disk1/work/AD9209D1/w/A91008EE/uploads/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/AD9209D1/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true case13.dll ''
Xunit.Sdk.ThrowsException: Assert.Throws() Failure: Exception type was not an exact match
Expected: typeof(System.TypeLoadException)
Actual:   typeof(System.ExecutionEngineException)
   at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 47
   at Xunit.Assert.Throws[TypeLoadException](Func`1 testCode)
   at Test.Validate_Explicit5_Invalid()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED

The test was introduced in #111584. cc @AaronRobinsonMSFT

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Failed test: Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=972237
Error message validated: [ at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 47]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/3/2025 12:24:54 PM UTC

Report

💡 View the full list of hits in the Build Insights portal

Build Repository Branch Test Pull Request
1703151 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1702195 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1700701 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1699733 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1699636 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1698977 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1698368 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1698214 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1697722 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1697721 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1696437 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1696430 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1695592 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1695591 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1694586 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1694546 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1693212 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1692325 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1691621 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1691231 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1691230 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1690348 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1689592 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1690152 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1689591 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1689001 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1689000 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1687053 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1687052 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1685987 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1685260 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1685349 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1684822 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1684969 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1684551 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1684047 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1683807 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1683325 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1683324 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1682267 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1681334 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1681028 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1681026 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1676486 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1676704 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1675535 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1674605 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1673551 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1670634 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1667344 dotnet/runtime release/10.0 OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1666975 dotnet/runtime OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1666457 dotnet/runtime OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
1662401 dotnet/runtime OutOfProcessTest.Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 14 53

Activity

  1. added
    Known Build Error
    on Feb 3, 2025
  2. ghost added
    needs-area-label
    on Feb 3, 2025
  3. changed the title [-][linux_x64_release_allsubsets_mono_[minifullaot/llvmfullaot]_runtimetests Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd[/-] [+][linux_x64_minifullaot/llvmfullaot] Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd[/+] on Feb 3, 2025
  4. added
    untriaged
    on Feb 3, 2025
  5. changed the title [-][linux_x64_minifullaot/llvmfullaot] Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd[/-] [+][linux_x64_minifullaot/llvmfullaot] class loader exception type assertion fails[/+] on Feb 3, 2025
  6. AaronRobinsonMSFT commented on Feb 3, 2025

    @AaronRobinsonMSFT
    Member

    @steveisok Any guidance or help I could be given on the llvmfullaot scenario would be appreciated. I'm not even sure how to start debugging this scenario. It passes on the basic mono legs.

  7. added and removed
    needs-area-label
    on Feb 3, 2025
  8. steveisok commented on Feb 3, 2025

    @steveisok
    Member

    @kg can you help Aaron with this?

  9. kg commented on Feb 3, 2025

    @kg
    Contributor

    I don't know anything about LLVM or LLVM-based AOT, do we have someone who's worked on that infrastructure still? i.e. WASM AOT

  10. added this to the Future milestone on Jul 20, 2025
  11. removed
    untriaged
    on Jul 21, 2025
  12. changed the title [-][linux_x64_minifullaot/llvmfullaot] class loader exception type assertion fails[/-] [+][linux_x64_minifullaot/llvmfullaot, 10.0] class loader exception type assertion fails[/+] on Jul 17, 2026
  13. vitek-karas commented on Jul 17, 2026

    @vitek-karas
    Member

    This is only failing on release/10.0 branch.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Errorarea-Codegen-AOT-mono

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions