Comment 0 for bug 1995606

Revision history for this message
koba (kobako) wrote : Upgrade thermald to 2.5.1

[Justification]
The purpose of this bug is that prevent the regression in the future.
The automatic test scripts are better for the future SRU and is still on the planning.

Currently, just use a stressing tools and monitor status manually(e.g. s-tui).
Use stress-ng to stress the machine and observe the temperature/frequency/power.
The whole test cases are the followings,
1. check if thermald could read rules from /dev/acpi_thermal_rel and generate the xml file on /etc/thermald/ correctly.
2. check if theramd-conf.xml and thermal-cpu-cdev-order.xml can be loaded correctly.
3. Run unit tests, the scripts are under test folder, using emul_temp to simulate the High temperatue and check thermald would throttle CPU through the related cooling device.
a. rapl.sh
b. intel_pstate.sh
c. powerclamp.sh
d. processor.sh

4. check if the power/frequency would be throttled once the temperature reach the trip-points of thermal zone.
5. check if system would be throttled even the temperature is under the thrip-poits.
/dev/acpi_thermal_rel