dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.57k stars 10.05k forks source link

Quarantine LongPollingUsesHttp2ByDefault #49966

Closed adityamandaleeka closed 1 year ago

adityamandaleeka commented 1 year ago

Failing Test(s)

Error Message

[0.088s] Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests Error: Test threw an exception.
2023-08-09T19:13:12.3353023Z [xUnit.net 00:00:58.58]         | Xunit.Sdk.ContainsException: Assert.Contains() Failure
2023-08-09T19:13:12.3418894Z [xUnit.net 00:00:58.58]         | Not found: (filter expression)
2023-08-09T19:13:12.3419003Z [xUnit.net 00:00:58.58]         | In value:  ConcurrentQueue<WriteContext> 

Stacktrace

```text at Xunit.Assert.Contains[T](IEnumerable`1 collection, Predicate`1 filter) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 264 2023-08-09T19:13:12.3419336Z [xUnit.net 00:00:58.58] | at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.LongPollingUsesHttp2ByDefault() in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs:line 2402 2023-08-09T19:13:12.3419383Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 264 2023-08-09T19:13:12.3419409Z [xUnit.net 00:00:58.58] | --- End of stack trace from previous location --- 2023-08-09T19:13:12.3419433Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48 2023-08-09T19:13:12.3419456Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90 ```

Logs

```text 2023-08-09T19:13:12.3317612Z [xUnit.net 00:00:58.58] | [0.088s] Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests Error: Test threw an exception. 2023-08-09T19:13:12.3353023Z [xUnit.net 00:00:58.58] | Xunit.Sdk.ContainsException: Assert.Contains() Failure 2023-08-09T19:13:12.3418894Z [xUnit.net 00:00:58.58] | Not found: (filter expression) 2023-08-09T19:13:12.3419003Z [xUnit.net 00:00:58.58] | In value: ConcurrentQueue [Information Microsoft.AspNetCore.SignalR.Tests.InProcessTestServer: Starting test server..., Debug Microsoft.Extensions.Hosting.Internal.Host: Hosting starting, Debug Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver: Repository contains no viable default key. Caller should generate a key with immediate activation., Debug Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider: Policy resolution states that a new key should be added to the key ring., Information Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager: Creating key {148c2e55-1f64-4d76-b0cb-3fa38973c8c1} with creation date 2023-08-09 19:13:11Z, activation date 2023-08-09 19:13:11Z, and expiration date 2023-11-07 19:13:11Z., ...] 2023-08-09T19:13:12.3419298Z [xUnit.net 00:00:58.58] | at Xunit.Assert.Contains[T](IEnumerable`1 collection, Predicate`1 filter) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 264 2023-08-09T19:13:12.3419336Z [xUnit.net 00:00:58.58] | at Microsoft.AspNetCore.SignalR.Client.FunctionalTests.HubConnectionTests.LongPollingUsesHttp2ByDefault() in /_/src/SignalR/clients/csharp/Client/test/FunctionalTests/HubConnectionTests.cs:line 2402 2023-08-09T19:13:12.3419383Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_0.<b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 264 2023-08-09T19:13:12.3419409Z [xUnit.net 00:00:58.58] | --- End of stack trace from previous location --- 2023-08-09T19:13:12.3419433Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48 2023-08-09T19:13:12.3419456Z [xUnit.net 00:00:58.58] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90 2023-08-09T19:13:12.3494334Z [xUnit.net 00:00:58.58] | [0.090s] TestLifetime Information: Finished test LongPollingUsesHttp2ByDefault in 0.0894467s 2023-08-09T19:13:12.3543820Z [xUnit.net 00:00:58.59] Finished: Microsoft.AspNetCore.SignalR.Client.FunctionalTests ```

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=368651&view=ms.vss-test-web.build-test-results-tab&runId=7812532&resultId=123373&paneView=debug

adityamandaleeka commented 1 year ago

@BrennanConroy

BrennanConroy commented 1 year ago

Dupe of https://github.com/dotnet/aspnetcore/issues/50180, using that one for tracking.