From: Subrata M. <su...@li...> - 2008-05-23 08:58:32
|
On Thu, 2008-05-22 at 17:09 +0530, pravin wrote: > > Subrata, Carmelo, > > Do we have any update on this strange failure. > > No. I do not have any. Waiting to hear from Carmelo on this. Regards-- Subrata > > Subrata Modak wrote: > > On Fri, 2008-05-09 at 18:52 +0530, pravin wrote: > >> Hi Carmelo, > >> > >> I have observed a failure for test fork09 in the ltp when called through > >> shell script using eval command. > >> I am using LTP version ltp-full-20071231. > >> > >> Subrata has told me that, > >> your patch dated "Thu Oct 4 16:46:50 2007 UTC" is the last change on > >> fork09 test. > >> There seems to be change in the way we define OPEN_MAX variable, and I > >> doubt, if this is causing the failure. > >> > >> > >> Please see below sample fork09_failure.sh to reproduce the problem > >> fork09_failure.sh:- > >> ============ > >> #!/bin/sh > >> > >> echo "Begin test script" > >> > >> echo "abort01 ulimit -c 1024;abort01" > /opt/fiv/ltp/runtest/my-tests > >> echo "fork01 fork01" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork02 fork02" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork03 fork03" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork04 fork04" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork05 fork05" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork06 fork06" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork07 fork07" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork08 fork08" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork09 fork09" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork10 fork10" >> /opt/fiv/ltp/runtest/my-tests > >> echo "fork11 fork11" >> /opt/fiv/ltp/runtest/my-tests > >> > >> exec 5<> /tmp/thisisdummyfile > >> > >> cmdstr="/opt/fiv/ltp/runltp -d /tmp -p -f my-tests -l mytest.log -o > >> /tmp/mytest.out" > >> (eval $cmdstr 5>&-; echo "Extra Message") #fork09 test fail > >> (eval $cmdstr ; echo "Extra Message") #fork09 test pass > >> > >> echo "End of script" > >> > >> > >> > >> Error Message is, > >> > >> <<<test_start>>> > >> tag=fork09 stime=1210334257 > >> cmdline="fork09" > >> contacts="" > >> analysis=exit > >> initiation_status="ok" > >> <<<test_output>>> > >> fork09 0 INFO : OPEN_MAX is 1024 > >> fork09 0 INFO : first file descriptor is 5 > >> fork09 1 BROK : Parent: cannot open file 1023 file1023.30262 errno = 24 > >> fork09 0 WARN : tst_rmdir(): rmobj(/tmp/ltp-29065/forlRlYJb) failed: > >> rmdir(/tmp/ltp-29065/forlRlYJb) failed; errno=39: Directory not empty > >> <<<execution_status>>> > >> duration=0 termination_type=exited termination_id=6 corefile=no > >> cutime=0 cstime=4 > >> <<<test_end>>> > >> > >> > >> > >> Could you confirm whether it's fork09 testcase issue. > >> > >> Please let me know if you need any more information. > >> > >> > >> Thank you, > >> > >> > > > > Carmelo, > > > > Can you please offer some solution to Pravin on this ? > > > > Regards-- > > Subrata > > > >> Regards, > >> -- Pravin > >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > >> Don't miss this year's exciting event. There's still time to save $100. > >> Use priority code J8TL2D2. > >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >> _______________________________________________ > >> Ltp-list mailing list > >> Ltp...@li... > >> https://lists.sourceforge.net/lists/listinfo/ltp-list > > > > > > |