Hello,<br><br>This is Arul, presently i am working on IPv6 Phase-2 interoperability test by using vel-1.0.4.<br>There is a test scenario, which is hanging in our testing when FreeBSD7 or Redhat Enterprise Linux 5 act as a router.<br>
<br>The test case name is "<a href="http://host.router.1_7_A.sc" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">host.router.1_7_A.sc</a>",it is hanging inside "command setup_cleanup_TAR2" at "sync finish_router_setup" after successfully executed "execute rtadvd -c /tmp/rtadvd.conf dc0".<br>
This is common for both FreeBSD and Redhat Enterprise Linux. Apart from this issue all other scenarios ran successfully.<br><br>Log:<br>-----<br><i>setup_cleanup_TAR2@TAR2 : 0.007146 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206992 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>
setup_cleanup_TAR2@TAR2 : 0.007303 : execute-EXECUTE<br> setup_cleanup_TAR2@mgr : 0.206996 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>setup_cleanup_TAR2@TAR2 : 0.007275 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206994 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>
setup_cleanup_TAR2@TAR2 : 0.007426 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206997 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>setup_cleanup_TAR2@TAR2 : 0.007292 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206994 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>
setup_cleanup_TAR2@TAR2 : 0.007286 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>setup_cleanup_TAR2@TAR2 : 0.007253 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206997 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>
setup_cleanup_TAR2@TAR2 : 0.007243 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>setup_cleanup_TAR2@TAR2 : 0.007202 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206995 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>
setup_cleanup_TAR2@TAR2 : 0.007268 : execute-EXECUTE<br>setup_cleanup_TAR2@mgr : 0.206996 : execute TAR2 ("/bin/sh -c echo > /dev/null")<br>setup_cleanup_TAR2@TAR2 : 0.007730 : execute-EXECUTE<br><strong><font color="#ff0000">setup_cleanup_TAR2@mgr : 0.207078 : execute TAR2 ("rtadvd -c /tmp/rtadvd.conf dc0") <-- hang</font></strong><br>
<br></i><br>when i see my TAR router the rtadvd process has been successfully created.<br><br><i>tar2# ps -aux | grep rtadvd<br>root 2043 0.0 0.1 3104 936 ?? Ss 6:23PM 0:00.01 rtadvd -c /tmp/rtadvd.conf dc0<br>root 2045 0.0 0.1 1632 1068 p0 R+ 6:23PM 0:00.00 grep rtadvd<br>
tar2#</i><br><br><br>So i started to debugging vela in TAR2,it was hanging at a select system call.<br><br><i><u>The code arround the problem is:</u><br><br>int CmDispatch::waitFor(timeval* howlong) {<br>int nfound=-1;<br>
for(;nfound<0;) {<br>CmFdSet& r=onRead_->onSelects();<br>CmFdSet& w=onWrite_->onSelects();<br>CmFdSet& e=onExcept_->onSelects();<br>howlong = queue_->calculateTimeout(howlong);<br>nfound=select(r,w,e,howlong);<br>
if(nfound<0) {handleError();}}<br>return nfound;}<br></i><i><br></i><br><br><i><u>Backtrace from gdb is:</u></i><i><br><br>#0 0x281c50b3 in select () from /lib/libc.so.6<br>#1 0x0806623d in CmDispatch::waitFor (this=0x80940a0, howlong=0x0)<br>
at CmDispatch.cc:190<br>#2 0x0806627a in CmDispatch::dispatch (this=0x80940a0, howlong=0x0)<br>at CmDispatch.cc:198<br>#3 0x08066319 in CmDispatch::dispatch (this=0x4) at CmDispatch.cc:213<br>#4 0x08049f9c in applicationMain (main=0x4) at tg.cc:192<br>
#5 0x08065931 in main (argc=6, argv=0xbfbfec50, envp=0xbfbfec6c)<br>at CmMain.cc:108</i><br><br><br>Last few days i was digging into the problem , but i could not find any reason why it is hanging?<br><br>Can any one please help me to solve this issue?<br>
<br><br>Thanks in Advance,<br><br>Regards,<br>Arul<br><br>