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

CI fix for native aot tests #69571

Merged
merged 6 commits into from
May 31, 2022
Merged

Conversation

LakshanF
Copy link
Contributor

Fixes #69476

@MichalStrehovsky
Copy link
Member

Oh interesting, the x64 checked NativeAOT failure is probably some CoreCLR bug in .NET 7 Preview 3 that we're using to run ilc.exe. I've not seen it before and we'll need to keep an eye for it. It's definitely unrelated to anything this pull request is touching. Filed #69593.

2022-05-19T20:19:42.4156624Z   Fatal error. Internal CLR error. (0x80131506)
2022-05-19T20:19:42.4158726Z      at Internal.TypeSystem.Ecma.EcmaModule+IEntityHandleObject.get_Handle()
2022-05-19T20:19:42.4171990Z      at Internal.TypeSystem.Ecma.EcmaModule+EcmaObjectLookupHashtable.CompareKeyToValue(System.Reflection.Metadata.EntityHandle, IEntityHandleObject)
2022-05-19T20:19:42.4207064Z      at Internal.TypeSystem.LockFreeReaderHashtable`2[[System.Reflection.Metadata.EntityHandle, System.Reflection.Metadata, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TryGetValue(System.Reflection.Metadata.EntityHandle, System.__Canon ByRef)
2022-05-19T20:19:42.4226480Z      at ILCompiler.LazyGenericsSupport+GraphBuilder.WalkMethod(Internal.TypeSystem.Ecma.EcmaMethod)
2022-05-19T20:19:42.4234505Z      at ILCompiler.LazyGenericsSupport+GraphBuilder..ctor(Internal.TypeSystem.Ecma.EcmaModule)
2022-05-19T20:19:42.4240090Z      at ILCompiler.LazyGenericsSupport+CycleInfoHashtable.CreateValueFromKey(Internal.TypeSystem.Ecma.EcmaModule)
2022-05-19T20:19:42.4246260Z      at Internal.TypeSystem.LockFreeReaderHashtable`2[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CreateValueAndEnsureValueIsInTable(System.__Canon)
2022-05-19T20:19:42.4249860Z      at ILCompiler.LazyGenericsSupport+GenericCycleDetector.DetectCycle(Internal.TypeSystem.TypeSystemEntity, Internal.TypeSystem.TypeSystemEntity)
2022-05-19T20:19:42.4255173Z      at Internal.JitInterface.CorInfoImpl.GetMethodEntrypoint(Internal.JitInterface.CORINFO_MODULE_STRUCT_*, Internal.TypeSystem.MethodDesc)
2022-05-19T20:19:42.4262677Z      at Internal.JitInterface.CorInfoImpl.getCallInfo(Internal.JitInterface.CORINFO_RESOLVED_TOKEN ByRef, Internal.JitInterface.CORINFO_RESOLVED_TOKEN*, Internal.JitInterface.CORINFO_METHOD_STRUCT_*, Internal.JitInterface.CORINFO_CALLINFO_FLAGS, Internal.JitInterface.CORINFO_CALL_INFO*)
2022-05-19T20:19:42.4276561Z      at Internal.JitInterface.CorInfoImpl._getCallInfo(IntPtr, IntPtr*, Internal.JitInterface.CORINFO_RESOLVED_TOKEN*, Internal.JitInterface.CORINFO_RESOLVED_TOKEN*, Internal.JitInterface.CORINFO_METHOD_STRUCT_*, Internal.JitInterface.CORINFO_CALLINFO_FLAGS, Internal.JitInterface.CORINFO_CALL_INFO*)
2022-05-19T20:19:42.4285443Z      at Internal.JitInterface.CorInfoImpl.JitCompileMethod(IntPtr ByRef, IntPtr, IntPtr, IntPtr, Internal.JitInterface.CORINFO_METHOD_INFO ByRef, UInt32, IntPtr ByRef, UInt32 ByRef)
2022-05-19T20:19:42.4288953Z      at Internal.JitInterface.CorInfoImpl.JitCompileMethod(IntPtr ByRef, IntPtr, IntPtr, IntPtr, Internal.JitInterface.CORINFO_METHOD_INFO ByRef, UInt32, IntPtr ByRef, UInt32 ByRef)
2022-05-19T20:19:42.4295063Z      at Internal.JitInterface.CorInfoImpl.CompileMethodInternal(ILCompiler.DependencyAnalysis.IMethodNode, Internal.IL.MethodIL)
2022-05-19T20:19:42.4302808Z      at Internal.JitInterface.CorInfoImpl.CompileMethod(ILCompiler.DependencyAnalysis.MethodCodeNode, Internal.IL.MethodIL)
2022-05-19T20:19:42.4308504Z      at ILCompiler.RyuJitCompilation.CompileSingleMethod(Internal.JitInterface.CorInfoImpl, ILCompiler.DependencyAnalysis.MethodCodeNode)
2022-05-19T20:19:42.4319081Z      at ILCompiler.RyuJitCompilation.CompileSingleMethod(ILCompiler.DependencyAnalysis.MethodCodeNode)
2022-05-19T20:19:42.4330825Z      at System.Threading.Tasks.Parallel+<>c__DisplayClass19_0`1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<ForWorker>b__1(System.Threading.Tasks.RangeWorker ByRef, Int32, Boolean ByRef)
2022-05-19T20:19:47.6722523Z      at System.Threading.Tasks.TaskReplicator+Replica.Execute()
2022-05-19T20:19:47.6726731Z      at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
2022-05-19T20:19:47.6728763Z      at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
2022-05-19T20:19:47.6730129Z      at System.Threading.ThreadPoolWorkQueue.Dispatch()
2022-05-19T20:19:47.6731433Z      at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()

LakshanF and others added 2 commits May 25, 2022 06:03
These make `git blame` harder to follow. Plus the consistent thing in this file is no extra newline here.
@MichalStrehovsky
Copy link
Member

Close/reopen to trigger CI. Infra was all red.

@LakshanF LakshanF merged commit c9742b3 into dotnet:main May 31, 2022
@LakshanF LakshanF deleted the LibTestNativeAotHang branch May 31, 2022 10:47
@ghost ghost locked as resolved and limited conversation to collaborators Jun 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NativeAOT] System.Reflection.Tests timeout/hang
2 participants