flutter/dev/devicelab/lib
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
..
command Devicelab android emulator (#113472) 2023-01-17 22:01:11 +00:00
framework Workaround for Dart VM timeout (#127875) 2023-06-02 17:17:57 +00:00
tasks Improve web benchmarks measurements (#127900) 2023-05-31 02:29:02 +00:00
versions [gallery] roll gallery to 6a8d738c94d0710e229d726729c09fdb5ccaf7ed (#122747) 2023-03-15 21:22:03 +00:00
microbenchmarks.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00