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: add support for partial xaml parsing #1298

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

chore: add support for partial xaml parsing

96bcb90
Select commit
Loading
Failed to load commit list.
Open

chore: add support for partial xaml parsing #1298

chore: add support for partial xaml parsing
96bcb90
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno Toolkit - CI failed Dec 3, 2024 in 2h 3m 21s

Build #6.4.0-PullRequest1298.61 had test failures

Details

Tests

  • Failed: 13 (6.44%)
  • Passed: 117 (57.92%)
  • Other: 72 (35.64%)
  • Total: 202

Annotations

Check failure on line 19 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Build log #L19

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 1826 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Build log #L1826

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

Check failure on line 1827 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Build log #L1827

The operation was canceled.

Check failure on line 1 in Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:42999/session/9c22dfd34f3c4b71c752d7aeca7a6876/elements timed out after 60 seconds.
  ----> System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
  ----> System.TimeoutException : The operation was canceled.
  ----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
  ----> System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
  ----> System.Net.Sockets.SocketException : Operation canceled
TearDown : OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:42999/session/9c22dfd34f3c4b71c752d7aeca7a6876/screenshot timed out after 60 seconds.
  ----> System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
  ----> System.TimeoutException : The operation was canceled.
  ----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
  ----> System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
  ----> System.Net.Sockets.SocketException : Operation canceled
Raw output
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElements(String mechanism, String value)
   at OpenQA.Selenium.By.<.ctor>b__11_1(ISearchContext context)
   at OpenQA.Selenium.By.FindElements(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElements(By by)
   at Uno.UITest.Selenium.SeleniumApp.Evaluate(SeleniumAppQuery q)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.Query(Func`2 query)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.Toolkit.UITest.Extensions.QueryExtensions.WaitForElementWithMessage(IApp app, String elementName, String additionalMessage, Nullable`1 timeout) in /__w/1/s/src/Uno.Toolkit.UITest/Extensions/QueryExtensions.cs:line 55
   at Uno.Toolkit.UITest.TestBase.SetUpTest() in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 108
   at InvokeStub_TestBase.SetUpTest(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TaskCanceledException
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
--TimeoutException

--TaskCanceledException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--IOException
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--SocketException

--TearDown
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.GetScreenshot()
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.Screenshot(String title)
   at Uno.Toolkit.UITest.TestBase.GetNativeScreenshot(String title) in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 254
   at Uno.Toolkit.

Check failure on line 1 in Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:39161/session/1855728dd111ccf4b6ff6266c7955666/elements timed out after 60 seconds.
  ----> System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
  ----> System.TimeoutException : The operation was canceled.
  ----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
  ----> System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
  ----> System.Net.Sockets.SocketException : Operation canceled
TearDown : OpenQA.Selenium.WebDriverException : The HTTP request to the remote WebDriver server for URL http://localhost:39161/session/1855728dd111ccf4b6ff6266c7955666/screenshot timed out after 60 seconds.
  ----> System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
  ----> System.TimeoutException : The operation was canceled.
  ----> System.Threading.Tasks.TaskCanceledException : The operation was canceled.
  ----> System.IO.IOException : Unable to read data from the transport connection: Operation canceled.
  ----> System.Net.Sockets.SocketException : Operation canceled
Raw output
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElements(String mechanism, String value)
   at OpenQA.Selenium.By.<.ctor>b__11_1(ISearchContext context)
   at OpenQA.Selenium.By.FindElements(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElements(By by)
   at Uno.UITest.Selenium.SeleniumApp.Evaluate(SeleniumAppQuery q)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.Query(Func`2 query)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.WaitForElement(String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.Toolkit.UITest.Extensions.QueryExtensions.WaitForElementWithMessage(IApp app, String elementName, String additionalMessage, Nullable`1 timeout) in /__w/1/s/src/Uno.Toolkit.UITest/Extensions/QueryExtensions.cs:line 55
   at Uno.Toolkit.UITest.TestBase.SetUpTest() in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 108
   at InvokeStub_TestBase.SetUpTest(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TaskCanceledException
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
--TimeoutException

--TaskCanceledException
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--IOException
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
   at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
   at System.Net.Http.HttpConnection.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
--SocketException

--TearDown
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.GetScreenshot()
   at Uno.UITest.Selenium.SeleniumApp.Uno.UITest.IApp.Screenshot(String title)
   at Uno.Toolkit.UITest.TestBase.GetNativeScreenshot(String title) in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 254
   at Uno.Toolkit.

Check failure on line 1 in Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

System.Exception : Error while performing Query(All().Marked("UnitTestsRootControl").Invoke("GetDependencyPropertyValue", "RunningStateForUITest"))
  ----> System.Exception : Query for All().Marked("UnitTestsRootControl").Invoke("GetDependencyPropertyValue", "RunningStateForUITest") failed with outcome: ERROR
Status: 200
Contents:
{"reason":"java.util.concurrent.TimeoutException","detail":"java.lang.RuntimeException: java.util.concurrent.TimeoutException\n\tat sh.calaba.instrumentationbackend.query.ast.UIQueryASTClassName.evaluateWithViews(UIQueryASTClassName.java:137)\n\tat sh.calaba.instrumentationbackend.query.ast.evaluation.UIQueryEvaluationStep.step(UIQueryEvaluationStep.java:40)\n\tat sh.calaba.instrumentationbackend.query.ast.evaluation.QueryEvaluator.evaluateQueryForPath(QueryEvaluator.java:19)\n\tat sh.calaba.instrumentationbackend.query.ast.UIQueryEvaluator.evaluateQueryForPath(UIQueryEvaluator.java:51)\n\tat sh.calaba.instrumentationbackend.query.ast.UIQueryEvaluator.evaluateQueryWithOptions(UIQueryEvaluator.java:16)\n\tat sh.calaba.instrumentationbackend.query.Query.executeQuery(Query.java:57)\n\tat sh.calaba.instrumentationbackend.actions.HttpServer.serve(HttpServer.java:518)\n\tat sh.calaba.instrumentationbackend.actions.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:487)\n\tat java.lang.Thread.run(Thread.java:764)\nCaused by: java.util.concurrent.TimeoutException\n\tat java.util.concurrent.FutureTask.get(FutureTask.java:206)\n\tat sh.calaba.instrumentationbackend.query.ast.UIQueryASTClassName.evaluateWithViews(UIQueryASTClassName.java:129)\n\t... 8 more\n","outcome":"ERROR"}
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 Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.GetWithRetry[T](String logName, Func`1 getter, Int32 timeoutSeconds) in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/RuntimeTests/RuntimeTestRunner.cs:line 125
   at Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.<>c__DisplayClass4_0.<<RunRuntimeTests>g__IsTestExecutionDone|5>d.MoveNext() in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/RuntimeTests/RuntimeTestRunner.cs:line 41
--- End of stack trace from previous location ---
   at Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests() in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/RuntimeTests/RuntimeTestRunner.cs:line 68
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   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)
--Exception
   at Xamarin.UITest.Android.AndroidGestures.Query[T](AppTypedSelector`1 selector)
   at Xamarin.UITest.Android.AndroidApp.<>c__DisplayClass14_0`1.<Query>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 Uno.Toolkit.UITest.Extensions.QueryExtensions.GetInAppScreenshot(IApp app) in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/Extensions/QueryExtensions.cs:line 118
   at Uno.Toolkit.UITest.TestBase.GetNativeScreenshot(String title) in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 250
   at Uno.Toolkit.UITest.TestBase.TakeScreenshot(String stepName) in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 165
   at Uno.Toolkit.UITest.TestBase.TearDownTest() in /Users/runner/work/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 119
   at InvokeStub_TestBase.TearDownTest(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.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 Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno Toolkit - CI

Uno.Toolkit.UITest.RuntimeTests.RuntimeTestRunner.RunRuntimeTests

System.NullReferenceException : Object reference not set to an instance of an object.
TearDown : System.InvalidOperationException : App must be set before test code runs
Raw output
   at Uno.Toolkit.UITest.Extensions.QueryExtensions.WaitForElementWithMessage(IApp app, String elementName, String additionalMessage, Nullable`1 timeout) in /__w/1/s/src/Uno.Toolkit.UITest/Extensions/QueryExtensions.cs:line 55
   at Uno.Toolkit.UITest.TestBase.SetUpTest() in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 108
   at InvokeStub_TestBase.SetUpTest(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TearDown
   at Uno.Toolkit.UITest.TestBase.TakeScreenshot(String stepName) in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 161
   at Uno.Toolkit.UITest.TestBase.TearDownTest() in /__w/1/s/src/Uno.Toolkit.UITest/TestBase.cs:line 119
   at InvokeStub_TestBase.TearDownTest(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)