Closed Bug 1561699 Opened 5 years ago Closed 5 years ago

Record the android device temperature for Raptor android test runs

Categories

(Testing :: Raptor, task, P1)

Version 3
task

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
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)

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Assignee: nobody → rwood
Status: NEW → ASSIGNED
Priority: P2 → P1

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)

@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

Pushed by rwood@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2f8e46a5e36
Record the android device temperature for Raptor android test runs r=acreskey
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: