Closed Bug 1659835 Opened 4 years ago Closed 4 years ago

about:debugging can't connect to Moto G (XT1031)

Categories

(DevTools :: about:debugging, defect, P3)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox79 unaffected, firefox80 unaffected, firefox81- wontfix, firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 - wontfix
firefox82 --- fixed

People

(Reporter: yoasif, Assigned: jdescottes)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(3 files)

What were you doing?

Please tell us what site you were on, and what steps led to the error you are reporting

  1. Enable debugging on Android device and Fenix, plug it in.
  2. Navigate to about:debugging
  3. Enable USB devices

What happened?

After much effort (disabling debugging, revoking/allowing permissions), I see the device on the left side of the page, but the connect button never appears.

What should have happened?

I should be able to connect to the device.

Anything else we should know?

mozregression:

Bug 1656170 - Update package name used to detect Fenix via ADB r=daisuke

The Fenix package name is now org.mozilla.firefox and not org.mozilla.fenix.
We need to update the logic in ADB to accommodate for this change.

Differential Revision: https://phabricator.services.mozilla.com/D85396

2020-08-18T16:56:48.382000: DEBUG : Did not find a branch, checking all integration branches
2020-08-18T16:56:48.397000: INFO : The bisection is done.
2020-08-18T16:56:48.404000: INFO : Stopped

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1656170

Set release status flags based on info from the regressing bug 1656170

Sorry for asking, but I can't reproduce so far.
Did you:

  • enable USB debugging in Fenix Settings (not only in Android)
  • have at least one tab open in Fenix

Can you also post your version of Fenix?

Flags: needinfo?(yoasif)

USB debugging is enabled.

I am running Firefox Nightly 200818

Flags: needinfo?(yoasif)

Thanks for the info.

Do you see any relevant error in the Browser Console of Firefox desktop?
Can you add a screenshot of your about:debugging? I would like to check exactly how Fenix appears in the sidebar.

Flags: needinfo?(yoasif)
Attached image image.png

I don't see anything relevant in the browser console. :/

Flags: needinfo?(yoasif)

I still can't reproduce, but based on the initial bisect, I'm going to assume we fetch a firefox/fenix application with a version we can't parse at https://searchfox.org/mozilla-central/rev/d54210d490ef335b13fc1fcac817525120c8c46b/devtools/client/shared/remote-debugging/adb/adb-runtime.js#57

Will try to guard it a bit more.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

To my knowledge, versionName should always be defined via init, but adding a default value here to avoid potential issues.

Depends on D87846

While testing the latest Fenix Nightly I noticed that the package name was org.mozilla.fenix.nightly

That's not it either, an error there would make about:debugging completely blank.

I'm uploading a patch anyway, but I don't see anything in the regressing bug that can cause about:debugging to not find the browser.
If there was a JS error, it would fully break about:debugging. And if the logic was faulty, it would just treat Fenix as Fennec or vice versa, which would only impact the browser's name.

I would suspect something wrong on the device itself, but if you confirm that this worked before Bug 1656170, then it has to be something on the client side.

Hi Julian, can you please assign a severity to this bug? Thank you!

Flags: needinfo?(jdescottes)

Since we can't reproduce for now, setting S3/P3.

Severity: -- → S3
Flags: needinfo?(jdescottes)
Priority: -- → P3

Changing the priority to p2 as the bug is tracked by a release manager for the current nightly.
See What Do You Triage for more information

Priority: P3 → P2
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15eff799a29a Set a default version name in DevTools adb-runtime r=daisuke https://hg.mozilla.org/integration/autoland/rev/cfdb1b63441d Show org.mozilla.fenix.nightly as Firefox Nightly r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: