Skip to content

bin/tasks/commands_test.dart is flaky #11502

@devoncarew

Description

@devoncarew

The devicelab test bin/tasks/commands_test.dart is flaky. I had thought this was contention over a hard-coded service protocol port, but it's still failing after we switched to using any open port.

flutter drive --use-existing-app http://127.0.0.1:8100/ --keep-app-running --driver test_driver/commands_none_test.dart
drive:stdout: Using device Moto G 4.
drive:stdout: Will connect to already running application instance.
drive:stdout: 00:00 �[32m+0�[0m: (setUpAll)�[0m
drive:stderr: [info ] FlutterDriver: Connecting to Flutter application at http://127.0.0.1:8100/
drive:stderr: [trace] FlutterDriver: Looking for the isolate
drive:stderr: [trace] FlutterDriver: Isolate is not paused. Assuming application is ready.
drive:stderr: [info ] FlutterDriver: Connected to Flutter application.
drive:stdout: 00:00 �[32m+0�[0m: check that we are in normal mode�[0m
drive:stdout: 00:00 �[32m+0�[0m�[31m -1�[0m: check that we are in normal mode �[1m�[31m[E]�[0m�[0m
drive:stdout:   Expected: 'log: paint'
drive:stdout:     Actual: ''
drive:stdout:      Which: is different. Both strings start the same, but the actual value is missing the following trailing characters: log: paint ...
drive:stdout:   
drive:stdout:   package:test                               expect
drive:stdout:   test_driver/commands_none_test.dart 20:5   main.
drive:stdout:   ===== asynchronous gap ===========================
drive:stdout:   dart:async                                 _Completer.completeError
drive:stdout:   test_driver/commands_none_test.dart 22:3   main.
drive:stdout:   ===== asynchronous gap ===========================
drive:stdout:   dart:async                                 _asyncThenWrapperHelper
drive:stdout:   test_driver/commands_none_test.dart 19:53  main.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions