[Blazor] Enable websocket compression for Blazor Server and Interactive Server components in Blazor web #53389
Azure Pipelines / aspnetcore-components-e2e
succeeded
Feb 3, 2024 in 48m 37s
Build #20240203.4 had test failures
Details
- Failed: 3 (0.22%)
- Passed: 1,357 (99.71%)
- Other: 1 (0.07%)
- Total: 1,361
Annotations
Check failure on line 18 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L18
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.MouseOverAndMouseOut_CanTrigger
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: mouseover,mouseout,
Actual: mouseover,pointerenter,mouseout,pointerleave,
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/e11d7a4d701f4f8d8110b8898ff0c5d0.png'
Encountered browser errors
[2024-02-03T13:36:42Z] [Info] http://127.0.0.1:45313/subdir/_framework/dotnet.native.9.0.0-preview.2.24101.9.uiyz3jhn3m.js 7:21701 "{\"Buttons\":0,\"Type\":\"mouseover\"}"
[2024-02-03T13:36:42Z] [Info] http://127.0.0.1:45313/subdir/_framework/dotnet.native.9.0.0-preview.2.24101.9.uiyz3jhn3m.js 7:21701 "{\"Buttons\":0,\"Type\":\"pointerenter\"}"
[2024-02-03T13:36:42Z] [Info] http://127.0.0.1:45313/subdir/_framework/dotnet.native.9.0.0-preview.2.24101.9.uiyz3jhn3m.js 7:21701 "{\"Buttons\":0,\"Type\":\"mouseout\"}"
[2024-02-03T13:36:42Z] [Info] http://127.0.0.1:45313/subdir/_framework/dotnet.native.9.0.0-preview.2.24101.9.uiyz3jhn3m.js 7:21701 "{\"Buttons\":0,\"Type\":\"pointerleave\"}"Page content:
<head>
<meta charset="utf-8">
<base href="/subdir/">
<link href="style.css" rel="stylesheet">
<link rel="icon" href="data:,">
<!-- Used by ExternalContentPackage -->
<link href="_content/TestContentPackage/styles.css" rel="stylesheet">
<!-- App bundle that contains a reference to the scoped css bundle created by TestContentPackage -->
<link href="BasicTestApp.styles.css" rel="stylesheet">
<!--!--><!--!--><!--!--><title>Basic test app</title><!--!--><!--!--><!--!--></head>
<body>
<root><div id="test-selector"><!--!-->
Select test:
<select id="test-selector-select"><option value="none">Choose...</option><!--!-->
<option value="BasicTestApp.AddRemoveChildComponents">Add/remove child components</option><!--!-->
<option value="BasicTestApp.AfterRenderInteropComponent">After-render interop component</option><!--!-->
<option value="BasicTestApp.AsyncEventHandlerComponent">Async event handlers</option><!--!-->
<option value="BasicTestApp.AuthTest.AuthRouter">Auth cases</option><!--!-->
<option value="BasicTestApp.AuthTest.CascadingAuthenticationStateParent">Cascading authentication state</option><!--!-->
<option value="BasicTestApp.BindCasesComponent">bind cases</option><!--!-->
<option value="BasicTestApp.CascadingValueTest.CascadingValueSupplier">Cascading values</option><!--!-->
<option value="Components.TestServer.CircuitContextComponent">Circuit context</option><!--!-->
<option value="BasicTestApp.ComponentRefComponent">Component ref component</option><!--!-->
<option value="BasicTestApp.ConcurrentRenderParent">Concurrent rendering</option><!--!-->
<option value="BasicTestApp.ConfigurationComponent">Configuration</option><!--!-->
<option value="BasicTestApp.ConfigureRuntime">Configure runtime</option><!--!-->
<option value="BasicTestApp.ContentEditable">Content-editable</option><!--!-->
<option value="BasicTestApp.CounterComponent">Counter</option><!--!-->
<option value="BasicTestApp.CounterComponentUsingChild">Counter using child component</option><!--!-->
<option value="BasicTestApp.CounterComponentWrapper">Counter wrapped in parent</option><!--!-->
<option value="BasicTestApp.CulturePicker">Culture Picker</option><!--!-->
<option value="BasicTestApp.CustomElementsComponent">Custom elements</option><!--!-->
<option value="BasicTestApp.DataDashComponent">data-* attribute rendering</option><!--!-->
<option value="BasicTestApp.DispatchingComponent">Dispatching to sync context</option><!--!-->
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 129
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.MouseOverAndMouseOut_CanTrigger() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/EventTest.cs:line 84
at InvokeStub_EventTest.MouseOverAndMouseOut_CanTrigger(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.CounterPageCanUseThreads
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEqualException: Assert.NotEqual() Failure
Expected: Not "Current count: 0"
Actual: "Current count: 0"
at Xunit.Assert.NotEqual[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 302
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/6536b94ccd464e95bdbf81850dd5262e.png'
Encountered browser errors
[2024-02-03T13:38:22Z] [Info] http://127.0.0.1:42647/_framework/dotnet.native.9.0.0-preview.2.24101.9.af6k2qyda0.js 7:20879 "System.Exception: We should have thrown here!"
[2024-02-03T13:38:22Z] [Info] http://127.0.0.1:42647/_framework/dotnet.native.9.0.0-preview.2.24101.9.af6k2qyda0.js 7:20879 " at ThreadingApp.Pages.Counter.TestThreads()"
[2024-02-03T13:38:22Z] [Severe] http://127.0.0.1:42647/_framework/blazor.webassembly.js 0:45287 "crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]\n Unhandled exception rendering component: We should have thrown here!\nSystem.Exception: We should have thrown here!\n at ThreadingApp.Pages.Counter.TestThreads()\n at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)\n at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )"Page content:
<head>
<meta charset="utf-8">
<!-- Forcing the device width here so that our automated tests work consistently on mobile browsers. -->
<meta name="viewport" content="width=1024">
<title>Blazor standalone</title>
<base href="/">
</head>
<body>
<app><!--!--><!--!--><!--!--><!--!--><div class="sidebar"><!--!--><div class="top-row pl-4 navbar navbar-dark"><!--!--><a class="navbar-brand" href="">Blazor app</a>
<button class="navbar-toggler"><!--!--><span class="navbar-toggler-icon"></span></button></div><!--!-->
<div><ul class="nav flex-column"><li class="nav-item px-3"><!--!--><a href="" class="nav-link"><!--!--><span class="bi bi-house-door-fill" aria-hidden="true"></span> Home
</a></li><!--!-->
<li class="nav-item px-3"><!--!--><a href="counter" class="nav-link active" aria-current="page"><!--!--><span class="bi bi-plus-square-fill" aria-hidden="true"></span> Counter
</a></li><!--!-->
<li class="nav-item px-3"><!--!--><a href="fetchdata" class="nav-link"><!--!--><span class="bi bi-list-nested" aria-hidden="true"></span> Fetch data
</a></li></ul></div></div><!--!-->
<div class="main"><!--!--><div class="top-row px-4"><a href="http://blazor.net" target="_blank" class="ml-md-auto">About</a></div>
<div class="content px-4"><!--!--><!--!--><h1 tabindex="-1">Counter</h1>
<p>Current count: 0</p><!--!-->
<button class="btn btn-primary">Click me</button><!--!-->
<button class="btn btn-primary" id="TestThreads">Test threads</button></div></div><!--!-->
<!--!--></app>
<div id="blazor-error-ui" style="display: block;">
An unhandled exception has occurred. See browser dev tools for details.
<a href="" class="reload">Reload</a>
<a class="dismiss">\ud83d\uddd9</a>
</div>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script>
(function(){
Blazor.start().then(function () {
window['__aspnetcore__testing__blazor_wasm__started__'] = true;
});
})();
</script>
</body>
---- Assert.NotEqual() Failure
Expected: Not "Current count: 0"
Actual: "Current count: 0"
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 129
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.NotEqual[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 30
at Microsoft.AspNetCore.Components.E2ETest.Tests.ThreadingAppTest.CounterPageCanUseThreads() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/ThreadingAppTest.cs:line 85
at InvokeStub_ThreadingAppTest.CounterPageCanUseThreads(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.ServerExecutionTests.ServerEventTest.MouseOverAndMouseOut_CanTrigger
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: mouseover,mouseout,
Actual: mouseover,pointerenter,mouseout,pointerleave,
at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/xunit.assert/Asserts/EqualityAsserts.cs:line 96
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Screen shot captured at '/home/vsts/work/1/s/src/Components/test/E2ETest/bin/screenshots/b8fd7af31d604294942ee906416935ca.png'
Encountered browser errors
[2024-02-03T13:37:33Z] [Info] http://127.0.0.1:40919/subdir 56:16 "Blazor server-side"
[2024-02-03T13:37:33Z] [Info] http://127.0.0.1:40919/subdir/_framework/blazor.server.js 0:45122 "[2024-02-03T13:37:33.297Z] Information: Normalizing '_blazor' to 'http://127.0.0.1:40919/subdir/_blazor'."
[2024-02-03T13:37:33Z] [Info] http://127.0.0.1:40919/subdir/_framework/blazor.server.js 0:45122 "[2024-02-03T13:37:33.311Z] Information: WebSocket connected to ws://127.0.0.1:40919/subdir/_blazor?id=G0KLD4EOM4iwam1xHbKd9Q."Page content:
<head>
<meta charset="utf-8">
<title>Basic test app</title>
<base href="/subdir/">
<link href="style.css" rel="stylesheet">
<link rel="icon" href="data:,">
<!-- Used by ExternalContentPackage -->
<link href="_content/TestContentPackage/styles.css" rel="stylesheet">
<link href="Components.TestServer.styles.css" rel="stylesheet">
</head>
<body>
<root><!--!--><div id="test-selector"><!--!-->
Select test:
<select id="test-selector-select"><option value="none">Choose...</option><!--!-->
<option value="BasicTestApp.AddRemoveChildComponents">Add/remove child components</option><!--!-->
<option value="BasicTestApp.AfterRenderInteropComponent">After-render interop component</option><!--!-->
<option value="BasicTestApp.AsyncEventHandlerComponent">Async event handlers</option><!--!-->
<option value="BasicTestApp.AuthTest.AuthRouter">Auth cases</option><!--!-->
<option value="BasicTestApp.AuthTest.CascadingAuthenticationStateParent">Cascading authentication state</option><!--!-->
<option value="BasicTestApp.BindCasesComponent">bind cases</option><!--!-->
<option value="BasicTestApp.CascadingValueTest.CascadingValueSupplier">Cascading values</option><!--!-->
<option value="Components.TestServer.CircuitContextComponent, Components.TestServer, Version=42.42.42.42, Culture=neutral, PublicKeyToken=adb9793829ddae60">Circuit context</option><!--!-->
<option value="BasicTestApp.ComponentRefComponent">Component ref component</option><!--!-->
<option value="BasicTestApp.ConcurrentRenderParent">Concurrent rendering</option><!--!-->
<option value="BasicTestApp.ConfigurationComponent">Configuration</option><!--!-->
<option value="BasicTestApp.ConfigureRuntime">Configure runtime</option><!--!-->
<option value="BasicTestApp.ContentEditable">Content-editable</option><!--!-->
<option value="BasicTestApp.CounterComponent">Counter</option><!--!-->
<option value="BasicTestApp.CounterComponentUsingChild">Counter using child component</option><!--!-->
<option value="BasicTestApp.CounterComponentWrapper">Counter wrapped in parent</option><!--!-->
<option value="BasicTestApp.CulturePicker">Culture Picker</option><!--!-->
<option value="BasicTestApp.CustomElementsComponent">Custom elements</option><!--!-->
<option value="BasicTestApp.DataDashComponent">data-* attribute rendering</option><!--!-->
<option value="BasicTestApp.DispatchingComponent">Dispatching to sync context</option><!--!-->
<option value="BasicTestApp.DuplicateAttributesComponent">Duplicate attributes</option><!--!-->
<option value="BasicTestApp.DynamicComponentRendering">DynamicComponent rendering</option><!--!-->
<op
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 129
at Microsoft.AspNetCore.E2ETesting.WaitAssert.WaitAssertCore(IWebDriver driver, Action assertion, TimeSpan timeout) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 83
at Microsoft.AspNetCore.E2ETesting.WaitAssert.Equal[T](IWebDriver driver, T expected, Func`1 actual) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 27
at Microsoft.AspNetCore.Components.E2ETest.Tests.EventTest.MouseOverAndMouseOut_CanTrigger() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/EventTest.cs:line 84
at InvokeStub_EventTest.MouseOverAndMouseOut_CanTrigger(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass18_0`1.<WaitAssertCore>b__0(IWebDriver _) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 101
Loading