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

Remove CoreRT workaround #1643

Merged
merged 7 commits into from Jan 28, 2021
Merged

Remove CoreRT workaround #1643

merged 7 commits into from Jan 28, 2021

Conversation

MichalStrehovsky
Copy link
Member

This was fixed upstream.

This was fixed upstream.
@adamsitnik
Copy link
Member

@MichalStrehovsky we two few kinds of CoreRT integration tests:

  • tests that use the latest CoreRT version (6.0-*) to ensure that we support the latest CoreRT bits (example)
  • tests that use a hardcoded version of CoreRT to ensure that we did not break something that was working well so far.

Could you please update the hardcoded version here and here? This should make CI happy. Thank you!

@adamsitnik
Copy link
Member

The CI failed with some new error (link):

2021-01-25T11:44:39.5352555Z   /home/vsts/.nuget/packages/microsoft.dotnet.ilcompiler/6.0.0-preview.1.21074.3/build/Microsoft.NETCore.Native.targets(241,5): error MSB3073: The command ""/home/vsts/.nuget/packages/runtime.linux-x64.microsoft.dotnet.ilcompiler/6.0.0-preview.1.21074.3/tools/ilc" @"obj/Release/net5.0/linux-x64/native/a5a9925e-ce8a-429c-a9ce-381689cd6eaf.ilc.rsp"" exited with code 1. [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5353676Z       at ILCompiler.Program.Main(String[] args)
2021-01-25T11:44:39.5354108Z       at ILCompiler.Program.Run(String[] args)
2021-01-25T11:44:39.5354610Z       at ILCompiler.Compilation.ILCompiler.ICompilation.Compile(String outputFile, ObjectDumper dumper)
2021-01-25T11:44:39.5355273Z       at ILCompiler.RyuJitCompilation.CompileInternal(String outputFile, ObjectDumper dumper)
2021-01-25T11:44:39.5356055Z       at ILCompiler.DependencyAnalysis.ObjectWriter.EmitObject(String objectFilePath, IEnumerable`1 nodes, NodeFactory factory, IObjectDumper dumper)
2021-01-25T11:44:39.5356632Z       at ILCompiler.DependencyAnalysis.MetadataNode.GetData(NodeFactory factory, Boolean relocsOnly)
2021-01-25T11:44:39.5357349Z       at ILCompiler.MetadataManager.GetMetadataBlob(NodeFactory factory)
2021-01-25T11:44:39.5357823Z       at ILCompiler.MetadataManager.EnsureMetadataGenerated(NodeFactory factory)
2021-01-25T11:44:39.5358440Z       at ILCompiler.AnalysisBasedMetadataManager.ComputeMetadata(NodeFactory factory, Byte[]& metadataBlob, List`1& typeMappings, List`1& methodMappings, List`1& fieldMappings, List`1& stackTraceMapping)
2021-01-25T11:44:39.5359263Z       at ILCompiler.GeneratingMetadataManager.ComputeMetadata[TPolicy](TPolicy policy, NodeFactory factory, Byte[]& metadataBlob, List`1& typeMappings, List`1& methodMappings, List`1& fieldMappings, List`1& stackTraceMapping)
2021-01-25T11:44:39.5359932Z       at ILCompiler.Metadata.MetadataTransform.Run[TPolicy](TPolicy policy, IEnumerable`1 modules)
2021-01-25T11:44:39.5360406Z       at ILCompiler.Metadata.Transform`1.HandleType(TypeDesc type)
2021-01-25T11:44:39.5361127Z       at ILCompiler.Metadata.EntityMap`2.Create[TConcreteEntity,TConcreteRecord](TConcreteEntity entity, Action`2 initializer)
2021-01-25T11:44:39.5361914Z       at ILCompiler.Metadata.Transform`1.InitializeTypeDef(MetadataType entity, TypeDefinition record)
2021-01-25T11:44:39.5362448Z       at ILCompiler.Metadata.Transform`1.HandleFieldDefinition(FieldDesc field)
2021-01-25T11:44:39.5363022Z       at ILCompiler.Metadata.EntityMap`2.GetOrCreate[TConcreteEntity,TConcreteRecord](TConcreteEntity entity, Action`2 initializer)
2021-01-25T11:44:39.5363868Z       at ILCompiler.Metadata.Transform`1.InitializeFieldDefinition(FieldDesc entity, Field record)
2021-01-25T11:44:39.5364406Z       at Internal.TypeSystem.Ecma.EcmaField.InitializeFieldType()
2021-01-25T11:44:39.5364877Z       at Internal.TypeSystem.Ecma.EcmaSignatureParser.ParseFieldSignature()
2021-01-25T11:44:39.5365366Z       at Internal.TypeSystem.Ecma.EcmaSignatureParser.ParseType()
2021-01-25T11:44:39.5366025Z       at Internal.TypeSystem.Ecma.EcmaSignatureParser.ParseType(SignatureTypeCode typeCode)
2021-01-25T11:44:39.5366545Z       at Internal.TypeSystem.Ecma.EcmaSignatureParser.ParseTypeImpl(SignatureTypeCode typeCode)
2021-01-25T11:44:39.5367025Z       at Internal.TypeSystem.Ecma.EcmaModule.GetType(EntityHandle handle)
2021-01-25T11:44:39.5367501Z       at Internal.TypeSystem.Ecma.EcmaModule.GetObject(EntityHandle handle)
2021-01-25T11:44:39.5368081Z       at Internal.TypeSystem.LockFreeReaderHashtable`2.CreateValueAndEnsureValueIsInTable(TKey key)
2021-01-25T11:44:39.5368667Z       at Internal.TypeSystem.Ecma.EcmaModule.EcmaObjectLookupHashtable.CreateValueFromKey(EntityHandle handle)
2021-01-25T11:44:39.5369198Z       at Internal.TypeSystem.Ecma.EcmaModule.ResolveTypeReference(TypeReferenceHandle handle)
2021-01-25T11:44:39.5369775Z       at Internal.TypeSystem.Ecma.EcmaModule.GetObject(EntityHandle handle)
2021-01-25T11:44:39.5370292Z       at Internal.TypeSystem.LockFreeReaderHashtable`2.CreateValueAndEnsureValueIsInTable(TKey key)
2021-01-25T11:44:39.5370823Z       at Internal.TypeSystem.Ecma.EcmaModule.EcmaObjectLookupHashtable.CreateValueFromKey(EntityHandle handle)
2021-01-25T11:44:39.5371371Z       at Internal.TypeSystem.Ecma.EcmaModule.ResolveAssemblyReference(AssemblyReferenceHandle handle)
2021-01-25T11:44:39.5372088Z       at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String simpleName, Boolean throwIfNotFound)
2021-01-25T11:44:39.5372677Z       at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID id, String fileName)
2021-01-25T11:44:39.5373571Z    Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'EntityFramework'
2021-01-25T11:44:39.5374839Z  EXEC : error : Failed to load assembly 'EntityFramework' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5376863Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.SetManagedHandler(ICorDebugManagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.SetManagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugManagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5379020Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.CanLaunchOrAttach(uint32,int32)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.CanLaunchOrAttach(UInt32, Int32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5384595Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.CreateProcess(string,string,SECURITY_ATTRIBUTES,SECURITY_ATTRIBUTES,int32,uint32,native int,string,STARTUPINFO,PROCESS_INFORMATION,CorDebugCreateProcessFlags,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.CreateProcess(System.String, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Int32, UInt32, IntPtr, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.STARTUPINFO, Microsoft.Diagnostics.Runtime.ICorDebug.PROCESS_INFORMATION, Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugCreateProcessFlags, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5387757Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.DebugActiveProcess(uint32,int32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.DebugActiveProcess(UInt32, Int32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5389895Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.EnumerateProcesses(ICorDebugProcessEnum&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.EnumerateProcesses(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcessEnum ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5391964Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.Initialize()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.Initialize()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5393993Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.GetProcess(uint32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.GetProcess(UInt32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5397099Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.SetUnmanagedHandler(ICorDebugUnmanagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.SetUnmanagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugUnmanagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5399411Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.Terminate()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass.Terminate()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5401159Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.EmbeddedCLRCorDebugClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5403207Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.CanLaunchOrAttach(uint32,int32)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.CanLaunchOrAttach(UInt32, Int32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5406505Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.CreateProcess(string,string,SECURITY_ATTRIBUTES,SECURITY_ATTRIBUTES,int32,uint32,native int,string,STARTUPINFO,PROCESS_INFORMATION,CorDebugCreateProcessFlags,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.CreateProcess(System.String, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Int32, UInt32, IntPtr, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.STARTUPINFO, Microsoft.Diagnostics.Runtime.ICorDebug.PROCESS_INFORMATION, Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugCreateProcessFlags, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5409266Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.DebugActiveProcess(uint32,int32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.DebugActiveProcess(UInt32, Int32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5411661Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.EnumerateProcesses(ICorDebugProcessEnum&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.EnumerateProcesses(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcessEnum ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5414221Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.GetProcess(uint32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.GetProcess(UInt32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5416324Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.Initialize()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.Initialize()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5418253Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.SetManagedHandler(ICorDebugManagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.SetManagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugManagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5420311Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.SetUnmanagedHandler(ICorDebugUnmanagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.SetUnmanagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugUnmanagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5422460Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.Terminate()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass.Terminate()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5424283Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugManagerClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5426327Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.CanLaunchOrAttach(uint32,int32)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.CanLaunchOrAttach(UInt32, Int32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5429182Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.CreateProcess(string,string,SECURITY_ATTRIBUTES,SECURITY_ATTRIBUTES,int32,uint32,native int,string,STARTUPINFO,PROCESS_INFORMATION,CorDebugCreateProcessFlags,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.CreateProcess(System.String, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Microsoft.Diagnostics.Runtime.ICorDebug.SECURITY_ATTRIBUTES, Int32, UInt32, IntPtr, System.String, Microsoft.Diagnostics.Runtime.ICorDebug.STARTUPINFO, Microsoft.Diagnostics.Runtime.ICorDebug.PROCESS_INFORMATION, Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugCreateProcessFlags, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5432149Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.DebugActiveProcess(uint32,int32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.DebugActiveProcess(UInt32, Int32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5434283Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.GetProcess(uint32,ICorDebugProcess&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.GetProcess(UInt32, Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcess ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5436515Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.EnumerateProcesses(ICorDebugProcessEnum&)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.EnumerateProcesses(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugProcessEnum ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5438945Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.Initialize()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.Initialize()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5440857Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.SetManagedHandler(ICorDebugManagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.SetManagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugManagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5442920Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.Terminate()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.Terminate()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5444906Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.SetUnmanagedHandler(ICorDebugUnmanagedCallback)` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass.SetUnmanagedHandler(Microsoft.Diagnostics.Runtime.ICorDebug.ICorDebugUnmanagedCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5447863Z  EXEC : warning : Method `[Microsoft.Diagnostics.Runtime]Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.Diagnostics.Runtime.ICorDebug.CorDebugClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5450365Z  EXEC : warning : Method `[ApprovalUtilities]ApprovalUtilities.Utilities.ClipboardUtilities+<>c__DisplayClass0_0.<CopyToClipboard>b__0()` will always throw because: Failed to load assembly 'PresentationCore' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5452065Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.Reporters.GenericDiffReporter.EnsureFileExists(string)` will always throw because: Failed to load assembly 'System.Drawing.Common' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5453652Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.Reporters.VisualStudioProjectFileAdder.IncludeFileInCurrentProject(string)` will always throw because: Failed to load assembly 'Microsoft.Build' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5455247Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.RdlcReports.RdlcApprovals.VerifyReport(string,object)` will always throw because: Failed to load assembly 'Microsoft.ReportViewer.WinForms' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5457000Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.RdlcReports.RdlcApprovals.VerifyReport(string,Assembly,IDictionary`2<string,object>)` will always throw because: Failed to load assembly 'Microsoft.ReportViewer.WinForms' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5458807Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.Wpf.AssertNoBindingErrorsTraceListener..ctor(SourceLevels)` will always throw because: Failed to load type 'System.Diagnostics.PresentationTraceSources' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5460846Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.Wpf.AssertNoBindingErrorsTraceListener+DisposableToken.Dispose()` will always throw because: Failed to load type 'System.Diagnostics.PresentationTraceSources' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5462999Z  EXEC : warning : Method `[Microsoft.VisualStudio.TestPlatform.ObjectModel]Microsoft.VisualStudio.TestPlatform.ObjectModel.Navigation.DiaSourceClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Microsoft.VisualStudio.TestPlatform.ObjectModel.Navigation.DiaSourceClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5465449Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaStackWalkerClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaStackWalkerClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5468084Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaStackWalkerClass.getEnumFrames(IDiaStackWalkHelper,IDiaEnumStackFrames&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaStackWalkerClass.getEnumFrames(Dia2Lib.IDiaStackWalkHelper, Dia2Lib.IDiaEnumStackFrames ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5470685Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaStackWalkerClass.getEnumFrames2(CV_CPU_TYPE_e,IDiaStackWalkHelper,IDiaEnumStackFrames&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaStackWalkerClass.getEnumFrames2(Dia2Lib.CV_CPU_TYPE_e, Dia2Lib.IDiaStackWalkHelper, Dia2Lib.IDiaEnumStackFrames ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5474235Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.get_lastError()` will always throw because: Invalid IL or CLR metadata in 'System.String Dia2Lib.DiaSourceAltClass.get_lastError()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5477512Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5479613Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadDataFromPdb(string)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadDataFromPdb(System.String)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5482437Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadAndValidateDataFromPdb(string,Guid&,uint32,uint32)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadAndValidateDataFromPdb(System.String, System.Guid ByRef, UInt32, UInt32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5484715Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadDataForExe(string,string,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadDataForExe(System.String, System.String, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5486678Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadDataFromIStream(IStream)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadDataFromIStream(Dia2Lib.IStream)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5488627Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.openSession(IDiaSession&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.openSession(Dia2Lib.IDiaSession ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5491410Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadDataFromCodeViewInfo(string,string,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadDataFromCodeViewInfo(System.String, System.String, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5494581Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceAltClass.loadDataFromMiscInfo(string,string,uint32,uint32,uint32,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceAltClass.loadDataFromMiscInfo(System.String, System.String, UInt32, UInt32, UInt32, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5496657Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5498361Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.getStreamSize(string,uint32&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.getStreamSize(System.String, UInt32 ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5500372Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.get_lastError()` will always throw because: Invalid IL or CLR metadata in 'System.String Dia2Lib.DiaSourceClass.get_lastError()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5502075Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataFromPdb(string)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataFromPdb(System.String)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5504892Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadAndValidateDataFromPdb(string,Guid&,uint32,uint32)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadAndValidateDataFromPdb(System.String, System.Guid ByRef, UInt32, UInt32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5507006Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataForExe(string,string,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataForExe(System.String, System.String, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5508958Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataFromIStream(IStream)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataFromIStream(Dia2Lib.IStream)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5511124Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.openSession(IDiaSession&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.openSession(Dia2Lib.IDiaSession ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5513059Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataFromCodeViewInfo(string,string,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataFromCodeViewInfo(System.String, System.String, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5515655Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataFromMiscInfo(string,string,uint32,uint32,uint32,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataFromMiscInfo(System.String, System.String, UInt32, UInt32, UInt32, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5518664Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_get_lastError()` will always throw because: Invalid IL or CLR metadata in 'System.String Dia2Lib.DiaSourceClass.IDiaDataSource3_get_lastError()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5522189Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromPdb(string)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromPdb(System.String)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5524586Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadAndValidateDataFromPdb(string,Guid&,uint32,uint32)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadAndValidateDataFromPdb(System.String, System.Guid ByRef, UInt32, UInt32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5527603Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataForExe(string,string,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataForExe(System.String, System.String, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5530479Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromIStream(IStream)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromIStream(Dia2Lib.IStream)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5533070Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_openSession(IDiaSession&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_openSession(Dia2Lib.IDiaSession ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5536270Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromCodeViewInfo(string,string,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromCodeViewInfo(System.String, System.String, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5539262Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromMiscInfo(string,string,uint32,uint32,uint32,uint32,uint8&,object)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.IDiaDataSource3_loadDataFromMiscInfo(System.String, System.String, UInt32, UInt32, UInt32, UInt32, Byte ByRef, System.Object)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5541919Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.getRawPDBPtr(native int&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.getRawPDBPtr(IntPtr ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5543777Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.loadDataFromRawPDBPtr(native int)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.loadDataFromRawPDBPtr(IntPtr)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5545671Z  EXEC : warning : Method `[Dia2Lib]Dia2Lib.DiaSourceClass.getStreamRawData(string,uint32,uint8&)` will always throw because: Invalid IL or CLR metadata in 'Void Dia2Lib.DiaSourceClass.getStreamRawData(System.String, UInt32, Byte ByRef)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5547719Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass..ctor()` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass..ctor()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5549566Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.AddLogfileTraceStream(string,native int)` will always throw because: Invalid IL or CLR metadata in 'UInt64 TraceReloggerLib.CTraceReloggerClass.AddLogfileTraceStream(System.String, IntPtr)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5551436Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.AddRealtimeTraceStream(string,native int)` will always throw because: Invalid IL or CLR metadata in 'UInt64 TraceReloggerLib.CTraceReloggerClass.AddRealtimeTraceStream(System.String, IntPtr)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5553286Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.RegisterCallback(ITraceEventCallback)` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.RegisterCallback(TraceReloggerLib.ITraceEventCallback)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5555047Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.Inject(ITraceEvent)` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.Inject(TraceReloggerLib.ITraceEvent)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5557055Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.CreateEventInstance(uint64,uint32)` will always throw because: Invalid IL or CLR metadata in 'TraceReloggerLib.ITraceEvent TraceReloggerLib.CTraceReloggerClass.CreateEventInstance(UInt64, UInt32)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5558825Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.ProcessTrace()` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.ProcessTrace()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5560514Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.SetOutputFilename(string)` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.SetOutputFilename(System.String)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5562444Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.SetCompressionMode(int8)` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.SetCompressionMode(SByte)' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5564283Z  EXEC : warning : Method `[TraceReloggerLib]TraceReloggerLib.CTraceReloggerClass.Cancel()` will always throw because: Invalid IL or CLR metadata in 'Void TraceReloggerLib.CTraceReloggerClass.Cancel()' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5565951Z  EXEC : warning : Method `[ApprovalTests]ApprovalTests.RdlcReports.RdlcApprovals.VerifyReport<__Canon>(string,Assembly,Tuple`2<string,__Canon>[])` will always throw because: Failed to load assembly 'Microsoft.ReportViewer.WinForms' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5567772Z  EXEC : warning : Method `[ApprovalUtilities]ApprovalUtilities.Persistence.Database.DatabaseUtils.Query<__Canon>(string,string,Func`2<DbDataReader,__Canon>)` will always throw because: Failed to load assembly 'System.Data.SqlClient' [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5569308Z  EXEC : warning : RD.XML processing will change before release (https://github.com/dotnet/corert/issues/5001) [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/a5a9925e-ce8a-429c-a9ce-381689cd6eaf/BenchmarkDotNet.Autogenerated.csproj]
2021-01-25T11:44:39.5569915Z    Generating native code
2021-01-25T11:44:39.5570163Z    /usr/bin/clang

@MichalStrehovsky
Copy link
Member Author

FileNotFoundException: Failed to load assembly 'EntityFramework'

Looks like a bad input to the compiler (assembly compiled against EntityFramework.dll, but EntityFramework.dll was not actually supplied as input). The compiler can sometimes survive this and generate a throwing method body wherever such thing is referenced, but sometimes it's hit in a spot that can't be recovered (like here - we end up needing it outside method compilation).

JIT based runtimes will only hit trouble once this is hit in a code path at runtime, but AOT compilers don't have much of a choice.

@adamsitnik
Copy link
Member

Failed to load assembly 'EntityFramework'

What surprises me is that we don't have an explicit dependency on EntityFramework: https://github.com/dotnet/BenchmarkDotNet/search?q=EntityFramework&type=code

I've no idea where it's coming from

@MichalStrehovsky
Copy link
Member Author

Usually it's a NuGet package with improperly declared dependencies (package forgetting to mention it depends on the EF package, but there's an assembly reference).

@adamsitnik
Copy link
Member

I found it, it't comming from ApprovalUtilities which comes from ApprovalTests

obraz

I've pushed a version bump to your branch.

@MichalStrehovsky
Copy link
Member Author

I've pushed a version bump to your branch.

Thank you!

@adamsitnik
Copy link
Member

Now we are getting timeouts (BDN is configured with default 5 minutes timeout for the build). I've tried to repro it locally and on my machine, it takes a little bit more than 4 minutes but less than 5 and it works OK.

I've checked our CI history and it looks like so far we neeeded +- 40 minutes to run all the tests and with this PR 1h is not enough.

@MichalStrehovsky do you think that the new CoreRT compiler version could introduce a performance regression?

@MichalStrehovsky
Copy link
Member Author

Ah. RootAllApplicationAssemblies was removed. I assume Benchmark.net sets that to false so that we compile less stuff - I see there's some hits for that in this repo.

We now use the same thing as .NET 5 - <TrimMode>link</TrimMode> property needs to be set instead.

That would also explain the compiler crash. I assume we were trimming the problematic code previously because it was unused.

@adamsitnik
Copy link
Member

@MichalStrehovsky that explains everything ;) I've pushed a fix, lets see if it helps

@adamsitnik
Copy link
Member

@MichalStrehovsky We got to the point where Windows and macOS are passing, but Ubuntu fails with the following error:

2021-01-27T14:46:39.0911133Z   Standard error: 
2021-01-27T14:46:39.0913502Z   /home/vsts/.nuget/packages/microsoft.dotnet.ilcompiler/6.0.0-preview.2.21076.5/build/Microsoft.NETCore.Native.targets(244,5): error MSB3073: The command ""/home/vsts/.nuget/packages/runtime.linux-x64.microsoft.dotnet.ilcompiler/6.0.0-preview.2.21076.5/tools/ilc" @"obj/Release/net5.0/linux-x64/native/ff3b7b89-45cb-472f-a560-b253c6d8f8af.ilc.rsp"" exited with code 139. [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/ff3b7b89-45cb-472f-a560-b253c6d8f8af/BenchmarkDotNet.Autogenerated.csproj]
2021-01-27T14:46:39.0915106Z    Segmentation fault (core dumped)
2021-01-27T14:46:39.0916471Z  EXEC : warning : RD.XML processing will change before release (https://github.com/dotnet/corert/issues/5001) [/home/vsts/work/1/s/tests/BenchmarkDotNet.IntegrationTests/bin/Release/net5.0/ff3b7b89-45cb-472f-a560-b253c6d8f8af/BenchmarkDotNet.Autogenerated.csproj]
2021-01-27T14:46:39.0917475Z    Generating native code
2021-01-27T14:46:39.0918248Z    /usr/bin/clang

FWIW The tests that are using hardcoded CoreRT version (6.0.0-preview.1.21074.3) are passing, the ones that are using latest (6.0.0-*) are failing.

@MichalStrehovsky
Copy link
Member Author

that explains everything ;) I've pushed a fix, lets see if it helps

Thank you!

Ubuntu fails with the following error:

And sigh.

I pushed out more verbose logging to find out what are we doing.

@adamsitnik
Copy link
Member

I pushed out more verbose logging to find out what are we doing.

@MichalStrehovsky have you changed anything in the product in the meantime? The build has passed this time oO

@MichalStrehovsky
Copy link
Member Author

We had changes but nothing targeted. Let's see what happens now.

@adamsitnik
Copy link
Member

the CI failures are unrelated, I am merging.

big thanks for all your help @MichalStrehovsky !!

@adamsitnik adamsitnik merged commit 9f5d706 into dotnet:master Jan 28, 2021
@MichalStrehovsky MichalStrehovsky deleted the patch-1 branch January 28, 2021 12:19
@MichalStrehovsky
Copy link
Member Author

big thanks for all your help @MichalStrehovsky !!

Thank you for maintaining the integration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants