runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[linux_x64_minifullaot/llvmfullaot] class loader exception type assertion fails

Open jkurdek opened this issue 9 months ago • 3 comments

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 https://github.com/dotnet/runtime/pull/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: :mag_right: 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: :white_check_mark: Known issue matched with the provided build. Validation performed at: 2/3/2025 12:24:54 PM UTC

Report

Build Definition Test Pull Request
975369 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
975416 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
974620 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
974730 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973715 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973759 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973429 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd dotnet/runtime#113288
973384 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973408 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973161 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973172 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
973032 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
972835 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
972861 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
972237 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
972269 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
971661 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
971108 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
970517 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
969995 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
969384 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
968876 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
968382 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
967828 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
967177 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
966785 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
966619 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
966484 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
966316 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
965974 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
965468 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
965092 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
964581 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd
962825 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
4 22 34

Report

Summary

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

jkurdek avatar Feb 03 '25 12:02 jkurdek

@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.

AaronRobinsonMSFT avatar Feb 03 '25 14:02 AaronRobinsonMSFT

@kg can you help Aaron with this?

steveisok avatar Feb 03 '25 14:02 steveisok

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

kg avatar Feb 03 '25 21:02 kg