Skip to content

Intermittent failure to connect to chrome tabs on test bots #94886

@annagrin

Description

@annagrin

Part of issues causing web_tool_tests bot failures. See parent issue: #93256

From build https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_tool_tests/4272/overview

01:36 +3 -1: test/web.shard/vm_service_web_test.dart: Clients of flutter run on web with DDS enabled can validate flutter version in parallel [E]                                                      
  Exception: Received app.stop event while waiting for app.started event
  
  [+1795 ms] FormatException: Unexpected character (at character 1)
         <html>
         ^

         #0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1405:5)
         #1      _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1272:9)
         #2      _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:937:22)
         #3      _parseJson (dart:convert-patch/convert_patch.dart:40:10)
         #4      JsonDecoder.convert (dart:convert/json.dart:612:36)
         #5      JsonCodec.decode (dart:convert/json.dart:216:41)
         #6      jsonDecode (dart:convert/json.dart:155:10)
         #7      ChromeConnection.getTabs (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:44:10)
         <asynchronous suspension>
         #8      ChromeConnection.getTab (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:57:25)
         <asynchronous suspension>
         #9      ChromiumLauncher._connect (package:flutter_tools/src/web/chrome.dart:401:9)
         <asynchronous suspension>
         #10     ChromiumDevice.startApp (package:flutter_tools/src/web/web_device.dart:134:17)
         <asynchronous suspension>
         #11     ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:307:9)
         <asynchronous suspension>
         #12     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
         <asynchronous suspension>

  Unable to connect to Chrome debug port: 40881

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: 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