1222 Commits

Author SHA1 Message Date
Zachary Anderson
57fa26cd5c
Retry plugin_test_ios in presubmit (#151773)
For https://github.com/flutter/flutter/issues/151772

This test is flaking frequently in presubmit and blocking engine -> framework rolls as in https://github.com/flutter/flutter/pull/151762 that only contained a Skia roll.
2024-07-15 20:11:25 +00:00
Zachary Anderson
f4f556797a
Move tests on Linux/Mokey and a few others from staging to prod (#151760)
For https://github.com/flutter/flutter/issues/148085
2024-07-15 10:52:53 -07:00
Jenn Magder
0cf6ae7686
Remove bringup from platform_views_scroll_perf_bottom_ad_banner__timeline_summary (#151617)
This benchmark is passing in post-submit.  Remove bringup so skiaperf metrics can be collected.

https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_ios%20platform_views_scroll_perf_bottom_ad_banner__timeline_summary/93/overview

Note there have been infra failures https://github.com/flutter/flutter/issues/151592 but I don't expect to see the same when this moves off the staging pool.
2024-07-15 17:32:55 +00:00
Zachary Anderson
58068d8ea4
Reland: Move all Linux Moto G4 tests to mokey in staging (#151654)
Relands https://github.com/flutter/flutter/pull/151608 with device
config added back.

For https://github.com/flutter/flutter/issues/148085
2024-07-12 10:12:03 -07:00
Gray Mackall
21f773b8cf
Unmark java11 tests as bringup:true (#151612)
These tests aren't actually new, they are old tests that had to be broken out to a new shard in https://github.com/flutter/flutter/pull/151433/. So they've already been passing for some time, and are still passing on their new shard, so they should be safe to mark as not `bringup:true`.
2024-07-11 23:40:09 +00:00
auto-submit[bot]
e5d68ec264
Reverts "Move all Linux Moto G4 tests to mokey in staging (#151608)" (#151620)
Reverts: flutter/flutter#151608
Initiated by: zanderso
Reason for reverting: Overeager cleanup of unused device spec.
Original PR Author: zanderso

Reviewed By: {christopherfujino, jonahwilliams}

This change reverts the following previous change:
Next step of https://github.com/flutter/flutter/issues/148085
2024-07-11 22:40:26 +00:00
Zachary Anderson
9093c1de47
Move all Linux Moto G4 tests to mokey in staging (#151608)
Next step of https://github.com/flutter/flutter/issues/148085
2024-07-11 15:25:40 -07:00
Gray Mackall
bb637f3128
Reland "Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests"... but no longer upgrade module AGP version (#151433)
Relands https://github.com/flutter/flutter/pull/150969, but removes the upgrade to the module AGP version.

The reason is that a more complicated change is required because in AGP 8.0 software components are no longer generated by default, but rather only generated for variants that are configured to be published using the publishing DSL (see the `android.disableAutomaticComponentCreation` section of https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes).

That broke our aar initialization script, because the components didn't exist so the `aar` tasks never got [created here](9ff9c67272/packages/flutter_tools/gradle/aar_init_script.gradle (L29)).

Verified that the one postsubmit that failed now passes (`android_obfuscate_test`)
2024-07-10 21:37:26 +00:00
hellohuanlin
86ac077fb5
[ios]A typical news app benchmark with bottom ad banner (#150991)
This is a very common usage of ad so we want to make sure it's performant. 

From the video, it scrolls quite smoothly, but we want to see the numbers, and keep monitoring it in case of regression.

https://github.com/flutter/flutter/assets/41930132/c7811c15-ac07-4989-a8a9-3c128e08cbe0

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes https://github.com/flutter/flutter/issues/150230

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-07-08 21:01:58 +00:00
auto-submit[bot]
dbc2dc88bc
Reverts "Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests (#150969)" (#151147)
Reverts: flutter/flutter#150969
Initiated by: goderbauer
Reason for reverting: Failing test in https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8743574743030691569/+/u/run_android_obfuscate_test/stdout
Original PR Author: gmackall

Reviewed By: {christopherfujino, reidbaker}

This change reverts the following previous change:
After the land of https://github.com/flutter/engine/pull/53592, there is some log spam:
```
e: /Users/mackall/.gradle/caches/transforms-3/c1e137371ec1afe9bc9bd7b05823752d/transformed/fragment-1.7.1/jars/classes.jar!/META-INF/fragment_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /Users/mackall/.gradle/caches/transforms-3/d86c7cb1c556fe1655fa56db671c649c/transformed/jetified-activity-1.8.1/jars/classes.jar!/META-INF/activity_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
...
```

I think this is harmless, but still annoying. Upgrading the AGP version fixes it. To be honest, I don't know why (I expected the Kotlin version would do it). But after https://github.com/flutter/flutter/pull/146307, our tests have been running on AGP/Gradle 8.1/8.3 for a while, so it makes sense to upgrade anyways.

In a follow up PR:
1. Also upgrade the tests that were left behind in https://github.com/flutter/flutter/pull/146307, as I think removal of discontinued plugins paved the way here.
2024-07-01 23:31:26 +00:00
Gray Mackall
bd5ab96018
Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests (#150969)
After the land of https://github.com/flutter/engine/pull/53592, there is some log spam:
```
e: /Users/mackall/.gradle/caches/transforms-3/c1e137371ec1afe9bc9bd7b05823752d/transformed/fragment-1.7.1/jars/classes.jar!/META-INF/fragment_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /Users/mackall/.gradle/caches/transforms-3/d86c7cb1c556fe1655fa56db671c649c/transformed/jetified-activity-1.8.1/jars/classes.jar!/META-INF/activity_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
...
```

I think this is harmless, but still annoying. Upgrading the AGP version fixes it. To be honest, I don't know why (I expected the Kotlin version would do it). But after https://github.com/flutter/flutter/pull/146307, our tests have been running on AGP/Gradle 8.1/8.3 for a while, so it makes sense to upgrade anyways.

In a follow up PR:
1. Also upgrade the tests that were left behind in https://github.com/flutter/flutter/pull/146307, as I think removal of discontinued plugins paved the way here.
2024-07-01 21:41:59 +00:00
Jackson Gardner
7b12e69089
Remove bringup: true from web test shard. (#150785)
These two fixes seem to have stopped the flaking:
https://github.com/flutter/flutter/pull/149828
https://dart-review.googlesource.com/c/sdk/+/367821
2024-06-26 20:46:23 +00:00
Jason Simmons
6ef91167f0
Extend the Windows web_tool_tests_1_2 shard timeout to 45 minutes (#150393)
This suite typically takes almost 30 minutes on CI, and some recent
engine->framework rolls failed because the tests exceeded the current 30
minute timeout.
2024-06-17 23:44:01 -07:00
Jackson Gardner
b1f9d7131c
Update to Chrome for Testing 125, since we haven't updated in a bit. (#149933)
Chrome version bump. That is all.
2024-06-12 16:36:59 +00:00
Victoria Ashworth
fa30ecff8a
Temporarily run Mac_arm64 framework_tests_misc on only Mac-13 (#150009)
Temporary solution for https://github.com/flutter/flutter/issues/150008.
2024-06-10 20:07:03 +00:00
Zachary Anderson
bb831b7a64
Shift consistently passing tests on mokey to prod (#149902)
Part of https://github.com/flutter/flutter/issues/148085
2024-06-07 16:48:11 +00:00
Victoria Ashworth
ea93790479
Run tests on macOS 13 or 14 (#149827)
In preparation of upgrading our fleet to macOS 14, allow tests to run on either macOS 13 or 14.

Fixes https://github.com/flutter/flutter/issues/148871.
2024-06-06 22:18:18 +00:00
Flutter GitHub Bot
0708f3c8bc
Marks Mac_ios rrect_blur_perf_ios__timeline_summary to be unflaky (#149729)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac_ios rrect_blur_perf_ios__timeline_summary"
}
-->
The test has been passing for [50 consecutive runs](https://data.corp.google.com/sites/flutter_infra_metrics_datasite/flutter_check_test_flakiness_status_dashboard/?p=BUILDER_NAME:%22Mac_ios%20rrect_blur_perf_ios__timeline_summary%22).
This test can be marked as unflaky.
2024-06-05 22:40:01 +00:00
Zachary Anderson
31c8222eed
Move some benchmarks from MotoG4 to Mokey (#149567)
On Linux hosts, there are currently 5 mokey's in staging and 7 in prod.
On Linux hosts, there is currently 1 MotoG4 in staging and 11 in prod.

This PR shifts the ~5 tests that have been running on mokey's for awhile
now from staging to prod, and shifts about half of the MotoG4 benchmarks
from MotoG4's in prod to mokey's in staging.

Following this change, we can disconnect half of the Linux/MotoG4's in
the prod pool and replace them with mokey's in the prod pool.

Part of https://github.com/flutter/flutter/issues/148085
2024-06-03 08:51:58 -07:00
gaaclarke
ba5a4d8c09
Adds benchmark for rrect_blur. (#149261)
issue: https://github.com/flutter/flutter/issues/148496

![rrectblurbenchmark (2)](https://github.com/flutter/flutter/assets/30870216/ec849519-4619-4c2f-8bb3-8e0584c4566f)
(I slightly tweaked the animation to make sure the large radius blurs aren't always at the bottom of the screen).
2024-05-29 22:19:10 +00:00
Zachary Anderson
611776841b
Move Linux web_long_running_tests_2_5 to bringup (#148854)
Failing on nearly every run with:


https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8747255560298826193/+/u/run_test.dart_for_web_long_running_tests_shard_and_subshard_2_5/stdout
2024-05-22 08:04:29 -07:00
Flutter GitHub Bot
9d7d21899f
Marks Windows plugin_test to be flaky (#148835)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Windows plugin_test"
}
-->
Issue link: https://github.com/flutter/flutter/issues/148834
2024-05-22 14:35:41 +00:00
Zachary Anderson
72f06d2bf3
Remove all tests from a02s. Replace with mokey in bringup (#148563)
We never made much use of the a02s's, so we can easily free up some
hosts for more mokey devices by eagerly shifting some of the tests on
a02s to mokey.
2024-05-20 10:13:47 -07:00
Zachary Anderson
167e65f97e
Shift a test on MotoG4 to staging, add it on Mokey (#148552)
The test on MotoG4 has lots of flaky timeouts, so this PR moves it to
bringup to stop turning the tree red. This PR also adds the test on
Mokey in anticipation of removing the MotoG4 devices and to see if it
might be flaky there as well.
2024-05-17 10:49:15 -07:00
Flutter GitHub Bot
6d424e3036
Marks Mac_pixel_7pro native_assets_android to be flaky (#148403)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac_pixel_7pro native_assets_android"
}
-->
Issue link: https://github.com/flutter/flutter/issues/148402
2024-05-16 06:44:26 +00:00
Jenn Magder
57890e5aa7
Stop running module_test_ios in devicelab and x64 Macs (#148264)
As of https://github.com/flutter/flutter/pull/147934 `module_test_ios` is passing on non-devicelab machines.  Remove the devicelab build and mark the arm non-devicelab build as not flaky.

@vashworth's summary from https://github.com/flutter/flutter/issues/112033#issuecomment-2108671235:

> So I believe [the idea](https://github.com/flutter/flutter/pull/141910) was to move `Mac_arm64_ios module_test_ios` to `Mac_arm64 module_test_ios` so it doesn't run on a devicelab bot.
> 
> However, it fails when running on a chromium bot due to a `Trying to load an unsigned library` issue, even though it's using a simulator:
> https://ci.chromium.org/ui/p/flutter/builders/luci.flutter.staging/Mac_arm64%20module_test_ios
> 
> It's unclear why, but it seemed that removing the [lines](https://github.com/flutter/flutter/issues/112033#issuecomment-1652268832) that force disabling of codesigning allowed it to run. [@godofredoc was going to do a follow up PR to fix it](https://github.com/flutter/flutter/pull/141910#discussion_r1462346593), but it was probably forgotten. 

Also remove the x64 version of this test, since there's nothing arch-specific going on here and it happens to be flaky due to an infrastructure issues.

Fixes https://github.com/flutter/flutter/issues/112033
Fixes https://github.com/flutter/flutter/issues/144680
2024-05-15 18:33:03 +00:00
Jenn Magder
51d99e79d0
Mark platform_views_scroll_perf_ad_banners__timeline_summary not flaky (#148263)
New build been consistently passing
https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_ios%20platform_views_scroll_perf_ad_banners__timeline_summary/960
2024-05-13 23:07:05 +00:00
Greg Spencer
95be3fb1fe
Revert "Move docs_test and docs_publish to bringup (#147645)" (#147928)
## Description

This reverts commit cb2197e9b3b179929b9f775b4263938dd823d491 to move `docs_test` and `docs_publish` back to normal mode after being fixed.

## Related Issues
 - https://github.com/flutter/flutter/issues/147609
 - https://github.com/flutter/flutter/pull/147645
2024-05-07 17:26:07 +00:00
Zachary Anderson
cb2197e9b3
Move docs_test and docs_publish to bringup (#147645)
For https://github.com/flutter/flutter/issues/147609 to unblock the
tree.

@gspencergoog @jason-simmons
2024-05-01 07:41:55 -07:00
Chris Bracken
22a57531e6
[macOS] Eliminate flutter_gallery_macos__start_up benchmark (#147442)
The macOS devicelab machines are not physically configured for benchmarking at a 60 Hz refresh rate. With Flutter vsync wired up via CVDisplayLink (rather than a hardcoded 60 Hz rate as previously), the bot shows 0 monitors configured and syncs at 30 Hz. This is not a meaningful target to measure against but consumes devicelab CPU cycles.

Given that there is currently no plan in place to acquire and configure a consistent pool of physical benchmarking desktop machines, disabling this test to reduce load on the bots.

See https://github.com/flutter/engine/pull/51210 for a discussion of the decision to move forward with wiring up vsync from macOS and ignore this benchmark.

For future archaeologists, I don't think it's worth removing all the plumbing in the Dart code (in [dev/devicelab/lib/tasks/perf_tests.dart](9d47055640/dev/devicelab/lib/tasks/perf_tests.dart (L963))) that supports running this benchmark on macOS. If we ever acquire hardware suitable for benchmarking with the appropriate HDMI dongle to simulate a 60Hz 4k display, for example, it would be reasonable to re-enable this benchmark.
2024-04-27 01:25:17 +00:00
Zachary Anderson
6c5606bea7
Run new_gallery__transition_perf on mokey in staging (#147339) 2024-04-24 16:33:15 -07:00
keyonghan
1df1c84dbe
Mark firebase tests as bringup: true (#147338)
This helps green the tree considering firebase outage:
https://github.com/flutter/flutter/issues/147335
2024-04-24 15:38:17 -07:00
Jackson Gardner
51e70fa16b
Fix skwasm tests (#145570)
Skwasm tests are now running as `bringup: true` in postsubmit, but failing. Let's get them fixed.
2024-04-09 19:35:07 +00:00
Gray Mackall
22e0c89f0a
Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307)
Relands https://github.com/flutter/flutter/pull/146181.

Just 3 commits:
1. a revert of the revert
2. the fix described in https://github.com/flutter/flutter/pull/146181#issuecomment-2038238869
3. updating two postsubmit tests from Java 11 to 17, as that is required for this new AGP version.

I've verified that `flutter build apk --flavor paid --debug` fails in `dev/integration_tests/flavors/` with the error in ci without (2), and succeeds with it. 

I've also verified that the `dev/benchmarks/complex_layout` app builds successfully with Java 17.

That covers all the postsubmits that failed according [to the dashboard](https://flutter-dashboard.appspot.com/#/build).
2024-04-05 19:09:20 +00:00
Gray Mackall
29ed214e7f
Set up Kotlin linting step in ci with ktlint (#143478)
Adds a kotlin linting step to the linux analyze check, using a version of [ktlint](https://github.com/pinterest/ktlint) hosted on [CIPD](https://chrome-infra-packages.appspot.com/p/flutter/ktlint/linux-amd64/+/version_1_1_1).

Configured to disallow trailing commas, because of (and now acting as a test for) https://github.com/flutter/flutter/pull/145718. Because of this configuration the PR also removes some trailing commas in some kotlin files.

Also checks in a baseline file.
2024-04-03 21:21:00 +00:00
Flutter GitHub Bot
3a3026c5c9
Marks Linux_pixel_7pro complex_layout_scroll_perf_impeller__timeline_summary to be unflaky (#140038)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Linux_pixel_7pro complex_layout_scroll_perf_impeller__timeline_summary"
}
-->
The test has been passing for [50 consecutive runs](https://data.corp.google.com/sites/flutter_infra_metrics_datasite/flutter_check_test_flakiness_status_dashboard/?p=BUILDER_NAME:%22Linux_pixel_7pro%20complex_layout_scroll_perf_impeller__timeline_summary%22).
This test can be marked as unflaky.
2024-04-02 22:54:42 +00:00
Polina Cherkasova
e10049b2ff
Turn off randomization for leak detection bots. (#145624) 2024-03-24 17:47:23 +00:00
Jackson Gardner
31209d04ff
flutter test --wasm support (#145347)
* Adds support for `flutter test --wasm`.
  * The test compilation flow is a bit different now, so that it supports compilers other than DDC. Specifically, when we run a set of unit tests, we generate a "switchboard" main function that imports each unit test and runs the main function for a specific one based off of a value set by the JS bootstrapping code. This way, there is one compile step and the same compile output is invoked for each unit test file.
* Also, removes all references to `dart:html` from flutter/flutter.
* Adds CI steps for running the framework unit tests with dart2wasm+skwasm
  * These steps are marked as `bringup: true`, so we don't know what kind of failures they will result in. Any failures they have will not block the tree at all yet while we're still in `bringup: true`. Once this PR is merged, I plan on looking at any failures and either fixing them or disabling them so we can get these CI steps running on presubmit.

This fixes https://github.com/flutter/flutter/issues/126692
2024-03-21 20:08:07 +00:00
Ricardo Amador
71c1aba10b
Switch hot_mode_dev_cycle_linux__benchmark to run in postsubmit (#145343)
Switch hot_mode_dev_cycle_linux__benchmark to run in postsubmit.

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*
Part of https://github.com/flutter/flutter/issues/145242

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-18 19:15:22 +00:00
Victoria Ashworth
7f368f7ed4
Add --no-dds to Mac_arm64_ios version of hot_mode_dev_cycle_ios__benchmark (#145335)
Attempting to debug https://github.com/flutter/flutter/issues/142305.
2024-03-18 18:51:26 +00:00
Jenn Magder
a2678be7ad
Platform view devicelab ad banner scroll list real ads (#145239)
Reland https://github.com/flutter/flutter/pull/144745, which was reverted due to a the Android app ads not being set up correctly, crashing on launch: https://github.com/flutter/flutter/pull/145228

Add the missing [`com.google.android.gms.ads.APPLICATION_ID` `meta-data` tag](https://developers.google.com/admob/android/quick-start#import_the_mobile_ads_sdk) to the manifest.

Validated both `platform_views_scroll_perf__timeline_summary` and `platform_views_scroll_perf_impeller__timeline_summary` ran locally on an Android emulator.

Successful presubmit runs:
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf__timeline_summary/4/overview
https://ci.chromium.org/ui/p/flutter/builders/try/Linux_pixel_7pro%20platform_views_scroll_perf_impeller__timeline_summary/4/overview

Original commit message:
_________
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue https://github.com/flutter/flutter/issues/144339

Fixes https://github.com/flutter/flutter/issues/143534
Fixes https://github.com/flutter/flutter/issues/143257
2024-03-16 05:44:21 +00:00
yusuf-goog
1c153c38d2
Renaming the virtual device Nexus5 name to Nexus5.gce_x86 (#145225)
This is required to match a rename being made for the devices in firebase lab.

Also removed `version=24` entry, since thats not supported on Nexus5x, per the firebase team.

Bug:b/322830672

*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-15 22:50:21 +00:00
auto-submit[bot]
ca2d4865cf
Reverts "Reland: "Platform view devicelab ad banner scroll list real ads" (#145224)" (#145228)
Reverts: flutter/flutter#145224
Initiated by: hellohuanlin
Reason for reverting: breaks the tree
Original PR Author: hellohuanlin

Reviewed By: {gmackall, jmagman}

This change reverts the following previous change:
Reland https://github.com/flutter/flutter/pull/144745, which got reverted due to Android lockfile. Fixed by `dart dev/tools/bin/generate_gradle_lockfiles.dart`

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes https://github.com/flutter/flutter/issues/143534
Fixes https://github.com/flutter/flutter/issues/143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-15 20:09:18 +00:00
hellohuanlin
da4d0e4fab
Reland: "Platform view devicelab ad banner scroll list real ads" (#145224)
Reland https://github.com/flutter/flutter/pull/144745, which got reverted due to Android lockfile. Fixed by `dart dev/tools/bin/generate_gradle_lockfiles.dart`

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes https://github.com/flutter/flutter/issues/143534
Fixes https://github.com/flutter/flutter/issues/143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-15 19:20:25 +00:00
Jackson Gardner
a97af2093b
Run gradle_plugin_*_apk_test on presubmit on flutter_tool changes. (#142090)
These tests were failing in postsubmit after a change to `packages/flutter_tools`. We should run these in presubmit when `packages/flutter_tools` changes.
2024-03-15 17:52:52 +00:00
auto-submit[bot]
7f1c93d732
Reverts "Platform view devicelab ad banner scroll list real ads (#144745)" (#145189)
Reverts: flutter/flutter#144745
Initiated by: gspencergoog
Reason for reverting: appears to have broken the build.

Original PR Author: hellohuanlin

Reviewed By: {jmagman, jonahwilliams}

This change reverts the following previous change:
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue https://github.com/flutter/flutter/issues/144339

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes https://github.com/flutter/flutter/issues/143534
Fixes https://github.com/flutter/flutter/issues/143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-15 00:21:25 +00:00
hellohuanlin
be78542d6c
Platform view devicelab ad banner scroll list real ads (#144745)
This benchmark is to measure the platform view performance improvement. 

It is similar to https://github.com/lucalooz/flutter_ads_list_perf

There's still a pending issue https://github.com/flutter/flutter/issues/144339

*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*

Fixes https://github.com/flutter/flutter/issues/143534
Fixes https://github.com/flutter/flutter/issues/143257

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-03-14 21:41:07 +00:00
Loïc Sharma
349cbb4a1e
Reduce Windows_arm64 plugin_test_windows test timeout (#145110)
Windows Defender sometimes kills the `Windows_arm64 plugin_test_windows` test process, causing the test to hang until it times out after 30 minutes. This reduces the test timeout to 900 seconds (15 minutes) to recover from this scenario faster.

Test timeout duration was chosen by looking at successful duration percentiles in the last 100 days:

duration_seconds_p90 | duration_seconds_p99 | duration_seconds_max
-- | -- | --
532 | 545 | 576

BigQuery SQL:

```sql
WITH
  successful_steps AS (
    SELECT
      b.id,
      TIMESTAMP_DIFF(s.end_time, s.start_time, SECOND) AS duration_seconds,
    FROM cr-buildbucket.flutter.builds AS b, UNNEST(steps) AS s
    WHERE
      create_time > TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 100 DAY)
      AND regexp_substr(input.gitiles_commit.project, '[^\\/]+$') = 'flutter'
      AND builder.project || '/' || builder.bucket || '/' || builder.builder
        = 'flutter/prod/Windows_arm64 plugin_test_windows'
      AND name = 'run plugin_test_windows'
      AND s.status = 'SUCCESS'
  )
SELECT
  percentiles[offset(90)] AS duration_seconds_p90,
  percentiles[offset(99)] AS duration_seconds_p99,
  duration_seconds_max
FROM (
  SELECT
    APPROX_QUANTILES(duration_seconds, 100) AS percentiles,
    MAX(duration_minutes) AS duration_seconds_max
  FROM successful_steps
);
```

`test_timeout_secs` is documented here: https://github.com/flutter/cocoon/blob/main/CI_YAML.md

Part of https://github.com/flutter/flutter/issues/145072
2024-03-14 00:14:06 +00:00
Jenn Magder
6f175f1fcb
Mark Mac_arm64_ios module_test_ios not flaky (#145044)
Revert https://github.com/flutter/flutter/pull/144861

https://github.com/flutter/flutter/issues/144860 was resolved by https://github.com/openid/AppAuth-iOS/pull/825

I'm just going to mark this as unflaky instead of waiting for the bot.
2024-03-13 20:17:09 +00:00
godofredoc
5ee0bc0f14
Revert "Remove unused drone_dimension field" (#145024)
Reverts flutter/flutter#143984
2024-03-12 22:24:06 +00:00