1242 Commits

Author SHA1 Message Date
Zachary Anderson
8b93ab9d52
Fix device_os requested in linux_build_test tests (#152808)
The MotoG4's had device_os=N, the mokey's have device_os=U.

Eventually I'll get this right...
2024-08-03 17:26:31 +00:00
Zachary Anderson
355a4607f2
Fix misunderstanding of properties vs. drone_dimensions in Linux_build_tests (#152796)
In "build tests", the `properties` of the build specify the
configuration of the coordinator, and the `drone_dimensions` specify the
configuration of the devicelab bot. This PR should therefore fix the
infra errors on the `Linux_build_test` tests caused by my last PR at
https://github.com/flutter/flutter/pull/152756. (Unfortunately, a simple
revert won't work since the MotoG4s have already been removed from the
Linux hosts.)
2024-08-02 19:50:02 -07:00
Zachary Anderson
8d3d3ee4d0
Reland: Shift Linux_build_test tests from MotoG4 to mokey (#152756)
Reland of https://github.com/flutter/flutter/pull/152750 with fixes to
hopefully make the test run in the devicelab. Also, shifts the tests to
`bringup: true` this time to avoid breaking the tree.

For For https://github.com/flutter/flutter/issues/148085
2024-08-02 14:51:26 -07:00
auto-submit[bot]
f10a497e4a
Reverts "Shift Linux_build_test tests from MotoG4 to mokey (#152750)" (#152755)
Reverts: flutter/flutter#152750
Initiated by: zanderso
Reason for reverting: infra failure
Original PR Author: zanderso

Reviewed By: {jason-simmons}

This change reverts the following previous change:
For https://github.com/flutter/flutter/issues/148085
2024-08-02 17:38:46 +00:00
Zachary Anderson
9cc5d7f446
Shift Linux_build_test tests from MotoG4 to mokey (#152750)
For https://github.com/flutter/flutter/issues/148085
2024-08-02 16:59:07 +00:00
Matan Lurey
4ff9462be8
Fix local testing, gradle XML errors, and enable on CI. (#152383)
TIL you cannot have XML comments before the initial `<?xml` declaration.

Follow-up to https://github.com/flutter/flutter/pull/152326.
2024-08-01 09:10:45 -07:00
Camille Simon
c3fbf3dd98
[Android] Update integration test AVD dependency to use Android 35 emulators (#152498)
Updates AVD dependency to use [latest available AVD dependency](https://chrome-infra-packages.appspot.com/p/chromium/tools/android/avd/linux-amd64/+/I7SIawD0okHpiEe8fKvI5NQrMEWDibsvOduVbbK5pDEC) (actually I'm one behind by the time of publishing--I assume this is ok) so that engine integration tests run on emulators running Android 35, the current latest version of Android.

Updated docs to reflect this is the new way to update this dependency in https://github.com/flutter/flutter/pull/152503.

Kinda part of https://github.com/flutter/flutter/issues/150215 (the original instructions anyway).
2024-07-31 20:44:56 +00:00
Gray Mackall
a1f03609f7
Set up tests that verify we can build a fresh counter app across our Gradle/AGP/Kotlin support range (#151568)
Sets up tests that verify we can build a fresh counter app across our Gradle/AGP/Kotlin support range.

Post submit only, because the suite takes ~30 minutes to run, and I expect it to be _somewhat_ rare that we break only one of these versions (and therefore it doesn't get caught by existing presubmits).
2024-07-31 19:14:46 +00:00
Andrew Kolos
118a015b65
remove bringup from Windows tool_integration_tests_* (#152599)
Followup to https://github.com/flutter/flutter/pull/152582
2024-07-31 19:12:37 +00:00
Andrew Kolos
7133a89c44
increase sharding on Windows tool_integration_tests (#152582)
Resolves https://github.com/flutter/flutter/issues/152211

Will remove `bringup` status after this merges.
2024-07-31 06:52:06 +00:00
Flutter GitHub Bot
9bf8a283aa
Marks Mac platform_channel_sample_test_macos to be flaky (#151884)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac platform_channel_sample_test_macos"
}
-->
Issue link: https://github.com/flutter/flutter/issues/151883
2024-07-30 22:50:59 +00:00
Zachary Anderson
5f460e10fc
Shift macOS/Android tests from Pixel 7 to mokey in staging (#152571)
Part of https://github.com/flutter/flutter/issues/148085
2024-07-30 12:48:34 -07:00
Zachary Anderson
53c732f484
Shift some mac Android tests to Mokey devices in staging (#152499)
Following https://github.com/flutter/flutter/issues/152406

For https://github.com/flutter/flutter/issues/148085
2024-07-29 13:24:41 -07:00
Andrew Kolos
e2e43987c4
mark Mac tool_integration_tests_* as non-bringup (#152412)
Follow-up to https://github.com/flutter/flutter/pull/152399
2024-07-29 04:34:20 +00:00
Andrew Kolos
4d12197ca6
further shard Mac tool_integration_tests from 4 to 5 shards (#152399)
Resolves https://github.com/flutter/flutter/issues/152397
2024-07-26 23:12:17 +00:00
Flutter GitHub Bot
e7f39c1516
Marks Mac channels_integration_test to be flaky (#151882)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac channels_integration_test"
}
-->
Issue link: https://github.com/flutter/flutter/issues/151881
2024-07-24 15:45:10 -07:00
Matan Lurey
09461925a3
Scaffolding for NativeDriver and AndroidNativeDriver for taking screenshots using adb. (#152194)
Closes https://github.com/flutter/flutter/issues/152189.

I have next to no clue how to configure this to run on CI, so bear with me as I rediscover the wheel.
2024-07-24 20:12:19 +00:00
Flutter GitHub Bot
5e3ca708b7
Marks Mac_x64 plugin_lint_mac to be unflaky (#152216)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac_x64 plugin_lint_mac"
}
-->
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_x64%20plugin_lint_mac%22).
This test can be marked as unflaky.
2024-07-24 14:14:15 +00:00
Zachary Anderson
1962e7fd1a
Stop running flaky mac tests in presubmit (#151870)
For currently unknown reasons, this test is failing at a rate >10% but only in presubmit. This is blocking many engine -> framework rolls, requiring a lot of manual intervention from the sheriff.

https://github.com/flutter/flutter/issues/150642
2024-07-17 18:02:11 +00:00
Flutter GitHub Bot
dcdcdb070f
Marks Mac_arm64_ios hot_mode_dev_cycle_ios__benchmark to be unflaky (#148392)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Mac_arm64_ios hot_mode_dev_cycle_ios__benchmark"
}
-->
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_arm64_ios%20hot_mode_dev_cycle_ios__benchmark%22).
This test can be marked as unflaky.
2024-07-16 11:24:31 +00:00
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