[Integration test failures] `offline/perfetto_test.dart`
维护者通常 1 天内回复
@elliette 已经在做这个了。
开始于 2026年2月10日。
评估
这个 Issue 还没有评估数据。
描述
Failure:
FlutterDriveProcess - Launching integration_test/test/offline/perfetto_test.dart on Web Server in debug mode...
FlutterDriveProcess - Waiting for connection from debug service on Web Server... 34.2s
FlutterDriveProcess - integration_test/test/offline/perfetto_test.dart is being served at http://localhost:49686
FlutterDriveProcess - The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow.
FlutterDriveProcess - Debug service listening on ws://127.0.0.1:49722/U0DyR31ANvg=/ws
FlutterDriveProcess - A Dart VM Service on Web Server is available at: http://127.0.0.1:49722/U0DyR31ANvg=
FlutterDriveProcess - The Flutter DevTools debugger and profiler on Web Server is available at: http://127.0.0.1:49722/U0DyR31ANvg=/devtools/?uri=ws://127.0.0.1:49722/U0DyR31ANvg=/ws
FlutterDriveProcess - The golden images have a different height or width. Golden: Size(width: 1600.0, height: 1024.0)
FlutterDriveProcess - Screenshot: Size(width: 1600.0, height: 881.0)
FlutterDriveProcess -
FlutterDriveProcess - Golden image test failed: perfetto_initial_load.png. The test image differed from the golden image by 100.0000%.
FlutterDriveProcess - The golden images have a different height or width. Golden: Size(width: 1600.0, height: 1024.0)
FlutterDriveProcess - Screenshot: Size(width: 1600.0, height: 881.0)
FlutterDriveProcess -
FlutterDriveProcess - Golden image test failed: perfetto_frame_selection.png. The test image differed from the golden image by 100.0000%.
FlutterDriveProcess - The golden images have a different height or width. Golden: Size(width: 1600.0, height: 1024.0)
FlutterDriveProcess - Screenshot: Size(width: 1600.0, height: 881.0)
FlutterDriveProcess -
FlutterDriveProcess - Golden image test failed: perfetto_frame_selection_2.png. The test image differed from the golden image by 100.0000%.
FlutterDriveProcess - result {"result":"false","failureDetails":["{\"methodName\":\"Perfetto trace viewer loads data and scrolls for Flutter frames\",\"details\":\"══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════\\nThe following _Exception was thrown running a test:\\nException: Web Driver Command failed:\\nWebDriverCommandType.screenshot with exception Exception: Web\\nDriver Command WebDriverCommandType.screenshot failed while\\nwaiting for driver side\\n\\nWhen the exception was thrown, this was the stack:\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_\\npackage:integration_test/src/_callback_web.dart 73:7 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn>\\ndart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/async/zone.dart 733:19 runUnary\\ndart-sdk/lib/async/future_impl.dart 222:18 handleValue\\ndart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback\\ndart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners\\ndart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue]\\ndart-sdk/lib/async/future_impl.dart 804:7 <fn>\\ndart-sdk/lib/async/zone_root.dart 35:13 _rootRun\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/async/zone.dart 726:19 run\\ndart-sdk/lib/async/zone.dart 625:7 runGuarded\\ndart-sdk/lib/async/zone.dart 666:23 <fn>\\ndart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop\\ndart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>\\n\\nThe test description was:\\n Perfetto trace viewer loads data and scrolls for Flutter frames\\n═════════════════════════════════════════════════════════════════\\n\"}"],"data":{"screenshots":[{"screenshotName":"perfetto_initial_load","bytes":[]},{"screenshotName":"perfetto_frame_selection","bytes":[]}]}}
FlutterDriveProcess - Failure Details:
FlutterDriveProcess - Failure in method: Perfetto trace viewer loads data and scrolls for Flutter frames
FlutterDriveProcess - ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
FlutterDriveProcess - The following _Exception was thrown running a test:
FlutterDriveProcess - Exception: Web Driver Command failed:
FlutterDriveProcess - WebDriverCommandType.screenshot with exception Exception: Web
FlutterDriveProcess - Driver Command WebDriverCommandType.screenshot failed while
FlutterDriveProcess - waiting for driver side
FlutterDriveProcess -
FlutterDriveProcess - When the exception was thrown, this was the stack:
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_
FlutterDriveProcess - package:integration_test/src/_callback_web.dart 73:7 <fn>
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn>
FlutterDriveProcess - dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
FlutterDriveProcess - dart-sdk/lib/async/zone.dart 733:19 runUnary
FlutterDriveProcess - dart-sdk/lib/async/future_impl.dart 222:18 handleValue
FlutterDriveProcess - dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback
FlutterDriveProcess - dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners
FlutterDriveProcess - dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue]
FlutterDriveProcess - dart-sdk/lib/async/future_impl.dart 804:7 <fn>
FlutterDriveProcess - dart-sdk/lib/async/zone_root.dart 35:13 _rootRun
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
FlutterDriveProcess - dart-sdk/lib/async/zone.dart 726:19 run
FlutterDriveProcess - dart-sdk/lib/async/zone.dart 625:7 runGuarded
FlutterDriveProcess - dart-sdk/lib/async/zone.dart 666:23 <fn>
FlutterDriveProcess - dart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop
FlutterDriveProcess - dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
FlutterDriveProcess - dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>
FlutterDriveProcess -
FlutterDriveProcess - The test description was:
FlutterDriveProcess - Perfetto trace viewer loads data and scrolls for Flutter frames
FlutterDriveProcess - ═════════════════════════════════════════════════════════════════
FlutterDriveProcess -
FlutterDriveProcess - end of failure 1
FlutterDriveProcess -
FlutterDriveProcess -
FlutterDriveProcess -
FlutterDriveProcess - Application finished.
Unhandled exception:
Exception: Test 'Perfetto trace viewer loads data and scrolls for Flutter frames' failed: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following _Exception was thrown running a test:
Exception: Web Driver Command failed:
WebDriverCommandType.screenshot with exception Exception: Web
Driver Command WebDriverCommandType.screenshot failed while
waiting for driver side
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_
package:integration_test/src/_callback_web.dart 73:7 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn>
dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/async/zone.dart 733:19 runUnary
dart-sdk/lib/async/future_impl.dart 222:18 handleValue
dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 804:7 <fn>
dart-sdk/lib/async/zone_root.dart 35:13 _rootRun
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/async/zone.dart 726:19 run
dart-sdk/lib/async/zone.dart 625:7 runGuarded
dart-sdk/lib/async/zone.dart 666:23 <fn>
dart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>
The test description was:
Perfetto trace viewer loads data and scrolls for Flutter frames
═════════════════════════════════════════════════════════════════
.
result {"result":"false","failureDetails":["{\"methodName\":\"Perfetto trace viewer loads data and scrolls for Flutter frames\",\"details\":\"══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════\\nThe following _Exception was thrown running a test:\\nException: Web Driver Command failed:\\nWebDriverCommandType.screenshot with exception Exception: Web\\nDriver Command WebDriverCommandType.screenshot failed while\\nwaiting for driver side\\n\\nWhen the exception was thrown, this was the stack:\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_\\npackage:integration_test/src/_callback_web.dart 73:7 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn>\\ndart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/async/zone.dart 733:19 runUnary\\ndart-sdk/lib/async/future_impl.dart 222:18 handleValue\\ndart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback\\ndart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners\\ndart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue]\\ndart-sdk/lib/async/future_impl.dart 804:7 <fn>\\ndart-sdk/lib/async/zone_root.dart 35:13 _rootRun\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/async/zone.dart 726:19 run\\ndart-sdk/lib/async/zone.dart 625:7 runGuarded\\ndart-sdk/lib/async/zone.dart 666:23 <fn>\\ndart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop\\ndart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop\\ndart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear\\ndart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>\\n\\nThe test description was:\\n Perfetto trace viewer loads data and scrolls for Flutter frames\\n═════════════════════════════════════════════════════════════════\\n\"}"],"data":{"screenshots":[{"screenshotName":"perfetto_initial_load","bytes":[]},{"screenshotName":"perfetto_frame_selection","bytes":[]}]}}
Failure Details:
Failure in method: Perfetto trace viewer loads data and scrolls for Flutter frames
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════
The following _Exception was thrown running a test:
Exception: Web Driver Command failed:
WebDriverCommandType.screenshot with exception Exception: Web
Driver Command WebDriverCommandType.screenshot failed while
waiting for driver side
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_
package:integration_test/src/_callback_web.dart 73:7 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 594:19 <fn>
dart-sdk/lib/async/zone_root.dart 48:47 _rootRunUnary
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/async/zone.dart 733:19 runUnary
dart-sdk/lib/async/future_impl.dart 222:18 handleValue
dart-sdk/lib/async/future_impl.dart 948:44 handleValueCallback
dart-sdk/lib/async/future_impl.dart 977:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 720:5 [_completeWithValue]
dart-sdk/lib/async/future_impl.dart 804:7 <fn>
dart-sdk/lib/async/zone_root.dart 35:13 _rootRun
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/async/zone.dart 726:19 run
dart-sdk/lib/async/zone.dart 625:7 runGuarded
dart-sdk/lib/async/zone.dart 666:23 <fn>
dart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>
The test description was:
Perfetto trace viewer loads data and scrolls for Flutter frames
═════════════════════════════════════════════════════════════════
#0 IntegrationTestRunner.run.runTest (package:devtools_shared/src/test/integration_test_runner.dart:154:11)
<asynchronous suspension>
#1 IntegrationTestRunner.run (package:devtools_shared/src/test/integration_test_runner.dart:160:5)
<asynchronous suspension>
#2 runFlutterIntegrationTest (file:///Users/runner/work/devtools/devtools/packages/devtools_app/integration_test/test_infra/run/run_test.dart:81:5)
<asynchronous suspension>
#3 _runTest (file:///Users/runner/work/devtools/devtools/packages/devtools_app/integration_test/run_tests.dart:84:3)
<asynchronous suspension>
#4 runOneOrManyTests (package:devtools_shared/src/test/integration_test_runner.dart:354:9)
<asynchronous suspension>
#5 main (file:///Users/runner/work/devtools/devtools/packages/devtools_app/integration_test/run_tests.dart:53:3)
<asynchronous suspension>
Error: Process completed with exit code 255.
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 420
- 平均合并
- 3 天 11 小时
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flutter/devtools 的其他 Issue
-
Check for modern web libraries to determine if an app is a web app可能已有人在做 @hkarmoush 于 36 天前认领。 未关闭P1 type-code-health
难度 2/5 1-3 小时 新手友好度 85/100
flutter/devtools#9973 · 4 条评论 ·
维护者通常 1 天内回复
-
P2 type-code-health
难度 2/5 1-3 小时 新手友好度 68/100
flutter/devtools#9942 · 3 条评论 ·
维护者通常 1 天内回复
-
[Inspector V2] Widget properties tab highlight extends past its rounded edge可能重新可做 @theprantadutta 于 195 天前认领,目前没有进行中的 PR。 未关闭contributions welcome cross-screen inspector-2.0-polish P2
难度 2/5 1-3 小时 新手友好度 65/100
flutter/devtools#8936 · 3 条评论 ·
维护者通常 1 天内回复
-
cross-screen P3
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
documentation good first issue P2
难度 1/5 1 小时以内 新手友好度 88/100
flutter/devtools#8293 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
chriskelly/wish-together#203 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 60/100
hiddify/hiddify-app#2668 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
toyota-connected/emb_cli#358 ·
维护者通常 1 天内回复
-
area: import beta cluster: callers box improvements severity: minor status: confirmed type: bug
难度 2/5 1-3 小时 新手友好度 62/100
ibanner56/CallersCompendium#2366 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ccch1mneyyy/dsh-Go#1777 ·
维护者通常 1 天内回复