You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Few re-enabled System.Console tests are failing on CI #30130
When I run this it fails with: Exit code was 130 but it should have been 42
That's because the Console.CancelKeyPress is missing an e.Cancel = true, which causes the SIGINT exit code (128 + SIGINT) to show up, instead of RemoteExecutor.SuccessExitCode.
Activity
danmoseley commentedon Jul 3, 2019
@tmds in case he's interested.
tmds commentedon Jul 4, 2019
These pass when I run them locally.
When SIGINT and SIGQUIT have an ignored disposition, .NET Core keeps that and doesn't hook up it's own handler.
In corefx (skipWhenSigIgn arg):
https://github.com/dotnet/corefx/blob/53c0bae174088c3653391be6cc3c74a1e1f353c1/src/Native/Unix/System.Native/pal_signal.c#L279-L280
In coreclr:
https://github.com/dotnet/coreclr/blob/4f6cc4aff1356802f04a7d6bb7a40c1642f7e96e/src/pal/src/exception/signal.cpp#L158-L162
Probably in CI these have ignored disposition.
When I run this it fails with:
Exit code was 130 but it should have been 42That's because the
Console.CancelKeyPressis missing ane.Cancel = true, which causes the SIGINT exit code (128 + SIGINT) to show up, instead ofRemoteExecutor.SuccessExitCode.ViktorHofer commentedon Jul 4, 2019
After my change is in which puts an Active Issue tag on them, would be great if you could re-enable and condition them?
tmds commentedon Jul 9, 2019
@ViktorHofer you can assign this to me. I won't work on it immediately, probably in a month or so.
carlossanlop commentedon Feb 27, 2020
@tmds did you get a chance to re-enable these tests?
adamsitnik commentedon Jun 24, 2020
@tmds ping