Thanks Subrata!

Well..I will verify the patch & let you whether it works or not.

 Regards
-Iranna D Ankad




Subrata Modak <[EMAIL PROTECTED]> 
01/22/08 08:02 PM
Please respond to
[EMAIL PROTECTED]


To
Iranna D Ankad/India/[EMAIL PROTECTED]
cc
ltp-list <[email protected]>, Manas K Nayak/India/[EMAIL 
PROTECTED], 
Indhu Durai/India/[EMAIL PROTECTED], Mohammed Omar <[EMAIL PROTECTED]>, Jeff 
Burke <[EMAIL PROTECTED]>, Patrick Kirsch <[EMAIL PROTECTED]>
Subject
Re: [LTP] runltp failed to create html output file






> Subrata, 
> Here is the output: 

Iranna,

All your issues are fixed by this attached Patch. Now you can generate
the HTML output (with or without an Absolute Path) as per your wish of
choosing/not-choosing to mention the output file name (with or without
an Absolute Path). This Patch gives you the required Flexibility. It
also solves an earlier error on my part in the HTML parser code.
Please let me know whether it fixes your Issue(s).

--Subrata



> 
> x206h:~/ltp-full-20071130 # ./runltp -c 2 -i 2 -p -q -l
> runltp-0401.log -o runltp-0401.out -g runltp-0401.html -t 20h 
> INFO: creating /root/ltp-full-20071130/output directory 
> INFO: creating /root/ltp-full-20071130/results directory 
> 
>     INFO: no command files were provided, using default, 
>           system calls, memory management, IPC, scheduler 
>           direct io, file system, math and pty tests will 
>           now be executed 
> 
> INFO: Test start time: Fri Jan  4 13:29:24 EST 2008 
> PAN will run for 72000 seconds 
> ./runltp: line 161: 26096 Terminated
>  $LTPROOT/testcases/bin/genload --cpu $NUM_PROCS >/dev/null 2>&1  (wd:
> ~/ltp-full-20071130) 
> ./runltp: line 161: 26097 Terminated
>  $LTPROOT/testcases/bin/genload --io $NUM_PROCS >/dev/null 2>&1  (wd:
> ~/ltp-full-20071130) 
> INFO: pan reported some tests FAIL 
> LTP Version: LTP-20071130 
> Generating HTML Output.....!! 
> Generated HTML Output.....!! 
> Location: /root/ltp-full-20071130/output/runltp-0401.html 
> INFO: Test end time: Sat Jan  5 09:29:25 EST 2008 
> 
> 
>  ###############################################################" 
> 
>             Done executing testcases." 
>             log result(s) is in /root/ltp-full-20071130/results
> directory" 
>             output/failed result(s) in /root/ltp-full-20071130/output
> directory [If you did not provide Absolute Path] 
>             LTP Version:  LTP-20071130 
> 
>  ###############################################################" 
> 
>  Regards
> -Iranna D Ankad
> -----------------------------------------------------------------------
> Linux-Technology Center
> IBM India Software Labs 
> Manyata Ebassy Business Park, Block D2, 
> Nagawara, Outer Ring Road,
> BENGALOORU - 560045,
> Ph: +91-080-28055007   Extn: 55007
> -----------------------------------------------------------------------
> "If you don't have patience to test the software, the software will
> test your patience !!"
> 
> 
> 
> Subrata Modak
> <[EMAIL PROTECTED]> 
> 
> 01/04/08 02:30 PM 
>          Please respond to
>     [EMAIL PROTECTED]
> 
> 
> 
> 
>                To
> Iranna D
> Ankad/India/[EMAIL PROTECTED] 
>                cc
> [email protected] 
>           Subject
> Re: [LTP] runltp
> failed to create
> html output file
> 
> 
> 
> 
> 
> 
> 
> 
> Hi Iranna,
> 
> For the time being i would suggest you to please use the following
> option in generating the HTML file:
> 
> ./runltp -c 2 -i 2 -p -q -l runltp.log -o runltp.out -g runltp.html
>  -t
> 20h
> 
> instead of the options that you used earlier. Infact you get the HTML
> and output files generated under ltp/output directory and logfile
> generated under the ltp/results directory.
> 
> There seems to be some problem in generating the HTML file when
> absolute
> PATH is mentioned for output file, log file and HTML files generation.
> I
> will further look into that.
> 
> --Subrata
> 
> 
> On Thu, 2008-01-03 at 18:06 +0530, Subrata Modak wrote:
> > Thanks Iranna for reporting the problem. It seems there needs to be
> a
> > fix for situations when the default directory is not ltp/output.
> > 
> > --Subrata
> > 
> > On Thu, 2008-01-03 at 18:00 +0530, Iranna D Ankad wrote:
> > > 
> > > Hello Subrata, 
> > > As per our discussion, am sending you the complete report of
> "runltp",
> > > which failed to generate .html output file. 
> > > 
> > > I used following options to run the test: 
> > > x206h:~ ./runltp -c 2 -i 2 -p -q -l /runltp.log -o /runltp.out
> > > -g /runltp.html  -t 20h 
> > > 
> > > 
> > > 
> > > 
> > > INFO: creating /root/ltp-full-20071130/output directory
> > > 
> > > INFO: no command files were provided, using default,
> > > system calls, memory management, IPC, scheduler
> > > direct io, file system, math and pty tests will
> > > now be executed
> > > 
> > > INFO: Test start time: Tue Jan 1 12:17:21 EST 2008
> > > PAN will run for 72000 seconds
> > > INFO: pan reported some tests FAIL
> > > LTP Version: LTP-20071130
> > > INFO: Test end time: Wed Jan 2 08:17:22 EST 2008
> > > ./runltp: line 161: 17611 Killed $LTPROOT/testcases/bin/genload
> --cpu
> > > $NUM_PROCS &gt;/dev/null 2&gt;&amp;1 (wd: ~/ltp-full-20071130)
> > > ./runltp: line 161: 17615 Killed $LTPROOT/testcases/bin/genload
> --io
> > > $NUM_PROCS &gt;/dev/null 2&gt;&amp;1 (wd: ~/ltp-full-20071130)
> > > 
> > > ###############################################################"
> > > 
> > > Done executing testcases."
> > > log result(s) is in /root/ltp-full-20071130/results directory"
> > > output/failed result(s) in /root/ltp-full-20071130/output
> directory
> > > [If you did not provide Absolute Path]
> > > LTP Version: LTP-20071130
> > > ###############################################################"
> > > 
> > > 
> > > 
> > > By looking at the "Test start time" & "Test end time" you can make
> out
> > > that "runltp" has completed its 20 hour duration. 
> > > The test has generated runltp.out file but failed to generate
> > > "runltp.html" file. 
> > > 
> > > FYI, 
> > > x206h:/ # ls -l /runltp* 
> > > -rw-r--r-- 1 root root  242032 2008-01-02 08:17 /runltp.log 
> > > -rw-r--r-- 1 root root 1558721 2008-01-02 08:17 /runltp.out 
> > > 
> > > So, could you please take a look at this & investigate the cause
> for
> > > not generating .html file? 
> > > 
> > >  Regards
> > > -Iranna D Ankad
> > >
> -----------------------------------------------------------------------
> > > Linux-Technology Center
> > > IBM India Software Labs 
> > > Manyata Ebassy Business Park, Block D2, 
> > > Nagawara, Outer Ring Road,
> > > BENGALOORU - 560045,
> > > Ph: +91-080-28055007   Extn: 55007
> > >
> -----------------------------------------------------------------------
> > > "If you don't have patience to test the software, the software
> will
> > > test your patience !!"
> > >
> 
-------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________ Ltp-list mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list
> > 
> > 
> >
> 
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Ltp-list mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ltp-list
> 
> 

Attachment: runltp-genhtml.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to