make check [taskcontext-test] runs forever (>10 hrs)

Hi,

I am trying to use Orocos RTT 1.10.4 with an xenomai-2.5.5.2 patched
Ubuntu 10.04.
--------
cmake .. -DOROCOS_TARGET=xenomai -DCMAKE_PREFIX_PATH=/usr/xenomai
make
--------
Goes well. But When I run [sudo make check] test 6 takes forever.
Please see the attached file of the test log.

Best,
Gajan

P.S: Xenomai seems to work without any problem.
gajan@totoro:~/rt_src$ dmesg | grep Xenomai
[ 1.159459] I-pipe: Domain Xenomai registered.
[ 1.159506] Xenomai: hal/x86_64 started.
[ 1.159519] Xenomai: scheduling class idle registered.
[ 1.159521] Xenomai: scheduling class rt registered.
[ 1.160066] Xenomai: real-time nucleus v2.5.5.2 (Ghosts) loaded.
[ 1.160256] Xenomai: starting native API services.
[ 1.160258] Xenomai: starting POSIX services.
[ 1.160281] Xenomai: starting RTDM services.

gajan@totoro:/usr/xenomai/bin$ sudo ./latency -t0 -p200 -f -T50
== Sampling period: 200 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT| 00:00:01 (periodic user-mode task, 200 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst
RTD| -1.806| -1.583| 0.066| 0| 0| -1.806| 0.066
RTD| -2.164| -1.581| 0.083| 0| 0| -2.164| 0.083
RTD| -1.919| -1.577| 0.636| 0| 0| -2.164| 0.636
RTD| -2.154| -1.575| 0.618| 0| 0| -2.164| 0.636
RTD| -1.921| -1.575| 0.704| 0| 0| -2.164| 0.704
RTD| -2.248| -1.569| 1.378| 0| 0| -2.248| 1.378
RTD| -1.872| -1.580| -0.168| 0| 0| -2.248| 1.378
RTD| -2.228| -1.580| 0.652| 0| 0| -2.248| 1.378
.
.
.
.

RTD| -2.237| -1.587| 0.071| 0| 0| -2.255| 3.034
RTD| -2.250| -1.589| 1.949| 0| 0| -2.255| 3.034
RTD| -1.913| -1.578| 3.144| 0| 0| -2.255| 3.144
RTD| -2.110| -1.577| 0.699| 0| 0| -2.255| 3.144
---|-----------|-----------|-----------|--------|------|-------------------------
RTS| -2.255| -1.581| 3.144| 0| 0| 00:00:50/00:00:50

AttachmentSize
log.txt2.29 KB

make check [taskcontext-test] runs forever (>10 hrs)

On Wednesday 15 December 2010 11:02:01 Gajamohan Mohanarajah wrote:
> Hi,
>
> I am trying to use Orocos RTT 1.10.4 with an xenomai-2.5.5.2 patched
> Ubuntu 10.04.
> --------
> cmake .. -DOROCOS_TARGET=xenomai -DCMAKE_PREFIX_PATH=/usr/xenomai
> make
> --------
> Goes well. But When I run [sudo make check] test 6 takes forever.
> Please see the attached file of the test log.

Thanks for reporting. I'll try to reproduce it. Also note that 1.10.4 is a
rather old version.

Peter

>
> Best,
> Gajan
>
> P.S: Xenomai seems to work without any problem.
> gajan@totoro:~/rt_src$ dmesg | grep Xenomai
> [ 1.159459] I-pipe: Domain Xenomai registered.
> [ 1.159506] Xenomai: hal/x86_64 started.
> [ 1.159519] Xenomai: scheduling class idle registered.
> [ 1.159521] Xenomai: scheduling class rt registered.
> [ 1.160066] Xenomai: real-time nucleus v2.5.5.2 (Ghosts) loaded.
> [ 1.160256] Xenomai: starting native API services.
> [ 1.160258] Xenomai: starting POSIX services.
> [ 1.160281] Xenomai: starting RTDM services.
>
> gajan@totoro:/usr/xenomai/bin$ sudo ./latency -t0 -p200 -f -T50
> == Sampling period: 200 us
> == Test mode: periodic user-mode task
> == All results in microseconds
> warming up...
> RTT| 00:00:01 (periodic user-mode task, 200 us period, priority 99)
> RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat
> worst RTD| -1.806| -1.583| 0.066| 0| 0| -1.806|
> 0.066 RTD| -2.164| -1.581| 0.083| 0| 0|
> -2.164| 0.083 RTD| -1.919| -1.577| 0.636| 0|
> 0| -2.164| 0.636 RTD| -2.154| -1.575| 0.618|
> 0| 0| -2.164| 0.636 RTD| -1.921| -1.575| 0.704|
> 0| 0| -2.164| 0.704 RTD| -2.248| -1.569|
> 1.378| 0| 0| -2.248| 1.378 RTD| -1.872| -1.580|
> -0.168| 0| 0| -2.248| 1.378 RTD| -2.228|
> -1.580| 0.652| 0| 0| -2.248| 1.378 .
> .
> .
> .
>
> RTD| -2.237| -1.587| 0.071| 0| 0| -2.255|
> 3.034 RTD| -2.250| -1.589| 1.949| 0| 0| -2.255|
> 3.034 RTD| -1.913| -1.578| 3.144| 0| 0|
> -2.255| 3.144 RTD| -2.110| -1.577| 0.699| 0|
> 0| -2.255| 3.144
> ---|-----------|-----------|-----------|--------|------|------------------
> ------- RTS| -2.255| -1.581| 3.144| 0| 0|
> 00:00:50/00:00:50

gajan's picture

make check [taskcontext-test] runs forever (>10 hrs)

Hi Peter,

Thank you for your response.
Make check under 1.12.0 worked like a charm.

Just FYI: I had to had add "-ldl" to "CMAKE_EXE_LINKER_FLAGS" to make.

Best,
Gajan

2010/12/15 Peter Soetens <peter [..] ...>:
> On Wednesday 15 December 2010 11:02:01 Gajamohan Mohanarajah wrote:
>> Hi,
>>
>> I am trying to use Orocos RTT 1.10.4 with an xenomai-2.5.5.2 patched
>> Ubuntu 10.04.
>> --------
>> cmake .. -DOROCOS_TARGET=xenomai -DCMAKE_PREFIX_PATH=/usr/xenomai
>> make
>> --------
>> Goes well. But When I run [sudo make check] test 6 takes forever.
>> Please see the attached file of the test log.
>
> Thanks for reporting. I'll try to reproduce it. Also note that 1.10.4 is a
> rather old version.
>
> Peter
>
>>
>> Best,
>> Gajan
>>
>> P.S: Xenomai seems to work without any problem.
>> gajan@totoro:~/rt_src$ dmesg | grep Xenomai
>> [    1.159459] I-pipe: Domain Xenomai registered.
>> [    1.159506] Xenomai: hal/x86_64 started.
>> [    1.159519] Xenomai: scheduling class idle registered.
>> [    1.159521] Xenomai: scheduling class rt registered.
>> [    1.160066] Xenomai: real-time nucleus v2.5.5.2 (Ghosts) loaded.
>> [    1.160256] Xenomai: starting native API services.
>> [    1.160258] Xenomai: starting POSIX services.
>> [    1.160281] Xenomai: starting RTDM services.
>>
>> gajan@totoro:/usr/xenomai/bin$ sudo ./latency -t0 -p200 -f -T50
>> == Sampling period: 200 us
>> == Test mode: periodic user-mode task
>> == All results in microseconds
>> warming up...
>> RTT|  00:00:01  (periodic user-mode task, 200 us period, priority 99)
>> RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat
>> worst RTD|     -1.806|     -1.583|      0.066|       0|     0|     -1.806|
>>      0.066 RTD|     -2.164|     -1.581|      0.083|       0|     0|
>> -2.164|      0.083 RTD|     -1.919|     -1.577|      0.636|       0|
>> 0|     -2.164|      0.636 RTD|     -2.154|     -1.575|      0.618|
>> 0|     0|     -2.164|      0.636 RTD|     -1.921|     -1.575|      0.704|
>>      0|     0|     -2.164|      0.704 RTD|     -2.248|     -1.569|
>> 1.378|       0|     0|     -2.248|      1.378 RTD|     -1.872|     -1.580|
>>     -0.168|       0|     0|     -2.248|      1.378 RTD|     -2.228|
>> -1.580|      0.652|       0|     0|     -2.248|      1.378 .
>> .
>> .
>> .
>>
>> RTD|     -2.237|     -1.587|      0.071|       0|     0|     -2.255|
>> 3.034 RTD|     -2.250|     -1.589|      1.949|       0|     0|     -2.255|
>>      3.034 RTD|     -1.913|     -1.578|      3.144|       0|     0|
>> -2.255|      3.144 RTD|     -2.110|     -1.577|      0.699|       0|
>> 0|     -2.255|      3.144
>> ---|-----------|-----------|-----------|--------|------|------------------
>> ------- RTS|     -2.255|     -1.581|      3.144|       0|     0|
>> 00:00:50/00:00:50
>