Skip to content

SendRecv_0ByteReceive_Success Fails on Mono #41777

Description

@Anipik

https://dev.azure.com/dnceng/public/_build/results?buildId=798022&view=logs&j=e25ca8f9-4d91-5a25-cc71-96bc9bb65608&t=22eea7f6-9ad0-52cf-3602-d79b35211bce

https://helix.dot.net/api/2019-06-17/jobs/46f1dd60-28dc-4609-9028-34004178de8d/workitems/System.Net.Sockets.Tests/console

/root/helix/work/workitem /root/helix/work/workitem
  Discovering: System.Net.Sockets.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Sockets.Tests (found 838 of 1232 test cases)
  Starting:    System.Net.Sockets.Tests (parallel test collections = on, max threads = 6)
    System.Net.Sockets.Tests.UdpClientTest.Finalize_NoExceptionsThrown [SKIP]
      Condition(s) not met: "IsPreciseGcSupported"
    System.Net.Sockets.Tests.DisposedSocket.NonDisposedSocket_SafeHandlesCollected [SKIP]
      Condition(s) not met: "IsPreciseGcSupported"
    System.Net.Sockets.Tests.CreateSocket.Ctor_Raw_Supported_Success [SKIP]
      Condition(s) not met: "SupportsRawSockets"
    System.Net.Sockets.Tests.SendReceiveTask.SendRecv_0ByteReceive_Success [FAIL]
      Assert.False() Failure
      Expected: False
      Actual:   True
      Stack Trace:
        /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/SendReceive.cs(681,0): at System.Net.Sockets.Tests.SendReceive`1.<SendRecv_0ByteReceive_Success>d__11[[System.Net.Sockets.Tests.SocketHelperTask, System.Net.Sockets.Tests, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]].MoveNext()
        --- End of stack trace from previous location ---
  Finished:    System.Net.Sockets.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Sockets.Tests  Total: 1118, Errors: 0, Failed: 1, Skipped: 3, Time: 22.494s

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Sep 3, 2020
  2. Dotnet-GitSync-Bot commented on Sep 3, 2020

    @Dotnet-GitSync-Bot
    Collaborator

    I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

  3. added this to the Future milestone on Sep 11, 2020
  4. steveisok commented on Sep 11, 2020

    @steveisok
    Member

    Using this Kusto query, it appears the test has failed once, ever.

    TestResults
    | where WorkItemFriendlyName == "System.Net.Sockets.Tests" and Method == "SendRecv_0ByteReceive_Success" and Result == "Fail"
    | order by Duration desc 
    

    We should monitor if this continues, but I suspect it may be networking related and not a specific runtime issue.

  5. wfurt commented on Sep 11, 2020

    @wfurt
    Member

    It is interesting that the test expects Task to be pending since there is nothing to read ... yet. So this seems more like Async scheduling issue than networking.
    We can certainly close it if there is re-occurence.

  6. ghost locked as resolved and limited conversation to collaborators on Dec 7, 2020
  7. modified the milestones: Future, 6.0.0 on Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions