[LTP] [PATCH v19] thermal: add new test group
Cyril Hrubis
chrubis@suse.cz
Wed May 13 14:06:37 CEST 2026
Hi!
> And other thing which is on my machine broken is to run with more iterations, it
> randomly fails or get stuck after first iteration:
>
> ./thermal_interrupt_events -i3
> thermal_interrupt_events.c:207: TINFO: CPU 23 interrupt counter: 23 (previous: 21)
> thermal_interrupt_events.c:217: TPASS: x86 package thermal interrupt triggered
> thermal_interrupt_events.c:142: TINFO: Testing /sys/class/thermal/thermal_zone9/temp
> thermal_interrupt_events.c:213: TFAIL: No thermal interrupt increase detected
That may as well be because the CPU heatsink accumulated too much heat
and cannot increase it further. Interacting with the physical world
outside is a bit tricky. The test may need a cooldown period
(e.g. sleep(300)) at the end of the test iteration.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list