Closed Bug 1638759 Opened 4 years ago Closed 4 years ago

./mach run for android build doesn't wok due to failure of telnet verification

Categories

(Firefox Build System :: Mach Core, defect)

defect

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

When I run ./mach run (and install) for android build on my Debian/sid, it doesn't work due to the following log. Android Emulator is launched, but APK isn't installed.

output log

No Android devices connected. Start an emulator? (Y/n) y
Starting emulator running Android 7.0 x86/x86_64...
WARNING: sequence item 0: expected str instance, int found
WARNING: Unable to verify kvm acceleration!
WARNING: The x86/x86_64 emulator may fail to start without kvm.
WARNING: Trying again after unexpected exception
WARNING: Trying again after unexpected exception
...

It seems that android_device.py run on Python 3, but this isn't compatible with Python 3.

./mach run or ./mach install for GekcoView uses android_device.py, but
android_device.py isn't compatible with Python 3.

So, wWhen checking kvm (-accel-check), the following warning occurs.

WARNING: sequence item 0: expected str instance, int found

Also, when verifying emulator using telnet, the following exception occurs.

WARNING: Trying again after unexpected exception
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/6cdeeceb725a Make android_device.py Python3 compatible. r=froydnj
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: