You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we analyze mlaunch logs for failures, it seems there are some scenarios where we don't really read all of the logs as we have missed this failed attempt to launch the application:
[13:02:37] dbug: Xamarin.Hosting: Launching net.dot.Microsoft.Bcl.AsyncInterfaces.Tests async on 'tvOS 13.4 (17L255) - Apple TV'
[13:02:38] dbug: error HE0042: Could not launch the app 'net.dot.Microsoft.Bcl.AsyncInterfaces.Tests' on the device 'tvOS 13.4 (17L255) - Apple TV': The request to open "net.dot.Microsoft.Bcl.AsyncInterfaces.Tests" failed.
[13:02:38] dbug: at Xamarin.Hosting.Services.LaunchApplicationInSimulatorInternalAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x00436] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:918
[13:02:38] dbug: at Xamarin.Hosting.Services.LaunchApplicationInSimulatorAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x0038c] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Hosting/Services.cs:975
[13:02:38] dbug: at Xamarin.Launcher.SimController.LaunchAsync (Xamarin.Hosting.SimulatorLaunchConfig config) [0x000de] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/controller-simulator.cs:690
[13:02:38] dbug: at Xamarin.Launcher.Driver.LaunchSimulatorAsync () [0x004b2] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:829
[13:02:38] dbug: at Xamarin.Utils.NSRunLoopExtensions.RunUntilTaskCompletion[T] (Foundation.NSRunLoop this, System.Threading.Tasks.Task`1[TResult] task) [0x00082] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Utils/Extensions.cs:35
[13:02:38] dbug: at Xamarin.Launcher.Driver.Main2 (System.String[] args) [0x00b43] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:462
[13:02:38] dbug: at Xamarin.Launcher.Driver.Main (System.String[] args) [0x0006d] in /Users/builder/azdo/_work/1/s/maccore/tools/mlaunch/Xamarin.Hosting/Xamarin.Launcher/Main.cs:152
[13:02:38] dbug: Process mlaunch exited with 1
[13:02:38] dbug: Test run failed
[13:02:38] dbug: Could not find pid in mtouch output.
[13:02:38] dbug: Test run started but crashed and no test results were reported
[13:02:38] dbug: No crash reports, waiting 30 seconds for the crash report service...
[13:03:09] dbug: Test execution started
[13:03:10] fail: Application test run crashed
No test log file was produced
Check logs for more information
[13:03:10] info: Uninstalling the application 'net.dot.Microsoft.Bcl.AsyncInterfaces.Tests' from 'Apple TV (tvOS 13.4) - created by XHarness'
[13:03:10] dbug:
[13:03:10] dbug: Running /Applications/Xcode115.app/Contents/Developer/usr/bin/simctl uninstall 227DD59A-68AC-44AD-9483-D7090B77E715 net.dot.Microsoft.Bcl.AsyncInterfaces.Tests
[13:03:11] dbug: Process simctl exited with 0
[13:03:11] info: Application 'net.dot.Microsoft.Bcl.AsyncInterfaces.Tests' was uninstalled successfully
[13:03:11] dbug: Saving diagnostics data to '/tmp/helix/working/B75209F4/w/B1C80976/e/diagnostics.json'
XHarness exit code: 80 (APP_CRASH)
When we analyze mlaunch logs for failures, it seems there are some scenarios where we don't really read all of the logs as we have missed this failed attempt to launch the application:
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-68571-merge-111cab088dbf4c6fa6/Microsoft.Bcl.AsyncInterfaces.Tests/1/console.111e9a0b.log?helixlogtype=result
which should be categorized here:
xharness/src/Microsoft.DotNet.XHarness.Apple/ErrorKnowledgeBase.cs
Line 48 in 3cde908
The text was updated successfully, but these errors were encountered: