dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.03k stars 4.68k forks source link

Timeouts in Socket tests on Debian.*.Arm32.Open #84364

Open antonfirsov opened 1 year ago

antonfirsov commented 1 year ago

The following tests timeout the test run regularly on the Debian.10.Arm32.Open and the Debian.11.Arm32.Open queues:

System.Net.Sockets.Tests.SendReceive_*.TcpPeerReceivesFinOnShutdownWithPendingData
System.Net.Sockets.Tests.SendReceive_*.TcpReceiveSendGetsCanceledByDispose
System.Net.Sockets.Tests.AcceptTask.AcceptGetsCanceledByDispose
System.Net.Sockets.Tests.AcceptApm.AcceptGetsCanceledByDispose
System.Net.Sockets.Tests.NetworkStreamTest.ReadAsync_CancelPendingValueTask_ThrowsCancellationException

84030 made sure TcpPeerReceivesFinOnShutdownWithPendingData will not hang the test process anymore, also addressing potential dual-mode issues with the test. We need to take similar measures for the rest.

ghost commented 1 year ago

Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.

Issue Details
The following tests timeout the test run regularly on the `Debian.10.Arm32.Open` and the `Debian.11.Arm32.Open` queues: ``` System.Net.Sockets.Tests.SendReceive_*.TcpPeerReceivesFinOnShutdownWithPendingData System.Net.Sockets.Tests.SendReceive_*.TcpReceiveSendGetsCanceledByDispose System.Net.Sockets.Tests.AcceptTask.AcceptGetsCanceledByDispose System.Net.Sockets.Tests.AcceptApm.AcceptGetsCanceledByDispose System.Net.Sockets.Tests.NetworkStreamTest.ReadAsync_CancelPendingValueTask_ThrowsCancellationException ``` #84030 made sure `TcpPeerReceivesFinOnShutdownWithPendingData` will not hang the test process anymore, also addressing potential dual-mode issues with the test. We need to take similar measures for the rest.
Author: antonfirsov
Assignees: -
Labels: `area-System.Net.Sockets`
Milestone: -
wfurt commented 2 weeks ago

do we still see timeouts @rzikm? I did not see any disabled tests and this is pretty old and perhaps could be closed?