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

Failed Simulator launches+uninstalls are categorized as TIMED_OUT #807

Closed
Tracked by #9136
premun opened this issue Jan 28, 2022 · 0 comments · Fixed by #810
Closed
Tracked by #9136

Failed Simulator launches+uninstalls are categorized as TIMED_OUT #807

premun opened this issue Jan 28, 2022 · 0 comments · Fixed by #810
Assignees
Labels
apple iOS/tvOS/WatchOS/Mac Catalyst area bug

Comments

@premun
Copy link
Member

premun commented Jan 28, 2022

We have seen in CI following behaviour:

[14:02:34] dbug: Xamarin.Hosting: Launching simulator application 'com.apple.iphonesimulator'
[14:07:39] dbug: Killing process 2773 as it was cancelled
[14:07:39] dbug: Killing process 2623 as it was cancelled
[14:07:39] dbug: Killing process 2620 as it was cancelled
[14:07:39] dbug: Process mlaunch exited with 137
[14:07:39] fail: App run has failed. mlaunch exited with 137
[14:07:39] info: Uninstalling the application 'net.dot.HelloiOS' from 'iPhone X (iOS 13.5) - created by XHarness'
[14:07:39] dbug: 
[14:07:39] dbug: Running /Applications/Xcode115.app/Contents/Developer/usr/bin/simctl uninstall 474BFF20-0FE4-4AB4-B9AC-ACEEF17F6B00 net.dot.HelloiOS
[14:07:39] dbug: An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=165):
[14:07:39] dbug: Unable to lookup in current state: Shutdown
[14:07:39] dbug: Process simctl exited with 165
[14:07:39] crit: Failed to uninstall the application - bad simulator state detected!
[14:07:39] dbug: Saving diagnostics data to '/tmp/helix/working/9C3308F5/w/AB5E091A/e/diagnostics.json'
XHarness exit code: 70 (TIMED_OUT)

The app launch times out and then we even fail to uninstall the application. This should probably result in some SIMULATOR_FAILURE and be retried. It could potentially result in APP_LAUNCH_TIMEOUT but never a TIMED_OUT exit code.

Full logs:
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-arcade-refs-pull-8372-merge-265091d970164db68e/HelloiOS/1/console.4c5b92b5.log?sv=2019-07-07&se=2022-02-14T21%3A59%3A29Z&sr=c&sp=rl&sig=9wuLOoRix%2Bzfi9YK5kotTlFiVARTyZFTQEnBfxXe1Ng%3D

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

Successfully merging a pull request may close this issue.

1 participant