Skip to content

flutter drive Fails to get durations #33789

@dnfield

Description

@dnfield
complex_layout (master)$ flutter drive test_driver/scroll_perf.dart
Running "flutter pub get" in complex_layout...                      0.4s
Using device crush-ship-baton-easel.
Starting application: test_driver/scroll_perf.dart
Building Fuchsia application...                                         
Starting Fuchsia application...                                         
Waiting for a connection from complex_layout on crush-ship-baton-easel...        10.5s
00:00 +0: scrolling performance test (setUpAll)
[info ] FlutterDriver: Connecting to Flutter application at http://127.0.0.1:40245/
[trace] FlutterDriver: Isolate found with number: 238295710
[trace] FlutterDriver: Isolate is not paused. Assuming application is ready.
[info ] FlutterDriver: Connected to Flutter application.
00:00 +0: scrolling performance test complex_layout_scroll_perf
[warning] FlutterDriver: 
┏╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┓
┇ ⚠    THIS BENCHMARK IS BEING RUN IN DEBUG MODE     ⚠  ┇
┡╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍╍┦
│                                                       │
│  Numbers obtained from a benchmark while asserts are  │
│  enabled will not accurately reflect the performance  │
│  that will be experienced by end users using release  ╎
│  builds. Benchmarks should be run using this command  ┆
│  line:  flutter drive --profile test_perf.dart        ┊
│                                                       ┊
└─────────────────────────────────────────────────╌┄┈  🐢

00:10 +0 -1: scrolling performance test complex_layout_scroll_perf [E]
  Invalid argument(s): durations is empty!
  package:flutter_driver/src/driver/timeline_summary.dart 174:7   TimelineSummary._averageInMillis
  package:flutter_driver/src/driver/timeline_summary.dart 33:12   TimelineSummary.computeAverageFrameBuildTimeMillis
  package:flutter_driver/src/driver/timeline_summary.dart 89:42   TimelineSummary.summaryJson
  package:flutter_driver/src/driver/timeline_summary.dart 130:42  TimelineSummary.writeSummaryToFile

Looks like something is missing in the timeline wiring for making this work. @zanderso mentioned @rmacnak-google might know something about this.

/cc @jonahwilliams

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsc: contributor-productivityTeam-specific productivity, code health, technical debt.customer: fuchsiaplatform-fuchsiaFuchsia code specificallyt: flutter driver"flutter driver", flutter_drive, or a driver test

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions