[Xenomai] Assertion failed on "test posix_clock" on some executions of xeno-test.

Philippe Gerum rpm at xenomai.org
Fri Apr 22 11:06:44 CEST 2016

On 04/22/2016 10:51 AM, Andrea wrote:
> Hello,
> I'm currently using Xenomai 3.0.2, under kernel 4.1.8  with i-pipe patch.
> I just noticed that I'm experiencing an error on some run of xeno-test.
> The reported error is:
> *posix-clock.c:420, assertion failed: diff < 1000000000*
> */usr/xenomai/bin/smokey: test posix_clock failed: Invalid argument*
> The specific function where the assert is issued in posix-clock.c is
> "clock_decrease_after_periodic_timer_first_tick(void)"
> On multiple executions it is not reproducible, I am wondering if anybody
> could hint me to the source of the problem on my system.

This test is highly time-dependent. Try running the autotuner 
(/usr/xenomai/bin/autotune) for calibrating the core timer with respect 
to system latencies prior to running the tests (aka "timer gravity" 


More information about the Xenomai mailing list