Added System.Text.Json serialization-based JsonPatch implementation #61313
Build #20250418.18 had test failures
Details
- Failed: 14 (0.49%)
- Passed: 2,851 (99.30%)
- Other: 6 (0.21%)
- Total: 2,871
Annotations
Check failure on line 315 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L315
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.InteractivityTest.CanPersistPrerenderedStateDeclaratively_Server
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: restored
Actual: not restored
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 154
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 86
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass19_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 104
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/d2af8026c1a0469f8ec42b308ff744a7.png'
Encountered browser errors
[2025-04-18T23:31:24Z] [Warning] http://127.0.0.1:45291/subdir/_framework/blazor.web.6kcmzjp9kc.js 0:41180 "[2025-04-18T23:31:24.585Z] Warning: Initializer 'http://127.0.0.1:45291/subdir/BasicTestApp.vpc4xa0l6h.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2025-04-18T23:31:24Z] [Warning] http://127.0.0.1:45291/subdir/_framework/blazor.web.6kcmzjp9kc.js 0:41180 "[2025-04-18T23:31:24.587Z] Warning: Initializer 'http://127.0.0.1:45291/subdir/JSInitializers/Classic/BasicTestApp.j2kfp6tx1s.lib.module.js' will be ignored because multiple runtimes are available. Use 'before(Web|WebAssembly|Server)Start' and 'after(Web|WebAssembly|Server)Started' instead."
[2025-04-18T23:31:24Z] [Info] http://127.0.0.1:45291/subdir/_framework/blazor.web.6kcmzjp9kc.js 0:48822 "[2025-04-18T23:31:24.591Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:45291/subdir/_blazor'."
[2025-04-18T23:31:24Z] [Info] http://127.0.0.1:45291/subdir/_framework/blazor.web.6kcmzjp9kc.js 0:48822 "[2025-04-18T23:31:24.614Z] Information: WebSocket connected to ws://127.0.0.1:45291/subdir/_blazor?id=aPU90dxVlPwYy5uLhoVBGQ."Page content:
<head><meta charset="utf-8">
<base href="/subdir/">
</head>
<body><h1>Persist State Components</h1><strong>Server Persist State Component</strong><!--!--><p>Application state is <span id="server">not restored</span></p><!--!-->
<p>Render mode: <span id="render-mode-server">Server</span></p>
<hr>
<blazor-focus-on-navigate selector="[data-focus-on-navigate]"></blazor-focus-on-navigate>
<script>
// This script must come before blazor.web.js to test that
// the framework does the right thing when an element is already focused.
const elementToFocus = document.querySelector('[data-focus-on-load]');
if (elementToFocus) {
elementToFocus.focus();
}
</script>
<script src="_framework/blazor.web.6kcmzjp9kc.js" autostart="false" suppress-error="BL9992"></script>
<script src="_content/TestContentPackage/counterInterop.js"></script>
<script src="js/circuitContextTest.js"></script>
<script>
// This is called by the Components.WasmMinimal project.
function getQueryParam(key) {
return new URLSearchParams(location.search).get(key);
}
function callBlazorStart() {
function appendHiddenParagraph(id) {
const paragraph = document.createElement('p');
paragraph.id = id;
paragraph.style = 'display: none;';
document.body.appendChild(paragraph);
}
const enableClassicInitializers = sessionStorage.getItem('enable-classic-initializers') === 'true';
const suppressEnhancedNavigation = sessionStorage.getItem('suppress-enhanced-navigation') === 'true';
const blockLoadBootResource = sessionStorage.getItem('block-load-boot-resource') === 'true';
const blockWebassemblySettings = sessionStorage.getItem('block-webassembly-settings') === 'true';
sessionStorage.removeItem('suppress-enhanced-naviga
Raw output
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 132
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 86
at Microsoft.AspNetCore.Components.E2ETests.ServerRenderingTests.InteractivityTest.CanPersistPrerenderedStateDeclaratively_Server() in /home/vsts/work/1/s/src/Components/test/E2ETest/ServerRenderingTests/InteractivityTest.cs:line 1061
at InvokeStub_InteractivityTest.CanPersistPrerenderedStateDeclaratively_Server(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0.<WaitAssertCore>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 86
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass19_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 104
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-async-throw")
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>
(Session info: chrome=135.0.7049.52)
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)
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=135.0.7049.52)
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)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.CircuitTests.ComponentLifecycleMethodThrowsExceptionTerminatesTheCircuit(id: "setparameters-sync-throw")
OpenQA.Selenium.ElementClickInterceptedException : element click intercepted: Element <button id="setparameters-sync-throw">...</button> is not clickable at point (185, 411). Other element would receive the click: <div id="blazor-error-ui" style="display: block;">...</div>
(Session info: chrome=135.0.7049.52)
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)