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

perf: Don't use multicast delegates for DependencyObjectCollection.VectorChanged #18910

Merged
merged 3 commits into from
Nov 27, 2024

chore: Adjust comment

7c41e28
Select commit
Loading
Failed to load commit list.
Merged

perf: Don't use multicast delegates for DependencyObjectCollection.VectorChanged #18910

chore: Adjust comment
7c41e28
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI failed Nov 27, 2024 in 38m 16s

Build #5.6.0-PullRequest-18910-148488-18910.958 had test failures

Details

Tests

  • Failed: 783 (0.74%)
  • Passed: 95,441 (90.24%)
  • Other: 9,539 (9.02%)
  • Total: 105,763

Annotations

Check failure on line 12122 in Build log

See this annotation in the file changed.

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

Build log #L12122

The Operation will be canceled. The next steps may not contain expected logs.

Check failure on line 1 in When_RenderNotOpaqueContent_Then_ImageNotOpaque()

See this annotation in the file changed.

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

When_RenderNotOpaqueContent_Then_ImageNotOpaque()

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 162
====================
Color at (5,5) is not expected
expected: 80CC0000 #80CC0000
actual  : D9C70C23 #D9C70C23
tolerance : 1
difference: 89
screenshot size: 10x10

   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
   at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
   at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
   at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, Color expectedColor, Byte tolerance, Int32 line)
   at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media_Imaging.Given_RenderTargetBitmap.When_RenderNotOpaqueContent_Then_ImageNotOpaque()
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()

Check failure on line 1 in SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewScrollIntoViewTest

See this annotation in the file changed.

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

SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewScrollIntoViewTest

System.Exception : Error while performing WaitFor([unknown], "Timed out waiting...", 00:00:30, 00:00:00.0500000, null)
  ----> System.TimeoutException : Timed out waiting...
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(Action func, Object[] args, String memberName)
   at SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout)
   at SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewScrollIntoViewTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/obj/Release/net8.0/Uno.Samples.UITest.Generator/Uno.Samples.UITest.Generator.SnapShotTestGenerator/Generated_Uno_UI_Samples_009.cs:line 110
   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.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
--TearDown
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   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.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 InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   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.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 SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewSelection

See this annotation in the file changed.

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

SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewSelection

System.Exception : Error while performing Invoke("RunTest", "Uno.UI.Samples.Content.UITests.GridView.GridViewSelection")
  ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
  ----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
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 SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 481
   at SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewSelection() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/obj/Release/net8.0/Uno.Samples.UITest.Generator/Uno.Samples.UITest.Generator.SnapShotTestGenerator/Generated_Uno_UI_Samples_009.cs:line 48
   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.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--HttpIOException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--TearDown
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   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.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 InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   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.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 SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector

See this annotation in the file changed.

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

SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector

System.Exception : Error while performing Invoke("RunTest", "Uno.UI.Samples.Content.UITests.GridView.GridViewVariableItemHeightFromSelector")
  ----> System.Net.Http.HttpRequestException : An error occurred while sending the request.
  ----> System.Net.Http.HttpIOException : The response ended prematurely. (ResponseEnded)
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 SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 481
   at SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/obj/Release/net8.0/Uno.Samples.UITest.Generator/Uno.Samples.UITest.Generator.SnapShotTestGenerator/Generated_Uno_UI_Samples_009.cs:line 58
   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.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--HttpIOException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--TearDown
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   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.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 InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   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.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--HttpIOException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)