Skip to content

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

@carlossanlop

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions