Closed Bug 1208163 Opened 9 years ago Closed 6 years ago

Unable to bisect Firefox for Android with a Galaxy S5 (SM-G900F)

Categories

(Testing :: mozregression, defect)

Unspecified
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: kbrosnan, Unassigned)

Details

Attachments

(1 file)

Using mozregression-1.0.1 I am unable to bisect Firefox for Android. Running mozregression -n fennec --good 2015-08-09. I get the following error.

Traceback (most recent call last):

  File "/home/kbrosnan/mozregression/lib/python2.7/site-packages/mozregression/launchers.py", line 60, in start
    self._start(**kwargs)

  File "/home/kbrosnan/mozregression/lib/python2.7/site-packages/mozregression/launchers.py", line 292, in _start
    extra_args=["-profile", self.remote_profile])

  File "/home/kbrosnan/mozregression/lib/python2.7/site-packages/mozdevice/adb_android.py", line 296, in launch_fennec
    timeout=timeout)

  File "/home/kbrosnan/mozregression/lib/python2.7/site-packages/mozdevice/adb_android.py", line 229, in launch_application
    raise ADBError("Only one instance of an application may be running "

ADBError: Only one instance of an application may be running at once

I have made sure Firefox for Android is not running, the issue continues to persist.
NI'ing myself to look into this tomorrow.
Flags: needinfo?(wlachance)
I wonder if this is related to some of the intent changes by mcomella?
(In reply to Kevin Brosnan [:kbrosnan] from comment #2)
> I wonder if this is related to some of the intent changes by mcomella?

Given the error, I don't think they are related (...but should the error be believed?).

Perhaps this has something to do with running background services? It's worth noting we don't kill the ShareOvelay ourselves (bug 1142308) and Nick has recently been doing some FxA work that may have touched background services.
FYI, it works well for me using mozregression 1.0.1 (and mozdevice 0.46). Using a LG-E460 and android 4.1.2.

Maybe a mozdevice bug not handling your hardware or android version ?
The device is a Samsung Galaxy S5 (SM-G900F) running Android 5.0, fairly common around the Mozilla offices. Will try with some other devices including Nexuses.
adb devices sees the Galaxy S5, the uninstall command works as does the install as there is the downgraded fennec installed. What is the intent command that launches fennec sent to the device via python? I would like to try sending that same command over adb.

Testing a Nexus 5 running Android 6.0 and a Galaxy S3 running Android 4.3 both are able to launch a fennec via mozregression.
I wrote a simple patch for mozregression that should let you see the commands passed using adb.

BTW, we should probably add a logging for that, either in mozdevice or mozregression in case we want to debug again.
Kevin, any news here ? Tell me if I can help.
Flags: needinfo?(kbrosnan)
Summary: Unable to bisect Firefox for Android → Unable to bisect Firefox for Android with a Galaxy S5 (SM-G900F)
I don't think there's anything I can do to help here.
Flags: needinfo?(wlachance)
I have been on PTO for most of October. Will work on the request next week.
Closing this as incomplete as I don't have this phone any more.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(kbrosnan)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: