-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#21953Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
All of the test projects are failing to start. Running locally to diagnose.
Successfully connected to service protocol: http://127.0.0.1:64952/
[{"event":"app.progress","params":{"appId":"a92ca3a1-2093-44f3-9d5d-ea48160ca781","id":"1","progressId":null,"message":"Waiting for Flutter test device to report its views...","finished":false}}]
Not listing views?
[ ] SENDING RESPONSE:
[ +2 ms] {type: FlutterViewList, views: []}
[ +53 ms] SENDING RESPONSE:
[ +2 ms] {type: FlutterViewList, views: []}
[ +59 ms] SENDING RESPONSE:
[ +6 ms] {type: FlutterViewList, views: []}
[ +57 ms] SENDING RESPONSE:
[ +4 ms] {type: FlutterViewList, views: []}
[ +59 ms] SENDING RESPONSE:
[ +3 ms] {type: FlutterViewList, views: []}
[ +60 ms] SENDING RESPONSE:
[ +2 ms] {type: FlutterViewList, views: []}
[ +60 ms] SENDING RESPONSE:
[ +1 ms] {type: FlutterViewList, views: []}
[ +62 ms] SENDING RESPONSE:
[ +4 ms] {type: FlutterViewList, views: []}
[ +58 ms] SENDING RESPONSE:
[ +3 ms] {type: FlutterViewList, views: []}
[ +57 ms] SENDING RESPONSE:
No views :(
with diff:
--- a/packages/flutter_tools/lib/src/vmservice.dart
+++ b/packages/flutter_tools/lib/src/vmservice.dart
@@ -732,9 +732,11 @@ extension FlutterVmService on vm_service.VmService {
Duration delay = const Duration(milliseconds: 50),
}) async {
while (true) {
+ globals.logger.printStatus('SENDING RESPONSE:');
final vm_service.Response response = await callMethod(
kListViewsMethod,
);
+ globals.logger.printStatus(response.json.toString());
final List<Object> rawViews = response.json['views'] as List<Object>;
final List<FlutterView> views = <FlutterView>[
for (final Object rawView in rawViews)
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressionengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.