Skip to content

Commit 138719d

Browse files
jesswrdreidbaker
authored andcommitted
[Android 16] Updated linux_android_emu to a 36 AVD in framework CI (flutter#169121)
Experimented with and monitored for flakiness using a 36 emulator for `linux_android_emu_unstable`. After >= 200 commits, it looks like this test target is stable. Since we have confirmed the 36 emulator for `linux_android_emu_unstable` is stable, we can update the `linux_android_emu` to use the same emulator. Update: Ran into API 36 emulator issue where multiple platform view modes fail [here](flutter#170024) that breaks integration tests under the `android_engine_vulkan_tests` test target. To continue with the Android 16 AVD update, the `android_engine_vulkan_tests` test target is now using configurations from the newly created platform property `linux_android_emu_vulkan_stable`, which is configured to use an API 35 AVD. `linux_android_emu` is updated to use a API 36 AVD. All test targets using the linux_android_emu platform property configurations will use an API 36 AVD. Partially Addresses flutter#163071 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md --------- Co-authored-by: Reid Baker <[email protected]>
1 parent 0db1acf commit 138719d

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

.ci.yaml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ platform_properties:
5252
dependencies: >-
5353
[
5454
{"dependency": "android_sdk", "version": "version:36v1"},
55-
{"dependency": "android_virtual_device", "version": "android_35_google_apis_x64.textpb"},
56-
{"dependency": "avd_cipd_version", "version": "build_id:8733065022087935185"},
55+
{"dependency": "android_virtual_device", "version": "android_36_google_apis_x64.textpb"},
56+
{"dependency": "avd_cipd_version", "version": "build_id:8719362231152674241"},
5757
{"dependency": "open_jdk", "version": "version:21"}
5858
]
5959
os: Ubuntu
@@ -81,6 +81,27 @@ platform_properties:
8181
device_type: none
8282
kvm: "1"
8383

84+
# linux_android_emu_vulkan_stable temporarily depends on an API 35 AVD while all
85+
# other linux_android_emu test targets depend on an API 36 AVD due to a potential issue with
86+
# virtual display on API 36: https://github.com/flutter/flutter/issues/170024.
87+
linux_android_emu_vulkan_stable:
88+
properties:
89+
contexts: >-
90+
[
91+
"android_virtual_device"
92+
]
93+
dependencies: >-
94+
[
95+
{"dependency": "android_sdk", "version": "version:36v1"},
96+
{"dependency": "android_virtual_device", "version": "android_35_google_apis_x64.textpb"},
97+
{"dependency": "avd_cipd_version", "version": "build_id:8733065022087935185"},
98+
{"dependency": "open_jdk", "version": "version:21"}
99+
]
100+
os: Ubuntu
101+
cores: "8"
102+
device_type: none
103+
kvm: "1"
104+
84105
linux_build_test:
85106
properties:
86107
dependencies: >-
@@ -1636,8 +1657,9 @@ targets:
16361657
- engine/**
16371658
- DEPS
16381659

1639-
- name: Linux_android_emu android_engine_vulkan_tests
1660+
- name: Linux_android_emu_vulkan_stable android_engine_vulkan_tests
16401661
recipe: flutter/flutter_drone
1662+
bringup: true
16411663
timeout: 60
16421664
properties:
16431665
shard: android_engine_vulkan_tests

0 commit comments

Comments
 (0)