Index: [Article Count Order] [Thread]

Date: Tue, 29 Apr 2008 12:52:32 +0530
From: "Arul Murugan" <umarul@gmail.com>
Subject: [users:00690] Hang in interoperability test.., please help me
To: users@tahi.org
Message-Id: <335b9b110804290022h4a231627n88d416662eeeaf94@mail.gmail.com>
X-Mail-Count: 00690

Hello,

This is Arul, presently i am working on IPv6 Phase-2 interoperability test
by using vel-1.0.4.
There is a test scenario, which is hanging in our testing when FreeBSD7 or
Redhat Enterprise Linux 5 act as a router.

The test case name is "host.router.1_7_A.sc",it is hanging inside "command
setup_cleanup_TAR2" at "sync finish_router_setup" after successfully
executed "execute rtadvd -c /tmp/rtadvd.conf dc0".
This is common for both FreeBSD and Redhat Enterprise Linux. Apart from this
issue all other scenarios ran successfully.

Log:
-----
*setup_cleanup_TAR2@TAR2 : 0.007146 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206992 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007303 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206996 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007275 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206994 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007426 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206997 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007292 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206994 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007286 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007253 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206997 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007243 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007202 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007268 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.206996 : execute TAR2 ("/bin/sh -c echo >
/dev/null")
setup_cleanup_TAR2@TAR2 : 0.007730 : execute-EXECUTE
setup_cleanup_TAR2@mgr : 0.207078 : execute TAR2 ("rtadvd -c
/tmp/rtadvd.conf dc0") <-- hang

*
when i see my TAR router the rtadvd process has been successfully created.

*tar2# ps -aux | grep rtadvd
root 2043 0.0 0.1 3104 936 ?? Ss 6:23PM 0:00.01 rtadvd -c /tmp/rtadvd.conf
dc0
root 2045 0.0 0.1 1632 1068 p0 R+ 6:23PM 0:00.00 grep rtadvd
tar2#*


So i started to debugging vela in TAR2,it was hanging at a select system
call.

*The code arround the problem is:

int CmDispatch::waitFor(timeval* howlong) {
int nfound=-1;
for(;nfound<0;) {
CmFdSet& r=onRead_->onSelects();
CmFdSet& w=onWrite_->onSelects();
CmFdSet& e=onExcept_->onSelects();
howlong = queue_->calculateTimeout(howlong);
nfound=select(r,w,e,howlong);
if(nfound<0) {handleError();}}
return nfound;}
**
*

*Backtrace from gdb is:**

#0 0x281c50b3 in select () from /lib/libc.so.6
#1 0x0806623d in CmDispatch::waitFor (this=0x80940a0, howlong=0x0)
at CmDispatch.cc:190
#2 0x0806627a in CmDispatch::dispatch (this=0x80940a0, howlong=0x0)
at CmDispatch.cc:198
#3 0x08066319 in CmDispatch::dispatch (this=0x4) at CmDispatch.cc:213
#4 0x08049f9c in applicationMain (main=0x4) at tg.cc:192
#5 0x08065931 in main (argc=6, argv=0xbfbfec50, envp=0xbfbfec6c)
at CmMain.cc:108*


Last few days i was digging into the problem , but i could not find any
reason why it is hanging?

Can any one please help me to solve this issue?


Thanks in Advance,

Regards,
Arul

	

690_2.html (attatchment)(tag is disabled)