Skip to content

Quarantine Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted, and Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading #54754

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
radical opened this issue Mar 25, 2024 · 4 comments · Fixed by #57978
Assignees
Labels
area-blazor Includes: Blazor, Razor Components test-fixed
Milestone

Comments

@radical
Copy link
Member

radical commented Mar 25, 2024

Failing build on update PR for winforms: https://dev.azure.com/dnceng-public/public/_build/results?buildId=616801&view=ms.vss-test-web.build-test-results-tab&runId=15087784&resultId=100834&paneView=debug
.. and on update PR for symreader: https://dev.azure.com/dnceng-public/public/_build/results?buildId=616798&view=ms.vss-test-web.build-test-results-tab

Failing Test(s)

Identical failures:

  • Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted
  • Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading

Error Message

System.AggregateException : One or more errors occurred. (The HTTP request to the remote WebDriver server for URL http://localhost:33561/session/f900be4a97525f882a679553cb2e96bb/element timed out after 60 seconds.) (The HTTP request to the remote WebDriver server for URL http://localhost:33561/session/f900be4a97525f882a679553cb2e96bb/url timed out after 60 seconds.)
---- OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:33561/session/f900be4a97525f882a679553cb2e96bb/element 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
---- OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:33561/session/f900be4a97525f882a679553cb2e96bb/url 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

----- Inner Stack Trace #1 (OpenQA.Selenium.WebDriverException) -----
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElement(String mechanism, String value)
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore[TResult](IWebDriver driver, Func`1 assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 119
   at Microsoft.AspNetCore.E2ETesting.WaitAssert.Exists(IWebDriver driver, By finder) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 54
   at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.Dispose() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs:line 133
   at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource) in /_/src/xunit.execution/Extensions/ReflectionAbstractionExtensions.cs:line 79
----- 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.<SendAsync>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.<>c__DisplayClass33_0.<<Execute>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
----- Inner Stack Trace -----

----- 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 System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
----- Inner Stack Trace -----
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
----- Inner Stack Trace -----

----- Inner Stack Trace #2 (OpenQA.Selenium.WebDriverException) -----
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.set_Url(String value)
   at Microsoft.AspNetCore.Components.E2ETest.WebDriverExtensions.Navigate(IWebDriver browser, Uri baseUri, String relativeUrl, Boolean noReload) in /home/vsts/work/1/s/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs:line 14
   at Mic

Logs


Build

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

@ghost ghost added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Mar 25, 2024
radical added a commit to radical/aspnetcore that referenced this issue Mar 25, 2024
…ted'

- Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted
- Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading

Issue: dotnet#54754
@mkArtakMSFT mkArtakMSFT added area-blazor Includes: Blazor, Razor Components and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Mar 25, 2024
@mkArtakMSFT mkArtakMSFT added this to the 9.0-preview5 milestone Mar 25, 2024
wtgodbe pushed a commit that referenced this issue Mar 26, 2024
…#54755)

* Quarantine 'ThreadingAppTest.HasHeading' and 'ThreadingAppTest.IsStarted'

- Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted
- Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading

Issue: #54754

* Quarantine ThreadingHostedAppTest.{HasHeading,CounterPageCanUseThreads,NavMenuHighlightsCurrentLocation}

Issue: #54761

* fix build
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-preview7, 9.0-rc1 Jul 3, 2024
@mkArtakMSFT mkArtakMSFT modified the milestones: 9.0-rc1, 9.0-rc2 Aug 2, 2024
@amcasey
Copy link
Member

amcasey commented Aug 16, 2024

Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.HasHeading appears to be failing as recently today:

OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:34747/session/a019271988f2cfcd52ca8139329f1439/url 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

@amcasey
Copy link
Member

amcasey commented Aug 16, 2024

Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted appears to also have failed today:

OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:34747/session/a019271988f2cfcd52ca8139329f1439/url 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.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)

@amcasey
Copy link
Member

amcasey commented Aug 16, 2024

@SteveSandersonMS Am I missing something about #54825? Are these recent failures expected/unrelated?

@MackinnonBuck
Copy link
Member

Likely a runtime issue, see dotnet/runtime#106788

@javiercn javiercn assigned MackinnonBuck and unassigned javiercn Aug 22, 2024
halter73 added a commit that referenced this issue Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components test-fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants