On 7/9/2026 12:03 PM, Pierrick Bouvier wrote:
> On 7/9/2026 11:42 AM, Max Filippov wrote:
>> On Thu, Jul 9, 2026 at 8:24 AM Pierrick Bouvier
>> <[email protected]> wrote:
>>> If you have a chance to take a look, I observed that test_timer.S is
>>> flaky on xtensaeb with kc705_be. It fails with a probably of 25% on my
>>> machine.
>>
>> This is a rather well-known issue that for a core with .clock_freq_khz
>> that is not
>> exactly matching the icount argument used to run the timer test it
>> will sometimes
>> fail. The easiest way to fix it is probably changing the default core
>> clock frequency.
>> The more useful way to fix it would be to make the core clock of the
>> `sim` machine
>> adjustable and set it to the value that matches the icount.
>>
> 
> Could you share the magic command arguments that achieve this?
> I can edit test qemu args to match this.
>

Using -icount 8 (instead of 6) solves the flakiness.
Also, icount is not needed for all other tests, so I restricted it to
test_timer only.

Regards,
Pierrick


Reply via email to