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.46k stars 10.03k forks source link

Retry `E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit` #57551

Open radical opened 2 months ago

radical commented 2 months ago

Failing Test(s)

Error Message

2024-08-27T16:58:38.6016170Z   Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-async-throw") [4 s]
2024-08-27T16:58:38.6026851Z   Error Message:
2024-08-27T16:58:38.6029042Z    OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="setparameters-async-throw">...</button> is not clickable at point (540, 411). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
2024-08-27T16:58:38.6031704Z   (Session info: chrome=128.0.6613.84)

Stacktrace

```text 2024-08-27T16:58:38.6033886Z Stack Trace: 2024-08-27T16:58:38.6036196Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:58:38.6073284Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6073940Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6074372Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6074731Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:58:38.6075210Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:58:38.6075989Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:58:38.6077088Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) ```

Logs

```text 2024-08-27T16:58:38.5963215Z [xUnit.net 00:31:26.93] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-async-throw") [FAIL] 2024-08-27T16:58:38.6016170Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-async-throw") [4 s] 2024-08-27T16:58:38.6026851Z Error Message: 2024-08-27T16:58:38.6029042Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (540, 411). Other element would receive the click:
...
2024-08-27T16:58:38.6031704Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:58:38.6033886Z Stack Trace: 2024-08-27T16:58:38.6036196Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:58:38.6073284Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6073940Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6074372Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:38.6074731Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:58:38.6075210Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:58:38.6075989Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:58:38.6077088Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2024-08-27T16:58:55.0468626Z [xUnit.net 00:31:43.38] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "render-throw") [FAIL] 2024-08-27T16:58:55.0480941Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "render-throw") [4 s] 2024-08-27T16:58:55.0481361Z Error Message: 2024-08-27T16:58:55.0482012Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (117, 431). Other element would receive the click:
...
2024-08-27T16:58:55.0482974Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:58:55.0483144Z Stack Trace: 2024-08-27T16:58:55.0483355Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:58:55.0483662Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:55.0483968Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:55.0484246Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:58:55.0484485Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:58:55.0484850Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:58:55.0485295Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:58:55.0485842Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2024-08-27T16:59:09.3227031Z [xUnit.net 00:31:57.66] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-async-throw") [FAIL] 2024-08-27T16:59:09.3237614Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-async-throw") [4 s] 2024-08-27T16:59:09.3238293Z Error Message: 2024-08-27T16:59:09.3239189Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (189, 430). Other element would receive the click:
...
2024-08-27T16:59:09.3239832Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:59:09.3240096Z Stack Trace: 2024-08-27T16:59:09.3240466Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:59:09.3240860Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:09.3241247Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:09.3241664Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:09.3241991Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:59:09.3242477Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:59:09.3243033Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:59:09.3243480Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2024-08-27T16:59:24.0352642Z [xUnit.net 00:32:12.37] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw") [FAIL] 2024-08-27T16:59:24.0366966Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "afterrender-sync-throw") [4 s] 2024-08-27T16:59:24.0367675Z Error Message: 2024-08-27T16:59:24.0368478Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (405, 431). Other element would receive the click:
...
2024-08-27T16:59:24.0369452Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:59:24.0369732Z Stack Trace: 2024-08-27T16:59:24.0370058Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:59:24.0370450Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:24.0370852Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:24.0371240Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:24.0371557Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:59:24.0372040Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:59:24.0372596Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:59:24.0373245Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2024-08-27T16:59:38.3080461Z [xUnit.net 00:32:26.64] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-sync-throw") [FAIL] 2024-08-27T16:59:38.3105467Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-sync-throw") [4 s] 2024-08-27T16:59:38.3105835Z Error Message: 2024-08-27T16:59:38.3106649Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (185, 411). Other element would receive the click:
...
2024-08-27T16:59:38.3107195Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:59:38.3107346Z Stack Trace: 2024-08-27T16:59:38.3107606Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:59:38.3107915Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:38.3108200Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:38.3108498Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:38.3108735Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:59:38.3109099Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(String id) in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 50 2024-08-27T16:59:38.3109540Z at InvokeStub_CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(Object, Span`1) 2024-08-27T16:59:38.3109900Z at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 2024-08-27T16:59:53.5129035Z [xUnit.net 00:32:41.85] Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit [FAIL] 2024-08-27T16:59:53.6171492Z Failed Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit [4 s] 2024-08-27T16:59:53.6238670Z Error Message: 2024-08-27T16:59:53.6239632Z OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element is not clickable at point (476, 430). Other element would receive the click:
...
2024-08-27T16:59:53.6240904Z (Session info: chrome=128.0.6613.84) 2024-08-27T16:59:53.6241105Z Stack Trace: 2024-08-27T16:59:53.6241678Z at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) 2024-08-27T16:59:53.6242000Z at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:53.6242306Z at OpenQA.Selenium.WebDriver.InternalExecute(String driverCommandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:53.6242602Z at OpenQA.Selenium.WebElement.Execute(String commandToExecute, Dictionary`2 parameters) 2024-08-27T16:59:53.6242824Z at OpenQA.Selenium.WebElement.Click() 2024-08-27T16:59:53.6243207Z at Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/CircuitTests.cs:line 71 2024-08-27T16:59:53.6243644Z at InvokeStub_CircuitTests.ComponentDisposeMethodThrowsExceptionTerminatesTheCircuit(Object, Object, IntPtr*) 2024-08-27T16:59:53.6244161Z at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) ```

Build

SteveSandersonMS commented 2 months ago

@MackinnonBuck Looks like there are 6 E2E tests failing consistently at the moment, including this one:

All of these failed on all four of the most recent main builds, e.g., https://dev.azure.com/dnceng-public/public/_build/results?buildId=791847

Just from the build logs, it seems like they first started failing when this PR was merged: https://github.com/dotnet/aspnetcore/pull/57548. However it doesn't look likely that the PR was responsible because (1) the build checks passed on that PR before it was merged and (2) that PR only changes an unrelated test, not the product code. So it could be something unrelated like an update to Chrome.

I'm totally happy to look into this but don't want to duplicate your work if you already are doing so (since you're assigned here). Can you let me know whether it would be helpful for me to dig into this as well?

SteveSandersonMS commented 2 months ago

Actually because this is blocking all main builds currently, I'll quarantine them: https://github.com/dotnet/aspnetcore/pull/57589

@MackinnonBuck If you track this down to an objective, fixable cause, please feel free to unquarantine them immediately.