Skip to content

integration tests failing with "(-32000) Service connection disposed" #155475

@christopherfujino

Description

@christopherfujino

I believe that this is the root cause of #153578, which was that MANY integration tests in the flutter/packages repo were timing out. After I landed #154970, these should no longer time out, and I found https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8736798859005867345/+/u/Run_package_tests/drive_examples/stdout, which from the stacktrace would have timed out before my change.

00:39 +16 ~1 -1: loading /Volumes/Work/s/w/ir/x/w/packages/packages/webview_flutter/webview_flutter_wkwebview/example/integration_test/webview_flutter_test.dart [E]                                   
  ext.flutter.integrationTest: (-32000) Service connection disposed
  package:vm_service/src/vm_service.dart 261:34                      new _OutstandingRequest
  package:vm_service/src/vm_service.dart 1778:25                     VmService._call.<fn>
  package:vm_service/src/vm_service.dart 1790:8                      VmService._call
  package:vm_service/src/vm_service.dart 1729:14                     VmService.callServiceExtension
  package:flutter_tools/src/test/integration_test_device.dart 98:25  IntegrationTestTestDevice.start.<fn>
  dart:async/zone.dart 1422:47                                       _rootRunUnary
  dart:async/zone.dart 1324:19                                       _CustomZone.runUnary
  dart:async/zone.dart 1233:7                                        _CustomZone.runUnaryGuarded
  dart:async/stream_impl.dart 366:11                                 _BufferingStreamSubscription._sendData
  dart:async/stream_impl.dart 297:7                                  _BufferingStreamSubscription._add
  dart:async/stream_controller.dart 777:19                           _SyncStreamControllerDispatch._sendData
  dart:async/stream_controller.dart 651:7                            _StreamController._add
  dart:async/stream_controller.dart 606:5                            _StreamController.add
  dart:async/zone.dart 1422:47                                       _rootRunUnary
  dart:async/zone.dart 1324:19                                       _CustomZone.runUnary
  dart:async/zone.dart 1233:7                                        _CustomZone.runUnaryGuarded
  dart:async/stream_impl.dart 366:11                                 _BufferingStreamSubscription._sendData
  dart:async/stream_impl.dart 542:14                                 _DelayedData.perform
  dart:async/stream_impl.dart 647:11                                 _PendingEvents.handleNext
  dart:async/stream_impl.dart 618:7                                  _PendingEvents.schedule.<fn>
  dart:async/zone.dart 1406:47                                       _rootRun
  dart:async/zone.dart 1317:19                                       _CustomZone.run
  dart:async/zone.dart 1225:7                                        _CustomZone.runGuarded
  dart:async/zone.dart 1265:23                                       _CustomZone.bindCallbackGuarded.<fn>
  dart:async/zone.dart 1414:13                                       _rootRun
  dart:async/zone.dart 1317:19                                       _CustomZone.run
  dart:async/zone.dart 1225:7                                        _CustomZone.runGuarded
  dart:async/zone.dart 1265:23                                       _CustomZone.bindCallbackGuarded.<fn>
  dart:async/schedule_microtask.dart 40:21                           _microtaskLoop
  dart:async/schedule_microtask.dart 49:5                            _startMicrotaskLoop
  dart:isolate-patch/isolate_patch.dart 118:13                       _runPendingImmediateCallback
  dart:isolate-patch/timer_impl.dart 405:11                          _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 429:5                           _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 184:12                       _RawReceivePort._handleMessage

I'm also seeing this in a lot of devicelab tests in the flutter/flutter repo:

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listdependency: dartDart team may need to help usdependency:dart-triagedTriaged by Dart teamteam-toolOwned by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions