Use System.Threading.Lock in Kestrel #57236
Build #20240918.21 had test failures
Details
- Failed: 13 (0.92%)
- Passed: 1,394 (99.01%)
- Other: 1 (0.07%)
- Total: 1,408
Annotations
Check failure on line 334 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L334
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit
OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="dispose-throw">...</button> is not clickable at point (476, 430). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=128.0.6613.137)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Click()
at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 73
at InvokeStub_CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Check failure on line 1 in Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.IsStarted
OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:40549/session/c61a8c0a81339ba778738369bbeaa324/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
Raw output
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.Navigator.GoToUrlAsync(String url)
at OpenQA.Selenium.Navigator.<>c__DisplayClass6_0.<<GoToUrl>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at OpenQA.Selenium.Navigator.GoToUrl(String url)
at Microsoft.AspNetCore.Components.E2ETest.WebDriverExtensions.Navigate(IWebDriver browser, Uri baseUri, String relativeUrl) in /home/vsts/work/1/s/src/Components/test/E2ETest/Infrastructure/WebDriverExtensions/WebDriverExtensions.cs:line 14
at Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerTestBase`1.Navigate(String relativeUrl) in /home/vsts/work/1/s/src/Components/test/E2ETest/Infrastructure/ServerTestBase.cs:line 31
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.InitializeAsyncCore() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs:line 26
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync(String isolationContext) in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 65
at Microsoft.AspNetCore.E2ETesting.BrowserTestBase.InitializeAsync() in /home/vsts/work/1/s/src/Shared/E2ETesting/BrowserTestBase.cs:line 59
----- 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.ExecuteAsync(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 -----
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation
OpenQA.Selenium.NoAlertPresentException : no such alert
(Session info: chrome=128.0.6613.137)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.TargetLocator.Alert()
at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationLock_CanBlockExternalNavigation() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1104
at InvokeStub_RoutingTest.NavigationLock_CanBlockExternalNavigation(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-async-throw")
OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="afterrender-async-throw">...</button> is not clickable at point (189, 430). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=128.0.6613.137)
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.WebElement.Click()
at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 51
at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)