Skip to content

Bad state: Invalid DartDevelopmentServiceException JSON error from Linux_android_emu tests causing many flakes #152684

@zanderso

Description

@zanderso

For example from: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_android_emu%20external_textures_integration_test/2527/overview

[2024-08-01 02:41:47.004421] [STDOUT] stdout: [  +14 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0/, connecting to VM service at http://127.0.0.1:45843/hII3gND_jls=/.
[2024-08-01 02:41:48.230663] [STDOUT] stderr: 
[2024-08-01 02:41:48.230740] [STDOUT] stderr: Bad state: Invalid DartDevelopmentServiceException JSON: {error_code: 2, message: Failed to start Dart Development Service}
[2024-08-01 02:41:48.231206] [STDOUT] stderr: #0      new DartDevelopmentServiceException.fromJson (package:flutter_tools/src/base/dds.dart:144:5)

Not sure if it's related, but it looks like this started happening after the API level updated from 34 to 35 in c3fbf3d. cc @camsim99

Since it seems like the error in parsing the dds json is obscuring the actual failure, also cc @bkonyi and @andrewkolos

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: flakeTests that sometimes, but not always, incorrectly passteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions