Skip to content

Test failure: System.Threading.ThreadPools.Tests.ThreadPoolTests.CooperativeBlockingWithProcessingThreadsAndGoalThreadsAndAddWorkerRaceTest #121285

Description

@SakeTao

Failed in: runtime-coreclr libraries-pgo 20251102.1

Failed tests:

net10.0-windows-Release-x86-fullpgo_methodprofiling-Windows.10.Amd64.Open
    - System.Threading.ThreadPools.Tests.ThreadPoolTests.CooperativeBlockingWithProcessingThreadsAndGoalThreadsAndAddWorkerRaceTest

Error message:

Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Half-way through waiting for remote process.
Memory load: 18

Image Name                     PID Services                                    
========================= ======== ============================================
svchost.exe                    764 BrokerInfrastructure, DcomLaunch, LSM,      
                                   PlugPlay, Power, SystemEventsBroker         
svchost.exe                    824 RpcEptMapper, RpcSs                         
svchost.exe                    944 TermService                                 
svchost.exe                    952 Appinfo, CertPropSvc, DsmSvc, gpsvc,        
                                   iphlpsvc, lfsvc, ProfSvc, sacsvr, Schedule, 
                                   SENS, SessionEnv, ShellHWDetection, Themes, 
                                   UserManager, Winmgmt, WpnService, wuauserv  
svchost.exe                    964 NcbService, PcaSvc, TrkWks, UALSVC,         
                                   UmRdpService, vmickvpexchange,              
                                   vmicshutdown, WdiSystemHost, WPDBusEnum     
svchost.exe                   1020 Dhcp, EventLog, lmhosts, NgcCtnrSvc,        
                                   TimeBrokerSvc, vmictimesync                 
svchost.exe                    432 vmicheartbeat                               
svchost.exe                   1192 CDPSvc, EventSystem, FontCache, netprofm,   
                                   nsi, RemoteRegistry, W32Time,               
                                   WinHttpAutoProxySvc                         
svchost.exe                   1316 BFE, CoreMessagingRegistrar, DPS, MpsSvc,   
                                   pla                                         
svchost.exe                   1352 CryptSvc, Dnscache, LanmanWorkstation,      
                                   NlaSvc, WinRM                               
svchost.exe                   1380 Wcmsvc                                      
svchost.exe                   2044 DiagTrack                                   
svchost.exe                   1292 LanmanServer                                
svchost.exe                   1344 W3SVC, WAS                                  
svchost.exe                   1656 AppHostSvc                                  
svchost.exe                   2068 StateRepository, tiledatamodelsvc           
svchost.exe                   3492 CDPUserSvc_44d42, OneSyncSvc_44d42          
svchost.exe                   3980 AppReadiness                                
svchost.exe                   4040 ClipSVC                                     
svchost.exe                   2284 AppIDSvc                                    
Timed out at 11/2/2025 5:15:06 PM after 60000ms waiting for remote process.
Wrote mini dump to: C:\h\w\BF840A0B\w\A76F096B\uploads\5836.cyrvkzyd.dsq.dmp
	Process ID: 5836
	Handle: 1748
	Name: dotnet
	MainModule: C:\h\w\BF840A0B\p\dotnet.exe
	StartTime: 11/2/2025 5:14:04 PM
	TotalProcessorTime: 00:00:05.2968750
	Threads:
		Thread #1 (OS 0xD80) [Finalizer] [Background] 
			[DebuggerU2MCatchHandlerFrame]
		Thread #2 (OS 0x15CC)   [MTA]
			[InlinedCallFrame]
			[InlinedCallFrame]
			ILStubClass.IL_STUB_CLRtoCOM(UInt64, UInt32, Microsoft.Diagnostics.Runtime.Interop.DEBUG_ATTACH)
			Microsoft.Diagnostics.Runtime.DbgEngDataReader..ctor(Int32, Microsoft.Diagnostics.Runtime.AttachFlag, UInt32)
			Microsoft.Diagnostics.Runtime.DataTarget.AttachToProcess(Int32, UInt32, Microsoft.Diagnostics.Runtime.AttachFlag)
			Microsoft.Diagnostics.Runtime.DataTarget.AttachToProcess(Int32, UInt32)
			Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean)
			Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
			System.Threading.ThreadPools.Tests.ThreadPoolTests+<>c.<CooperativeBlockingWithProcessingThreadsAndGoalThreadsAndAddWorkerRaceTest>b__39_0()
			[InlinedCallFr

Stack trace:

   at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 225
   at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose() in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 55
   at System.Threading.ThreadPools.Tests.ThreadPoolTests.CooperativeBlockingWithProcessingThreadsAndGoalThreadsAndAddWorkerRaceTest() in /_/src/libraries/System.Threading.ThreadPool/tests/ThreadPoolTests.cs:line 986
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 126

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions