Repository navigation
Description
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1346111
Build error leg or test failing: System.Diagnostics.Tests.ProcessTests.SignalHandler_CanDisposeInHandler
Pull request: https://github.com/dotnet/runtime.git/pull/125882
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": ["SignalHandler_CanDisposeInHandler","Assert.True()"],
"BuildRetry": false,
"ExcludeConsoleLog": false
}System.Diagnostics.Tests.ProcessTests.SignalHandler_CanDisposeInHandler(signal: SIGQUIT)
Exception Message
Assert.True() Failure
Expected: True
Actual: False
Stack Trace
at System.Diagnostics.Tests.ProcessTests.SignalHandler_CanDisposeInHandler(PosixSignal signal) in /_/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs:line 260
at System.Object.InvokeStub_ProcessTests.SignalHandler_CanDisposeInHandler(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 95
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1346111
Error message validated: [SignalHandler_CanDisposeInHandler Assert.True()]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/23/2026 10:37:15 AM UTC
Report
💡 View the full list of hits in the Build Insights portal
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Activity
dotnet-policy-service commentedon Mar 23, 2026
Tagging subscribers to this area: @dotnet/area-system-diagnostics-process
See info in area-owners.md if you want to be subscribed.
adamsitnik commentedon Mar 23, 2026
@mrek-msft I've allowed myself to assign you so you can do proper triaging as I expect this is related to your most recent changes (#124893
mrek-msft commentedon Mar 23, 2026
Thanks @adamsitnik , I added this test recently and there were already known mono quirk but this issue is different. I think I know what is the race condition here and will prepare PR with fix soon.
Fix flaky signal handler test on mono on Linux (#125969)
vcsjones commentedon Apr 15, 2026
Re-opening because this failed in https://github.com/dotnet/runtime/pull/126900/checks?check_run_id=71369241541.
[-]ProcessTests.SignalHandler_CanDisposeInHandler fails on linux on mono interpreter[/-][+]Test failure: ProcessTests.SignalHandler_CanDisposeInHandler[/+]mrek-msft commentedon Apr 16, 2026
It is different failure from the originally reported one on Mono. This one happened on CoreCLR on Windows on different assert. Currently failed assert can trigger if
GenerateConsoleCtrlEventWin32 call insideSendSignaldo not work for whatever reason, or it works but process do not exit by default Ctrl handler within specified time due to thread congestion or whatever. Another race could possibly be inWaitForExit, but I do not see any obvious from code.WaitInMSin this configuration was set to 30 seconds which seems like generous timeout to me and I do not think it worth increasing it.I will remain it open for few weeks and if there will be no more occurrences, I think we can ignore it. If there will be more occurrences, I will try to add some metric indicating how long it run.
adamsitnik commentedon Apr 16, 2026
@mrek-msft FWIW I am facing flakiness with sending signals on Windows with a different test: #126936 We may consider disabling these tests on Windows or moving them to Outerloop
jkotas commentedon Apr 16, 2026
Or the child process is hung due to a product bug. We should get a crash of the hung process to diagnose it.
RemoteExecutor collects dumps of hung processes for you https://github.com/dotnet/arcade/blob/8e46fac3b7212793291822f5cc99feeaec6f7e9e/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs#L147-L166 , but that does not kick in here since the test is side-stepping the remote executor.
Can you change the test to use the remote executor to wait, or temporarily copy&paste the remote executor code that collects crash dump to this test so that we can diagnose it.
JulieLeeMSFT commentedon Sep 2, 2026
Failed in (1):
Failed tests:
jeffschwMSFT commentedon Nov 19, 2026
removing blocking-clean-ci as it has not failed in 30 days