Skip to content

Linux web_long_running_tests flakes due to malformed response from the FlutterDriver extension #102385

Description

@keyonghan

(part of #97036)

1 flake on web_e2e_tests: 3808

▌02:52:16▐ RUNNING: cd dev/integration_tests/web_e2e_tests; ../../../bin/flutter drive --target=test_driver/image_loading_integration.dart --browser-name=chrome --no-sound-null-safety -d web-server --debug --web-renderer=html
Running "flutter pub get" in web_e2e_tests...                    1,186ms
Launching test_driver/image_loading_integration.dart on Web Server in debug mode...
Waiting for connection from debug service on Web Server...         25.9s
test_driver/image_loading_integration.dart is being served at http://localhost:42165
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow.
Unhandled exception:
DriverError: Received malformed response from the FlutterDriver extension.
Expected a JSON map containing a "response" field and, optionally, an "isError" field, but got Null: null

#0      WebFlutterDriver._createMalformedExtensionResponseError (package:flutter_driver/src/driver/web_driver.dart:109:5)
#1      WebFlutterDriver.sendCommand (package:flutter_driver/src/driver/web_driver.dart:128:15)
<asynchronous suspension>
#2      FlutterDriver.requestData (package:flutter_driver/src/driver/driver.dart:522:39)
<asynchronous suspension>
#3      integrationDriver (package:integration_test/integration_test_driver.dart:76:29)
<asynchronous suspension>
Application finished.

Activity

  1. added
    c: flakeTests that sometimes, but not always, incorrectly pass
    on Apr 25, 2022
  2. yjbanov commented on May 3, 2022

    @yjbanov
    Contributor

    This also looks the same as #102660

  3. yjbanov commented on May 9, 2022

    @yjbanov
    Contributor

    Closing as duplicate

  4. github-actions commented on May 23, 2022

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on May 23, 2022
  6. added
    P0Critical issues such as a build break or regression
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passplatform-webWeb applications specifically

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions