Closed Bug 1579853 Opened 5 years ago Closed 5 years ago

[mozdevice] Report device status for debug

Categories

(Testing :: Mozbase, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: tarek, Assigned: tarek)

Details

(Whiteboard: [chase-intermittents])

Attachments

(1 file)

We have a few dumpsys calls here and there in the ADBDevice class to get the status of a few windows and the battery.

I would like to introduce a more detail report of the phone status in a single report, when we have intermittents or errors that break a test.

things I am thinking about adding in that report:

  • list of installed apps
  • a full dumpsys
  • a description of the phone resources (anything dumpsys does not give already)

Bob, do you think there are other things we can add?

Flags: needinfo?(bob)

I'm not sure off hand. I'll keep this in my queue for when I have time to think about it more.

This API returns the data from get_info() along with a handful
list of dumpsys services data.

Whiteboard: [chase-intermittents]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71

(In reply to Tarek Ziadé (:tarek) from comment #0)

Bob, do you think there are other things we can add?

I don't know what would be useful in diagnosing test issues related to the device configuration, services and apps and stuff. Perhaps someone on the geckoview team can give us some pointers. I'll point to this in the #gv channel on slack.

Flags: needinfo?(bob)

Not much of a desire in #gv for additional info. They did remind me about adb bugreport which I actually added for the power tests. You might consider adding that but I don't think anyone has ever used it.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: