On Tue, 2009-04-07 at 14:58 +0530, rohit verma wrote: > Hi, > > The HTML report generation takes place in the following order. > > 1. During the LTP test output file is created under the output directory. > 2. After the test, a perl script will use the above created file to > generate a HTML file. > > The perl script uses tags like test_start, test_end, test_output, > execution_status to parse the output file. > > > A typical o/p of a testcase looks like: > > <<<test_start>>> > tag=acct02 stime=1010008142 > cmdline="acct02" > contacts="" > analysis=exit > initiation_status="ok" > <<<test_output>>> > acct02 1 PASS : Received expected error: EPERM > acct02 2 PASS : Received expected error: EPERM > <<<execution_status>>> > duration=0 termination_type=exited termination_id=0 corefile=no > cutime=0 cstime=1 > <<<test_end>>> > > > Whatever is between <<<test_output>>> and <<<execution_status>>> will > come under the output column in the HTML page that is generated at the > end of LTP test. > > But, when the networking tests are turned on (using -N option) in few > testcases like adjtimex02, fallocate01, move_pages06, etc . The > alignment differs. Like below. > > adjtimex02 1 PASS : Test Passed, adjtimex() returned -1 with errno: 14 > adjtimex02 2 PASS : Test Passed, adjtimex() returned -1 with errno: 22 > adjtimex02 3 PASS : Test Passed, adjtimex() returned -1 with errno: 22 > adjtimex02 4 CONF : this kernel normalizes buf.offset value if > it is outside the acceptable range. > adjtimex02 5 CONF : this kernel normalizes buf.offset value if > it is outside the acceptable range. > adjtimex02 6 PASS : Test Passed, adjtimex() returned -1 with errno: 1 > <<<test_start>>> > tag=adjtimex02 stime=1238734160 > cmdline="adjtimex02" > contacts="" > analysis=exit > initiation_status="ok" > <<<test_output>>> > <<<execution_status>>> > duration=0 termination_type=exited termination_id=0 corefile=no > cutime=0 cstime=0 > <<<test_end>>> > > The testcase output can be seen before <<<test_start>>> tag and > between <<<test_output>>> and <<<execution_status>>>, there is no text > because of which the o/p column of HTML page corresponding to this > testcase is empty. > > Reason for the misalignment might be because of the file write delays. > Output is coming, but is out of place. >
True. I have also observed this. Let me know if you have any fix in place ;-) Regards-- Subrata > > Regards, > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
