Skip to content

System.Net.Quic.Tests.QuicStreamTests_MockProvider.WriteCanceled_NextWriteThrows is failing on redhat.7.amd64 #55995

Closed
@am11

Description

@am11

console logs

----- start Tue Jul 20 11:50:16 UTC 2021 =============== To repro directly: =====================================================
pushd .
/mnt/work/ABA509B8/p/dotnet exec --runtimeconfig System.Net.Quic.Functional.Tests.runtimeconfig.json --depsfile System.Net.Quic.Functional.Tests.deps.json xunit.console.dll System.Net.Quic.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/mnt/work/ABA509B8/w/A7AE094B/e /mnt/work/ABA509B8/w/A7AE094B/e
  Discovering: System.Net.Quic.Functional.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Quic.Functional.Tests (found 48 of 121 test cases)
  Starting:    System.Net.Quic.Functional.Tests (parallel test collections = on, max threads = 2)
    System.Net.Quic.Tests.QuicStreamTests_MockProvider.WriteCanceled_NextWriteThrows [FAIL]
      System.AggregateException : One or more errors occurred. (One or more errors occurred. (Assert.Throws() Failure
      Expected: typeof(System.Net.Quic.QuicStreamAbortedException)
      Actual:   (No exception was thrown))) (One or more errors occurred. (Assert.Throws() Failure
      Expected: typeof(System.OperationCanceledException)
      Actual:   (No exception was thrown)))
      ---- System.AggregateException : One or more errors occurred. (Assert.Throws() Failure
      Expected: typeof(System.Net.Quic.QuicStreamAbortedException)
      Actual:   (No exception was thrown))
      -------- Assert.Throws() Failure
      Expected: typeof(System.Net.Quic.QuicStreamAbortedException)
      Actual:   (No exception was thrown)
      ---- System.AggregateException : One or more errors occurred. (Assert.Throws() Failure
      Expected: typeof(System.OperationCanceledException)
      Actual:   (No exception was thrown))
      -------- Assert.Throws() Failure
      Expected: typeof(System.OperationCanceledException)
      Actual:   (No exception was thrown)
      Stack Trace:
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(80,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(49,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(132,0): at System.Net.Quic.Tests.QuicTestBase`1.RunClientServer(Func`2 clientFunction, Func`2 serverFunction, Int32 iterations, Int32 millisecondsTimeout, QuicListenerOptions listenerOptions)
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs(620,0): at System.Net.Quic.Tests.QuicStreamTests`1.WriteCanceled_NextWriteThrows()
        --- End of stack trace from previous location ---
        ----- Inner Stack Trace #1 (System.AggregateException) -----
        
        ----- Inner Stack Trace -----
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs(664,0): at System.Net.Quic.Tests.QuicStreamTests`1.<>c.<<WriteCanceled_NextWriteThrows>b__23_1>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs(666,0): at System.Net.Quic.Tests.QuicStreamTests`1.<>c.<<WriteCanceled_NextWriteThrows>b__23_1>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(137,0): at System.Net.Quic.Tests.QuicTestBase`1.<>c__DisplayClass22_0.<<RunClientServer>b__0>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(63,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
        ----- Inner Stack Trace #2 (System.AggregateException) -----
        
        ----- Inner Stack Trace -----
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs(640,0): at System.Net.Quic.Tests.QuicStreamTests`1.<>c.<<WriteCanceled_NextWriteThrows>b__23_0>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs(645,0): at System.Net.Quic.Tests.QuicStreamTests`1.<>c.<<WriteCanceled_NextWriteThrows>b__23_0>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs(147,0): at System.Net.Quic.Tests.QuicTestBase`1.<>c__DisplayClass22_0.<<RunClientServer>b__1>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(55,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
  Finished:    System.Net.Quic.Functional.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Quic.Functional.Tests  Total: 244, Errors: 0, Failed: 1, Skipped: 0, Time: 5.161s
/mnt/work/ABA509B8/w/A7AE094B/e
----- end Tue Jul 20 11:50:22 UTC 2021 ----- exit code 1 ----------------------------------------------------------

Noticed in PR: #55916

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