[XSG] Fix invalid code generation for Setter with OnPlatform without Default#33681
Build #10.0.40-ci+pr.33681.azdo.1264611 had test failures
Details
- Failed: 158 (1.24%)
- Passed: 12,448 (97.66%)
- Other: 140 (1.10%)
- Total: 12,746
Annotations
Check failure on line 766 in Build log
azure-pipelines / maui-pr-uitests
Build log #L766
PowerShell exited with code '1'.
Check failure on line 958 in Build log
azure-pipelines / maui-pr-uitests
Build log #L958
PowerShell exited with code '1'.
Check failure on line 7208 in Build log
azure-pipelines / maui-pr-uitests
Build log #L7208
PowerShell exited with code '1'.
Check failure on line 5624 in Build log
azure-pipelines / maui-pr-uitests
Build log #L5624
PowerShell exited with code '1'.
azure-pipelines / maui-pr-uitests
Microsoft.Maui.TestCases.Tests.Issues.Issue24034(Android).ShadowShouldUpdate
VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: ShadowShouldUpdate.png (2.72% 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
Raw output
at VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|11_0(String name, <>c__DisplayClass11_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 401
at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 234
at Microsoft.Maui.TestCases.Tests.Issues.Issue24034.ShadowShouldUpdate() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24034.cs:line 18
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)
azure-pipelines / maui-pr-uitests
Microsoft.Maui.TestCases.Tests.Issues.Issue12134(Android).CookiesCorrectlyLoadWithMultipleWebViews
System.TimeoutException : Failied on: 0
Raw output
at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2590
at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2605
at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 743
at Microsoft.Maui.TestCases.Tests.Issues.Issue12134.CookiesCorrectlyLoadWithMultipleWebViews() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs:line 22
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)
azure-pipelines / maui-pr-uitests
Microsoft.Maui.TestCases.Tests.ScrollViewFeatureTests(Android).VerifyScrollViewWithScrollToPositionStartAndVerticalLayoutContent
OneTimeSetUp: OpenQA.Selenium.UnknownErrorException : An unknown server-side error occurred while processing the command. Original error: Unable to resolve the launchable activity of 'com.microsoft.maui.uitests'. Original error: No activity found
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at UITest.Appium.AppiumLifecycleActions.LaunchApp(IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumLifecycleActions.cs:line 57
at UITest.Appium.AppiumLifecycleActions.Execute(String commandName, IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumLifecycleActions.cs:line 47
at Microsoft.Maui.TestCases.Tests.UITest.Reset() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 125
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 512
at Microsoft.Maui.TestCases.Tests._GalleryUITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_GalleryUITest.cs:line 55
at UITest.Appium.NUnit.UITestBase.OneTimeSetup() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 120
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)
Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue9355(Android).Issue9355Test
azure-pipelines / maui-pr-uitests
Microsoft.Maui.TestCases.Tests.Issues.Issue9355(Android).Issue9355Test
OneTimeSetUp: OpenQA.Selenium.UnknownErrorException : An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command '/usr/local/lib/android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell cmd package resolve-activity --brief com.microsoft.maui.uitests' exited with code 20'; Command output: cmd: Can't find service: package
Raw output
at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
at OpenQA.Selenium.WebDriver.ExecuteAsync(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Appium.AppiumDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Appium.AppiumDriver.ActivateApp(String appId)
at UITest.Appium.AppiumLifecycleActions.LaunchApp(IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumLifecycleActions.cs:line 94
at UITest.Appium.AppiumLifecycleActions.ResetApp(IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumLifecycleActions.cs:line 138
at UITest.Appium.AppiumLifecycleActions.Execute(String commandName, IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumLifecycleActions.cs:line 47
at UITest.Appium.AppiumCommandExecutor.Execute(String commandName, IDictionary`2 parameters) in /_/src/TestUtils/src/UITest.Appium/Actions/AppiumCommandExecutor.cs:line 20
at UITest.Appium.HelperExtensions.ResetApp(IApp app) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 1596
at Microsoft.Maui.TestCases.Tests.UITest.Reset() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 125
at Microsoft.Maui.TestCases.Tests.UITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 512
at UITest.Appium.NUnit.UITestBase.OneTimeSetup() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 120
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)