blob: 7df2641fe4b96b7c59dc8c7fc872c1b8bc448575 [file] [log] [blame]
Yegor1ba15622016-09-14 13:22:53 -07001# Describes the tasks we run in the continuous integration (CI) environment.
2#
3# Cocoon[1] uses this file to generate a checklist of tasks to be performed for
4# every master commit.
5#
6# [1] github.com/flutter/cocoon
7
8# CI tasks.
9#
10# Each key in this dictionary is the unique name of a task, which also
11# corresponds to a file in the "bin/" directory that the task runner will run.
12#
Yegord538c112017-04-06 16:27:29 -070013# Required properties:
Yegor1ba15622016-09-14 13:22:53 -070014#
Yegord538c112017-04-06 16:27:29 -070015# * description: free form string
16# describes what the task is about
17# * stage: one of "devicelab", "devicelab_ios", "devicelab_win"
18# tasks are grouped by stage so they appear next to each on the dashboard and have a distinct
19# icon attached to them. Stages can be used to create dependencies, e.g. we may decide to not
Greg Spencere60087a2018-08-07 13:41:33 -070020# run device tests on red Cirrus builds.
Yegord538c112017-04-06 16:27:29 -070021# * required_agent_capabilities: a list of strings
22# list of capabilities a devicelab agent must have to be able to run this task.
Yegor1ba15622016-09-14 13:22:53 -070023#
Yegord538c112017-04-06 16:27:29 -070024# Optional properties:
25#
26# * flaky: boolean true or false
27# whether the task is considered flaky; the result of running a flaky task does not affect
Ian Hicksonbc328472017-05-11 08:59:10 -070028# the overall build status. Tests should be marked flaky when newly added, until they have
29# been proved for a few cycles. Tests that are actually flaky but not being actively worked
30# on should be hidden because they just cause confusion otherwise.
Yegord538c112017-04-06 16:27:29 -070031# * timeout_in_minutes: integer
32# a custom task timeout, specified in minutes.
Yegor1ba15622016-09-14 13:22:53 -070033
34tasks:
Ian Hicksond1041062017-11-28 17:21:01 -080035 # Tests of compiling in a variety of modes
Yegor1ba15622016-09-14 13:22:53 -070036
Ian Hicksond1041062017-11-28 17:21:01 -080037 complex_layout_android__compile:
Yegor1ba15622016-09-14 13:22:53 -070038 description: >
Ian Hicksond1041062017-11-28 17:21:01 -080039 Collects various performance metrics of compiling the Complex
40 Layout sample app for Android from Linux.
Yegor1ba15622016-09-14 13:22:53 -070041 stage: devicelab
Ian Hicksond1041062017-11-28 17:21:01 -080042 required_agent_capabilities: ["linux/android"]
Yegor1ba15622016-09-14 13:22:53 -070043
Ian Hicksond1041062017-11-28 17:21:01 -080044 complex_layout_ios__compile:
Yegor1ba15622016-09-14 13:22:53 -070045 description: >
Ian Hicksond1041062017-11-28 17:21:01 -080046 Collects various performance metrics of compiling the Complex
47 Layout sample app for iOS from Mac.
48 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -080049 required_agent_capabilities: ["mac/ios"]
Ian Hicksond1041062017-11-28 17:21:01 -080050
51 complex_layout_win__compile:
52 description: >
53 Collects various performance metrics of compiling the Complex
54 Layout for Android from Windows.
55 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -080056 required_agent_capabilities: ["windows/android"]
Ian Hicksond1041062017-11-28 17:21:01 -080057
58 basic_material_app_android__compile:
59 description: >
60 Collects various performance metrics of compiling the default
61 app for Android from Linux.
Yegor1ba15622016-09-14 13:22:53 -070062 stage: devicelab
Ian Hicksond1041062017-11-28 17:21:01 -080063 required_agent_capabilities: ["linux/android"]
Ian Hicksond1041062017-11-28 17:21:01 -080064
65 basic_material_app_ios__compile:
66 description: >
67 Collects various performance metrics of compiling the default
68 app for iOS from Mac.
69 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -080070 required_agent_capabilities: ["mac/ios"]
Ian Hicksond1041062017-11-28 17:21:01 -080071
72 basic_material_app_win__compile:
73 description: >
74 Collects various performance metrics of compiling the default
75 app for Android from Windows.
76 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -080077 required_agent_capabilities: ["windows/android"]
Ian Hicksond1041062017-11-28 17:21:01 -080078
Jonah Williams43e7c552019-09-02 01:17:26 -070079 # TODO(jonahwilliams): re-enable with https://github.com/flutter/flutter/issues/39597
80 # codegen_integration_win:
81 # description: >
82 # Runs codegeneration and verifies that it can execute
83 # correctly.
84 # stage: devicelab_win
85 # required_agent_capabilities: ["windows/android"]
Jonah Williams67cf2152019-02-14 23:17:16 -080086
Jonah Williamsd4a441a2019-03-08 12:25:35 -080087 codegen_integration_mac:
88 description: >
89 Runs codegeneration and verifies that it can execute
90 correctly.
91 stage: devicelab_ios
92 required_agent_capabilities: ["mac/ios"]
Jonah Williamsd4a441a2019-03-08 12:25:35 -080093
Jonah Williamsb80e6bb2019-10-17 19:21:52 -070094 codegen_integration_linux:
95 description: >
96 Runs codegeneration and verifies that it can execute
97 correctly.
98 stage: devicelab
99 required_agent_capabilities: ["linux/android"]
Jonah Williamsd4a441a2019-03-08 12:25:35 -0800100
Jonah Williamsb80e6bb2019-10-17 19:21:52 -0700101 uncaught_image_error_linux:
102 description: >
103 Ensures that an error thrown into the zone can be caught by the ImageStream
104 completer
105 stage: devicelab
106 required_agent_capabilities: ["linux/android"]
Jonah Williams1bfa2f22019-03-29 10:05:18 -0700107
Ian Hicksond1041062017-11-28 17:21:01 -0800108 flutter_gallery_android__compile:
109 description: >
110 Collects various performance metrics of compiling the Flutter
111 Gallery for Android from Linux.
112 stage: devicelab
113 required_agent_capabilities: ["linux/android"]
114
115 flutter_gallery_ios__compile:
116 description: >
117 Collects various performance metrics of compiling the Flutter
118 Gallery for iOS from Mac.
119 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800120 required_agent_capabilities: ["mac/ios"]
Ian Hicksond1041062017-11-28 17:21:01 -0800121
122 flutter_gallery_win__compile:
123 description: >
124 Collects various performance metrics of compiling the Flutter
125 Gallery for Android from Windows.
126 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800127 required_agent_capabilities: ["windows/android"]
Yegor1ba15622016-09-14 13:22:53 -0700128
Jonah Williamse7786862019-10-29 13:23:27 -0700129 windows_chrome_dev_mode:
130 description: >
131 Run flutter web on the devicelab and hot restart.
132 stage: devicelab_win
133 required_agent_capabilities: ["windows/android"]
134 flaky: true
Jonah Williams83986ac2019-06-03 23:19:42 -0700135
Yegor1ba15622016-09-14 13:22:53 -0700136 # Android on-device tests
137
138 complex_layout_scroll_perf__timeline_summary:
139 description: >
140 Measures the runtime performance of the Complex Layout sample app on
141 Android.
142 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800143 required_agent_capabilities: ["mac/android"]
Yegor1ba15622016-09-14 13:22:53 -0700144
liyuqianb6cd38d2018-08-02 16:47:58 -0700145 tiles_scroll_perf__timeline_summary:
146 description: >
147 Measures the runtime performance of the tiles tab in the Complex Layout sample app on Android.
148 stage: devicelab
liyuqianb6cd38d2018-08-02 16:47:58 -0700149 required_agent_capabilities: ["mac/android"]
150
liyuqiande321b92019-02-04 22:54:11 -0800151 home_scroll_perf__timeline_summary:
152 description: >
153 Measures the runtime performance of scrolling the material page in the
154 flutter_gallery app on Android.
155 stage: devicelab
156 required_agent_capabilities: ["mac/android"]
liyuqiande321b92019-02-04 22:54:11 -0800157
liyuqianeb307452019-04-09 18:55:42 -0700158 drive_perf_debug_warning:
159 description: >
160 Check that driver will print warnings when traceAction is called in debug mode.
161 stage: devicelab
162 required_agent_capabilities: ["mac/android"]
liyuqianeb307452019-04-09 18:55:42 -0700163
liyuqian8ad4cbe2018-12-17 22:01:07 -0800164 cull_opacity_perf__timeline_summary:
165 description: >
166 Measures the runtime performance of culling opacity widgets on Android.
167 stage: devicelab
168 required_agent_capabilities: ["mac/android"]
liyuqian8ad4cbe2018-12-17 22:01:07 -0800169
liyuqiana32fc982019-11-19 15:48:41 -0800170 picture_cache_perf__timeline_summary:
171 description: >
172 Measures the runtime performance of raster caching many pictures on Android.
173 stage: devicelab
174 required_agent_capabilities: ["mac/android"]
175
liyuqian19a6a6f2019-02-27 09:33:08 -0800176 cubic_bezier_perf__timeline_summary:
177 description: >
178 Measures the runtime performance of cubic bezier animations on Android.
179 stage: devicelab
180 required_agent_capabilities: ["mac/android"]
liyuqian19a6a6f2019-02-27 09:33:08 -0800181
Jim Grahamf83fd9d2019-06-24 20:53:22 -0700182 backdrop_filter_perf__timeline_summary:
183 description: >
184 Measures the runtime performance of backdrop filter blurs on Android.
185 stage: devicelab
186 required_agent_capabilities: ["mac/android"]
Jim Grahamf83fd9d2019-06-24 20:53:22 -0700187
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200188 flavors_test:
189 description: >
190 Checks that flavored builds work on Android.
191 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800192 required_agent_capabilities: ["mac/android"]
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200193
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200194 channels_integration_test:
195 description: >
196 Checks that platform channels work on Android.
197 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800198 required_agent_capabilities: ["mac/android"]
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200199
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100200 external_ui_integration_test:
201 description: >
202 Checks that external UIs work on Android.
203 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800204 required_agent_capabilities: ["mac/android"]
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100205
amirh1f31c3b2018-08-23 10:26:00 -0700206 embedded_android_views_integration_test:
207 description: >
208 Tests embedded Android views.
209 stage: devicelab
210 required_agent_capabilities: ["mac/android"]
amirh1f31c3b2018-08-23 10:26:00 -0700211
Jonah Williamsc6e8a512018-09-06 12:31:18 -0700212 android_semantics_integration_test:
213 description: >
214 Tests that the Android accessibility bridge produces correct semantics.
215 stage: devicelab
216 required_agent_capabilities: ["mac/android"]
Jonah Williamsc6e8a512018-09-06 12:31:18 -0700217
Ian Hicksond1cc8b62018-06-14 12:30:20 -0700218 run_release_test:
219 description: >
220 Checks that `flutter run --release` does not crash.
221 stage: devicelab
222 required_agent_capabilities: ["mac/android"]
Ian Hicksond1cc8b62018-06-14 12:30:20 -0700223
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200224 platform_interaction_test:
225 description: >
226 Checks platform interaction on Android.
227 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800228 required_agent_capabilities: ["mac/android"]
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200229
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200230 platform_channel_sample_test:
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100231 description: >
Sarah Zakariasd2748882017-03-27 11:17:31 +0200232 Runs a driver test on the Platform Channel sample app on Android.
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100233 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800234 required_agent_capabilities: ["mac/android"]
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100235
Sarah Zakariasa3e71bf2018-05-16 13:24:47 +0200236 platform_view__start_up:
237 description: >
238 Verifies that Platform View can be used from an Android project.
239 stage: devicelab
240 required_agent_capabilities: ["mac/android"]
241
Yegor1ba15622016-09-14 13:22:53 -0700242 complex_layout__start_up:
243 description: >
244 Measures the startup time of the Complex Layout sample app on Android.
245 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800246 required_agent_capabilities: ["mac/android"]
Yegor1ba15622016-09-14 13:22:53 -0700247
Yegor921287b2016-09-19 10:03:26 -0700248 hot_mode_dev_cycle__benchmark:
249 description: >
250 Measures the performance of Dart VM hot patching feature.
251 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800252 required_agent_capabilities: ["mac/android"]
Yegor921287b2016-09-19 10:03:26 -0700253
Jason Simmons4da4ca82016-12-01 11:37:16 -0800254 complex_layout_scroll_perf__memory:
255 description: >
256 Measures memory usage of the scroll performance test.
257 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800258 required_agent_capabilities: ["mac/android"]
Jason Simmons4da4ca82016-12-01 11:37:16 -0800259
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700260 hello_world_android__compile:
261 description: >
262 Measures the APK size of Hello World.
263 stage: devicelab
264 required_agent_capabilities: ["mac/android"]
265
Yegord7c21512016-12-02 16:50:27 -0800266 hello_world__memory:
267 description: >
268 Measures starting memory usage of the simplest Flutter app.
269 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800270 required_agent_capabilities: ["mac/android"]
Yegord7c21512016-12-02 16:50:27 -0800271
Todd Volkert0f625192019-07-18 11:13:14 -0700272 # hello_world__start_up:
273 # description: >
274 # Verifies that Hello World can start on an array of devices.
275 # stage: devicelab
276 # required_agent_capabilities: ["linux/android_esoteric"]
277
Yegor1df639b2017-01-09 14:57:14 -0800278 microbenchmarks:
279 description: >
280 Runs benchmarks from dev/benchmarks/microbenchmarks.
281 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800282 required_agent_capabilities: ["mac/android"]
Yegor57ca2b52017-04-06 10:48:45 -0700283 timeout_in_minutes: 30
Yegor1df639b2017-01-09 14:57:14 -0800284
Sarah Zakarias18db5a22017-03-23 13:20:00 +0100285 flutter_view__start_up:
286 description: >
287 Verifies that Flutter View can be used from an Android project.
288 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800289 required_agent_capabilities: ["mac/android"]
Sarah Zakarias18db5a22017-03-23 13:20:00 +0100290
Chris Bracken2d437f52017-05-11 14:29:20 -0700291 integration_ui:
292 description: >
293 Runs end-to-end Flutter tests on Android.
294 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800295 required_agent_capabilities: ["mac/android"]
Chris Bracken2d437f52017-05-11 14:29:20 -0700296
Ian Hicksone1adc522017-07-19 12:57:22 -0700297 commands_test:
298 description: >
299 Runs tests of flutter run commands.
300 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800301 required_agent_capabilities: ["mac/android"]
Ian Hicksone1adc522017-07-19 12:57:22 -0700302
Danny Tuppenyefb88a02018-02-07 16:58:23 +0000303 run_machine_concurrent_hot_reload:
304 description: >
305 Runs tests of concurrent hot reload commands via flutter run --machine.
306 stage: devicelab
307 required_agent_capabilities: ["mac/android"]
308
Devon Carew8c36ccf2017-08-31 11:38:21 -0700309 service_extensions_test:
310 description: >
311 Validates our service protocol extensions.
312 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800313 required_agent_capabilities: ["mac/android"]
Devon Carew8c36ccf2017-08-31 11:38:21 -0700314
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700315 android_sample_catalog_generator:
316 description: >
317 Builds sample catalog markdown pages and Android screenshots
318 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800319 required_agent_capabilities: ["mac/android"]
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700320
Michael Goderbauer8bf17192017-06-13 12:49:07 -0700321 complex_layout_semantics_perf:
322 description: >
323 Measures duration of building the initial semantics tree.
324 stage: devicelab
325 required_agent_capabilities: ["linux/android"]
Ian Hickson9adb4a72017-06-23 14:58:29 -0700326
Ian Hicksonbbea0c32017-06-23 18:13:40 -0700327 routing_test:
Ian Hickson9adb4a72017-06-23 14:58:29 -0700328 description: >
329 Verifies that `flutter drive --route` still works. No performance numbers.
330 stage: devicelab
331 required_agent_capabilities: ["linux/android"]
Michael Goderbauer8bf17192017-06-13 12:49:07 -0700332
Jonah Williams440a9112019-09-10 08:35:06 -0700333 # flutter_gallery_instrumentation_test:
334 # description: >
335 # Same as flutter_gallery__transition_perf but uses Android instrumentation
336 # framework, and therefore does not require a host computer to run. This
337 # test can run on off-the-shelf infrastructures, such as Firebase Test Lab.
338 # stage: devicelab
339 # required_agent_capabilities: ["linux/android"]
340 # flaky: true
Yegor18d9b202017-07-10 17:20:49 -0700341
Florian Loitschd2487252018-06-25 15:33:42 +0200342 flutter_attach_test:
343 description: >
344 Tests the `flutter attach` command.
345 stage: devicelab
346 required_agent_capabilities: ["linux/android"]
347
Michael Klimushynce434022018-10-24 11:44:45 -0700348 named_isolates_test:
349 description: >
350 Tests naming and attaching to specific isolates.
351 stage: devicelab
352 required_agent_capabilities: ["linux/android"]
Michael Klimushynce434022018-10-24 11:44:45 -0700353
Jonah Williamse7786862019-10-29 13:23:27 -0700354 linux_chrome_dev_mode:
355 description: >
356 Run flutter web on the devicelab and hot restart.
357 stage: devicelab
358 required_agent_capabilities: ["linux/android"]
359 flaky: true
Jonah Williams83986ac2019-06-03 23:19:42 -0700360
Jonah Williamsb80e6bb2019-10-17 19:21:52 -0700361 web_size__compile_test:
362 description: >
363 Measures the size of a dart2js bundle.
364 stage: devicelab
365 required_agent_capabilities: ["linux/android"]
Jonah Williams50ea6f32019-06-05 12:40:21 -0700366
Alexander Aprelev3badcf52019-06-28 15:14:03 -0700367 image_list_reported_duration:
368 description: >
Alexander Aprelev9f285aa2019-07-08 08:23:06 -0700369 Measures image loading performance on release (aot) build.
370 stage: devicelab
371 required_agent_capabilities: ["linux/android"]
Alexander Aprelev9f285aa2019-07-08 08:23:06 -0700372
373 image_list_jit_reported_duration:
374 description: >
375 Measures image loading performance on debug (jit) build.
Alexander Aprelev3badcf52019-06-28 15:14:03 -0700376 stage: devicelab
377 required_agent_capabilities: ["linux/android"]
Jonah Williams50ea6f32019-06-05 12:40:21 -0700378
Jonah Williamsb80e6bb2019-10-17 19:21:52 -0700379 build_benchmark:
380 description: >
381 Measures APK build performance across config changes.
382 stage: devicelab
383 required_agent_capabilities: ["linux/android"]
Jonah Williams05b4c672019-07-03 10:54:04 -0700384
Yegor1ba15622016-09-14 13:22:53 -0700385 # iOS on-device tests
386
liyuqianc1cb6802019-08-28 10:33:43 -0700387 tiles_scroll_perf_ios__timeline_summary:
388 description: >
389 Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone 6.
390 stage: devicelab_ios
391 required_agent_capabilities: ["mac/ios"]
392
393 tiles_scroll_perf_iphonexs__timeline_summary:
394 description: >
395 Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone XS.
396 stage: devicelab_ios
397 required_agent_capabilities: ["mac/iphonexs"]
398
399 flutter_gallery_ios32__start_up:
400 description: >
401 Measures the startup time of the Flutter Gallery app on 32-bit iOS (iPhone 4S).
402 stage: devicelab_ios
403 required_agent_capabilities: ["mac/ios32"]
404
405 flutter_gallery_ios32__transition_perf:
406 description: >
407 Measures the performance of screen transitions in Flutter Gallery on
408 32-bit iOS (iPhone 4S).
409 stage: devicelab_ios
410 required_agent_capabilities: ["mac/ios32"]
411
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200412 flavors_test_ios:
413 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700414 Checks that flavored builds work on iPhone 6.
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200415 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800416 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200417
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100418 external_ui_integration_test_ios:
419 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700420 Checks that external UIs work on iPhone 6.
Mikkel Nygaard Ravndbfd0be2017-11-22 15:14:14 +0100421 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800422 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100423
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200424 channels_integration_test_ios:
425 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700426 Checks that platform channels work on iPhone 6.
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200427 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800428 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200429
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200430 platform_interaction_test_ios:
431 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700432 Checks platform interaction on iPhone 6.
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200433 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800434 required_agent_capabilities: ["mac/ios"]
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200435
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200436 platform_channel_sample_test_ios:
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100437 description: >
Jenn Magderb5c1b612019-07-10 14:13:01 -0700438 Runs a driver test on the Platform Channel sample app on iPhone 6 Objective-C project.
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100439 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800440 required_agent_capabilities: ["mac/ios"]
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100441
Jenn Magderb5c1b612019-07-10 14:13:01 -0700442 platform_channel_sample_test_swift:
443 description: >
444 Runs a driver test on the Platform Channel sample app on iPhone 6 Swift project.
445 stage: devicelab_ios
446 required_agent_capabilities: ["mac/ios"]
Jenn Magderb5c1b612019-07-10 14:13:01 -0700447
Sarah Zakariasa3e71bf2018-05-16 13:24:47 +0200448 platform_view_ios__start_up:
449 description: >
450 Verifies that Platform View can be used from an iOS project.
451 stage: devicelab_ios
452 required_agent_capabilities: ["mac/ios"]
453
liyuqianbbcfdea2019-08-20 10:39:29 -0700454 backdrop_filter_perf_ios__timeline_summary:
455 description: >
456 Measures the runtime performance of backdrop filter blurs on iOS.
457 stage: devicelab_ios
458 required_agent_capabilities: ["mac/ios"]
liyuqianbbcfdea2019-08-20 10:39:29 -0700459
Yegor1ba15622016-09-14 13:22:53 -0700460 complex_layout_scroll_perf_ios__timeline_summary:
461 description: >
462 Measures the runtime performance of the Complex Layout sample app on
463 iOS.
464 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800465 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700466
Yegorc027aa12017-11-02 14:20:14 -0700467 flutter_gallery_ios__start_up:
468 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700469 Measures the startup time of the Flutter Gallery app on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700470 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800471 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700472
Yegorc027aa12017-11-02 14:20:14 -0700473 complex_layout_ios__start_up:
474 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700475 Measures the startup time of the Complex Layout sample app on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700476 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800477 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700478
Chris Brackenabfee822017-03-29 19:19:57 -0700479 flutter_gallery_ios__transition_perf:
480 description: >
481 Measures the performance of screen transitions in Flutter Gallery on
482 iOS.
483 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800484 required_agent_capabilities: ["mac/ios"]
Yegor568a6e12016-12-05 12:46:59 -0800485
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700486 hello_world_ios__compile:
487 description: >
488 Measures the IPA size of Hello World.
Todd Volkert083022b2019-08-16 15:34:56 -0700489 stage: devicelab_ios
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700490 required_agent_capabilities: ["mac/ios"]
491
Yegorc027aa12017-11-02 14:20:14 -0700492 microbenchmarks_ios:
493 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700494 Runs benchmarks from dev/benchmarks/microbenchmarks on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700495 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800496 required_agent_capabilities: ["mac/ios"]
Yegorc027aa12017-11-02 14:20:14 -0700497 timeout_in_minutes: 30
Michael Goderbauer79002c72017-03-16 13:47:14 -0700498
Ian Hicksond1041062017-11-28 17:21:01 -0800499 flutter_view_ios__start_up:
500 description: >
501 Verifies that Flutter View can be used from an iOS project.
502 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800503 required_agent_capabilities: ["mac/ios"]
Sarah Zakarias47fc81f2017-03-24 11:45:57 +0100504
Chris Bracken2d437f52017-05-11 14:29:20 -0700505 integration_ui_ios:
506 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700507 Runs end-to-end Flutter tests on iPhone 6.
Chris Bracken2d437f52017-05-11 14:29:20 -0700508 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800509 required_agent_capabilities: ["mac/ios"]
Yegora90a8502018-04-20 13:57:06 -0700510 timeout_in_minutes: 20
Chris Bracken2d437f52017-05-11 14:29:20 -0700511
Christopher Fujino18ff9a22019-10-18 12:28:46 -0700512 # TODO(fujino): does not pass on iOS13 https://github.com/flutter/flutter/issues/41133
513 # system_debug_ios:
514 # description: >
515 # Tests that the Engine correctly initializes the system debugger for debug-mode iOS apps.
516 # stage: devicelab_ios
517 # required_agent_capabilities: ["mac/ios"]
518 # timeout_in_minutes: 10
sjindel-google0564f0a2019-08-06 20:08:09 +0200519
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700520 ios_sample_catalog_generator:
521 description: >
522 Builds sample catalog markdown pages and iOS screenshots
523 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800524 required_agent_capabilities: ["mac/ios"]
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700525
Jonah Williamse7786862019-10-29 13:23:27 -0700526 macos_chrome_dev_mode:
527 description: >
528 Run flutter web on the devicelab and hot restart.
529 stage: devicelab_ios
530 required_agent_capabilities: ["mac/ios"]
531 flaky: true # marked as flaky while infra is under heavy development
Jonah Williams83986ac2019-06-03 23:19:42 -0700532
Jonah Williams91e3b2d2019-07-08 18:09:00 -0700533 build_benchmark_ios:
534 description: >
535 Measures iOS build performance across config changes.
536 stage: devicelab_ios
537 required_agent_capabilities: ["mac/ios"]
Jonah Williams91e3b2d2019-07-08 18:09:00 -0700538
liyuqian9cc29c62019-09-29 11:33:43 -0700539 simple_animation_perf_iphonexs:
540 description: >
541 Measure CPU/GPU usage percentages of a simple animation.
542 stage: devicelab_ios
543 required_agent_capabilities: ["mac/iphonexs"]
544
Tong Wua690b0b2019-08-27 17:47:32 -0700545 smoke_catalina_start_up_ios:
Tong Wub38302b2019-08-27 11:22:54 -0700546 description: >
547 A smoke test that runs on macOS Catalina, which is a clone of the Gallery startup latency test.
Tong Wu2f58d082019-08-27 12:27:12 -0700548 stage: devicelab_ios
549 required_agent_capabilities: ["mac-catalina/ios"]
Tong Wub38302b2019-08-27 11:22:54 -0700550
Tong Wua690b0b2019-08-27 17:47:32 -0700551 smoke_catalina_hot_mode_dev_cycle_ios__benchmark:
Tong Wub38302b2019-08-27 11:22:54 -0700552 description: >
553 A some test that runs on macOS Catalina, which is a clone of the Dart VM hot patching performance benchmarking.
Tong Wu2f58d082019-08-27 12:27:12 -0700554 stage: devicelab_ios
Tong Wu2f58d082019-08-27 12:27:12 -0700555 required_agent_capabilities: ["mac-catalina/ios"]
Tong Wub38302b2019-08-27 11:22:54 -0700556
Tong Wua690b0b2019-08-27 17:47:32 -0700557 smoke_catalina_start_up:
558 description: >
559 A smoke test that runs on macOS Catalina, which is a clone of the Gallery startup latency test.
560 stage: devicelab
Tong Wua690b0b2019-08-27 17:47:32 -0700561 required_agent_capabilities: ["mac-catalina/android"]
562
563 smoke_catalina_hot_mode_dev_cycle__benchmark:
564 description: >
565 A some test that runs on macOS Catalina, which is a clone of the Dart VM hot patching performance benchmarking.
566 stage: devicelab
Tong Wua690b0b2019-08-27 17:47:32 -0700567 required_agent_capabilities: ["mac-catalina/android"]
568
Jonah Williams0e36a912019-11-20 12:35:53 -0800569 # macOS target platform tests
570 hot_mode_dev_cycle_macos_target__benchmark:
571 description: >
572 Checks the functionality and performance of hot reload on a macOS target platform
573 stage: devicelab
574 required_agent_capabilities: ["mac/ios"]
575 flaky: true
576
Michael Goderbauer79002c72017-03-16 13:47:14 -0700577 # Tests running on Windows host
578
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200579 flavors_test_win:
580 description: >
581 Checks that flavored builds work on Windows.
582 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800583 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200584
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200585 channels_integration_test_win:
586 description: >
587 Checks that platform channels work when app is launched from Windows.
588 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800589 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200590
Mikkel Nygaard Ravn20004352018-02-16 10:17:28 +0100591 plugin_test_win:
592 description: >
593 Checks that the project template works and supports plugins on Windows.
594 stage: devicelab_win
595 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn20004352018-02-16 10:17:28 +0100596
Michael Goderbauer506aea02017-03-28 14:22:03 -0700597 hot_mode_dev_cycle_win__benchmark:
598 description: >
599 Measures the performance of Dart VM hot patching feature on Windows.
600 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800601 required_agent_capabilities: ["windows/android"]
Yegor7397bb92017-05-31 12:43:18 -0700602
Jonah Williams440a9112019-09-10 08:35:06 -0700603 # run_without_leak_win:
604 # description: >
605 # Checks that `flutter run` does not leak dart.exe on Windows.
606 # stage: devicelab_win
607 # required_agent_capabilities: ["windows/android"]
Dan Fieldecfdd7e2019-03-22 14:32:36 -0700608
Yegor7397bb92017-05-31 12:43:18 -0700609 # Tests running on Linux hosts
610
611 hot_mode_dev_cycle_linux__benchmark:
612 description: >
613 Measures the performance of Dart VM hot patching feature on a Linux host.
614 stage: devicelab
615 required_agent_capabilities: ["linux/android"]
Yegor7397bb92017-05-31 12:43:18 -0700616
Ian Hickson3ecd4302018-06-26 17:34:25 -0700617 flutter_test_performance:
618 description: >
619 Measures performance of running flutter test.
620 stage: devicelab
621 required_agent_capabilities: ["linux/android"]
Ian Hickson3ecd4302018-06-26 17:34:25 -0700622
Ian Hicksonbe793792019-10-17 19:32:31 -0700623 dartdocs:
624 description: >
625 Tracks how many members are still lacking documentation.
626 stage: devicelab
godofredoc4c4cdbf2019-12-02 19:45:04 -0800627 required_agent_capabilities: ["linux-vm"]
Ian Hicksonbe793792019-10-17 19:32:31 -0700628
Yegor7397bb92017-05-31 12:43:18 -0700629 technical_debt__cost:
630 description: >
631 Estimates our technical debt (TODOs, analyzer ignores, etc).
632 stage: devicelab
godofredoc16570752019-12-04 16:26:41 -0800633 required_agent_capabilities: ["linux-vm"]
Yegor06deba22017-05-31 15:13:08 -0700634
Yegor06deba22017-05-31 15:13:08 -0700635 flutter_gallery__start_up:
636 description: >
637 Measures the startup time of the Flutter Gallery app on Android.
638 stage: devicelab
639 required_agent_capabilities: ["linux/android"]
640
641 flutter_gallery__transition_perf:
642 description: >
643 Measures the performance of screen transitions in Flutter Gallery on
644 Android.
645 stage: devicelab
646 required_agent_capabilities: ["linux/android"]
647
Michael Goderbauere2d4f922017-06-14 08:09:05 -0700648 flutter_gallery__transition_perf_with_semantics:
649 description: >
650 Measures the delta in performance of screen transitions without and
651 with semantics enabled.
652 stage: devicelab
653 required_agent_capabilities: ["linux/android"]
Michael Goderbauere2d4f922017-06-14 08:09:05 -0700654
Yegor06deba22017-05-31 15:13:08 -0700655 flutter_gallery__memory_nav:
656 description: >
657 Measures memory usage after repeated navigation in Gallery.
658 stage: devicelab
659 required_agent_capabilities: ["linux/android"]
660
661 flutter_gallery__back_button_memory:
662 description: >
663 Measures memory usage after Android app suspend and resume.
664 stage: devicelab
665 required_agent_capabilities: ["linux/android"]
Yegorfde985b2017-06-13 13:14:16 -0700666
Kaushik Iska92bfc992019-06-04 12:32:52 -0700667 flutter_gallery__image_cache_memory:
668 description: >
669 Measures memory usage for a list of large red squares in smaller containers.
670 stage: devicelab
671 required_agent_capabilities: ["linux/android"]
Kaushik Iska92bfc992019-06-04 12:32:52 -0700672
liyuqiana2005ea2019-12-05 19:28:00 -0800673 fast_scroll_large_images__memory:
674 description: >
675 Measures memory usage for scrolling through a list of large images.
676 stage: devicelab
677 required_agent_capabilities: ["mac/android"]
678
Yegorfde985b2017-06-13 13:14:16 -0700679 analyzer_benchmark:
680 description: >
681 Measures the speed of Dart analyzer.
682 stage: devicelab
Jonah Williams452f2552018-08-13 13:26:32 -0700683 required_agent_capabilities: ["linux/android"]
Chris Bracken52246c02018-05-14 15:05:38 -0700684
Jonah Williams440a9112019-09-10 08:35:06 -0700685 # run_without_leak_linux:
686 # description: >
687 # Checks that `flutter run` does not leak dart on Linux.
688 # stage: devicelab
689 # required_agent_capabilities: ["linux/android"]
690 # flaky: true
Dan Fieldecfdd7e2019-03-22 14:32:36 -0700691
Jonah Williams440a9112019-09-10 08:35:06 -0700692 # run_without_leak_mac:
693 # description: >
694 # Checks that `flutter run` does not leak dart on macOS.
695 # stage: devicelab
696 # required_agent_capabilities: ["mac/android"]
697 # flaky: true
Matt Carrolla7387b12019-07-24 13:44:13 -0700698
Jonah Williams440a9112019-09-10 08:35:06 -0700699 # android_splash_screen_integration_test:
700 # description: >
701 # Runs end-to-end test of Flutter's Android splash behavior.
702 # stage: devicelab
703 # required_agent_capabilities: ["linux/android"]
704 # flaky: true