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

chore: Inspectable WebView not applied correctly (backport #18199) #18209

Merged

chore: fix CI adding full namespace to function

eb3d8ba
Select commit
Loading
Failed to load commit list.
Merged

chore: Inspectable WebView not applied correctly (backport #18199) #18209

chore: fix CI adding full namespace to function
eb3d8ba
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI succeeded Sep 17, 2024 in 1h 19m 47s

Build #5.5.0-PullRequest-18209-140110-18209.43 had test failures

Details

Tests

  • Failed: 763 (0.71%)
  • Passed: 98,440 (91.22%)
  • Other: 8,715 (8.08%)
  • Total: 107,918

Annotations

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

Build log #L9

Failed to download or parse releases-index.json with error: Request timeout: /dotnet/release-metadata/releases-index.json

Check failure on line 1 in ValidateDynamicOverflowOnOff()

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

ValidateDynamicOverflowOnOff()

System.TimeoutException: Timed out waiting for event to fire
   at Microsoft.UI.Xaml.Tests.Enterprise.Event.WaitForDefault(Int32 timeout, CancellationToken ct)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.CloseCommandBar(CommandBar cmdBar)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowWorker(CommandBar cmdBar, Boolean isPrimaryCommandMovedToOverflow, Int32 numButtonsToAddExtraToPrimary, Int32 numButtonsToAddToSecondary, Boolean isSetOrder)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowOnOff()
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()

Check failure on line 1 in ValidateDynamicOverflowOrderBasic()

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

ValidateDynamicOverflowOrderBasic()

System.TimeoutException: Timed out waiting for event to fire
   at Microsoft.UI.Xaml.Tests.Enterprise.Event.WaitForDefault(Int32 timeout, CancellationToken ct)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.CloseCommandBar(CommandBar cmdBar)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowWorker(CommandBar cmdBar, Boolean isPrimaryCommandMovedToOverflow, Int32 numButtonsToAddExtraToPrimary, Int32 numButtonsToAddToSecondary, Boolean isSetOrder)
   at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowOrderBasic()
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()

Check failure on line 1 in SamplesApp.UITests.Windows_ApplicationModel_Resources.ResourceLoader_Simple.ValidateResourceLoader_Simple

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

SamplesApp.UITests.Windows_ApplicationModel_Resources.ResourceLoader_Simple.ValidateResourceLoader_Simple

System.Exception : Error while performing WaitForElement(All().Marked("sampleControl"), "Timed out waiting for element...", 00:00:05, null, null)
  ----> System.TimeoutException : Timed out waiting for element...
TearDown : System.Exception : Error while performing Invoke("GetScreenshot", "0")
  ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
  ----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   at Xamarin.UITest.Android.AndroidApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Xamarin.XamarinApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 472
   at SamplesApp.UITests.Windows_ApplicationModel_Resources.ResourceLoader_Simple.ValidateResourceLoader_Simple() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_ApplicationModel_Resources/ResourceLoader_Simple.cs:line 20

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitForAny[T](Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.Android.AndroidApp.<>c__DisplayClass80_0.<WaitForElement>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--TearDown
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   at Xamarin.UITest.Android.AndroidApp.Invoke(String methodName, Object argument)
   at Uno.UITest.Xamarin.XamarinApp.Invoke(String methodName, Object argument)
   at Uno.UITest.Helpers.BackdoorInvocationHelper.InvokeGeneric(IApp app, String methodName, Object arg1)
   at SamplesApp.UITests.Extensions.AppExtensions.GetInAppScreenshot(IApp app) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Extensions/AppExtensions.cs:line 61
   at SamplesApp.UITests.SampleControlUITestBase.GetNativeScreenshot(String title) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 347
   at SamplesApp.UITests.SampleControlUITestBase.TakeScreenshot(String stepName, ScreenshotOptions options) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 307
   at SamplesApp.UITests.SampleControlUITestBase.TakeScreenshot(String stepName, Nullable`1 ignoreInSnapshotCompare) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 288
   at SamplesApp.UITests.SampleControlUITestBase.AfterEachTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 234

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--HttpRequestException
   at Xamarin.UITest.Shared.Http.HttpClient.SendData(String endpoint, String method, HttpContent content, ExceptionPolicy exceptionPolicy, Nullable`1 timeOut)
   at Xamarin.UITest.Shared.Http.HttpClient.Post(String endpoint, Object arguments, ExceptionPolicy exceptionPolicy, Nullable`1 timeOut)
   at Xamarin.UITest.Android.AndroidGestures.Invoke(String methodName, Object[] arguments)
   at Xamarin.UITest.Android.AndroidApp.<>c__DisplayClass88_0.<Invoke>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--HttpIOException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)

Check failure on line 1 in When_Image_Is_Monochromatic()

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

When_Image_Is_Monochromatic()

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Center
center:
0,0: expected: FFFF0000 | actual: [50,75] FF0000FF
	a tolerance of 255 [Exclusive] would be required for this test to pass.
	Current: No color tolerance

Top-left
top-left:
0,0: expected: FFFF0000 | actual: [0,0] FF0000FF
	a tolerance of 255 [Exclusive] would be required for this test to pass.
	Current: No color tolerance

Top-right
top-right:
0,0: expected: FFFF0000 | actual: [99,0] FF0000FF
	a tolerance of 255 [Exclusive] would be required for this test to pass.
	Current: No color tolerance

Bottom-left
bottom-left:
0,0: expected: FFFF0000 | actual: [0,149] FF0000FF
	a tolerance of 255 [Exclusive] would be required for this test to pass.
	Current: No color tolerance

Bottom-right
bottom-right:
0,0: expected: FFFF0000 | actual: [99,149] FF0000FF
	a tolerance of 255 [Exclusive] would be required for this test to pass.
	Current: No color tolerance


   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
   at FluentAssertions.Execution.AssertionScope.Dispose()
   at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasPixels(RawBitmap actual, ExpectedPixels[] expectations)
   at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_Image.When_Image_Is_Monochromatic()
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()