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

[Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP' #89784

Closed
rzikm opened this issue Aug 1, 2023 · 2 comments · Fixed by #90631 or #90949
Assignees
Labels
area-System.Net.Sockets blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@rzikm
Copy link
Member

rzikm commented Aug 1, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=356202
Build error leg or test failing: System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "[Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=356202
Error message validated: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP'
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/1/2023 2:59:19 PM UTC

Report

Build Definition Test Pull Request
356202 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@rzikm rzikm added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 1, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 1, 2023
@ghost
Copy link

ghost commented Aug 1, 2023

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

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=356202
Build error leg or test failing: System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "[Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SyncForceNonBlocking.SendRecv_Stream_TCP'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Author: rzikm
Assignees: -
Labels:

area-System.Net.Sockets, blocking-clean-ci, Known Build Error

Milestone: -

@karelz karelz added this to the 9.0.0 milestone Aug 1, 2023
@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Aug 1, 2023
@antonfirsov antonfirsov added the in-pr There is an active PR which will close this issue when it is merged label Aug 15, 2023
antonfirsov added a commit that referenced this issue Aug 16, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 16, 2023
@liveans
Copy link
Member

liveans commented Aug 22, 2023

----- start Mon 21 Aug 2023 11:58:43 AM UTC =============== To repro directly: =====================================================
pushd .
/root/helix/work/correlation/dotnet exec --runtimeconfig System.Net.Sockets.Tests.runtimeconfig.json --depsfile System.Net.Sockets.Tests.deps.json xunit.console.dll System.Net.Sockets.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing 
popd
===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Net.Sockets.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Sockets.Tests (found 216 of 1800 test cases)
  Starting:    System.Net.Sockets.Tests (parallel test collections = on, max threads = 2)
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:02:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:04:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:06:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:08:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:10:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:12:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:14:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:16:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:18:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:20:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:22:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:24:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:26:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:28:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:30:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:32:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:34:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:36:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:38:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:40:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:42:05
   System.Net.Sockets.Tests: [Long Running Test] 'System.Net.Sockets.Tests.SendReceive_SpanSyncForceNonBlocking.SendRecv_Stream_TCP', Elapsed: 00:44:05

Similar hang yesterday in CI
cc: @antonfirsov

@antonfirsov antonfirsov reopened this Aug 22, 2023
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 22, 2023
antonfirsov added a commit that referenced this issue Aug 24, 2023
…text (#90949)

Another attempt to fix #89784:
- Add timeout to send/receive calls as well
- Escape xunit synchronization context with `ConfigureAwait(false)`
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 24, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Sockets blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
4 participants