Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] NullReferenceException for Span GridItemsLayout fix #20492

Merged
merged 2 commits into from
Feb 23, 2024

Added a UiTest (#19803)

a67f6a3
Select commit
Loading
Failed to load commit list.
Merged

[iOS] NullReferenceException for Span GridItemsLayout fix #20492

Added a UiTest (#19803)
a67f6a3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-DeviceTests-public succeeded Feb 21, 2024 in 14m 42s

Build #8.0.10-ci.net8.28372+pr.20492-sha.ccffaa71b0-azdo.107935 had test failures

Details

Tests

  • Failed: 4 (0.02%)
  • Passed: 19,522 (94.98%)
  • Other: 1,027 (5.00%)
  • Total: 20,553

Annotations

Check failure on line 656293 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L656293

PowerShell exited with code '1'.

Check failure on line 303 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L303

Bash exited with code '1'.

Check failure on line 327 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L327

PowerShell exited with code '1'.

Check failure on line 324 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L324

PowerShell exited with code '1'.

Check failure on line 1 in Track Color Updates Correctly

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Track Color Updates Correctly

Color #FFFF0000 not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAADIAAAAoCAYAAAC8cqlMAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALwSURBVGhD7Ze7TxRRFMY/Zlh5iQI+NlBs3JgYJRBaEo2GylhQkxAfiTEW1iR0FmoBf4EWmogNBX+AVkatKImbYCwUhQAhPnABFxEW/L7l7EaC7syaGQq8v+Rm5lzuztxvzrnnHOBwOBwOh2MfUWXXHWwB/jfgvAf0JIBO2k1cWGd/jgQ+c5Ujmwde/wReHAVe8h00/41dQhaBE9XAbY4zFLLpc3DRloYtiQQ+rEqDO/c2OTaANxx3moEPtqQiSkL4UH8J6D8A3KCAagrJR735cqzznRS0sQo8agGe2HRoSkKywBWKuMVQ2pAnbHpPkWckiGLuVyqmIEThVAuMUIQXp4hsb2/LUnd381pbW73smrm53MGJiaXmsbFPhQVE4faDV0bHtVZgans2GMWpvww8rAFOyRs2HynryWRifmAgnUunG2xqB/XT099bh4enEgsLdEjhxPv0ysdG4Cq/dKgE4H0GLlDA6bhEiHIiRC6VapgfHEybCSaYPMM8TTddsqlAPB7qHh1ssyNH4VRORBGJWezrO26mxChjnjUzEI+e6IwzO+lM2G0gy11dh+wWOqv0SruZgXgUcThOIcWDHYa1VKq0VnuimJKwILh2f+DRFVmlPLMjRynWbgOpnZ1lstpGe2IdYBYOhwpQJk4hqhN2G0h9JsNKsI2KI3uwSTMD8ZiuXqnfMTtyVOxUJ8z8K3UzM7mW0dEFM5VG1YONmxmIdwR4TuVv+UNmu3hQsSsnRiLahobeV+XzhaSjvXBPU+yInxYWhKAQUvMsPk3A47hblK/9/cmVjo7GYnbSmVA4yRNFEQpzithaAW4e4wfWXBhKZ6PYNHKsK/XZ9J5iIhJ03QN6Y8SmQ1ESwof4X4DLLMHX6ZXqOFuWP6Guly/Mq42vVITYla3UCVPEPR6Yk2pdiqEWtZf09XVVdqIAn+fiHUXcrSScfmeXECHvMGde5EvOUVQ7F6n6x/KvLj0xyes4+5hnfAcjy+FwOBwOx/8O8Atecuwq5QZOIgAAAABJRU5ErkJggg==</img>
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(CanvasBitmap bitmap, Color expectedColor, Func`2 withinRectModifier, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 352
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(FrameworkElement view, Color expectedColor, IMauiContext mauiContext, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 362
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass16_0.<<ValidateHasColor>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasement.cs:line 203
--- 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.DeviceTests.SwitchHandlerTests.<>c__DisplayClass3_0.<<TrackColorUpdatesCorrectly>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 66
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement`2.<>c__DisplayClass2_0.<<AttachAndRun>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasementOfT.cs:line 37
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>g__Run|46_0[T](Func`1 action) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 269
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 234
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 248
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass8_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.cs:line 156
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.SwitchHandlerTests.TrackColorUpdatesCorrectly() in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 64
--- End of stack trace from previous location ---

Check failure on line 1 in Track Color Initializes Correctly(isToggled: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Track Color Initializes Correctly(isToggled: True)

Color #FFFF0000 not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAADIAAAAoCAYAAAC8cqlMAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAMRSURBVGhD7ZddSxRRGMf/jlqb646bvZi1JsSqRRdhZd1E4LUG0UL0CbrpG0Q3Yh+ivoIhYuCF9xGFSnUT+JYb1cqWmTu+Zq31f8ZnB8TamY0ZITk/GOacM7Nnzn+f5zzPc2AwGAwGg2EfUaX3HfwCrFngIu9Xa4A23hO8DunjUOCH1znnyk9gmveXHcAEx7b0ccXsEvIeOMnZ7rKZrgc2uPrNWqBIQf/8kT9BAdYPoHodOLACxDj5LL/xuBXI6SsV4Qnhv2JNAz2c7Faci24EVi13OHooomoRiK9yDd+BoXPAU30UGE8IXamXC79zDHBoBf5Zew+tU/uVbrwGPKlUjCtkEjhF93l4nHNFKWKuu/v0fHt7s5NIJKRvLy8vH8lmP3eMjs65LxBapGae1qG7PbgAfNRhX6rUpfoOA83iTjoeKmtNTbHxTOZSIZlM6tAO7KWlQtfg4HhdPr8h/QIDCy2zmAbuBw0A1gRwJQa0RiVCKCdCcJLJhrFM5rJ20bDtGc2vges65It1kCG2zrVoNIg7lRNRQsRM9fSc0S5kTdVMAdr1RYSk+aNN7YeO7Alt+vKlpYXbdBtZE9fmCfPDog/WS57QfuiUNnYQHNu2tQlaY4tRlJkgGHx3f2BJmSAZVvuhIyFWm74kHMd7ly5iMVwFDkCSSWcY8+hd0SB5Qpu+NOZyC9p0kyPX9k67vki9M8ZMyn0VDZLsJE9o96/QcoWzIyMz2hVTSP3FCBwMqxN4wSz64ZsbKKJBkl05MSKia2Bg3CoW3dpOEiLXlGfd98x9IQBuifIGSDG09J9gEqZpWJhGw2Rvb3ohlTpaik6yJ8SdxBIlEbJfWf7G6VZ9rLeyMhYEr2icAm5QxG0pGqMUUw4RwQ1lc8cPngeGdTgQnhCpud5SDEuDm3tdxgtSxjssGHkN092HdDgwnpASWgnfo3+mpEzg4UpKBUlOoYqSM4iEWAYa92DF0uITv/GIqZxnu8rZJURQ61zjxJ0UkeYlGZa1ZahsUMgqfVhOhq/agOdcTGRHCIPBYDAYDP8PwG/OXO37MkAUvQAAAABJRU5ErkJggg==</img>
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(CanvasBitmap bitmap, Color expectedColor, Func`2 withinRectModifier, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 352
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(FrameworkElement view, Color expectedColor, IMauiContext mauiContext, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 362
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass16_0.<<ValidateHasColor>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasement.cs:line 203
--- 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.DeviceTests.SwitchHandlerTests.<>c__DisplayClass2_0.<<TrackColorInitializesCorrectly>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 53
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement`2.<>c__DisplayClass2_0.<<AttachAndRun>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasementOfT.cs:line 37
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>g__Run|46_0[T](Func`1 action) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 269
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 234
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 248
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass8_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.cs:line 156
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.SwitchHandlerTests.TrackColorInitializesCorrectly(Boolean isToggled) in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 51
--- End of stack trace from previous location ---

Check failure on line 1 in Track Color Initializes Correctly(isToggled: True)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Track Color Initializes Correctly(isToggled: True)

Color #FFFF0000 not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAADIAAAAoCAYAAAC8cqlMAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALqSURBVGhD7Ze9TxRBGMaf2wUPIUFAIcYrTsTEmMsl1Gi0oDEm9CSoldpoT2gsCAl/gbFQEz9Cwx+glYVWdBSEhEbOEFCDJnyoHCgHPs/y7kZCvN2LtxQ4v2SyM7Pv7s4z886878LhcDgcDscRImPXfewC/ipwxQP6G4EijdrYfXzvbt0o8zurv4CZHeANP/CO36nYvZo5IGQF6D4GPKCIQgNfTIPdsJhJXeDLMmHZ5sRRzOxPYLQdKJlJTURC+EJ/HRiiiLsU0RCKsNupw6XwKahSBh53AM+tOzGRkDXgFkXcpyttUwgn6PDhRz26WgPFPKxVTCBE7tQEvKQIL00R6wMDHd/6+tq2cjl+DsguLW22TE+vt01Ofg0MiFyNLrariT0NzFt3LPJR/zvwlG++4P/DZqtGpaur8dPwcL7c09NiXftoKpU2zoyPf/CXl7kge262xb1C45uc6URj8jgVV7kSF9MSIaqJEJvd3c0fR0bOWhMaC/doD8d23bpi8fhAPx9M1Z2qiQiRmJXBwU5rSswOJ/iSNWPxFCfS3BfaE1aNZaO3t9Wq0JgopmDNWDwan7B6KoQbOwmb+XwUdHX0U0zisdH2aOBxh/OkSw8dsVaNJbu4GNnqGKa/Jx6bApByndRWRnHCqrE0z8xEthoTJ3nWmrHI+C1LakIU7BQnrPlXsgsL5faJiS/WVCzQJE9ZMxbvJDNPRtI5Psh9nw4KdtXESERubKyUqVSC3E5j4ZjmTwGvAoMEBCnKZ+Acj4cXzLUyOi2COymwMjTUuVEstoank/aE3EkrEYrQ3lCKwmzjNoPKnPqSEAgRym2ywD0ljWmKqYZEKGmkiEdcjWfWnYhICF/iM3m8wam6w2jv08+4woeH3Elp/A/gSa0iRCQkxH6sxijkPMuOIqz6671Kmn1d7XTyKOI90/fRWtzpTw4IEVodnoPXWL1MMQUWRdi6/+pSwBrLLMsU/wxfczDcHg6Hw+FwOP53gN+koucqUeGWqwAAAABJRU5ErkJggg==</img>
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(CanvasBitmap bitmap, Color expectedColor, Func`2 withinRectModifier, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 352
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(FrameworkElement view, Color expectedColor, IMauiContext mauiContext, Nullable`1 tolerance) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 362
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass16_0.<<ValidateHasColor>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasement.cs:line 203
--- 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.DeviceTests.SwitchHandlerTests.<>c__DisplayClass2_0.<<TrackColorInitializesCorrectly>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 53
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement`2.<>c__DisplayClass2_0.<<AttachAndRun>b__0>d.MoveNext() in D:\a\1\s\src\Core\tests\DeviceTests.Shared\HandlerTests\HandlerTestBasementOfT.cs:line 37
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>g__Run|46_0[T](Func`1 action) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 269
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 234
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 248
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass8_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.cs:line 156
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.SwitchHandlerTests.TrackColorInitializesCorrectly(Boolean isToggled) in D:\a\1\s\src\Core\tests\DeviceTests\Handlers\Switch\SwitchHandlerTests.cs:line 51
--- End of stack trace from previous location ---

Check failure on line 1 in Microsoft.Maui.Handlers.Memory.MemoryTests.CheckAllocation

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Microsoft.Maui.Handlers.Memory.MemoryTests.CheckAllocation

Test failed