-
Notifications
You must be signed in to change notification settings - Fork 6k
[Android] Update integration test AVD dependency to use Android 35 emulators #54186
Conversation
Presubs look happier with the updated version. Should maybe kick it a few times by uploading empty commits or with |
I'm happy to see it! I was trying to run the previous image locally and something seems off in my environment. I'll pause on that for now and next I will use led to check for flakes. |
Kicked off one led run https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Linux%20linux_android_emulator_tests/17/overview and will do a couple of times at least to double check! Edit other led runs: |
I thought I'd also give this a shot in the framework repo. Unfortunately, I'm seeing the same issue with both a more recent version and an older version: If these tests were passing on API level 34, and there's no other symptom aside from the emulator disconnecting and not dropping logs, my suggestion would be that we test on both API level 34 and API level 35 emulators, and tolerate the flakes when using the 35 emulators. To do that, we can increase the number of retries if needed, and as a follow-on teach the CI recipes that it is an infra failure and not a test failure when an emulator disconnects unexpectedly. |
That sounds like a good plan to me. I can take on getting them to run on both in the engine in this PR. My only concern is how we would accomplish the follow-up task of classifying the Android 35 emulator failures as an infra flake. Seems like we only know because the adb logs stop unexpectedly but is there a reliable way for us to classify that? |
My possibly naive idea would be that if the output from a test contains The internal retries would continue until the emulator or device behaves correctly, or the whole job hits the LUCI timeout. cc @christopherfujino for thoughts on that. |
This SGTM |
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. |
@@ -76,6 +73,27 @@ targets: | |||
- testing/scenario_app/** | |||
- testing/skia_gold_client/** | |||
|
|||
- name: Linux linux_android_emulator_tests_34 | |||
bringup: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be on the safe side, I'd suggest also shifting the the tests that will now be running on the 35 image to bringup as well.
Otherwise, lgtm.
…153326) flutter/engine@5d8ee52...07ecd90 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from c9fd814b106a to 7bed8fb6fae2 (2 revisions) (flutter/engine#54516) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from e232752d04c5 to c9fd814b106a (3 revisions) (flutter/engine#54515) 2024-08-12 43054281+camsim99@users.noreply.github.com [Android] Update integration test AVD dependency to use Android 35 emulators (flutter/engine#54186) 2024-08-12 jonahwilliams@google.com [iOS] keep threads merged when using Skia renderer on iOS (flutter/engine#54514) 2024-08-12 chris@bracken.jp iOS,macOS: Clean up create_ios_framework.py (flutter/engine#54500) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from ec7558d41b34 to e232752d04c5 (3 revisions) (flutter/engine#54511) 2024-08-12 skia-flutter-autoroll@skia.org Roll Dart SDK from cfe2b63d3aca to a6cd8099ff85 (1 revision) (flutter/engine#54512) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Updates the steps based on what I found by working on flutter/engine#54186 and flutter/engine#53574 + general cleanup.
…lutter#153326) flutter/engine@5d8ee52...07ecd90 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from c9fd814b106a to 7bed8fb6fae2 (2 revisions) (flutter/engine#54516) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from e232752d04c5 to c9fd814b106a (3 revisions) (flutter/engine#54515) 2024-08-12 43054281+camsim99@users.noreply.github.com [Android] Update integration test AVD dependency to use Android 35 emulators (flutter/engine#54186) 2024-08-12 jonahwilliams@google.com [iOS] keep threads merged when using Skia renderer on iOS (flutter/engine#54514) 2024-08-12 chris@bracken.jp iOS,macOS: Clean up create_ios_framework.py (flutter/engine#54500) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from ec7558d41b34 to e232752d04c5 (3 revisions) (flutter/engine#54511) 2024-08-12 skia-flutter-autoroll@skia.org Roll Dart SDK from cfe2b63d3aca to a6cd8099ff85 (1 revision) (flutter/engine#54512) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Updates the steps based on what I found by working on flutter/engine#54186 and flutter/engine#53574 + general cleanup.
…lutter#153326) flutter/engine@5d8ee52...07ecd90 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from c9fd814b106a to 7bed8fb6fae2 (2 revisions) (flutter/engine#54516) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from e232752d04c5 to c9fd814b106a (3 revisions) (flutter/engine#54515) 2024-08-12 43054281+camsim99@users.noreply.github.com [Android] Update integration test AVD dependency to use Android 35 emulators (flutter/engine#54186) 2024-08-12 jonahwilliams@google.com [iOS] keep threads merged when using Skia renderer on iOS (flutter/engine#54514) 2024-08-12 chris@bracken.jp iOS,macOS: Clean up create_ios_framework.py (flutter/engine#54500) 2024-08-12 skia-flutter-autoroll@skia.org Roll Skia from ec7558d41b34 to e232752d04c5 (3 revisions) (flutter/engine#54511) 2024-08-12 skia-flutter-autoroll@skia.org Roll Dart SDK from cfe2b63d3aca to a6cd8099ff85 (1 revision) (flutter/engine#54512) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC jsimmons@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Updates the steps based on what I found by working on flutter/engine#54186 and flutter/engine#53574 + general cleanup.
Updates AVD dependency to use latest available AVD dependency (older at the time of publishing but the same I set in the framework -- flutter/flutter#152498) so that engine integration tests run on emulators running Android 35, the current latest version of Android.
Does not change dependency of one test that is intended to run on Android 28.
Also adds tasks to run the same emulator tests on those running Android 34 since Android 35 emulators seem to crash off and on.
Pre-launch Checklist
///
).