[Windows] - Fix InputTransparent layouts losing background color visibility - #30311
.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
-
❌10.0.100-ci+pr.30311.azdo.1513382 / Run Helix Unit Tests / Windows Helix Unit Tests (Debug) / Run Helix Tests - Sometimes the helix SDK uses GetWorkItemsAsync when workitems aren't done processing.
Build Failures
maui-pr-uitests / Android UITests / Controls (API 30) / Controls (API 30) Layout / Controls (API 30) Layout
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]-
❌PowerShell exited with code '1'.
maui-pr-uitests / Android UITests / Controls (API 30) / Controls (API 30) Layout / 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 / Android UITests CoreClr / Controls (API 30) / Controls (API 30) Layout / Controls (API 30) Layout
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]-
❌PowerShell exited with code '1'.
10 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr] [maui-pr-uitests]
Test Failures (9 tests failed)
🔹 [All failing tests from maui-pr]
- Exception Message
System.IO.EndOfStreamException : Unable to read beyond the end of the stream.
- CallStack
at System.IO.BinaryReader.ReadByte() at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadInt32() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1789 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadStringDictionary() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1577 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadTaskItem() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1609 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadTaskItemList() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1710 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadTaskParameterEventArgs() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1139 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildEventArgs(BinaryLogRecordKind recordKind) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 312 at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.Read() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 236 at Microsoft.Build.Logging.StructuredLogger.BinLogReader.ReadRecordsFromDecompressedStream(Stream decompressedStream)+MoveNext() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 350 at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.OutputBuildErrorsFromBinLog(String binLogFilePath, Int32 maxErrors, ITestOutputHelper output) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 46 at Microsoft.Maui.IntegrationTests.DotnetInternal.Build(String projectFile, String config, String target, String framework, IEnumerable`1 properties, String binlogPath, Boolean msbuildWarningsAsErrors, String runtimeIdentifier, String[] warningsToIgnore, ITestOutputHelper output) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs:line 87 at Microsoft.Maui.IntegrationTests.SimpleTemplateTest.BuildsWithSpecialCharacters(String id, String projectName, String expectedId) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SimpleTemplateTest.cs:line 129 at InvokeStub_SimpleTemplateTest.BuildsWithSpecialCharacters(Object, Span`1) at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
❌ Microsoft.Maui.IntegrationTests.SimpleTemplateTest.BuildsWithSpecialCharacters(id: "maui-blazor", projectName: "Project@Symbol", expectedId: "projectsymbol") [Details] [0.57% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
🔹 [All failing tests from maui-pr-uitests]
- Exception Message
The app was expected to be running still, investigate as possible crash TearDown : The app was expected to be running still, investigate as possible crash
- CallStack
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159 at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45 at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)
--TearDown
at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)1) at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)- Exception Message
Assert.That(dropRelativeToLayout!.Value.X > 0 && dropRelativeToLayout!.Value.Y > 0, Is.True) Expected: True But was: False
- CallStack
at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.DropEventCoordinates() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 398
1) at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.DropEventCoordinates() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 398
- Exception Message
VisualTestUtils.VisualTestFailedException : Snapshot different than baseline: BeforeToggleBackgroundColors.png (1.55% difference) If the correct baseline has changed (this isn't a a bug), then update the baseline image. See test attachment or download the build artifacts to get the new snapshot file.
More info: https://aka.ms/visual-test-workflow
- CallStack
at Microsoft.Maui.TestCases.Tests.Issues.Issue17389.ValidateInputTransparentBackgroundColorToggle() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17389.cs:line 59 at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
- Exception Message
VisualTestUtils.VisualTestFailedException : Baseline snapshot not yet created: /Users/cloudtest/vss/_work/1/s/artifacts/bin/Controls.TestCases.iOS.Tests/Release/net10.0/snapshots/ios-26/BeforeToggleBackgroundColors.png Ensure new snapshot is correct: /Users/cloudtest/vss/_work/1/a/Controls.TestCases.Shared.Tests/snapshots-diff/ios-26/BeforeToggleBackgroundColors.png and if it is, push a change to add it to the 'snapshots' directory. See test attachment or download the build artifacts to get the new snapshot file.
More info: https://aka.ms/visual-test-workflow
- CallStack
at Microsoft.Maui.TestCases.Tests.Issues.Issue17389.ValidateInputTransparentBackgroundColorToggle() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue17389.cs:line 59 at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result) at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
❌ Microsoft.Maui.TestCases.Tests.DragAndDropUITests(iOS).DragEventCoordinates [Details] [0.97% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
❌ Microsoft.Maui.TestCases.Tests.DragAndDropUITests(iOS).DropEventCoordinates [Details] [0.97% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
❌ Microsoft.Maui.TestCases.Tests.Issues.Issue17389(Android).ValidateInputTransparentBackgroundColorToggle [Details] [35.71% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configurations (2)
❌ Microsoft.Maui.TestCases.Tests.Issues.Issue17389(iOS).ValidateInputTransparentBackgroundColorToggle [Details] [39.29% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]