Azure Pipelines / aspnetcore-components-e2e
failed
May 29, 2024 in 1h 33m 27s
Build #20240528.24 had test failures
Details
- Failed: 55 (4.01%)
- Passed: 1,314 (95.91%)
- Other: 1 (0.07%)
- Total: 1,370
Annotations
Check failure on line 1808515 in Build log
azure-pipelines / aspnetcore-components-e2e
Build log #L1808515
Bash exited with code '1'.
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage
Assert.Equal() Failure
↓ (pos 23)
Expected: ···dir/LongPageWithHash/22#test1
Actual: ···dir/LongPageWithHash
↑ (pos 23)
Raw output
at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1755
at InvokeStub_RoutingTest.NavigationManagerNavigateToSameUrlWithParamAndHash_ScrollsToElementOnTheSamePage(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationManagerNavigateToSameUrlWithQueryAndHash_ScrollsToElementOnTheSamePage
Assert.Equal() Failure
↓ (pos 23)
Expected: ···dir/LongPageWithHash?color=green&number=123#test1
Actual: ···dir/LongPageWithHash
↑ (pos 23)
Raw output
at Microsoft.AspNetCore.Components.E2ETest.Tests.RoutingTest.NavigationManagerNavigateToSameUrlWithQueryAndHash_ScrollsToElementOnTheSamePage() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/RoutingTest.cs:line 1739
at InvokeStub_RoutingTest.NavigationManagerNavigateToSameUrlWithQueryAndHash_ScrollsToElementOnTheSamePage(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
azure-pipelines / aspnetcore-components-e2e
Microsoft.AspNetCore.Components.E2ETest.Tests.InteropTest.CanInvokeDotNetMethods
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.NotEmptyException: Assert.NotEmpty() Failure
at Xunit.Assert.NotEmpty(IEnumerable collection) in /_/src/xunit.assert/Asserts/CollectionAsserts.cs:line 502
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass15_0.<Exists>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 70
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/59c9bdeb84b148a2a498dab9717a79a3.png'
Encountered browser errors
[2024-05-29T02:07:44Z] [Info] http://127.0.0.1:44789/subdir/_framework/blazor.webassembly.js 0:45291 "Starting interop invocations."
[2024-05-29T02:07:44Z] [Info] http://127.0.0.1:44789/subdir/js/jsinteroptests.js 6:12 "Invoking void sync methods."
[2024-05-29T02:07:44Z] [Severe] http://127.0.0.1:44789/subdir/_framework/blazor.webassembly.js 0:45313 "crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]\n Unhandled exception rendering component: NullabilityInfoContext_NotSupported\n at System.Reflection.NullabilityInfoContext.EnsureIsSupported()\n at System.Reflection.NullabilityInfoContext.Create(PropertyInfo )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.DeterminePropertyNullability(JsonPropertyInfo , MemberInfo , NullabilityInfoContext )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.PopulatePropertyInfo(JsonPropertyInfo , MemberInfo , JsonConverter , Nullable`1 , NullabilityInfoContext , Boolean , Boolean )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreatePropertyInfo(JsonTypeInfo , Type , MemberInfo , NullabilityInfoContext , JsonSerializerOptions , Boolean , Boolean )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.AddMember(JsonTypeInfo , Type , MemberInfo , NullabilityInfoContext , Boolean , Boolean , PropertyHierarchyResolutionState& )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.AddMembersDeclaredBySuperType(JsonTypeInfo , Type , NullabilityInfoContext , Boolean , PropertyHierarchyResolutionState& )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.PopulateProperties(JsonTypeInfo , NullabilityInfoContext )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateTypeInfoCore(Type , JsonConverter , JsonSerializerOptions )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.CreateJsonTypeInfo(Type , JsonSerializerOptions )\n at System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(Type , JsonSerializerOptions )\n at System.Text.Json.JsonSerializerOptions.GetTypeInfoNoCaching(Type )\n at System.Text.Json.JsonSerializerOptions.CachingContext.CreateCacheEntry(Type type, CachingContext context)\n --- End of stack trace from previous location ---\n at System.Text.Json.JsonSerializerOptions.CachingContext.CacheEntry.GetResult()\n at System.Text.Json.JsonSerializerOptions.CachingContext.GetOrAddTypeInfo(Type , Boolean )\n at System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(Type , Boolean , Nullable`1 , Boolean , Boolean )\n at System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(Type , Boolean )\n at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions , Type )\n at System.Text.Json.JsonSerializer.Deserialize(Utf8JsonReader& , Type , JsonSerializerOptions )\n at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.ParseArguments(JSRuntime , String , String , Type[] )\n at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously(JSRuntime , DotNetInvocationInfo& , IDo
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.Exists(IWebDriver driver, By finder) in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 54
at Microsoft.AspNetCore.Components.E2ETest.Tests.InteropTest.CanInvokeDotNetMethods() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/InteropTest.cs:line 162
at InvokeStub_InteropTest.CanInvokeDotNetMethods(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
at Microsoft.AspNetCore.E2ETesting.WaitAssert.<>c__DisplayClass15_0.<Exists>b__0() in /home/vsts/work/1/s/src/Shared/E2ETesting/WaitAssert.cs:line 70
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.JSRootComponentsTest.CanSupplyComplexParameters
OpenQA.Selenium.BrowserAssertFailedException : Xunit.Sdk.EqualException: Assert.Equal() Failure
Expected: 123
Actual: 1
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/75c21994de54462cb93dc70562063840.png'
Encountered browser errors
[2024-05-29T01:22:13Z] [Severe] http://127.0.0.1:42101/subdir/_framework/blazor.webassembly.js 0:3151 Uncaught Error: System.InvalidOperationException: NullabilityInfoC…otNet(JSRuntime , DotNetInvocationInfo , String )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><!--!-->
<option value="BasicTestApp.DuplicateAttributesComponent">Duplicate attributes</option><!--!-->
<option value="BasicTestApp.DynamicComponentRendering">DynamicComponent rendering</option><!--!-->
<option value="BasicTestApp.ElementFocusComponent">Element focus component</option><!--!-->
<option value="BasicTestApp.ElementRefComponent">Element ref component</option><!--!-->
<option value="BasicTestApp.ErrorComponent">Error throwing</option><!--!-->
<option value="BasicTestApp.ErrorBo
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.JSRootComponentsTest.CanSupplyComplexParameters() in /home/vsts/work/1/s/src/Components/test/E2ETest/Tests/JSRootComponentsTest.cs:line 117
at InvokeStub_JSRootComponentsTest.CanSupplyComplexParameters(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