Skip to content

NativeAOT failure in System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114288

Closed

Description

@carlossanlop

@adamsitnik Regression introduced by #114228

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1005987
Build error leg or test failing: All NativeAOT legs

Error Message

{
  "ErrorMessage" : ["System.Reflection.Tests.GetTypeTests", "System.IO.FileLoadException : The given assembly name was invalid"],
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
[FAIL] System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName
System.IO.FileLoadException : The given assembly name was invalid.
   at System.Reflection.Metadata.TypeNameParser.ParseNextTypeName(Boolean, Int32&) + 0x494
   at System.Reflection.Metadata.TypeNameParser.Parse(ReadOnlySpan`1, Boolean, Nullable`1) + 0x54
   at System.Reflection.TypeNameResolver.GetType(String, Boolean, Boolean, Assembly) + 0x60
   at System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName() + 0x1a8
   at System.Reflection!<BaseAddress>+0x1529744
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x10c
[FAIL] System.Reflection.Tests.GetTypeTests.GetType_CoreAssembly
System.IO.FileLoadException : The given assembly name was invalid.
   at System.Reflection.Metadata.TypeNameParser.ParseNextTypeName(Boolean, Int32&) + 0x494
   at System.Reflection.Metadata.TypeNameParser.Parse(ReadOnlySpan`1, Boolean, Nullable`1) + 0x54
   at System.Reflection.TypeNameResolver.GetType(String, Boolean, Boolean, Assembly) + 0x60
   at System.Reflection.Tests.GetTypeTests.GetType_CoreAssembly() + 0x188
   at System.Reflection!<BaseAddress>+0x1529744
   at System.Reflection.DynamicInvokeInfo.Invoke(Object, IntPtr, Object[], BinderBundle, Boolean) + 0x10c
[SKIP] System.Reflection.Tests.GetTypeTests.TestTypeIdentifierAttribute
[SKIP] System.Reflection.Tests.GetTypeTests.TypeNamesThatRequireEscaping
[SKIP] System.Reflection.Tests.AssemblyNameTests.EmptyFusionLog
[SKIP] System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor
Finished System.Reflection.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1005987
Error message validated: [System.IO.FileLoadException : The given assembly name was invalid]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/4/2025 11:12:12 PM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1005987
Error message validated: [System.Reflection.Tests.GetTypeTests System.IO.FileLoadException : The given assembly name was invalid]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/4/2025 11:16:11 PM UTC

Report

Build Definition Test Pull Request
1006085 dotnet/runtime System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114246
1006068 dotnet/runtime System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114282
1005987 dotnet/runtime System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114281
1005976 dotnet/runtime System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114284
1005973 dotnet/runtime System.Reflection.Tests.GetTypeTests.GetType_InvalidAssemblyName #114187

Summary

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

Activity

  1. added
    Known Build Error
    on Apr 4, 2025
  2. added
    untriaged
    on Apr 4, 2025
  3. dotnet-policy-service commented on Apr 4, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
    See info in area-owners.md if you want to be subscribed.

  4. jkotas commented on Apr 4, 2025

    @jkotas
    Member

    Ah, I am sorry - I have missed this failure in the list of other known failures.

  5. ericstj commented on Apr 4, 2025

    @ericstj
    Member

    Easy to do right now - lots of red.

  6. carlossanlop commented on Apr 4, 2025

    @carlossanlop
    ContributorAuthor

    I forgive you, @jkotas

  7. added a commit that references this issue on Apr 4, 2025
    ffac1ba
  8. removed
    untriaged
    on Apr 5, 2025
  9. added a commit that references this issue on Apr 5, 2025
    5854863
  10. locked and limited conversation to collaborators on May 5, 2025
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-NativeAOT-coreclr

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions