Skip to content

[release/11.0.1xx-preview7] Limit Android modal leak test to Android - #37091

Closed
kubaflo wants to merge 1 commit into
dotnet:release/11.0.1xx-preview7from
kubaflo:kubaflo/preview7-modal-gc-test-stabilization
Closed

[release/11.0.1xx-preview7] Limit Android modal leak test to Android#37091
kubaflo wants to merge 1 commit into
dotnet:release/11.0.1xx-preview7from
kubaflo:kubaflo/preview7-modal-gc-test-stabilization

[release/11.0.1xx-preview7] Limit modal animation leak test to Android

615be70
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Aug 4, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Known Infrastructure Errors

Build Failures

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) Border,BoxView,Brush,Button / Controls (API 30) Border,BoxView,Brush,Button

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) Border,BoxView,Brush,Button / Publish the android_ui_tests_controls_30 test results

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

maui-pr-uitests / WinUI UITests / Controls / Controls Editor,Effects,Essentials,FlyoutPage,Focus,Fonts,Frame,Gestures,GraphicsView / Controls Editor,Effects,Essentials,FlyoutPage,Focus,Fonts,Frame,Gestures,GraphicsView

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

7 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr-uitests] [maui-pr] [maui-pr-devicetests]

Test Failures (103 tests failed)

🔹 [All failing tests from maui-pr]

    Microsoft.Maui.IntegrationTests.BlazorTemplateTest.BuildMauiBlazorWebSolution(framework: "net11.0", config: "Release", additionalDotNetNewParams: "--interactivity Auto --empty --use-program-main", useTrickyProjectName: False, additionalDotNetBuildParams: "TrimMode=partial") [Details] [17.48% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Test985ee3070d32046872509.Web.csproj failed to build. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.BlazorTemplateTest.BuildMauiBlazorWebSolution(String framework, String config, String additionalDotNetNewParams, Boolean useTrickyProjectName, String additionalDotNetBuildParams) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/BlazorTemplateTest.cs:line 104
       at InvokeStub_BlazorTemplateTest.BuildMauiBlazorWebSolution(Object, Span`1)
       at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

🔹 [All failing tests from maui-pr-devicetests]

    ⚠️ 3 failing tests not displayed for this pipeline due to space limitations

    Android crash when Entry has more than 5000 characters [Console] [Details] [Artifacts] [1.89% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Java.Lang.IndexOutOfBoundsException : setSpan (5001 ... 5001) ends beyond length 5000
    CallStack
       at Android.Widget.EditText.SetSelection(Int32)
       at Microsoft.Maui.Platform.EditTextExtensions.SetInputType(EditText, ITextInput)
       at Microsoft.Maui.Platform.EditTextExtensions.UpdateIsPassword(EditText, IEntry)
       at Microsoft.Maui.Handlers.EntryHandler.MapIsPassword(IEntryHandler handler, IEntry entry)
       at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler, IElement )
       at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement)
       at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView)
       at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
       at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0`1.<DispatchAsync>b__0()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.CreateHandlerAsync[THandler](IElement view)
       at Microsoft.Maui.DeviceTests.EntryTests.EntryWithLongTextDoesNotCrash()
    --- End of stack trace from previous location ---
      --- End of managed Java.Lang.IndexOutOfBoundsException stack trace ---
    java.lang.IndexOutOfBoundsException: setSpan (5001 ... 5001) ends beyond length 5000
    	at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
    	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
    	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
    	at androidx.emoji2.text.SpannableBuilder.setSpan(SpannableBuilder.java:136)
    	at android.text.Selection.setSelection(Selection.java:94)
    	at android.text.Selection.setSelection(Selection.java:78)
    	at android.text.Selection.setSelection(Selection.java:153)
    	at android.widget.EditText.setSelection(EditText.java:136)
    	at mono.java.lang.RunnableImplementor.n_run(Native Method)
    	at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
    	at android.os.Handler.handleCallback(Handler.java:942)
    	at android.os.Handler.dispatchMessage(Handler.java:99)
    	at android.os.Looper.loopOnce(Looper.java:201)
    	at android.os.Looper.loop(Looper.java:288)
    	at android.app.ActivityThread.main(ActivityThread.java:7924)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
    
    com.microsoft.maui.controls.devicetests-Signed.WorkItemExecution [Console] [Details] [Artifacts] [76.22% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configurations (2)

    Entry with longer text and short text updates correctly [Console] [Details] [Artifacts] [1.83% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Java.Lang.IndexOutOfBoundsException : setSpan (5001 ... 5001) ends beyond length 5000
    CallStack
       at Android.Widget.EditText.SetSelection(Int32)
       at Microsoft.Maui.Platform.EditTextExtensions.SetInputType(EditText, ITextInput)
       at Microsoft.Maui.Platform.EditTextExtensions.UpdateIsPassword(EditText, IEntry)
       at Microsoft.Maui.Handlers.EntryHandler.MapIsPassword(IEntryHandler handler, IEntry entry)
       at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler, IElement )
       at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement)
       at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView)
       at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
       at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0`1.<DispatchAsync>b__0()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.CreateHandlerAsync[THandler](IElement view)
       at Microsoft.Maui.DeviceTests.EntryTests.EntryWithLongTextAndShortText_UpdatesTextCorrectly()
    --- End of stack trace from previous location ---
      --- End of managed Java.Lang.IndexOutOfBoundsException stack trace ---
    java.lang.IndexOutOfBoundsException: setSpan (5001 ... 5001) ends beyond length 5000
    	at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
    	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
    	at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
    	at androidx.emoji2.text.SpannableBuilder.setSpan(SpannableBuilder.java:136)
    	at android.text.Selection.setSelection(Selection.java:94)
    	at android.text.Selection.setSelection(Selection.java:78)
    	at android.text.Selection.setSelection(Selection.java:153)
    	at android.widget.EditText.setSelection(EditText.java:136)
    	at mono.java.lang.RunnableImplementor.n_run(Native Method)
    	at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
    	at android.os.Handler.handleCallback(Handler.java:942)
    	at android.os.Handler.dispatchMessage(Handler.java:99)
    	at android.os.Looper.loopOnce(Looper.java:201)
    	at android.os.Looper.loop(Looper.java:288)
    	at android.app.ActivityThread.main(ActivityThread.java:7924)
    	at java.lang.reflect.Method.invoke(Native Method)
    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
    

🔹 [All failing tests from maui-pr-uitests]

Was this helpful? Yes No