Skip to content

Linux web_tests flakes on Connection refused+timeout #97324

@keyonghan

Description

@keyonghan

part of #97036)
These data is based on Q4 2021 flakes that happened from 10/01/2021 to 01/13/2022

1 flake on Linux web_tests_1: 3181 (happened on 12/26/2021)
1 flake on Linux web_tests_6: 3113 (happened on 12/17/2021)

00:03 +9: test/widgets/constrained_box_test.dart: ConstrainedBox intrinsics - infinite                                                                                                                 [+3168 ms] Serving tests at http://localhost:39033/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A39033%2F1&debug=false
[  +37 ms] Using Chromium 84.0.4147.0 

[  +89 ms] [CHROME]: Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
[   +2 ms] [CHROME]: 
[        ] [CHROME]: DevTools listening on ws://127.0.0.1:37219/devtools/browser/b8d6b95a-1916-4d8b-bb27-347b04bdc46f

00:04 +9: test/widgets/constrained_box_test.dart: ConstrainedBox intrinsics - infinite                                                                                                                 
[+2004 ms] SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 36118
           #0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:682:35)
           #1      _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1817:26)
           #2      RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
           #3      Socket._startConnect (dart:io-patch/socket_patch.dart:2038:22)
           #4      Socket.startConnect (dart:io/socket.dart:792:21)
           #5      _ConnectionTarget.connect (dart:_http/http_impl.dart:2439:18)
           #6      _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2808:12)
           #7      _HttpClient._getConnection (dart:_http/http_impl.dart:2813:12)
           #8      _HttpClient._openUrl (dart:_http/http_impl.dart:2697:12)
           #9      _HttpClient.getUrl (dart:_http/http_impl.dart:2574:48)
           #10     ChromeConnection.getUrl (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:75:33)
           #11     ChromeConnection.getTabs (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:41:26)
           #12     ChromeConnection.getTab (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:57:31)
           <asynchronous suspension>
           #13     ChromiumLauncher._connect (package:flutter_tools/src/web/chrome.dart:401:9)
           <asynchronous suspension>
           #14     BrowserManager.start (package:flutter_tools/src/test/flutter_web_platform.dart:677:29)
           <asynchronous suspension>
           #15     FlutterWebPlatform.load (package:flutter_tools/src/test/flutter_web_platform.dart:463:25)
           <asynchronous suspension>
           #16     Loader.loadFile.<anonymous closure> (package:test_core/src/runner/loader.dart:224:25)
           <asynchronous suspension>
           #17     new LoadSuite.<anonymous closure>.<anonymous closure> (package:test_core/src/runner/load_suite.dart:97:21)
           <asynchronous suspension>

00:05 +9: test/widgets/constrained_box_test.dart: ConstrainedBox intrinsics - infinite                                                                                                                 
00:05 +9 -1: compiling /b/s/w/ir/x/w/flutter/packages/flutter/test/painting/shape_border_test.dart [E]                                                                                                 
  Failed to load "/b/s/w/ir/x/w/flutter/packages/flutter/test/painting/shape_border_test.dart":
  Unable to connect to Chrome debug port: 37219
   SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 36118
  package:flutter_tools/src/base/common.dart 10:3                  throwToolExit
  package:flutter_tools/src/web/chrome.dart 406:9                  ChromiumLauncher._connect
  ===== asynchronous gap ===========================
  package:flutter_tools/src/test/flutter_web_platform.dart 677:29  BrowserManager.start
  ===== asynchronous gap ===========================
  package:flutter_tools/src/test/flutter_web_platform.dart 463:25  FlutterWebPlatform.load
  ===== asynchronous gap ===========================
  package:test_core/src/runner/loader.dart 224:25                  Loader.loadFile.<fn>
  ===== asynchronous gap ===========================
  package:test_core/src/runner/load_suite.dart 97:21               new LoadSuite.<fn>.<fn>

Metadata

Metadata

Assignees

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