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

EventPipe: Don't clean up thread list on shutdown #96936

Merged
merged 1 commit into from
Jan 17, 2024

Don't clean up thread list on shutdown

6859840
Select commit
Loading
Failed to load commit list.
Merged

EventPipe: Don't clean up thread list on shutdown #96936

Don't clean up thread list on shutdown
6859840
Select commit
Loading
Failed to load commit list.
Azure Pipelines / runtime failed Jan 13, 2024 in 1h 50m 55s

Build #20240113.2 had test failures

Details

Tests

  • Failed: 4 (0.00%)
  • Passed: 1,930,013 (98.41%)
  • Other: 31,200 (1.59%)
  • Total: 1,961,217

Annotations

Check failure on line 89 in .packages\microsoft.dotnet.helix.sdk\9.0.0-beta.23607.2\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages\microsoft.dotnet.helix.sdk\9.0.0-beta.23607.2\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89

.packages\microsoft.dotnet.helix.sdk\9.0.0-beta.23607.2\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item nativeaot.SmokeTests in job 23eef97e-4580-4648-81b4-c13fc421fe98 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/23eef97e-4580-4648-81b4-c13fc421fe98/workitems/nativeaot.SmokeTests/console

Check failure on line 89 in .packages/microsoft.dotnet.helix.sdk/9.0.0-beta.23607.2/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.23607.2/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets#L89

.packages/microsoft.dotnet.helix.sdk/9.0.0-beta.23607.2/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(89,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item nativeaot.SmokeTests in job f08b99c0-5ad7-4844-9bb4-74dc936d3e21 has failed.
Failure log: https://helix.dot.net/api/2019-06-17/jobs/f08b99c0-5ad7-4844-9bb4-74dc936d3e21/workitems/nativeaot.SmokeTests/console

Check failure on line 1 in nativeaot/SmokeTests/Reflection/Reflection/Reflection.sh

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

nativeaot/SmokeTests/Reflection/Reflection/Reflection.sh

DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /datadisks/disk1/work/AD990953/w/B1D10976/e/nativeaot/SmokeTests/Reflection/Reflection//native/createdump
Unhandled exception. System.TypeInitializationException: A type initializer threw an exception. To determine which type, inspect the InnerException's StackTrace property.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Threading.Lock.TryInitializeStatics() + 0xff
   at System.Threading.Lock.LazyInitializeOrEnter() + 0x150
   at System.Threading.Lock.TryEnterSlow(Int32, Lock.ThreadId) + 0x22d
   at System.Threading.Lock.TryEnter_Inlined(Int32) + 0x107
   at System.Threading.Lock.EnterAndGetCurrentThreadId() + 0x2b
   at System.Threading.Lock.EnterScope() + 0x32
   at System.Runtime.CompilerServices.ClassConstructorRunner.Cctor.GetCctor(StaticClassConstructionContext*) + 0x50
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x6e
   at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0x22
   at System.Diagnostics.Tracing.NativeRuntimeEventSource..cctor() + 0x3c
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x1a4
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x26d
   at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0x22
   at System.Threading.WaitHandle.WaitOneNoCheck(Int32, Object, NativeRuntimeEventSource.WaitHandleWaitSourceMap) + 0x1b7
   at System.Threading.WaitHandle.WaitOne(Int32) + 0x37
   at System.Threading.TimerQueue.TimerThread() + 0x11c
   at Reflection!<BaseAddress>+0x72d403
   at System.Threading.Thread.StartHelper.RunWorker() + 0x7b
   at System.Threading.Thread.StartHelper.Run() + 0xa9
   at System.Threading.Thread.StartThread(IntPtr) + 0x102
   at System.Threading.Thread.ThreadEntryPoint(IntPtr) + 0x21
/datadisks/disk1/work/AD990953/p/nativeaottest.sh: line 15: 13042 Aborted                 (core dumped) $_DebuggerFullPath $1/native/$exename "${@:3}"

Return code:      1
Raw output file:      /datadisks/disk1/work/AD990953/w/B1D10976/uploads/Reports/nativeaot.SmokeTests/Reflection/Reflection/Reflection.output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/AD990953/p/nativeaottest.sh /datadisks/disk1/work/AD990953/w/B1D10976/e/nativeaot/SmokeTests/Reflection/Reflection/ Reflection.dll ''
Testing delegate targets are reflectable...
Testing virtual delegate targets are reflectable...
TestContainment
TestInterfaceMethod
TestByRefLikeTypeMethod
TestILScanner
Search current assembly
GetMethod on a non-generic type
Totally unreferenced method on a non-generic type (we should not find it)
GetMethod on a non-generic type for a generic method
Generics
Partial canonical types
Search in system assembly
Search through a forwarder
Search in mscorlib
Enum.GetValues
Enum.GetValuesAsUnderlyingType
Pattern in LINQ expressions
Other pattern in LINQ expressions
TestUnreferencedEnum
TestAttributeInheritance
TestStringConstructor
TestAssemblyAndModuleAttributes
TestAttributeExpressions
TestParameterAttributes
TestPropertyAndEventAttributes
TestNecessaryEETypeReflection
False
False
False
False
True
True
True
ReflectionTest+TestGenericLdtoken+Generic`1[[ReflectionTest+TestGenericLdtoken+Atom, Reflection, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]
TestCreateDelegate
TestGetUninitializedObject
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 1/13/2024 8:57:47 AM
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/datadisks/disk
Raw output
   at nativeaot_SmokeTests._Reflection_Reflection_Reflection_._Reflection_Reflection_Reflection_sh() in /__w/1/s/artifacts/tests/coreclr/linux.x64.Debug/TestWrappers/nativeaot.SmokeTests/nativeaot.SmokeTests.XUnitWrapper.cs:line 1535
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in nativeaot.SmokeTests.WorkItemExecution

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

nativeaot.SmokeTests.WorkItemExecution

The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.

Check failure on line 1 in nativeaot.SmokeTests.WorkItemExecution

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

nativeaot.SmokeTests.WorkItemExecution

The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.

Check failure on line 1 in nativeaot\\SmokeTests\\UnitTests\\UnitTests\\UnitTests.cmd

See this annotation in the file changed.

@azure-pipelines azure-pipelines / runtime

nativeaot\\SmokeTests\\UnitTests\\UnitTests\\UnitTests.cmd

Return code:      1
Raw output file:      C:\h\w\A8430928\w\A91E09AC\uploads\Reports\nativeaot.SmokeTests\UnitTests\UnitTests\UnitTests.output.txt
Raw output:
BEGIN EXECUTION
call C:\h\w\A8430928\p\nativeaottest.cmd C:\h\w\A8430928\w\A91E09AC\e\nativeaot\SmokeTests\UnitTests\UnitTests\ UnitTests.dll 
===== Running test BasicThreading.Run =====
System.TypeInitializationException: A type initializer threw an exception. To determine which type, inspect the InnerException's StackTrace property.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Threading.Lock.TryInitializeStatics() + 0xd1
   at System.Threading.Lock.TryEnterSlow(Int32, Lock.ThreadId) + 0x15a
   at System.Threading.Lock.EnterAndGetCurrentThreadId() + 0x4a
   at System.Runtime.CompilerServices.ClassConstructorRunner.Cctor.GetCctor(StaticClassConstructionContext*) + 0x31
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x3e
   at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0xd
   at System.Diagnostics.Tracing.NativeRuntimeEventSource..cctor() + 0x49
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0xbb
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x147
   at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0xd
   at System.Threading.WaitHandle.WaitOneNoCheck(Int32, Object, NativeRuntimeEventSource.WaitHandleWaitSourceMap) + 0xc0
   at System.Threading.Condition.Wait(Int32, Object) + 0x7c
   at System.Threading.ManualResetEventSlim.Wait(Int32, CancellationToken) + 0x29e
   at System.Threading.Tasks.Task.SpinThenBlockingWait(Int32, CancellationToken) + 0xbf
   at System.Threading.Tasks.Task.InternalWaitCore(Int32, CancellationToken) + 0x73
   at System.Threading.Tasks.Task.Wait(Int32, CancellationToken) + 0x3f
   at ThreadStaticsTestWithTasks.Run() + 0x14f
   at BasicThreading.Run() + 0x1a
   at Program.<<Main>$>g__RunTest|0_0(Func`1, String) + 0x46
===== Test BasicThreading.Run failed =====
===== Running test Delegates.Run =====
Testing delegates to value types...OK
Testing delegates to virtual methods...OK
Testing delegates to interface methods...OK
Testing static open and closed delegates...OK
Testing multicast delegates...OK
Testing dynamic invoke...OK
Testing LINQ Expressions...
Testing default interface methods...
===== Test Delegates.Run succeeded =====
===== Running test Generics.Run =====
Base.GMethod1<System.Int32>(1,2)
Base.IMethod1<System.Int32>(3,4)
Base.IMethod1<System.Int32>(5,6)
Base.IMethod1<System.Int32>(7,8)
====================
Derived.GMethod1<System.Int32>(1,2)
Derived.IFoo<string>.IMethod1<System.Int32>(3,4)
Derived.IFoo<string>.IMethod1<System.Int32>(5,6)
Base.IMethod1<System.Int32>(7,8)
====================
Derived.GMethod1<System.Int32>(1,2)
Derived.IFoo<string>.IMethod1<System.Int32>(3,4)
Derived.IFoo<string>.IMethod1<System.Int32>(5,6)
SuperDerived.IFoo<int>.IMethod1<System.Int32>(7,8)
====================
GenBase<System.Byte>.GMethod1<System.Int32>(1,2)
GenBase<System.Byte>.IMethod1<System.Int32>(3,4)
GenBase<System.Byte>.IMethod1<System.Int32>(5,6)
GenBase<System.Byte>.IMethod1<System.Int32>(7,8)
====================
GenDerived<System.Byte>.GMethod1<System.Int32>(1,2)
GenDerived<System.Byte>.IFoo<string>.IMethod1<System.Int32>(3,4)
GenDerived<System.Byte>.IFoo<string>.IMethod1<System.Int32>(5,6)
GenBase<System.Byte>.IMethod1<System.Int32>(7,8)
====================
GenDerived<System.String>.GMethod1<System.Int32>(1,2)
GenDerived<System.String>.IFoo<string>.IMethod1
Raw output
   at nativeaot_SmokeTests._UnitTests_UnitTests_UnitTests_._UnitTests_UnitTests_UnitTests_cmd() in D:\a\_work\1\s\artifacts\tests\coreclr\windows.x64.Release\TestWrappers\nativeaot.SmokeTests\nativeaot.SmokeTests.XUnitWrapper.cs:line 2228
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)