Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jkurdek opened this issue Feb 3, 2025 · 3 comments
Labels
area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab untriaged New issue has not been triaged by the area owner

Comments

@jkurdek
Copy link
Member

jkurdek commented Feb 3, 2025

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=936575&view=results
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": "   at Xunit.Assert.Throws(Type exceptionType, Exception exception) in /_/src/Microsoft.DotNet.XUnitAssert/src/ExceptionAsserts.cs:line 47",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=936575
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

Build Definition Test Pull Request
936575 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd

Summary

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

Report

Build Definition Test Pull Request
936575 dotnet/runtime Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@jkurdek jkurdek added the Known Build Error Use this to report build issues in the .NET Helix tab label Feb 3, 2025
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Feb 3, 2025
@jkurdek jkurdek 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 Feb 3, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 3, 2025
@jkurdek jkurdek changed the title [linux_x64_minifullaot/llvmfullaot] Loader/classloader/explicitlayout/objrefandnonobjrefoverlap/case13/case13.cmd [linux_x64_minifullaot/llvmfullaot] class loader exception type assertion fails Feb 3, 2025
@AaronRobinsonMSFT
Copy link
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.

@AaronRobinsonMSFT AaronRobinsonMSFT added area-Codegen-AOT-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 3, 2025
@steveisok
Copy link
Member

@kg can you help Aaron with this?

@kg
Copy link
Member

kg commented Feb 3, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

4 participants