-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionstest-failure
Description
Failing Test(s)
- WebSocketsOutOfProcessTests
Error Message
System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
Stacktrace
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.RequestWithBody_NotUpgradable() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 52
--- End of stack trace from previous location ---
Logs
2024-11-20T12:57:49.2363029Z [xUnit.net 00:08:11.14] | [5.378s] Microsoft.AspNetCore.Server.IntegrationTesting.IIS.IISDeployer Information: [Time]: Total time taken for this test variation '5.3752986' seconds
2024-11-20T12:57:49.2364839Z Passed Microsoft.AspNetCore.Server.IIS.FunctionalTests.InProcess.MaxRequestBodySizeTests.MaxRequestBodySizeE2EWorks [5 s]
2024-11-20T12:57:51.3247918Z [xUnit.net 00:08:13.27] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.OnStartedCalledForWebSocket [FAIL]
2024-11-20T12:57:51.3250844Z [xUnit.net 00:08:13.27] System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3253090Z [xUnit.net 00:08:13.27] Stack Trace:
2024-11-20T12:57:51.3255051Z [xUnit.net 00:08:13.28] at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3257811Z [xUnit.net 00:08:13.28] at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3259572Z [xUnit.net 00:08:13.28] at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3261453Z [xUnit.net 00:08:13.28] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(77,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.OnStartedCalledForWebSocket()
2024-11-20T12:57:51.3263411Z [xUnit.net 00:08:13.28] --- End of stack trace from previous location ---
2024-11-20T12:57:51.3265368Z [xUnit.net 00:08:13.28] Output:
2024-11-20T12:57:51.3267229Z [xUnit.net 00:08:13.28] | [0.001s] TestLifetime Information: Starting test OnStartedCalledForWebSocket at 2024-11-20T12:57:49
2024-11-20T12:57:51.3269211Z [xUnit.net 00:08:13.28] | [2.130s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.3271328Z [xUnit.net 00:08:13.28] | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3273241Z [xUnit.net 00:08:13.28] | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3274949Z [xUnit.net 00:08:13.28] | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3276531Z [xUnit.net 00:08:13.28] | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3278064Z [xUnit.net 00:08:13.28] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.OnStartedCalledForWebSocket() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 77
2024-11-20T12:57:51.3279611Z [xUnit.net 00:08:13.28] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.3281334Z [xUnit.net 00:08:13.28] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.3283194Z [xUnit.net 00:08:13.28] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.3285406Z [xUnit.net 00:08:13.28] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.3287609Z Failed Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.OnStartedCalledForWebSocket [2 s]
2024-11-20T12:57:51.3289083Z Error Message:
2024-11-20T12:57:51.3290243Z System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3291368Z Stack Trace:
2024-11-20T12:57:51.3292409Z at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3292612Z at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3292655Z at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3292791Z at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.OnStartedCalledForWebSocket() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 77
2024-11-20T12:57:51.3292935Z --- End of stack trace from previous location ---
2024-11-20T12:57:51.3303401Z Standard Output Messages:
2024-11-20T12:57:51.3323623Z | [0.001s] TestLifetime Information: Starting test OnStartedCalledForWebSocket at 2024-11-20T12:57:49
2024-11-20T12:57:51.3323718Z | [2.130s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.3323905Z | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3323947Z | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3324093Z | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3324246Z | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3324300Z | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.OnStartedCalledForWebSocket() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 77
2024-11-20T12:57:51.3324353Z | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.3324386Z | --- End of stack trace from previous location ---
2024-11-20T12:57:51.3324416Z | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.3324447Z | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.3324478Z
2024-11-20T12:57:51.3325708Z
2024-11-20T12:57:51.3409966Z [xUnit.net 00:08:13.29] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.RequestWithBody_NotUpgradable [FAIL]
2024-11-20T12:57:51.3412129Z [xUnit.net 00:08:13.29] System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
2024-11-20T12:57:51.3413924Z [xUnit.net 00:08:13.29] Stack Trace:
2024-11-20T12:57:51.3415490Z [xUnit.net 00:08:13.29] at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
2024-11-20T12:57:51.3416882Z [xUnit.net 00:08:13.29] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(52,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.RequestWithBody_NotUpgradable()
2024-11-20T12:57:51.3418188Z [xUnit.net 00:08:13.29] --- End of stack trace from previous location ---
2024-11-20T12:57:51.3419476Z [xUnit.net 00:08:13.29] Output:
2024-11-20T12:57:51.3420760Z [xUnit.net 00:08:13.29] | [0.001s] TestLifetime Information: Starting test RequestWithBody_NotUpgradable at 2024-11-20T12:57:51
2024-11-20T12:57:51.3422115Z [xUnit.net 00:08:13.29] | [0.016s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.3423387Z [xUnit.net 00:08:13.29] | System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
2024-11-20T12:57:51.3424674Z [xUnit.net 00:08:13.29] | at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
2024-11-20T12:57:51.3425970Z [xUnit.net 00:08:13.29] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.RequestWithBody_NotUpgradable() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 52
2024-11-20T12:57:51.3427232Z [xUnit.net 00:08:13.29] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.3428509Z [xUnit.net 00:08:13.29] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.3429785Z [xUnit.net 00:08:13.29] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.3431060Z [xUnit.net 00:08:13.29] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.3945009Z [xUnit.net 00:08:13.34] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.CanSendAndReceieveData [FAIL]
2024-11-20T12:57:51.3947476Z [xUnit.net 00:08:13.34] System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3948858Z [xUnit.net 00:08:13.34] Stack Trace:
2024-11-20T12:57:51.3950666Z [xUnit.net 00:08:13.34] at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3952379Z [xUnit.net 00:08:13.34] at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3954198Z [xUnit.net 00:08:13.34] at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3956021Z [xUnit.net 00:08:13.35] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(102,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.CanSendAndReceieveData()
2024-11-20T12:57:51.3957768Z [xUnit.net 00:08:13.35] --- End of stack trace from previous location ---
2024-11-20T12:57:51.3959366Z [xUnit.net 00:08:13.35] Output:
2024-11-20T12:57:51.3960881Z [xUnit.net 00:08:13.35] | [0.037s] TestLifetime Information: Starting test CanSendAndReceieveData at 2024-11-20T12:57:51
2024-11-20T12:57:51.3962799Z [xUnit.net 00:08:13.35] | [0.044s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.3963862Z [xUnit.net 00:08:13.35] | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.3965836Z [xUnit.net 00:08:13.35] | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.3968615Z [xUnit.net 00:08:13.35] | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.3970141Z [xUnit.net 00:08:13.35] | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.3971888Z [xUnit.net 00:08:13.35] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.CanSendAndReceieveData() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 102
2024-11-20T12:57:51.3973326Z [xUnit.net 00:08:13.35] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.3974767Z [xUnit.net 00:08:13.35] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.3976282Z [xUnit.net 00:08:13.35] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.3977885Z [xUnit.net 00:08:13.35] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.4314233Z [xUnit.net 00:08:13.38] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.Http1_0_Request_UpgradeErrors [FAIL]
2024-11-20T12:57:51.4316103Z [xUnit.net 00:08:13.38] System.InvalidOperationException : The response status code was incorrect: HTTP/1.1 500 Internal Server Error
2024-11-20T12:57:51.4317761Z [xUnit.net 00:08:13.38] Stack Trace:
2024-11-20T12:57:51.4319299Z [xUnit.net 00:08:13.38] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(171,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.Http1_0_Request_UpgradeErrors()
2024-11-20T12:57:51.4320875Z [xUnit.net 00:08:13.38] --- End of stack trace from previous location ---
2024-11-20T12:57:51.4322903Z [xUnit.net 00:08:13.38] Output:
2024-11-20T12:57:51.4324512Z [xUnit.net 00:08:13.38] | [0.002s] TestLifetime Information: Starting test Http1_0_Request_UpgradeErrors at 2024-11-20T12:57:51
2024-11-20T12:57:51.4325971Z [xUnit.net 00:08:13.38] | [0.034s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.4327461Z [xUnit.net 00:08:13.38] | System.InvalidOperationException: The response status code was incorrect: HTTP/1.1 500 Internal Server Error
2024-11-20T12:57:51.4328907Z [xUnit.net 00:08:13.38] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.Http1_0_Request_UpgradeErrors() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 171
2024-11-20T12:57:51.4330337Z [xUnit.net 00:08:13.38] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.4332255Z [xUnit.net 00:08:13.38] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.4335129Z [xUnit.net 00:08:13.38] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.4342116Z [xUnit.net 00:08:13.38] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.4495949Z [xUnit.net 00:08:13.40] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.AttemptCompressionWorks [FAIL]
2024-11-20T12:57:51.4497678Z [xUnit.net 00:08:13.40] System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.4499138Z [xUnit.net 00:08:13.40] Stack Trace:
2024-11-20T12:57:51.4500580Z [xUnit.net 00:08:13.40] at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.4502262Z [xUnit.net 00:08:13.40] at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.4503679Z [xUnit.net 00:08:13.40] at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.4505236Z [xUnit.net 00:08:13.40] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(120,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.AttemptCompressionWorks()
2024-11-20T12:57:51.4506756Z [xUnit.net 00:08:13.40] --- End of stack trace from previous location ---
2024-11-20T12:57:51.4508221Z [xUnit.net 00:08:13.40] Output:
2024-11-20T12:57:51.4509771Z [xUnit.net 00:08:13.40] | [0.003s] TestLifetime Information: Starting test AttemptCompressionWorks at 2024-11-20T12:57:51
2024-11-20T12:57:51.4512422Z [xUnit.net 00:08:13.40] | [0.012s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.4513937Z [xUnit.net 00:08:13.40] | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.4515454Z [xUnit.net 00:08:13.40] | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.4517730Z [xUnit.net 00:08:13.40] | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.4518369Z [xUnit.net 00:08:13.40] | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.4519756Z [xUnit.net 00:08:13.40] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.AttemptCompressionWorks() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 120
2024-11-20T12:57:51.4521509Z [xUnit.net 00:08:13.40] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.4523258Z [xUnit.net 00:08:13.40] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.4524950Z [xUnit.net 00:08:13.40] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.4528088Z [xUnit.net 00:08:13.40] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.4623040Z [xUnit.net 00:08:13.41] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.Http1_0_Request_NotUpgradable [FAIL]
2024-11-20T12:57:51.4624985Z [xUnit.net 00:08:13.41] System.InvalidOperationException : The response status code was incorrect: HTTP/1.1 500 Internal Server Error
2024-11-20T12:57:51.4626473Z [xUnit.net 00:08:13.41] Stack Trace:
2024-11-20T12:57:51.4627992Z [xUnit.net 00:08:13.41] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(151,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.Http1_0_Request_NotUpgradable()
2024-11-20T12:57:51.4629467Z [xUnit.net 00:08:13.41] --- End of stack trace from previous location ---
2024-11-20T12:57:51.4630917Z [xUnit.net 00:08:13.41] Output:
2024-11-20T12:57:51.4632493Z [xUnit.net 00:08:13.41] | [0.004s] TestLifetime Information: Starting test Http1_0_Request_NotUpgradable at 2024-11-20T12:57:51
2024-11-20T12:57:51.4647347Z [xUnit.net 00:08:13.41] | [0.009s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.4648822Z [xUnit.net 00:08:13.41] | System.InvalidOperationException: The response status code was incorrect: HTTP/1.1 500 Internal Server Error
2024-11-20T12:57:51.4650624Z [xUnit.net 00:08:13.42] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.Http1_0_Request_NotUpgradable() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 151
2024-11-20T12:57:51.4652387Z [xUnit.net 00:08:13.42] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.4653897Z [xUnit.net 00:08:13.42] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.4655973Z [xUnit.net 00:08:13.42] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.4657405Z [xUnit.net 00:08:13.42] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:51.4658889Z [xUnit.net 00:08:13.42] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.RequestWithoutBody_Upgradable [PASS]
2024-11-20T12:57:51.4660375Z [xUnit.net 00:08:13.42] Output:
2024-11-20T12:57:51.4662267Z [xUnit.net 00:08:13.42] | [0.003s] TestLifetime Information: Starting test RequestWithoutBody_Upgradable at 2024-11-20T12:57:51
2024-11-20T12:57:51.4852948Z [xUnit.net 00:08:13.44] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.WebReadBeforeUpgrade [FAIL]
2024-11-20T12:57:51.4855330Z [xUnit.net 00:08:13.44] System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.4856747Z [xUnit.net 00:08:13.44] Stack Trace:
2024-11-20T12:57:51.4858184Z [xUnit.net 00:08:13.44] at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.4859632Z [xUnit.net 00:08:13.44] at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.4861098Z [xUnit.net 00:08:13.44] at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.4862747Z [xUnit.net 00:08:13.44] /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs(90,0): at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.WebReadBeforeUpgrade()
2024-11-20T12:57:51.4864222Z [xUnit.net 00:08:13.44] --- End of stack trace from previous location ---
2024-11-20T12:57:51.4865747Z [xUnit.net 00:08:13.44] Output:
2024-11-20T12:57:51.4867213Z [xUnit.net 00:08:13.44] | [0.001s] TestLifetime Information: Starting test WebReadBeforeUpgrade at 2024-11-20T12:57:51
2024-11-20T12:57:51.4868667Z [xUnit.net 00:08:13.44] | [0.011s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:51.4870165Z [xUnit.net 00:08:13.44] | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:51.4871786Z [xUnit.net 00:08:13.44] | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:51.4873167Z [xUnit.net 00:08:13.44] | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:51.4874510Z [xUnit.net 00:08:13.44] | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:51.4875945Z [xUnit.net 00:08:13.44] | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.WebReadBeforeUpgrade() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 90
2024-11-20T12:57:51.4877271Z [xUnit.net 00:08:13.44] | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:51.4878609Z [xUnit.net 00:08:13.44] | --- End of stack trace from previous location ---
2024-11-20T12:57:51.4879929Z [xUnit.net 00:08:13.44] | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:51.4881569Z [xUnit.net 00:08:13.44] | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:52.8259017Z Failed Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.RequestWithBody_NotUpgradable [15 ms]
2024-11-20T12:57:52.8259780Z Error Message:
2024-11-20T12:57:52.8260466Z System.Net.Http.HttpRequestException : Response status code does not indicate success: 500 (Internal Server Error).
2024-11-20T12:57:52.8261114Z Stack Trace:
2024-11-20T12:57:52.8261682Z at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
2024-11-20T12:57:52.8261744Z at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.RequestWithBody_NotUpgradable() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 52
2024-11-20T12:57:52.8261833Z --- End of stack trace from previous location ---
2024-11-20T12:57:52.8262998Z Standard Output Messages:
2024-11-20T12:57:52.8263593Z | [0.001s] TestLifetime Information: Starting test RequestWithBody_NotUpgradable at 2024-11-20T12:57:51
2024-11-20T12:57:52.8263644Z | [0.016s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:52.8263789Z | System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
2024-11-20T12:57:52.8263853Z | at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
2024-11-20T12:57:52.8264010Z | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.RequestWithBody_NotUpgradable() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 52
2024-11-20T12:57:52.8264368Z | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:52.8264419Z | --- End of stack trace from previous location ---
2024-11-20T12:57:52.8264450Z | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:52.8264527Z | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:52.8264558Z
2024-11-20T12:57:52.8264940Z
2024-11-20T12:57:52.8266354Z Failed Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests.CanSendAndReceieveData [6 ms]
2024-11-20T12:57:52.8266851Z Error Message:
2024-11-20T12:57:52.8267468Z System.Net.WebSockets.WebSocketException : The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:52.8268066Z Stack Trace:
2024-11-20T12:57:52.8268691Z at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:52.8268851Z at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:52.8268884Z at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:52.8268915Z at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.CanSendAndReceieveData() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 102
2024-11-20T12:57:52.8268943Z --- End of stack trace from previous location ---
2024-11-20T12:57:52.8269898Z Standard Output Messages:
2024-11-20T12:57:52.8270682Z | [0.037s] TestLifetime Information: Starting test CanSendAndReceieveData at 2024-11-20T12:57:51
2024-11-20T12:57:52.8270753Z | [0.044s] Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsOutOfProcessTests Error: Test threw an exception.
2024-11-20T12:57:52.8270895Z | System.Net.WebSockets.WebSocketException (0x80004005): The server returned status code '500' when status code '101' was expected.
2024-11-20T12:57:52.8270932Z | at System.Net.WebSockets.WebSocketHandle.ValidateResponse(HttpResponseMessage response, String secValue)
2024-11-20T12:57:52.8270963Z | at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken, ClientWebSocketOptions options)
2024-11-20T12:57:52.8270995Z | at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
2024-11-20T12:57:52.8271039Z | at Microsoft.AspNetCore.Server.IIS.FunctionalTests.WebSocketsTests.CanSendAndReceieveData() in /_/src/Servers/IIS/IIS/test/Common.FunctionalTests/WebSocketTests.cs:line 102
2024-11-20T12:57:52.8271070Z | at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass47_0.<<InvokeTestMethodAsync>b__1>d.MoveNext() in /_/src/xunit.execution/Sdk/Frameworks/Runners/TestInvoker.cs:line 259
2024-11-20T12:57:52.8271100Z | --- End of stack trace from previous location ---
2024-11-20T12:57:52.8271183Z | at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1 asyncAction) in /_/src/xunit.execution/Sdk/Frameworks/ExecutionTimer.cs:line 48
2024-11-20T12:57:52.8271217Z | at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
2024-11-20T12:57:52.8271249Z
2024-11-20T12:57:52.8271640Z
Build
https://dev.azure.com/dnceng-public/public/_build/results?buildId=874554&view=results
Metadata
Metadata
Assignees
Labels
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionstest-failure