flutter/dev/devicelab/lib/framework
Victoria Ashworth cd18c8c02f
Workaround for Dart VM timeout (#127875)
Workaround solution for: https://github.com/flutter/flutter/issues/121231
See https://github.com/flutter/flutter/issues/120808#issuecomment-1551826299 Error Case 2 for more information.

Sometimes the `ios-deploy` process does not return the logs from the application. We've been unable to figure out why. This is a solution to workaround that by using `idevicesyslog` alongside `ios-deploy` as a backup in getting the log for the Dart VM url. As explained in https://github.com/flutter/flutter/issues/120808#issuecomment-1551826299, when error case 2 happens, the `idevicesyslog` does successfully find the Dart VM.

Also, in the comments of the code it mentions `syslog` is not written on iOS 13+, this was added in response to this issue: https://github.com/flutter/flutter/issues/41133.

However, `idevicesyslog` does in fact work (at least for iOS 16), we use it to collect device logs for our CI tests already: 1dc26f80f0/dev/devicelab/lib/framework/devices.dart (L998-L1006)
2023-06-02 17:17:57 +00:00
..
ab.dart Update collection-fors to prefer final (as per updated prefer_final_in_for_each) (#127511) 2023-05-26 23:34:36 +00:00
apk_utils.dart Manual Roll of Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 (#116635) 2022-12-08 18:03:51 -08:00
browser.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
cocoon.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
devices.dart Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
framework.dart Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
host_agent.dart migrate host agent (#84755) 2021-06-22 12:21:03 -07:00
ios.dart Add native unit tests to iOS and macOS templates (#117147) 2022-12-21 19:10:22 +00:00
metrics_center.dart Use separate metric file names for same tests running on different platforms (#101317) 2022-04-05 09:16:04 -07:00
runner.dart Add --local-web-sdk in devicelab runner to make --ab testing work for web (#123825) 2023-03-31 14:25:00 -07:00
running_processes.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
talkback.dart Migrates android semanitcs integration to integration test (#127128) 2023-05-23 22:33:19 +00:00
task_result.dart Migrate devicelab framework code to null safety. (#86325) 2021-07-13 12:14:50 -07:00
utils.dart Workaround for Dart VM timeout (#127875) 2023-06-02 17:17:57 +00:00