Fix android image loading race condition and improve logging #25870
+330
−49
Azure Pipelines / MAUI-DeviceTests-public
succeeded
Nov 15, 2024 in 19m 59s
Build #9.0.10-ci+pr.25870.azdo.128328 had test failures
Details
- Failed: 1 (0.01%)
- Passed: 17,565 (96.04%)
- Other: 724 (3.96%)
- Total: 18,290
Annotations
Check failure on line 630 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L630
Bash exited with code '1'.
Check failure on line 4482 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L4482
Bash exited with code '1'.
Check failure on line 636 in Build log
azure-pipelines / MAUI-DeviceTests-public
Build log #L636
Bash exited with code '1'.
Check failure on line 1 in ImageWithUndefinedSizeAndWithBackgroundSetRenders
azure-pipelines / MAUI-DeviceTests-public
ImageWithUndefinedSizeAndWithBackgroundSetRenders
Color #FFFF0000 not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAAvAAAALwCAYAAADxpkF6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA8uSURBVHhe7dbBCcAwAAMxp/vv3ObRJQ4kMF7hzrb3DgAACHj+BwAAAgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AAEIEPAAAhAh4AAAIEfAAABAi4AEAIETAAwBAiIAHAIAQAQ8AACECHgAAQgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AAEIEPAAAhAh4AAAIEfAAABAi4AEAIETAAwBAiIAHAIAQAQ8AACECHgAAQgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AAEIEPAAAhAh4AAAIEfAAABA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Tests.AssertionExtensions.AssertContainsColor(CanvasBitmap bitmap, Color expectedColor, Func`2 withinRectModifier, Nullable`1 tolerance) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 361
at Microsoft.Maui.DeviceTests.AssertionExtensions.AssertContainsColor(FrameworkElement view, Color expectedColor, IMauiContext mauiContext, Nullable`1 tolerance) in /_/src/TestUtils/src/DeviceTests/AssertionExtensions.Windows.cs:line 371
at Microsoft.Maui.DeviceTests.ImageTests.<>c__DisplayClass1_0.<<ImageWithUndefinedSizeAndWithBackgroundSetRenders>b__0>d.MoveNext() in /_/src/Controls/tests/DeviceTests/Elements/Image/ImageTests.cs:line 47
--- End of stack trace from previous location ---
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext() in /_/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 /_/src/Core/src/Dispatching/DispatcherExtensions.cs:line 67
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ImageTests.ImageWithUndefinedSizeAndWithBackgroundSetRenders() in /_/src/Controls/tests/DeviceTests/Elements/Image/ImageTests.cs:line 43
--- End of stack trace from previous location ---
Loading