Skip to content

Quarantining StreamPool_Heartbeat_ExpiredStreamRemoved #37862

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

Closed
JamesNK opened this issue Oct 27, 2021 · 1 comment · Fixed by #48081
Closed

Quarantining StreamPool_Heartbeat_ExpiredStreamRemoved #37862

JamesNK opened this issue Oct 27, 2021 · 1 comment · Fixed by #48081
Assignees
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions test-failure
Milestone

Comments

@JamesNK
Copy link
Member

JamesNK commented Oct 27, 2021

Failing Test(s)

  • Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved

Error Message

Assert.Equal() Failure
Expected: 1
Actual:   0

Stacktrace

 | Xunit.Sdk.EqualException: Assert.Equal() Failure
 | Expected: 1
 | Actual:   0
 |    at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 40
 |    at Xunit.Assert.Equal[T](T expected, T actual) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 24
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 490
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
 |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
 | --- End of stack trace from previous location ---
 |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
 |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 96
 | [1.219s] TestLifetime Information: Finished test StreamPool_Heartbeat_ExpiredStreamRemoved in 1.2182106s

Logs

[xUnit.net 00:00:05.44]     Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved [FAIL]
[xUnit.net 00:00:05.44]       Assert.Equal() Failure
[xUnit.net 00:00:05.44]       Expected: 1
[xUnit.net 00:00:05.44]       Actual:   0
[xUnit.net 00:00:05.44]       Stack Trace:
[xUnit.net 00:00:05.45]         /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs(490,0): at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved()
[xUnit.net 00:00:05.45]         /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs(507,0): at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved()
[xUnit.net 00:00:05.45]         /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs(507,0): at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved()
[xUnit.net 00:00:05.45]         --- End of stack trace from previous location ---
[xUnit.net 00:00:05.45]       Output:
[xUnit.net 00:00:05.45]         | [0.001s] TestLifetime Information: Starting test StreamPool_Heartbeat_ExpiredStreamRemoved at 2021-10-26T22:17:14
[xUnit.net 00:00:05.45]         | [0.023s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Connection id "0HMCOPPDQPBUI" accepted.
[xUnit.net 00:00:05.45]         | [1.164s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000000" type Bidirectional accepted.
[xUnit.net 00:00:05.45]         | [1.164s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000000" shutting down writes because: "The QUIC transport's send loop completed gracefully.".
[xUnit.net 00:00:05.45]         | [1.197s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" type Bidirectional accepted.
[xUnit.net 00:00:05.45]         | [1.206s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" write aborted by peer with error code 4294967295.
[xUnit.net 00:00:05.45]         | [1.213s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" shutting down writes because: "Stream aborted by peer (4294967295).".
[xUnit.net 00:00:05.45]         | [1.217s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests Error: Test threw an exception.
[xUnit.net 00:00:05.45]         | Xunit.Sdk.EqualException: Assert.Equal() Failure
[xUnit.net 00:00:05.45]         | Expected: 1
[xUnit.net 00:00:05.45]         | Actual:   0
[xUnit.net 00:00:05.45]         |    at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 40
[xUnit.net 00:00:05.45]         |    at Xunit.Assert.Equal[T](T expected, T actual) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 24
[xUnit.net 00:00:05.45]         |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 490
[xUnit.net 00:00:05.45]         |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
[xUnit.net 00:00:05.45]         |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
[xUnit.net 00:00:05.45]         |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
[xUnit.net 00:00:05.45]         | --- End of stack trace from previous location ---
[xUnit.net 00:00:05.45]         |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
[xUnit.net 00:00:05.45]         |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 96
[xUnit.net 00:00:05.46]         | [1.219s] TestLifetime Information: Finished test StreamPool_Heartbeat_ExpiredStreamRemoved in 1.2182106s
  Passed Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.AcceptAsync_ClientClosesConnection_ExceptionThrown [54 ms]
  Failed Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved [1 s]
  Error Message:
   Assert.Equal() Failure
Expected: 1
Actual:   0
  Stack Trace:
     at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 490
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
--- End of stack trace from previous location ---
  Standard Output Messages:
 | [0.001s] TestLifetime Information: Starting test StreamPool_Heartbeat_ExpiredStreamRemoved at 2021-10-26T22:17:14
 | [0.023s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Connection id "0HMCOPPDQPBUI" accepted.
 | [1.164s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000000" type Bidirectional accepted.
 | [1.164s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000000" shutting down writes because: "The QUIC transport's send loop completed gracefully.".
 | [1.197s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" type Bidirectional accepted.
 | [1.206s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" write aborted by peer with error code 4294967295.
 | [1.213s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic Debug: Stream id "0HMCOPPDQPBUI:00000004" shutting down writes because: "Stream aborted by peer (4294967295).".
 | [1.217s] Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests Error: Test threw an exception.
 | Xunit.Sdk.EqualException: Assert.Equal() Failure
 | Expected: 1
 | Actual:   0
 |    at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 40
 |    at Xunit.Assert.Equal[T](T expected, T actual) in C:\Dev\xunit\xunit\src\xunit.assert\Asserts\EqualityAsserts.cs:line 24
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 490
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
 |    at Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.QuicConnectionContextTests.StreamPool_Heartbeat_ExpiredStreamRemoved() in /_/src/Servers/Kestrel/Transport.Quic/test/QuicConnectionContextTests.cs:line 507
 |    at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext() in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264
 | --- End of stack trace from previous location ---
 |    at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
 |    at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 96
 | [1.219s] TestLifetime Information: Finished test StreamPool_Heartbeat_ExpiredStreamRemoved in 1.2182106s

Build

https://dev.azure.com/dnceng/public/_build/results?buildId=1441586&view=logs&jobId=3f6d4e0f-1b71-56b5-361e-d95b6e6da15a

@ghost
Copy link

ghost commented Oct 27, 2021

Thanks for contacting us.

We're moving this issue to the Next sprint planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@Tratcher Tratcher self-assigned this May 4, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 18, 2023
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions test-failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants