dotnet / dotnet/aspnetcore

Quarantine RedirectionTest.RedirectStreamingEnhancedPostToExternal

Open
#66,869 1 comment 0 reactions 1 assignee Claimed by @ilonatommy View on GitHub
area-blazor test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

## Failing Test(s)

`Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.RedirectStreamingEnhancedPostToExternal`

## Error Message

```text
OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL (localhost/redacted) timed out after 60 seconds.
---- System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
-------- System.TimeoutException : The operation was canceled.
------------ System.Threading.Tasks.TaskCanceledException : The operation was canceled.
---------------- System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
-------------------- System.Net.Sockets.SocketException : Operation canceled
```

## Stacktrace

Stack trace

```text
at OpenQA.Selenium.Remote.HttpCommandExecutor.ExecuteAsync(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.ExecuteAsync(Command commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Window.get_Size()
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeBrowser(String isolationContext) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 91
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /mnt/vss/_work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 78
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.RedirectionTest.InitializeAsync() in /mnt/vss/_work/1/s/src/Components/test/E2ETest/ServerRenderingTests/RedirectionTest.cs:line 29
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.ExecuteAsync(Command commandToExecute)
----- Inner Stack Trace -----
at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at OpenQA.Selenium.Remote.HttpCommandExecutor.DiagnosticsHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
```

## Logs

The failure occurs during `InitializeBrowser` — the Selenium WebDriver HTTP request times out before the test body executes. This is an infrastructure-level flake in the E2E test environment.

## Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1436713

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/26507764708) · sonnet46 11.3M · [◷](https://github.com/search?q=repo%3Adotnet%2Faspnetcore+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Faspnetcore%2Ftest-quarantine%22&type=issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.