blob: 7575b7a0bbf5fc39c34b215ae511cc0133fe7b6e [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"]
xster74af8552019-12-17 07:38:01 -0800223 flaky: true # https://github.com/flutter/flutter/issues/45416.
Ian Hicksond1cc8b62018-06-14 12:30:20 -0700224
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200225 platform_interaction_test:
226 description: >
227 Checks platform interaction on Android.
228 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800229 required_agent_capabilities: ["mac/android"]
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200230
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200231 platform_channel_sample_test:
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100232 description: >
Sarah Zakariasd2748882017-03-27 11:17:31 +0200233 Runs a driver test on the Platform Channel sample app on Android.
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100234 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800235 required_agent_capabilities: ["mac/android"]
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100236
Sarah Zakariasa3e71bf2018-05-16 13:24:47 +0200237 platform_view__start_up:
238 description: >
239 Verifies that Platform View can be used from an Android project.
240 stage: devicelab
241 required_agent_capabilities: ["mac/android"]
242
Yegor1ba15622016-09-14 13:22:53 -0700243 complex_layout__start_up:
244 description: >
245 Measures the startup time of the Complex Layout sample app on Android.
246 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800247 required_agent_capabilities: ["mac/android"]
Yegor1ba15622016-09-14 13:22:53 -0700248
Yegor921287b2016-09-19 10:03:26 -0700249 hot_mode_dev_cycle__benchmark:
250 description: >
251 Measures the performance of Dart VM hot patching feature.
252 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800253 required_agent_capabilities: ["mac/android"]
Yegor921287b2016-09-19 10:03:26 -0700254
Jason Simmons4da4ca82016-12-01 11:37:16 -0800255 complex_layout_scroll_perf__memory:
256 description: >
257 Measures memory usage of the scroll performance test.
258 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800259 required_agent_capabilities: ["mac/android"]
Jason Simmons4da4ca82016-12-01 11:37:16 -0800260
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700261 hello_world_android__compile:
262 description: >
263 Measures the APK size of Hello World.
264 stage: devicelab
265 required_agent_capabilities: ["mac/android"]
266
Yegord7c21512016-12-02 16:50:27 -0800267 hello_world__memory:
268 description: >
269 Measures starting memory usage of the simplest Flutter app.
270 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800271 required_agent_capabilities: ["mac/android"]
Yegord7c21512016-12-02 16:50:27 -0800272
Todd Volkert0f625192019-07-18 11:13:14 -0700273 # hello_world__start_up:
274 # description: >
275 # Verifies that Hello World can start on an array of devices.
276 # stage: devicelab
277 # required_agent_capabilities: ["linux/android_esoteric"]
278
Yegor1df639b2017-01-09 14:57:14 -0800279 microbenchmarks:
280 description: >
281 Runs benchmarks from dev/benchmarks/microbenchmarks.
282 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800283 required_agent_capabilities: ["mac/android"]
Yegor57ca2b52017-04-06 10:48:45 -0700284 timeout_in_minutes: 30
Yegor1df639b2017-01-09 14:57:14 -0800285
Sarah Zakarias18db5a22017-03-23 13:20:00 +0100286 flutter_view__start_up:
287 description: >
288 Verifies that Flutter View can be used from an Android project.
289 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800290 required_agent_capabilities: ["mac/android"]
Sarah Zakarias18db5a22017-03-23 13:20:00 +0100291
Chris Bracken2d437f52017-05-11 14:29:20 -0700292 integration_ui:
293 description: >
294 Runs end-to-end Flutter tests on Android.
295 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800296 required_agent_capabilities: ["mac/android"]
Chris Bracken2d437f52017-05-11 14:29:20 -0700297
Ian Hicksone1adc522017-07-19 12:57:22 -0700298 commands_test:
299 description: >
300 Runs tests of flutter run commands.
301 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800302 required_agent_capabilities: ["mac/android"]
Ian Hicksone1adc522017-07-19 12:57:22 -0700303
Danny Tuppenyefb88a02018-02-07 16:58:23 +0000304 run_machine_concurrent_hot_reload:
305 description: >
306 Runs tests of concurrent hot reload commands via flutter run --machine.
307 stage: devicelab
308 required_agent_capabilities: ["mac/android"]
309
Devon Carew8c36ccf2017-08-31 11:38:21 -0700310 service_extensions_test:
311 description: >
312 Validates our service protocol extensions.
313 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800314 required_agent_capabilities: ["mac/android"]
Devon Carew8c36ccf2017-08-31 11:38:21 -0700315
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700316 android_sample_catalog_generator:
317 description: >
318 Builds sample catalog markdown pages and Android screenshots
319 stage: devicelab
Yegord589df42018-01-02 19:53:11 -0800320 required_agent_capabilities: ["mac/android"]
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700321
Jonah Williams08d079f2020-02-27 08:58:33 -0800322 android_obfuscate_test:
323 description: >
324 Builds an obfuscated APK and verifies a dart identifier cannot be found
325 stage: devicelab
326 flaky: true
327 required_agent_capabilities: ["linux/android"]
328
Michael Goderbauer8bf17192017-06-13 12:49:07 -0700329 complex_layout_semantics_perf:
330 description: >
331 Measures duration of building the initial semantics tree.
332 stage: devicelab
333 required_agent_capabilities: ["linux/android"]
Ian Hickson9adb4a72017-06-23 14:58:29 -0700334
Ian Hicksonbbea0c32017-06-23 18:13:40 -0700335 routing_test:
Ian Hickson9adb4a72017-06-23 14:58:29 -0700336 description: >
337 Verifies that `flutter drive --route` still works. No performance numbers.
338 stage: devicelab
339 required_agent_capabilities: ["linux/android"]
Michael Goderbauer8bf17192017-06-13 12:49:07 -0700340
Jonah Williams440a9112019-09-10 08:35:06 -0700341 # flutter_gallery_instrumentation_test:
342 # description: >
343 # Same as flutter_gallery__transition_perf but uses Android instrumentation
344 # framework, and therefore does not require a host computer to run. This
345 # test can run on off-the-shelf infrastructures, such as Firebase Test Lab.
346 # stage: devicelab
347 # required_agent_capabilities: ["linux/android"]
348 # flaky: true
Yegor18d9b202017-07-10 17:20:49 -0700349
Emmanuel Garciafca59172020-01-10 14:38:01 -0800350 flutter_attach_test_android:
Florian Loitschd2487252018-06-25 15:33:42 +0200351 description: >
352 Tests the `flutter attach` command.
353 stage: devicelab
354 required_agent_capabilities: ["linux/android"]
355
Michael Klimushynce434022018-10-24 11:44:45 -0700356 named_isolates_test:
357 description: >
358 Tests naming and attaching to specific isolates.
359 stage: devicelab
360 required_agent_capabilities: ["linux/android"]
Michael Klimushynce434022018-10-24 11:44:45 -0700361
Jonah Williamse7786862019-10-29 13:23:27 -0700362 linux_chrome_dev_mode:
363 description: >
364 Run flutter web on the devicelab and hot restart.
365 stage: devicelab
366 required_agent_capabilities: ["linux/android"]
Jonah Williams83986ac2019-06-03 23:19:42 -0700367
Jonah Williamsb80e6bb2019-10-17 19:21:52 -0700368 web_size__compile_test:
369 description: >
370 Measures the size of a dart2js bundle.
371 stage: devicelab
372 required_agent_capabilities: ["linux/android"]
Jonah Williams50ea6f32019-06-05 12:40:21 -0700373
Alexander Aprelev3badcf52019-06-28 15:14:03 -0700374 image_list_reported_duration:
375 description: >
Alexander Aprelev9f285aa2019-07-08 08:23:06 -0700376 Measures image loading performance on release (aot) build.
377 stage: devicelab
378 required_agent_capabilities: ["linux/android"]
Alexander Aprelev9f285aa2019-07-08 08:23:06 -0700379
380 image_list_jit_reported_duration:
381 description: >
382 Measures image loading performance on debug (jit) build.
Alexander Aprelev3badcf52019-06-28 15:14:03 -0700383 stage: devicelab
384 required_agent_capabilities: ["linux/android"]
Jonah Williams50ea6f32019-06-05 12:40:21 -0700385
Jonah Williamsb80e6bb2019-10-17 19:21:52 -0700386 build_benchmark:
387 description: >
388 Measures APK build performance across config changes.
389 stage: devicelab
390 required_agent_capabilities: ["linux/android"]
Jonah Williams05b4c672019-07-03 10:54:04 -0700391
Jonah Williams78951b02019-12-10 15:03:06 -0800392 time_to_development_benchmark__android:
393 description: >
394 Measures time from flutter run until resident runner setup is complete.
395 stage: devicelab
396 required_agent_capabilities: ["linux/android"]
397
Yegor1ba15622016-09-14 13:22:53 -0700398 # iOS on-device tests
399
Jonah Williams08d079f2020-02-27 08:58:33 -0800400 ios_obfuscate_test:
401 description: >
402 Builds an obfuscated APK and verifies a dart identifier cannot be found
403 stage: devicelab
404 flaky: true
405 required_agent_capabilities: ["mac/ios"]
406
liyuqianc1cb6802019-08-28 10:33:43 -0700407 tiles_scroll_perf_ios__timeline_summary:
408 description: >
409 Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone 6.
410 stage: devicelab_ios
411 required_agent_capabilities: ["mac/ios"]
412
413 tiles_scroll_perf_iphonexs__timeline_summary:
414 description: >
415 Measures the runtime performance of the tiles tab in the Complex Layout sample app on iPhone XS.
416 stage: devicelab_ios
keyonghan0ffecc62020-02-07 17:24:56 -0800417 # TODO(keyonghan): change with https://github.com/flutter/flutter/issues/50383
418 required_agent_capabilities: ["mac/ios"]
liyuqianc1cb6802019-08-28 10:33:43 -0700419
420 flutter_gallery_ios32__start_up:
421 description: >
422 Measures the startup time of the Flutter Gallery app on 32-bit iOS (iPhone 4S).
423 stage: devicelab_ios
424 required_agent_capabilities: ["mac/ios32"]
425
426 flutter_gallery_ios32__transition_perf:
427 description: >
428 Measures the performance of screen transitions in Flutter Gallery on
429 32-bit iOS (iPhone 4S).
430 stage: devicelab_ios
431 required_agent_capabilities: ["mac/ios32"]
432
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200433 flavors_test_ios:
434 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700435 Checks that flavored builds work on iPhone 6.
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200436 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800437 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200438
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100439 external_ui_integration_test_ios:
440 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700441 Checks that external UIs work on iPhone 6.
Mikkel Nygaard Ravndbfd0be2017-11-22 15:14:14 +0100442 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800443 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravnd06482c2017-11-22 14:16:25 +0100444
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200445 channels_integration_test_ios:
446 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700447 Checks that platform channels work on iPhone 6.
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200448 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800449 required_agent_capabilities: ["mac/ios"]
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200450
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200451 platform_interaction_test_ios:
452 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700453 Checks platform interaction on iPhone 6.
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200454 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800455 required_agent_capabilities: ["mac/ios"]
Sarah Zakariasf1f5d4f2017-08-11 10:38:12 +0200456
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200457 platform_channel_sample_test_ios:
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100458 description: >
Jenn Magderb5c1b612019-07-10 14:13:01 -0700459 Runs a driver test on the Platform Channel sample app on iPhone 6 Objective-C project.
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100460 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800461 required_agent_capabilities: ["mac/ios"]
Sarah Zakariasd1f73fd2017-03-20 22:19:03 +0100462
Jenn Magderb5c1b612019-07-10 14:13:01 -0700463 platform_channel_sample_test_swift:
464 description: >
465 Runs a driver test on the Platform Channel sample app on iPhone 6 Swift project.
466 stage: devicelab_ios
467 required_agent_capabilities: ["mac/ios"]
Jenn Magderb5c1b612019-07-10 14:13:01 -0700468
Sarah Zakariasa3e71bf2018-05-16 13:24:47 +0200469 platform_view_ios__start_up:
470 description: >
471 Verifies that Platform View can be used from an iOS project.
472 stage: devicelab_ios
473 required_agent_capabilities: ["mac/ios"]
474
liyuqianbbcfdea2019-08-20 10:39:29 -0700475 backdrop_filter_perf_ios__timeline_summary:
476 description: >
477 Measures the runtime performance of backdrop filter blurs on iOS.
478 stage: devicelab_ios
479 required_agent_capabilities: ["mac/ios"]
liyuqianbbcfdea2019-08-20 10:39:29 -0700480
Dan Field9348aea2020-02-07 13:51:24 -0800481 # post_backdrop_filter_perf_ios__timeline_summary:
482 # description: >
483 # Measures the runtime performance of animations after a backdrop filter is removed on iOS.
484 # stage: devicelab_ios
485 # required_agent_capabilities: ["mac/iphonexs"]
Jim Grahamfa190a82019-12-13 13:27:53 -0800486
Yegor1ba15622016-09-14 13:22:53 -0700487 complex_layout_scroll_perf_ios__timeline_summary:
488 description: >
489 Measures the runtime performance of the Complex Layout sample app on
490 iOS.
491 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800492 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700493
Yegorc027aa12017-11-02 14:20:14 -0700494 flutter_gallery_ios__start_up:
495 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700496 Measures the startup time of the Flutter Gallery app on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700497 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800498 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700499
Yegorc027aa12017-11-02 14:20:14 -0700500 complex_layout_ios__start_up:
501 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700502 Measures the startup time of the Complex Layout sample app on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700503 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800504 required_agent_capabilities: ["mac/ios"]
Yegor1ba15622016-09-14 13:22:53 -0700505
Chris Brackenabfee822017-03-29 19:19:57 -0700506 flutter_gallery_ios__transition_perf:
507 description: >
508 Measures the performance of screen transitions in Flutter Gallery on
509 iOS.
510 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800511 required_agent_capabilities: ["mac/ios"]
Yegor568a6e12016-12-05 12:46:59 -0800512
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700513 hello_world_ios__compile:
514 description: >
515 Measures the IPA size of Hello World.
Todd Volkert083022b2019-08-16 15:34:56 -0700516 stage: devicelab_ios
Michael Goderbauerebb174b2018-06-16 00:08:33 -0700517 required_agent_capabilities: ["mac/ios"]
518
Yegorc027aa12017-11-02 14:20:14 -0700519 microbenchmarks_ios:
520 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700521 Runs benchmarks from dev/benchmarks/microbenchmarks on iPhone 6.
Yegorc027aa12017-11-02 14:20:14 -0700522 stage: devicelab_ios
godofredoc374b55c2020-02-05 09:17:13 -0800523 #TODO(godofredoc): Remove ios/12 capability once
524 # https://github.com/flutter/flutter/issues/49635 is fixed.
525 required_agent_capabilities: ["mac/ios", "ios/12"]
Yegorc027aa12017-11-02 14:20:14 -0700526 timeout_in_minutes: 30
Michael Goderbauer79002c72017-03-16 13:47:14 -0700527
Ian Hicksond1041062017-11-28 17:21:01 -0800528 flutter_view_ios__start_up:
529 description: >
530 Verifies that Flutter View can be used from an iOS project.
531 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800532 required_agent_capabilities: ["mac/ios"]
Sarah Zakarias47fc81f2017-03-24 11:45:57 +0100533
Chris Bracken2d437f52017-05-11 14:29:20 -0700534 integration_ui_ios:
535 description: >
liyuqian34e18d32019-07-08 14:13:33 -0700536 Runs end-to-end Flutter tests on iPhone 6.
Chris Bracken2d437f52017-05-11 14:29:20 -0700537 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800538 required_agent_capabilities: ["mac/ios"]
Yegora90a8502018-04-20 13:57:06 -0700539 timeout_in_minutes: 20
Chris Bracken2d437f52017-05-11 14:29:20 -0700540
Chris Yang4a004962019-12-10 12:43:36 -0800541 flutter_driver_screenshot_test_ios:
542 description: >
543 Screenshot tests running on a specifc iPhone 6.
544 The test makes sure that there is no regression while renderring an image with gl on iOS.
545 stage: devicelab_ios
546 required_agent_capabilities: ["mac/ios", "ios/gl-render-image"]
Chris Brackenf3018c32020-03-02 09:45:24 -0800547 #TODO(cyanglaz): The flaky flag is added because it is the first screenshot test we added.
548 # Remove the flaky flag when we are sure the test is stable.
549 flaky: true
Chris Yang4a004962019-12-10 12:43:36 -0800550
Christopher Fujino18ff9a22019-10-18 12:28:46 -0700551 # TODO(fujino): does not pass on iOS13 https://github.com/flutter/flutter/issues/41133
552 # system_debug_ios:
553 # description: >
554 # Tests that the Engine correctly initializes the system debugger for debug-mode iOS apps.
555 # stage: devicelab_ios
556 # required_agent_capabilities: ["mac/ios"]
557 # timeout_in_minutes: 10
sjindel-google0564f0a2019-08-06 20:08:09 +0200558
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700559 ios_sample_catalog_generator:
560 description: >
561 Builds sample catalog markdown pages and iOS screenshots
562 stage: devicelab_ios
Yegord589df42018-01-02 19:53:11 -0800563 required_agent_capabilities: ["mac/ios"]
Hans Mullerb4e41ff2017-05-25 11:47:36 -0700564
Jonah Williamse7786862019-10-29 13:23:27 -0700565 macos_chrome_dev_mode:
566 description: >
567 Run flutter web on the devicelab and hot restart.
568 stage: devicelab_ios
569 required_agent_capabilities: ["mac/ios"]
570 flaky: true # marked as flaky while infra is under heavy development
Jonah Williams83986ac2019-06-03 23:19:42 -0700571
Jonah Williams91e3b2d2019-07-08 18:09:00 -0700572 build_benchmark_ios:
573 description: >
574 Measures iOS build performance across config changes.
575 stage: devicelab_ios
576 required_agent_capabilities: ["mac/ios"]
Jonah Williams91e3b2d2019-07-08 18:09:00 -0700577
Dan Field9348aea2020-02-07 13:51:24 -0800578 # simple_animation_perf_iphonexs:
579 # description: >
580 # Measure CPU/GPU usage percentages of a simple animation.
581 # stage: devicelab_ios
582 # required_agent_capabilities: ["mac/iphonexs"]
liyuqian9cc29c62019-09-29 11:33:43 -0700583
Tong Wua690b0b2019-08-27 17:47:32 -0700584 smoke_catalina_start_up_ios:
Tong Wub38302b2019-08-27 11:22:54 -0700585 description: >
586 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 -0700587 stage: devicelab_ios
588 required_agent_capabilities: ["mac-catalina/ios"]
Tong Wub38302b2019-08-27 11:22:54 -0700589
Tong Wua690b0b2019-08-27 17:47:32 -0700590 smoke_catalina_hot_mode_dev_cycle_ios__benchmark:
Tong Wub38302b2019-08-27 11:22:54 -0700591 description: >
592 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 -0700593 stage: devicelab_ios
Tong Wu2f58d082019-08-27 12:27:12 -0700594 required_agent_capabilities: ["mac-catalina/ios"]
Tong Wub38302b2019-08-27 11:22:54 -0700595
Tong Wua690b0b2019-08-27 17:47:32 -0700596 smoke_catalina_start_up:
597 description: >
598 A smoke test that runs on macOS Catalina, which is a clone of the Gallery startup latency test.
599 stage: devicelab
Tong Wua690b0b2019-08-27 17:47:32 -0700600 required_agent_capabilities: ["mac-catalina/android"]
601
602 smoke_catalina_hot_mode_dev_cycle__benchmark:
603 description: >
604 A some test that runs on macOS Catalina, which is a clone of the Dart VM hot patching performance benchmarking.
605 stage: devicelab
Tong Wua690b0b2019-08-27 17:47:32 -0700606 required_agent_capabilities: ["mac-catalina/android"]
607
Jonah Williams0e36a912019-11-20 12:35:53 -0800608 # macOS target platform tests
609 hot_mode_dev_cycle_macos_target__benchmark:
610 description: >
611 Checks the functionality and performance of hot reload on a macOS target platform
612 stage: devicelab
613 required_agent_capabilities: ["mac/ios"]
Jonah Williams0e36a912019-11-20 12:35:53 -0800614
Michael Goderbauer79002c72017-03-16 13:47:14 -0700615 # Tests running on Windows host
616
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200617 flavors_test_win:
618 description: >
619 Checks that flavored builds work on Windows.
620 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800621 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn9496e6d2017-08-23 10:55:35 +0200622
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200623 channels_integration_test_win:
624 description: >
625 Checks that platform channels work when app is launched from Windows.
626 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800627 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn70ff50f2017-04-27 08:44:28 +0200628
Mikkel Nygaard Ravn20004352018-02-16 10:17:28 +0100629 plugin_test_win:
630 description: >
631 Checks that the project template works and supports plugins on Windows.
632 stage: devicelab_win
633 required_agent_capabilities: ["windows/android"]
Mikkel Nygaard Ravn20004352018-02-16 10:17:28 +0100634
Michael Goderbauer506aea02017-03-28 14:22:03 -0700635 hot_mode_dev_cycle_win__benchmark:
636 description: >
637 Measures the performance of Dart VM hot patching feature on Windows.
638 stage: devicelab_win
Yegord589df42018-01-02 19:53:11 -0800639 required_agent_capabilities: ["windows/android"]
Yegor7397bb92017-05-31 12:43:18 -0700640
Jonah Williams440a9112019-09-10 08:35:06 -0700641 # run_without_leak_win:
642 # description: >
643 # Checks that `flutter run` does not leak dart.exe on Windows.
644 # stage: devicelab_win
645 # required_agent_capabilities: ["windows/android"]
Dan Fieldecfdd7e2019-03-22 14:32:36 -0700646
Yegor7397bb92017-05-31 12:43:18 -0700647 # Tests running on Linux hosts
648
649 hot_mode_dev_cycle_linux__benchmark:
650 description: >
651 Measures the performance of Dart VM hot patching feature on a Linux host.
652 stage: devicelab
653 required_agent_capabilities: ["linux/android"]
Yegor7397bb92017-05-31 12:43:18 -0700654
Ian Hickson3ecd4302018-06-26 17:34:25 -0700655 flutter_test_performance:
656 description: >
657 Measures performance of running flutter test.
658 stage: devicelab
659 required_agent_capabilities: ["linux/android"]
Ian Hickson3ecd4302018-06-26 17:34:25 -0700660
Ian Hicksonbe793792019-10-17 19:32:31 -0700661 dartdocs:
662 description: >
663 Tracks how many members are still lacking documentation.
664 stage: devicelab
godofredoc4c4cdbf2019-12-02 19:45:04 -0800665 required_agent_capabilities: ["linux-vm"]
Ian Hicksonbe793792019-10-17 19:32:31 -0700666
Yegor7397bb92017-05-31 12:43:18 -0700667 technical_debt__cost:
668 description: >
669 Estimates our technical debt (TODOs, analyzer ignores, etc).
670 stage: devicelab
godofredoc16570752019-12-04 16:26:41 -0800671 required_agent_capabilities: ["linux-vm"]
Yegor06deba22017-05-31 15:13:08 -0700672
Yegor06deba22017-05-31 15:13:08 -0700673 flutter_gallery__start_up:
674 description: >
675 Measures the startup time of the Flutter Gallery app on Android.
676 stage: devicelab
677 required_agent_capabilities: ["linux/android"]
678
679 flutter_gallery__transition_perf:
680 description: >
681 Measures the performance of screen transitions in Flutter Gallery on
682 Android.
683 stage: devicelab
684 required_agent_capabilities: ["linux/android"]
685
Michael Goderbauere2d4f922017-06-14 08:09:05 -0700686 flutter_gallery__transition_perf_with_semantics:
687 description: >
688 Measures the delta in performance of screen transitions without and
689 with semantics enabled.
690 stage: devicelab
691 required_agent_capabilities: ["linux/android"]
Michael Goderbauere2d4f922017-06-14 08:09:05 -0700692
Yegor06deba22017-05-31 15:13:08 -0700693 flutter_gallery__memory_nav:
694 description: >
695 Measures memory usage after repeated navigation in Gallery.
696 stage: devicelab
697 required_agent_capabilities: ["linux/android"]
698
699 flutter_gallery__back_button_memory:
700 description: >
701 Measures memory usage after Android app suspend and resume.
702 stage: devicelab
703 required_agent_capabilities: ["linux/android"]
Yegorfde985b2017-06-13 13:14:16 -0700704
Kaushik Iska92bfc992019-06-04 12:32:52 -0700705 flutter_gallery__image_cache_memory:
706 description: >
707 Measures memory usage for a list of large red squares in smaller containers.
708 stage: devicelab
709 required_agent_capabilities: ["linux/android"]
Kaushik Iska92bfc992019-06-04 12:32:52 -0700710
liyuqiana2005ea2019-12-05 19:28:00 -0800711 fast_scroll_large_images__memory:
712 description: >
713 Measures memory usage for scrolling through a list of large images.
714 stage: devicelab
715 required_agent_capabilities: ["mac/android"]
716
Dan Fieldd0302962020-02-20 01:51:15 -0800717 animated_placeholder_perf:
718 description: >
719 Measures frame build and rasterizer times, as well as frame build counts
720 for a grid of images that uses FadeInImage with an animated gif as the
721 placeholder.
722 stage: devicelab
723 required_agent_capabilities: ["linux/android"]
724 flaky: true
725
Yegorfde985b2017-06-13 13:14:16 -0700726 analyzer_benchmark:
727 description: >
728 Measures the speed of Dart analyzer.
729 stage: devicelab
Jonah Williams452f2552018-08-13 13:26:32 -0700730 required_agent_capabilities: ["linux/android"]
Chris Bracken52246c02018-05-14 15:05:38 -0700731
Yegor423459d2020-01-30 14:19:17 -0800732 web_benchmarks_html:
733 description: >
734 Runs Web benchmarks on Chrome on a Linux machine using the HTML rendering backend.
735 stage: devicelab
736 required_agent_capabilities: ["linux-vm"]
Yegor423459d2020-01-30 14:19:17 -0800737
738 web_benchmarks_canvaskit:
739 description: >
740 Runs Web benchmarks on Chrome on a Linux machine using the CanvasKit rendering backend.
741 stage: devicelab
742 required_agent_capabilities: ["linux-vm"]
Yegor423459d2020-01-30 14:19:17 -0800743
Jonah Williams440a9112019-09-10 08:35:06 -0700744 # run_without_leak_linux:
745 # description: >
746 # Checks that `flutter run` does not leak dart on Linux.
747 # stage: devicelab
748 # required_agent_capabilities: ["linux/android"]
749 # flaky: true
Dan Fieldecfdd7e2019-03-22 14:32:36 -0700750
Jonah Williams440a9112019-09-10 08:35:06 -0700751 # run_without_leak_mac:
752 # description: >
753 # Checks that `flutter run` does not leak dart on macOS.
754 # stage: devicelab
755 # required_agent_capabilities: ["mac/android"]
756 # flaky: true
Matt Carrolla7387b12019-07-24 13:44:13 -0700757
Jonah Williams440a9112019-09-10 08:35:06 -0700758 # android_splash_screen_integration_test:
759 # description: >
760 # Runs end-to-end test of Flutter's Android splash behavior.
761 # stage: devicelab
762 # required_agent_capabilities: ["linux/android"]
763 # flaky: true