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

Fix android image loading race condition and improve logging #25870

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Fix android image loading race condition and improve logging

cea2228
Select commit
Loading
Failed to load commit list.
Open

Fix android image loading race condition and improve logging #25870

Fix android image loading race condition and improve logging
cea2228
Select commit
Loading
Failed to load commit list.
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

Tests

  • 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

See this annotation in the file changed.

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

Build log #L630

Bash exited with code '1'.

Check failure on line 4482 in Build log

See this annotation in the file changed.

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

Build log #L4482

Bash exited with code '1'.

Check failure on line 636 in Build log

See this annotation in the file changed.

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

Build log #L636

Bash exited with code '1'.

Check failure on line 1 in ImageWithUndefinedSizeAndWithBackgroundSetRenders

See this annotation in the file changed.

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

ImageWithUndefinedSizeAndWithBackgroundSetRenders

Color #FFFF0000 not found. This is what it looked like:<img>iVBORw0KGgoAAAANSUhEUgAAAvAAAALwCAYAAADxpkF6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA8uSURBVHhe7dbBCcAwAAMxp/vv3ObRJQ4kMF7hzrb3DgAACHj+BwAAAgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AA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QgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AAEIEPAAAhAh4AAAIEfAAABAi4AEAIETAAwBAiIAHAIAQAQ8AACECHgAAQgQ8AACECHgAAAgR8AAAECLgAQAgRMADAECIgAcAgBABDwAAIQIeAABCBDwAAIQIeAAACBHwAAAQIuABACBEwAMAQIiABwCAEAEPAAAhAh4AAEIEPAAAhAh4AAAIEfAAABAi4AEAIETAAwBAiIAHAIAQAQ8AACECHgAA
Raw output
   at Microsoft.Maui.DeviceTests.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 ---