[ios] fix memory leak in SearchBar #16383
Build #8.0.10-ci.net8.29020+pr.16383-sha.b87fff6cc7-azdo.109828 had test failures
Details
- Failed: 5 (0.03%)
- Passed: 18,825 (96.75%)
- Other: 627 (3.22%)
- Total: 19,457
Annotations
Check failure on line 324 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L324
PowerShell exited with code '1'.
Check failure on line 245 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L245
PowerShell exited with code '1'.
Check failure on line 658129 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L658129
PowerShell exited with code '1'.
Check failure on line 325 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L325
PowerShell exited with code '1'.
Check failure on line 1 in BlazorWebViewUsesStartPath
azure-pipelines / MAUI-DeviceTests-public
BlazorWebViewUsesStartPath
System.Exception : Waited 7500ms but couldn't get CoreWebView2.DOMContentLoaded to complete.
Raw output
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.WebViewHelpers.WaitForWebViewReady(WebView2 wv2) in D:\a\1\s\src\BlazorWebView\tests\MauiDeviceTests\WebViewHelpers.Windows.cs:line 53
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.<>c__DisplayClass2_0.<<BlazorWebViewUsesStartPath>b__1>d.MoveNext() in D:\a\1\s\src\BlazorWebView\tests\MauiDeviceTests\Elements\BlazorWebViewTests.cs:line 131
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext() in D:\a\1\s\src\Core\src\Dispatching\DispatcherExtensions.cs:line 88
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext() in D:\a\1\s\src\Core\src\Dispatching\DispatcherExtensions.cs:line 67
--- End of stack trace from previous location ---
at Microsoft.Maui.MauiBlazorWebView.DeviceTests.Elements.BlazorWebViewTests.BlazorWebViewUsesStartPath() in D:\a\1\s\src\BlazorWebView\tests\MauiDeviceTests\Elements\BlazorWebViewTests.cs:line 127
--- End of stack trace from previous location ---
Check failure on line 1 in Handler Does Not Leak(type: typeof(Microsoft.Maui.Controls.WebView))
azure-pipelines / MAUI-DeviceTests-public
Handler Does Not Leak(type: typeof(Microsoft.Maui.Controls.WebView))
Reference to <Microsoft_Maui_Platform_MauiWKWebView: 0x1194e5a00; frame = (0 0; 0 0); backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x600000bd0160>> (type Microsoft.Maui.Platform.MauiWKWebView is still alive.\n\n---- Assertion timed out
Raw output
at Microsoft.Maui.DeviceTests.AssertionExtensions.WaitForGC(WeakReference[] references) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/DeviceTests/AssertionExtensions.cs:line 44
at Microsoft.Maui.DeviceTests.Memory.MemoryTests.HandlerDoesNotLeak(Type type) in /Users/builder/azdo/_work/1/s/src/Controls/tests/DeviceTests/Memory/MemoryTests.cs:line 133
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertEventually(Func`1 assertion, Int32 timeout, Int32 interval, String message) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/DeviceTests/AssertionExtensions.cs:line 266
at Microsoft.Maui.DeviceTests.AssertionExtensions.WaitForGC(WeakReference[] references) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/DeviceTests/AssertionExtensions.cs:line 40
Check failure on line 1 in TitleView Set On Shell Works After Navigation
azure-pipelines / MAUI-DeviceTests-public
TitleView Set On Shell Works After Navigation
System.Runtime.InteropServices.COMException : Error HRESULT E_FAIL has been returned from a call to a COM component.
Raw output
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.Controls.IContentPresenterMethods.set_Content(IObjectReference _obj, Object value)
at Microsoft.UI.Xaml.Controls.ContentPresenter.set_Content(Object value)
at Microsoft.Maui.Platform.StackNavigationManager.OnNavigated(Object sender, NavigationEventArgs e)
at WinRT._EventSource_global__Microsoft_UI_Xaml_Navigation_NavigatedEventHandler.EventState.<GetEventInvoke>b__1_0(Object sender, NavigationEventArgs e)
at ABI.Microsoft.UI.Xaml.Navigation.NavigatedEventHandler.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender, IntPtr e)
--- End of stack trace from previous location ---
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
at ABI.Microsoft.UI.Xaml.Controls.IFrameMethods.GoBack(IObjectReference _obj, NavigationTransitionInfo transitionInfoOverride)
at Microsoft.UI.Xaml.Controls.Frame.GoBack(NavigationTransitionInfo transitionInfoOverride)
at Microsoft.Maui.Platform.StackNavigationManager.NavigateTo(NavigationRequest args)
at Microsoft.Maui.Controls.Handlers.ShellSectionHandler.RequestNavigation(ShellSectionHandler handler, IStackNavigation view, Object arg3)
at Microsoft.Maui.CommandMapper`2.<>c__DisplayClass6_0.<Add>b__0(IElementHandler h, IElement v, Object o)
at Microsoft.Maui.CommandMapper.InvokeCore(String key, IElementHandler viewHandler, IElement virtualView, Object args)
at Microsoft.Maui.CommandMapper.Invoke(IElementHandler viewHandler, IElement virtualView, String property, Object args)
at Microsoft.Maui.Handlers.ElementHandler.Invoke(String command, Object args)
at Microsoft.Maui.Controls.ShellSection.Microsoft.Maui.IStackNavigation.RequestNavigation(NavigationRequest eventArgs)
at Microsoft.Maui.Controls.Handlers.ShellSectionHandler.SyncNavigationStack(Boolean animated, NavigationRequestedEventArgs e)
at Microsoft.Maui.Controls.Handlers.ShellSectionHandler.OnNavigationRequested(Object sender, NavigationRequestedEventArgs e)
at Microsoft.Maui.Controls.ShellSection.InvokeNavigationRequest(NavigationRequestedEventArgs args)
at Microsoft.Maui.Controls.ShellSection.OnPopAsync(Boolean animated)
at Microsoft.Maui.Controls.ShellSection.GoToAsync(ShellNavigationRequest request, ShellRouteParameters queryData, IServiceProvider services, Nullable`1 animate, Boolean isRelativePopping)
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Controls.ShellNavigationManager.GoToAsync(ShellNavigationParameters shellNavigationParameters, ShellNavigationRequest navigationRequest)
at Microsoft.Maui.Controls.ShellSection.NavigationImpl.OnPopAsync(Boolean animated)
at Microsoft.Maui.DeviceTests.ShellTests.<>c__DisplayClass31_0.<<TitleViewSetOnShellWorksAfterNavigation>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass16_1`1.<<CreateHandlerAndAddToWindow>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass30_0`1.<<SetupWindowForTests>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass30_0`1.<<SetupWindowForTests>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dev
azure-pipelines / MAUI-DeviceTests-public
FlyoutHeaderScroll(flyoutHeaderBehavior: Scroll, contentType: \"ShellItems\")
System.TimeoutException : The operation has timed out.
Raw output
at Microsoft.Maui.DeviceTests.ShellTests.ScrollRecyclerViewToBottom(RecyclerView flyoutItems)
at Microsoft.Maui.DeviceTests.ShellTests.ScrollFlyoutToBottom(ShellRenderer shellRenderer)
at Microsoft.Maui.DeviceTests.ShellTests.<>c__DisplayClass7_0.<<FlyoutHeaderScroll>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ShellTests.<>c__DisplayClass10_0.<<RunShellTest>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass28_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Controls.Handlers.Compatibility.ShellRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass0_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Compatibility.ShellRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass0_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Compatibility.ShellRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass28_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Controls.Handlers.Compatibility.ShellRenderer, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ShellTests.RunShellTest(Action`1 action, Func`3 testAction)
at Microsoft.Maui.DeviceTests.ShellTests.FlyoutHeaderScroll(FlyoutHeaderBehavior flyoutHeaderBehavior, String contentType)
--- End of stack trace from previous location ---