Open Bug 1869038 Opened 1 year ago Updated 6 months ago

android emulator version should be pinned

Categories

(Firefox Build System :: Toolchains, defect)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: bhearsum, Unassigned)

References

Details

We pin the version of most tools in mozboot/android.py: https://searchfox.org/mozilla-central/rev/23e7e940337d0e0b29aabe0080e4992d3860c940/python/mozboot/mozboot/android.py#23

We don't, however, pin the emulator version which recently caused https://bugzilla.mozilla.org/show_bug.cgi?id=1868944 when we rebuilt toolchains and took an update.

Unfortunately, there seems to be no way to install older emulator version with sdkmanager (none are listed in the obsolete package list). For the short term, we ended up letting mozboot do its thing, and then overwriting the emulator it installed with the preferred one.

In the medium term, we should improve this fix. At the very least, we should move the emulator version specification to the toolchain task description. But it may also be better to get rid of mozboot's emulator selection, and replace it with a similar manually downloaded/installed solution in mozboot. This would fix things for CI, but also make sure that users are running the same version locally.

See Also: → 1868944

I ended up applying the same pinning hack to the android-sdk-linux repack, in bug 1869407.

See Also: → 1869407

The severity field is not set for this bug.
:owlish, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bugzeeeeee)
Component: General → Toolchains
Flags: needinfo?(bugzeeeeee)
Product: GeckoView → Firefox Build System

The severity field is not set for this bug.
:glandium, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mh+mozilla)
Severity: -- → S3
Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.