Skip to content

Fix test build: use Controller.CollectionView for NumberOfSections

1f00297
Select commit
Loading
Failed to load commit list.
Open

[iOS] Fix ArgumentOutOfRangeException in ObservableGroupedSource when removing a group from grouped CollectionView #34692

Fix test build: use Controller.CollectionView for NumberOfSections
1f00297
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed May 13, 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 Repository Errors

Known Infrastructure Errors

Build Failures

maui-pr-uitests / Android UITests / Controls (API 30) / Controls (API 30) CollectionView / 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 / macOS UITests / Controls / Controls CollectionView / Publish the mac_ui_tests_controls 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 / macOS UITests / Controls / Controls Layout / Publish the mac_ui_tests_controls 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.

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

Test Failures (19 tests failed)

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

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

    Controls Tests.WorkItemExecution [Console] [Details] [Artifacts] [24.87% 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)

    Controls.DeviceTests-CollectionView.WorkItemExecution [Console] [Details] [Artifacts] [1.13% 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)

    Removing all sections one by one from grouped CollectionView does not crash (Handler2) [Console] [Details] [Artifacts] [100.00% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (4)

    Exception Message
    System.Exception : I can't work with Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2
    CallStack
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.CollectionViewTests.ItemsSourceGroupedRemoveAllSectionsOneByOneDoesNotCrash()
    --- End of stack trace from previous location ---
    Removing first section from grouped CollectionView does not crash (Handler2) [Console] [Details] [Artifacts] [100.00% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (4)

    Exception Message
    System.Exception : I can't work with Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2
    CallStack
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.CollectionViewTests.ItemsSourceGroupedRemoveFirstSectionDoesNotCrash()
    --- End of stack trace from previous location ---
    Removing last section from grouped CollectionView does not crash (Handler2) [Console] [Details] [Artifacts] [100.00% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (4)

    Exception Message
    System.Exception : I can't work with Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2
    CallStack
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d[[Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2, Microsoft.Maui.Controls, Version=10.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=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.Maui.DeviceTests.CollectionViewTests.ItemsSourceGroupedRemoveLastSectionDoesNotCrash()
    --- End of stack trace from previous location ---

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

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

Was this helpful? Yes No