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: Add a fast path for GetValue #13848

Closed
wants to merge 1 commit into from

perf: Add a fast path for GetValue

9643610
Select commit
Loading
Failed to load commit list.
Closed

perf: Add a fast path for GetValue #13848

perf: Add a fast path for GetValue
9643610
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI failed Feb 13, 2024 in 29m 51s

Build #5.2.0-PullRequest-13848-112401-13848.626 had test failures

Details

Tests

  • Failed: 1,208 (1.28%)
  • Passed: 87,580 (93.03%)
  • Other: 5,354 (5.69%)
  • Total: 94,142

Annotations

Check failure on line 4616 in Build log

See this annotation in the file changed.

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

Build log #L4616

System.Exception: Some tests in the test run did not pass, failing the task.

Check failure on line 4499 in Build log

See this annotation in the file changed.

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

Build log #L4499

System.Exception: Some tests in the test run did not pass, failing the task.

Check failure on line 56751 in Build log

See this annotation in the file changed.

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

Build log #L56751

UNOBLD001: mini-generic-sharing.c:XXX assertion reached (***/issues/8167)

Check failure on line 3675 in Build log

See this annotation in the file changed.

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

Build log #L3675

UNOBLD001: mini-generic-sharing.c:XXX assertion reached (***/issues/8167)

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 WaitFor([unknown], "Timed out waiting...", 00:00:30, 00:00:00.0500000, null)
  ----> System.TimeoutException : Timed out waiting...
TearDown : System.Exception : Error while performing Screenshot("GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector_GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector_-_Tear_down_on_error")
  ----> System.Net.Http.HttpRequestException : Connection refused (127.0.0.1:37265)
  ----> System.Net.Sockets.SocketException : Connection refused
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) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 457
   at SamplesApp.UITests.Snap.Generated_Uno_UI_Samples_009.GridView_Uno_UI_Samples_Content_UITests_GridView_GridViewVariableItemHeightFromSelector() in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Uno.Samples.UITest.Generator/Uno.Samples.UITest.Generator.SnapShotTestGenerator/Generated_Uno_UI_Samples_009.cs:line 16
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--TimeoutException
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
   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.SampleControlUITestBase.TakeScreenshot(String stepName, ScreenshotOptions options) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 274
   at SamplesApp.UITests.SampleControlUITestBase.AfterEachTest() in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 214
   at InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--HttpRequestException
   at Xamarin.UITest.Shared.Http.HttpClient.GetBinaryFile(String endpoint, String fileName, String queryString, ExceptionPolicy exceptionPolicy)
   at Xamarin.UITest.Shared.Screenshots.HttpScreenshotTaker.Screenshot(String title)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass62_0.<Screenshot>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--SocketException
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.ListView_ObservableCollection_Creation_Count

See this annotation in the file changed.

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

SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.ListView_ObservableCollection_Creation_Count

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 Screenshot("ListView_ObservableCollection_Creation_Count_ListView_ObservableCollection_Creation_Count_-_Tear_down_on_error")
  ----> System.Net.Http.HttpRequestException : Connection refused (127.0.0.1:37265)
  ----> System.Net.Sockets.SocketException : Connection refused
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
   at Xamarin.UITest.iOS.iOSApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Xamarin.XamarinApp.WaitFor(Func`1 predicate, 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 /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 457
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.ListView_ObservableCollection_Creation_Count() in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs:line 460
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
   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 Xamarin.UITest.iOS.iOSApp.Screenshot(String title)
   at Uno.UITest.Xamarin.XamarinApp.Screenshot(String title)
   at SamplesApp.UITests.SampleControlUITestBase.GetNativeScreenshot(String title) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 325
   at SamplesApp.UITests.SampleControlUITestBase.TakeScreenshot(String stepName, ScreenshotOptions options) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 281
   at SamplesApp.UITests.SampleControlUITestBase.TakeScreenshot(String stepName, Nullable`1 ignoreInSnapshotCompare) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 265
   at SamplesApp.UITests.SampleControlUITestBase.AfterEachTest() in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 214
   at InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--HttpRequestException
   at Xamarin.UITest.Shared.Http.HttpClient.GetBinaryFile(String endpoint, String fileName, String queryString, ExceptionPolicy exceptionPolicy)
   at Xamarin.UITest.Shared.Screenshots.HttpScreenshotTaker.Screenshot(String title)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass62_0.<Screenshot>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--SocketException
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_SingleSelectionWithoutItemClick_Then_PointersEvents

See this annotation in the file changed.

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

SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_SingleSelectionWithoutItemClick_Then_PointersEvents

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 Screenshot("When_SingleSelectionWithoutItemClick_Then_PointersEvents_When_SingleSelectionWithoutItemClick_Then_PointersEvents_-_Tear_down_on_error")
  ----> System.Net.Http.HttpRequestException : Connection refused (127.0.0.1:37265)
  ----> System.Net.Sockets.SocketException : Connection refused
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) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 457
   at SamplesApp.UITests.SampleControlUITestBase.RunAsync(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 434
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.RunTest(String test, Boolean clicked) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/Selection_Pointers.cs:line 57
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--TimeoutException
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
   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.SampleControlUITestBase.TakeScreenshot(String stepName, ScreenshotOptions options) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 274
   at SamplesApp.UITests.SampleControlUITestBase.TakeScreenshot(String stepName, Nullable`1 ignoreInSnapshotCompare) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 265
   at SamplesApp.UITests.SampleControlUITestBase.AfterEachTest() in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 214
   at InvokeStub_SampleControlUITestBase.AfterEachTest(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
--HttpRequestException
   at Xamarin.UITest.Shared.Http.HttpClient.GetBinaryFile(String endpoint, String fileName, String queryString, ExceptionPolicy exceptionPolicy)
   at Xamarin.UITest.Shared.Screenshots.HttpScreenshotTaker.Screenshot(String title)
   at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass62_0.<Screenshot>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
--SocketException
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Check failure on line 1 in When_MediaPlayerElement_SetSource_Check_Play()

See this annotation in the file changed.

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

When_MediaPlayerElement_SetSource_Check_Play()

Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Timed out waiting for condition to be met. Timeout waiting for the playback session state changing to Play.
   at Private.Infrastructure.TestServices.WindowHelper.WaitFor(Func`1 condition, Int32 timeoutMS, String message, String callerMemberName, Int32 lineNumber) in C:\a\1\s\src\Uno.UI.RuntimeTests\IntegrationTests\common\TestServices.WindowHelper.cs:line 300
   at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_MediaPlayerElement.When_MediaPlayerElement_SetSource_Check_Play() in C:\a\1\s\src\Uno.UI.RuntimeTests\Tests\Windows_UI_Xaml_Controls\Given_MediaPlayerElement.cs:line 184
   at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|3>d.MoveNext() in C:\a\1\s\src\SamplesApp\SamplesApp.UnitTests.Shared\Controls\UnitTest\UnitTestsControl.cs:line 962