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

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

Closed
am11 opened this issue Jul 20, 2021 · 5 comments
Labels
area-System.Net.Quic disabled-test The test is disabled in source code against the issue test-run-core Test failures in .NET Core test runs
Milestone

Comments

@am11
Copy link
Member

am11 commented Jul 20, 2021

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

@dotnet-issue-labeler
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jul 20, 2021
@ghost
Copy link

ghost commented Jul 20, 2021

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

Issue Details

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

Author: am11
Assignees: -
Labels:

area-System.Net.Quic, untriaged

Milestone: -

@karelz karelz added the test-run-core Test failures in .NET Core test runs label Jul 20, 2021
@karelz
Copy link
Member

karelz commented Jul 20, 2021

Failures 5/20-7/20 (incl. PRs):

Day Failures
previously more failures with different errors
7/12 PR #55075
7/14 PR #55647
7/16 PR #55782
7/16 PR #55726
7/19 PR #53151
7/20 PR #55925
7/20 PR #55916
7/20 PR #54640

It's a mock test, we should disable it.

@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Jul 20, 2021
@karelz karelz added this to the 6.0.0 milestone Jul 20, 2021
@karelz karelz self-assigned this Jul 20, 2021
karelz added a commit that referenced this issue Jul 21, 2021
karelz added a commit that referenced this issue Jul 21, 2021
Disable [QUIC] WriteCanceled_NextWriteThrows on Mock

Disabled test tracked by #55995
@karelz karelz added the disabled-test The test is disabled in source code against the issue label Jul 21, 2021
@karelz
Copy link
Member

karelz commented Jul 21, 2021

Test disabled on Mock by PR #56078 on 7/21.
Moving it to Future as it is Mock test.

@ManickaP
Copy link
Member

#70421

@karelz karelz modified the milestones: Future, 7.0.0 Jul 19, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Quic disabled-test The test is disabled in source code against the issue test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

3 participants