Repository navigation
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsfyi-androidFor the attention of Android platform teamFor the attention of Android platform teamplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
This test started failing aligned with when you removed Rosetta from the bots:
https://b.corp.google.com/issues/537049948, https://b.corp.google.com/issues/537616168
08:23 +718 ~4: /Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/daemon_test.dart: daemon emulator.getEmulators should respond with list
Expected: <Instance of 'List'>
Actual: <null>
Which: is not an instance of 'List'
#0 fail (package:matcher/src/expect/expect.dart:187:31)
#1 _expect (package:matcher/src/expect/expect.dart:182:3)
#2 expect (package:matcher/src/expect/expect.dart:65:3)
#3 main.<anonymous closure>.<anonymous closure> (file:///Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/daemon_test.dart:741:7)
<asynchronous suspension>
#4 testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:149:32)
<asynchronous suspension>
#5 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
<asynchronous suspension>
#6 testUsingContext.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools/test/src/context.dart:138:28)
<asynchronous suspension>
08:23 +718 ~4 -1: /Volumes/Work/s/w/ir/x/w/flutter/packages/flutter_tools/test/commands.shard/hermetic/daemon_test.dart: daemon emulator.getEmulators should respond with list [E]
Expected: <Instance of 'List'>
Actual: <null>
Which: is not an instance of 'List'
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsfyi-androidFor the attention of Android platform teamFor the attention of Android platform teamplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Activity
jmagman commentedon Jul 22, 2026
Guess about what's going on:
Mac_arm64 tool_tests_commandsuses the android_sdkversion:36v9unmodified, download hereflutter/.ci.yaml
Line 5087 in ef87dc1
The daemon test is checking for all emulators. Android emulator discovery uses
emulatorflutter/packages/flutter_tools/lib/src/android/android_sdk.dart
Lines 267 to 270 in ef87dc1
And
emulatorin that cipd package is not built for ARM. Instructions for updating that cipd packages are here.I bet it's throwing a
ProcessException.Skip emulator.getEmulators test (flutter#189879)
[CP-stable] Skip emulator.getEmulators test (#189879) (#189887)
[CP-beta] Skip emulator.getEmulators test (#189879) (#189888)
gmackall commentedon Jul 24, 2026
I figure this can probably be closed now that
#189962
merged, which updated the
android_sdkdep and also re-enabled the test.looks like it's passing on post submits post merge https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64%20tool_tests_commands/13544/overview
but will not close myself in case there's more here I don't understand due to limited ios/mac knowledge
cbracken commentedon Jul 28, 2026
Thanks for sorting this out @gmackall! To be safe, let's wait to close until we re-roll the Rosetta removal on the bots and verify. This is happening as we speak.
[CP-beta] Remove ancient `tools:tools` dep from `android_sdk` bundle (#…
[CP-stable] Remove ancient tools:tools dep from android_sdk bundle (#…
cbracken commentedon Aug 10, 2026
This is fixed now.
[CP-stable] Skip emulator.getEmulators test (flutter#189879) (flutter…
[CP-stable] Remove ancient tools:tools dep from android_sdk bundle (f…
github-actions commentedon Aug 24, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[CP-beta] Skip emulator.getEmulators test (#189879) (#189888)
[CP-beta] Skip emulator.getEmulators test (#189879) (#189888)
[CP-beta] Skip emulator.getEmulators test (#189879) (#189888)