Record the android device temperature for Raptor android test runs
Categories
(Testing :: Raptor, task, P1)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: rwood, Assigned: rwood)
References
Details
Attachments
(1 file)
For every Raptor test run on android we should record the temperature of the device that the test is running on (and dump it to stdout so it's picked up by production logs).
Example code that :acreskey has been using to grab the device temperature:
thermal_zone0 = self.device.shell_output('cat sys/class/thermal/thermal_zone0/temp')
LOG.info("AJC thermal_zone0: " + thermal_zone0)
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
acreskey [3:46 PM]
@rwood From my logs on both Pixel 2 and G5 that was battery temperature (matching adb dumpsys battery), but in different units.
I don't personally see any reason to post-process it
@rwood I have a push that logs the names and temperatures of 30 thermal zones. When it completes I'll update you if there are other valuable ones. (You need root on some of the pixels to access)
Assignee | ||
Comment 5•5 years ago
|
||
@rwood sorry, on second thought I think 32.000
is a more intuitive view of the temperature
Thanks Andrew!
Updated:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7426e087e55b9e918836d07bed3c97b76cbf5fa1
Assignee | ||
Comment 6•5 years ago
|
||
Assignee | ||
Comment 7•5 years ago
|
||
After update (added zone type):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b9259318f45709b51f3bcc7d8e83b05767da6460
Comment 9•5 years ago
|
||
bugherder |
Description
•