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

mlaunch error missed when analyzing crash #887

Closed
Tracked by #9136
premun opened this issue May 17, 2022 · 1 comment
Closed
Tracked by #9136

mlaunch error missed when analyzing crash #887

premun opened this issue May 17, 2022 · 1 comment
Assignees
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug

Comments

@premun
Copy link
Member

premun commented May 17, 2022

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)

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:

["error HE0042: Could not launch the app"] =

@premun
Copy link
Member Author

premun commented May 27, 2022

This was rather an older version of XHarness and not a bug

@premun premun closed this as completed May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug
Projects
None yet
Development

No branches or pull requests

1 participant