mach bootstrap and mach android-emulator create emulator with too many lock files that won't start
Categories
(Firefox Build System :: Bootstrap Configuration, defect)
Tracking
(firefox-esr78 unaffected, firefox90 unaffected, firefox91 unaffected, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox90 | --- | unaffected |
firefox91 | --- | unaffected |
firefox92 | --- | fixed |
People
(Reporter: Gijs, Assigned: agi)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
In particular, the ~/.mozbuild/android-device/avd/mozemulator-x86_64.avd/
directory has 2 lock files (hardware-qemu.ini.lock
and multiinstance.lock
), and trying to reun the emulator fails with "ERROR: Running multiple emulators with the same AVD is an experimental feature". Removing the entire directory and re-running mach bootstrap
and mach android-emulator
just reproduces the same problem. Manually removing both lockfiles and re-running only mach android-emulator
appears to work.
Comment 1•4 years ago
|
||
I can confirm that the described work-around works (macOS).
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Bootstrap Configuration' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Looks like the emulator doesn't run the cleanup step when running in headless
mode, so we need to remove the lock files manually:
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Set release status flags based on info from the regressing bug 1718341
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3f918abfc940
https://hg.mozilla.org/mozilla-central/rev/f75d5bcab4f0
Description
•