Skip to content

Flow from dotnet/dotnet to aspnetcore is broken (Microsoft.Extensions.Validation.NativeAotTests) #121551

@dariatiurina

Description

@dariatiurina

Binlog from Windows_Test_Logs_Atempt_3/Release/Build.binlog

    info: Microsoft.Hosting.Lifetime[14]
          Now listening on: http://localhost:5000
    info: Microsoft.Hosting.Lifetime[0]
          Application started. Press Ctrl+C to shut down.
    info: Microsoft.Hosting.Lifetime[0]
          Hosting environment: Production
    info: Microsoft.Hosting.Lifetime[0]
          Content root path: D:\a\_work\1\s\artifacts\bin\trimmingTests\projects\Microsoft.Extensions.Validation.NativeAotTests\BasicMinimalApiWithValidation\bin\Release\net10.0\win-x64\publish
    warn: Microsoft.AspNetCore.Server.Kestrel[0]
          Connection processing ended abnormally.
          System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
             at Internal.NativeFormat.NativePrimitiveDecoder.ThrowBadImageFormatException() + 0x24
             at Internal.NativeFormat.NativePrimitiveDecoder.SkipInteger(Byte*&) + 0x62
             at Internal.NativeFormat.NativeReader.SkipInteger(UInt32) + 0x26
             at Internal.Metadata.NativeFormat.MdBinaryReader.Read(NativeReader, UInt32, ParameterHandleCollection&) + 0x43
             at Internal.Metadata.NativeFormat.Method..ctor(MetadataReader, MethodHandle) + 0xc0
             at Internal.Runtime.CompilerServices.MethodNameAndSignature.Equals(Object) + 0x62
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(DefType, InstantiatedMethod) + 0x4da
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.GVMLookupForSlotWorker(DefType, InstantiatedMethod) + 0x78
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(RuntimeTypeHandle, RuntimeMethodHandle) + 0x96
             at System.Runtime.TypeLoaderExports.CacheMiss(IntPtr, IntPtr, RuntimeObjectFactory, Object) + 0x3c
             at System.Runtime.TypeLoaderExports.GVMLookupForSlotSlow(Object, RuntimeMethodHandle) + 0x68
             at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.UpdateCached[TFeature,TState](TFeature&, TState, Func`2, Int32, Boolean) + 0x53
             at Microsoft.AspNetCore.Hosting.HostingApplicationDiagnostics.StartActivity(HttpContext, Boolean, Boolean&) + 0x158
             at Microsoft.AspNetCore.Hosting.HostingApplication.CreateContext(IFeatureCollection) + 0x425
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__237`1.MoveNext() + 0x331
          --- End of stack trace from previous location ---
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequestsAsync>d__236`1.MoveNext() + 0x99
    warn: Microsoft.AspNetCore.Server.Kestrel[0]
          Connection processing ended abnormally.
          System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
             at Internal.NativeFormat.NativePrimitiveDecoder.ThrowBadImageFormatException() + 0x24
             at Internal.NativeFormat.NativePrimitiveDecoder.SkipInteger(Byte*&) + 0x62
             at Internal.NativeFormat.NativeReader.SkipInteger(UInt32) + 0x26
             at Internal.Metadata.NativeFormat.MdBinaryReader.Read(NativeReader, UInt32, ParameterHandleCollection&) + 0x43
             at Internal.Metadata.NativeFormat.Method..ctor(MetadataReader, MethodHandle) + 0xc0
             at Internal.Runtime.CompilerServices.MethodNameAndSignature.Equals(Object) + 0x62
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(DefType, InstantiatedMethod) + 0x4da
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.GVMLookupForSlotWorker(DefType, InstantiatedMethod) + 0x78
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(RuntimeTypeHandle, RuntimeMethodHandle) + 0x96
             at System.Runtime.TypeLoaderExports.CacheMiss(IntPtr, IntPtr, RuntimeObjectFactory, Object) + 0x3c
             at System.Runtime.TypeLoaderExports.GVMLookupForSlotSlow(Object, RuntimeMethodHandle) + 0x68
             at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.UpdateCached[TFeature,TState](TFeature&, TState, Func`2, Int32, Boolean) + 0x53
             at Microsoft.AspNetCore.Hosting.HostingApplicationDiagnostics.StartActivity(HttpContext, Boolean, Boolean&) + 0x158
             at Microsoft.AspNetCore.Hosting.HostingApplication.CreateContext(IFeatureCollection) + 0x425
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__237`1.MoveNext() + 0x331
          --- End of stack trace from previous location ---
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequestsAsync>d__236`1.MoveNext() + 0x99
    warn: Microsoft.AspNetCore.Server.Kestrel[0]
          Connection processing ended abnormally.
          System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
             at Internal.NativeFormat.NativePrimitiveDecoder.ThrowBadImageFormatException() + 0x24
             at Internal.NativeFormat.NativePrimitiveDecoder.SkipInteger(Byte*&) + 0x62
             at Internal.NativeFormat.NativeReader.SkipInteger(UInt32) + 0x26
             at Internal.Metadata.NativeFormat.MdBinaryReader.Read(NativeReader, UInt32, ParameterHandleCollection&) + 0x43
             at Internal.Metadata.NativeFormat.Method..ctor(MetadataReader, MethodHandle) + 0xc0
             at Internal.Runtime.CompilerServices.MethodNameAndSignature.Equals(Object) + 0x62
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(DefType, InstantiatedMethod) + 0x4da
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.GVMLookupForSlotWorker(DefType, InstantiatedMethod) + 0x78
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(RuntimeTypeHandle, RuntimeMethodHandle) + 0x96
             at System.Runtime.TypeLoaderExports.CacheMiss(IntPtr, IntPtr, RuntimeObjectFactory, Object) + 0x3c
             at System.Runtime.TypeLoaderExports.GVMLookupForSlotSlow(Object, RuntimeMethodHandle) + 0x68
             at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.UpdateCached[TFeature,TState](TFeature&, TState, Func`2, Int32, Boolean) + 0x53
             at Microsoft.AspNetCore.Hosting.HostingApplicationDiagnostics.StartActivity(HttpContext, Boolean, Boolean&) + 0x158
             at Microsoft.AspNetCore.Hosting.HostingApplication.CreateContext(IFeatureCollection) + 0x425
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__237`1.MoveNext() + 0x331
          --- End of stack trace from previous location ---
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequestsAsync>d__236`1.MoveNext() + 0x99
    warn: Microsoft.AspNetCore.Server.Kestrel[0]
          Connection processing ended abnormally.
          System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
             at Internal.NativeFormat.NativePrimitiveDecoder.ThrowBadImageFormatException() + 0x24
             at Internal.NativeFormat.NativePrimitiveDecoder.SkipInteger(Byte*&) + 0x62
             at Internal.NativeFormat.NativeReader.SkipInteger(UInt32) + 0x26
             at Internal.Metadata.NativeFormat.MdBinaryReader.Read(NativeReader, UInt32, ParameterHandleCollection&) + 0x43
             at Internal.Metadata.NativeFormat.Method..ctor(MetadataReader, MethodHandle) + 0xc0
             at Internal.Runtime.CompilerServices.MethodNameAndSignature.Equals(Object) + 0x62
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(DefType, InstantiatedMethod) + 0x4da
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.GVMLookupForSlotWorker(DefType, InstantiatedMethod) + 0x78
             at Internal.Runtime.TypeLoader.TypeLoaderEnvironment.ResolveGenericVirtualMethodTarget(RuntimeTypeHandle, RuntimeMethodHandle) + 0x96
             at System.Runtime.TypeLoaderExports.CacheMiss(IntPtr, IntPtr, RuntimeObjectFactory, Object) + 0x3c
             at System.Runtime.TypeLoaderExports.GVMLookupForSlotSlow(Object, RuntimeMethodHandle) + 0x68
             at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.UpdateCached[TFeature,TState](TFeature&, TState, Func`2, Int32, Boolean) + 0x53
             at Microsoft.AspNetCore.Hosting.HostingApplicationDiagnostics.StartActivity(HttpContext, Boolean, Boolean&) + 0x158
             at Microsoft.AspNetCore.Hosting.HostingApplication.CreateContext(IFeatureCollection) + 0x425
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequests>d__237`1.MoveNext() + 0x331
          --- End of stack trace from previous location ---
             at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.<ProcessRequestsAsync>d__236`1.MoveNext() + 0x99
    info: Microsoft.Hosting.Lifetime[0]
          Application is shutting down...
    The command "D:\a\_work\1\s\artifacts\bin\trimmingTests\projects\Microsoft.Extensions.Validation.NativeAotTests\BasicMinimalApiWithValidation\bin\Release\net10.0\win-x64\publish\project" exited with code 1.

PR: dotnet/aspnetcore#64322

Metadata

Metadata

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions