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

[HTTP/3] ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream test fails #53087

Closed
ManickaP opened this issue May 21, 2021 · 1 comment · Fixed by #58041
Closed

[HTTP/3] ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream test fails #53087

ManickaP opened this issue May 21, 2021 · 1 comment · Fixed by #58041
Assignees
Labels
area-System.Net.Http disabled-test The test is disabled in source code against the issue
Milestone

Comments

@ManickaP
Copy link
Member

ManickaP commented May 21, 2021

System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Http3_MsQuic.ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream

For argument chunked with value false or null intermittently fails with:

Assert.Equal() Failure\nExpected: 104\nActual:   0
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest.<>c__DisplayClass27_0.<<ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream>b__0>d.MoveNext() in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs:line 959
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 63
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 82
   at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass5_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs:line 36
--- End of stack trace from previous location ---
   at System.Net.Test.Common.Http3LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 97
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest.ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream(Nullable`1 chunked) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs:line 898
--- End of stack trace from previous location ---

Might be related to: #52047

@ManickaP ManickaP added this to the 6.0.0 milestone May 21, 2021
@ghost
Copy link

ghost commented May 21, 2021

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

Issue Details

System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_HttpClientHandlerTest_Http3_MsQuic.ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream

For argument chunked with value false or null fails with:

Assert.Equal() Failure\nExpected: 104\nActual:   0
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest.<>c__DisplayClass27_0.<<ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream>b__0>d.MoveNext() in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs:line 959
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 63
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 82
   at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass5_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs:line 36
--- End of stack trace from previous location ---
   at System.Net.Test.Common.Http3LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs:line 97
   at System.Net.Http.Functional.Tests.HttpClientHandlerTest.ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream(Nullable`1 chunked) in /home/manicka/Repositories/runtime/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs:line 898
--- End of stack trace from previous location ---

Might be related to: #52047

Author: ManickaP
Assignees: -
Labels:

area-System.Net.Http

Milestone: 6.0.0

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label May 21, 2021
@ManickaP ManickaP added disabled-test The test is disabled in source code against the issue and removed untriaged New issue has not been triaged by the area owner labels May 21, 2021
@ManickaP ManickaP modified the milestones: 6.0.0, 7.0.0, Future Aug 10, 2021
@ManickaP ManickaP self-assigned this Aug 19, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 24, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 30, 2021
@karelz karelz modified the milestones: Future, 7.0.0 Aug 31, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants