Skip to content

widget_preview_detection_test test: Timed out waiting for deletion reload message in Remove test! #185991

Description

@jmagman
[stdout] [ +121 ms] Scanned through 702 files in 119ms
[stdout] [        ] Waiting for connection from debug service on Chrome...
[stdout] [   +1 ms] <== {"id":6,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"ANALYZING"}}
[stdout] [        ] ==> {"jsonrpc":"2.0","id":6,"result":null}
[stdout] [        ] <== {"jsonrpc":"2.0","method":"window/showMessage","params":{"message":"Unhandled handler error: Concurrent modification during iteration: _Set len:1.","type":1}}
[stderr] [   +1 ms] Error from the analysis server: Unhandled handler error: Concurrent modification during iteration: _Set len:1.
[stdout] [   +3 ms] <- recompile org-dartlang-app:/web_entrypoint.dart cc7beaf4-8ad1-4b55-b53a-33f300e2de37
[stdout] [        ] package:widget_preview_scaffold/src/generated_preview.dart
[stdout] [        ] <- cc7beaf4-8ad1-4b55-b53a-33f300e2de37
[stderr] [  +13 ms] lib/src/generated_preview.dart:7:8: Error: Error when reading '../../flutter_widget_preview_detection_test.3625763c/lib/remove_preview.dart': The system cannot find the file specified
[stderr] [        ] import 'package:test/remove_preview.dart' as _i4;
[stderr] [        ]        ^
[stdout] [  +60 ms] <== {"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"begin","title":"Analyzing…"}}}
[stdout] [        ] <== {"jsonrpc":"2.0","method":"$/progress","params":{"token":"ANALYZING","value":{"kind":"end"}}}
[stderr] [  +17 ms] lib/src/generated_preview.dart:16:32: Error: Method not found: 'myRemovePreview'.
[stderr] [        ]     previewFunction: () => _i4.myRemovePreview(),
[stderr] [        ]                                ^^^^^^^^^^^^^^^
[stderr] [ +189 ms] Unsupported operation: Unsupported invalid type InvalidType(<invalid>) (InvalidType). Encountered while compiling file:///C:/b/s/w/ir/x/t/flutter_tools.66446ba4/widget_preview_scaffold981b84f1/lib/src/generated_preview.dart, which contains the type: FunctionType(<invalid> Function()).
[stdout] [   +1 ms] Waiting for connection from debug service on Chrome... (completed in 290ms)
[stdout] [        ] Synced 0.0MB.
[stdout] [        ] Performing hot reload... (completed in 493ms)
[stdout] [        ] <- reject
Bad state: Timed out waiting for deletion reload message in Remove test!
#0      main.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/x/w/flutter/packages/flutter_tools/test/integration.shard/widget_preview_detection_test.dart:150:13)
#1      _rootRun (dart:async/zone_root.dart:27:47)
#2      _CustomZone.run (dart:async/zone.dart:726:19)
#3      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:1054:34)
<asynchronous suspension>
#4      main.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/x/w/flutter/packages/flutter_tools/test/integration.shard/widget_preview_detection_test.dart:147:7)
<asynchronous suspension>
#5      testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:151:32)
<asynchronous suspension>
#6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#7      testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:140:28)
<asynchronous suspension>

08:59 +15 ~1 -1: test/integration.shard/widget_preview_detection_test.dart: widget-preview detection Removed previews are detected (LSP) [E]
  Bad state: Timed out waiting for deletion reload message in Remove test!
  test\integration.shard\widget_preview_detection_test.dart 150:13  main.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  test\integration.shard\widget_preview_detection_test.dart 147:7   main.<fn>.<fn>
  ===== asynchronous gap ===========================
  test\src\context.dart 151:32                                      testUsingContext.<fn>.<fn>.<fn>.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:flutter_tools/src/base/context.dart 154:19                AppContext.run.<fn>
  ===== asynchronous gap ===========================
  test\src\context.dart 140:28                                      testUsingContext.<fn>.<fn>.<fn>.<fn>

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8682980384588298001/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_10_10/stdout

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our teststeam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions