[XSG] Fix invalid code generation for Setter with OnPlatform without Default - #33681
Build #10.0.40-ci+pr.33681.azdo.1264439 had test failures
Details
- Failed: 6 (0.03%)
- Passed: 18,001 (99.35%)
- Other: 112 (0.62%)
- Total: 18,119
Annotations
Check failure on line 1451 in Build log
azure-pipelines / maui-pr
Build log #L1451
Test suite had 1 failure(s).
Check failure on line 1454 in Build log
azure-pipelines / maui-pr
Build log #L1454
PowerShell exited with code '1'.
Check failure on line 631 in Build log
azure-pipelines / maui-pr
Build log #L631
Test suite had 1 failure(s).
Check failure on line 634 in Build log
azure-pipelines / maui-pr
Build log #L634
PowerShell exited with code '1'.
azure-pipelines / maui-pr
Microsoft.Maui.Controls.Xaml.UnitTests.AB946693+Tests.KeylessResourceThrowsMeaningfulException(inflator: SourceGen)
Assert.NotEmpty() Failure: Collection was empty
Raw output
at Microsoft.Maui.Controls.Xaml.UnitTests.AB946693.Tests.KeylessResourceThrowsMeaningfulException(XamlInflator inflator) in /_/src/Controls/tests/Xaml.UnitTests/Issues/AB946693.rt.xaml.cs:line 42
at InvokeStub_Tests.KeylessResourceThrowsMeaningfulException(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
azure-pipelines / maui-pr
Microsoft.Maui.Controls.Xaml.UnitTests.AB946693+Tests.KeylessResourceThrowsMeaningfulException(inflator: SourceGen)
Assert.NotEmpty() Failure: Collection was empty
Raw output
at Microsoft.Maui.Controls.Xaml.UnitTests.AB946693.Tests.KeylessResourceThrowsMeaningfulException(XamlInflator inflator) in /_/src/Controls/tests/Xaml.UnitTests/Issues/AB946693.rt.xaml.cs:line 42
at InvokeStub_Tests.KeylessResourceThrowsMeaningfulException(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
azure-pipelines / maui-pr
Microsoft.Maui.IntegrationTests.SampleTests.Build(relativeProj: "src\\Controls\\tests\\TestCases.HostApp\\Controls."···, config: "Release")
System.IO.EndOfStreamException : Unable to read beyond the end of the stream.
Raw output
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.ReadDeduplicatedString() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1754
at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildEventArgsFields(Boolean readImportance) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1361
at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildMessageEventArgs() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1055
at Microsoft.Build.Logging.StructuredLogger.BuildEventArgsReader.ReadBuildEventArgs(BinaryLogRecordKind recordKind) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 309
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.SampleTests.Build(String relativeProj, String config) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/SampleTests.cs:line 45
at InvokeStub_SampleTests.Build(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
azure-pipelines / maui-pr
Microsoft.Maui.IntegrationTests.AndroidTemplateTests.RunOnAndroid(id: "maui", framework: "net9.0", config: "Debug", trimMode: null)
System.IO.EndOfStreamException : Unable to read beyond the end of the stream.
Raw output
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.ReadDeduplicatedString() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BuildEventArgsReader.cs:line 1754
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.AndroidTemplateTests.RunOnAndroid(String id, String framework, String config, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AndroidTemplateTests.cs:line 104
at InvokeStub_AndroidTemplateTests.RunOnAndroid(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)