MantisBT - CDash
View Issue Details
0008322CDashpublic2008-12-22 11:372009-01-09 16:37
Daniel Blezek 
Julien Jomier 
normalmajoralways
closedfixed 
 
 
0008322: Coverage fails to show line-by-line of covered file
Summary line shows fine on dashboard, but no line-by-line shows up. Included short sample file, perhaps someone would be nice enough to try it out to see if it's our instalation.
No tags attached.
xml TestCov.xml (2,067) 2008-12-22 11:37
https://public.kitware.com/Bug/file/1937/TestCov.xml
xml TestCovLog.xml (1,189) 2008-12-23 09:55
https://public.kitware.com/Bug/file/1944/TestCovLog.xml
xml TestCovLog2.xml (1,475) 2008-12-23 09:55
https://public.kitware.com/Bug/file/1945/TestCovLog2.xml
Issue History
2008-12-22 11:37Daniel BlezekNew Issue
2008-12-22 11:37Daniel BlezekFile Added: TestCov.xml
2008-12-23 06:05Julien JomierStatusnew => assigned
2008-12-23 06:05Julien JomierAssigned To => Julien Jomier
2008-12-23 06:06Julien JomierNote Added: 0014427
2008-12-23 09:55Daniel BlezekNote Added: 0014428
2008-12-23 09:55Daniel BlezekFile Added: TestCovLog.xml
2008-12-23 09:55Daniel BlezekFile Added: TestCovLog2.xml
2008-12-23 10:09Julien JomierNote Added: 0014429
2008-12-23 10:11Julien JomierNote Added: 0014430
2008-12-23 10:33Daniel BlezekNote Added: 0014431
2008-12-23 10:39Julien JomierNote Added: 0014432
2009-01-09 14:58Daniel BlezekNote Added: 0014498
2009-01-09 15:05Julien JomierNote Added: 0014499
2009-01-09 16:28Daniel BlezekNote Added: 0014500
2009-01-09 16:37Julien JomierNote Added: 0014501
2009-01-09 16:37Julien JomierStatusassigned => closed
2009-01-09 16:37Julien JomierResolutionopen => fixed

Notes
(0014427)
Julien Jomier   
2008-12-23 06:06   
Hi Dan, the XML file is invalid. The Coverage and CoverageLog should be in two different files.
(0014428)
Daniel Blezek   
2008-12-23 09:55   
Julien, The combined file would have worked in Dart2. I've attached two new files that still fail to produce line-by-line summary in CDash. I don't get any warnings or errors at all. Again this could be our installation, I didn't do the install and don't have access to the box (right now, our sysadmin is out for Christmas).

Cheers,
-dan
(0014429)
Julien Jomier   
2008-12-23 10:09   
Hi Dan, I just tried with CDash 1.2.1 and the two files work well. This is strange that the submission doesn't work for you because there is no specific installation for the coverage. The combined file is not a valid XML because of the extra </site> tag at the end of the file, also CDash requires two different files but we can probably modify the parser if needed.
(0014430)
Julien Jomier   
2008-12-23 10:11   
Also, if you have access to the server you can look at the log file in the CDash/backup/cdash.log file, maybe that would give us an hint.
(0014431)
Daniel Blezek   
2008-12-23 10:33   
Ahh, a works for me. Always hate those things. I'll try to have a look at the server logs when Nelson is back from vacation.
(0014432)
Julien Jomier   
2008-12-23 10:39   
Haha I know. Let me know if you find anything in the logs. Happy Holidays!
(0014498)
Daniel Blezek   
2009-01-09 14:58   
Julien,

  Just got access to the logs. Let me know what you think. Could this be the culprit?

[Fri Jan 09 02:08:27 2009] [error] [client 172.22.2.80] PHP Fatal error: Allowe
d memory size of 16777216 bytes exhausted (tried to allocate 41 bytes) in /srv/w
ww/html/CDash/common.php on line 295
[Fri Jan 09 02:08:27 2009] [error] [client 172.22.2.80] PHP Fatal error: Allowe
d memory size of 16777216 bytes exhausted (tried to allocate 51 bytes) in /srv/w
ww/html/CDash/common.php on line 295
[Fri Jan 09 02:08:28 2009] [error] [client 172.22.2.80] PHP Fatal error: Allowe
d memory size of 16777216 bytes exhausted (tried to allocate 41 bytes) in /srv/w
ww/html/CDash/common.php on line 295
(0014499)
Julien Jomier   
2009-01-09 15:05   
Hi Dan. Happy New Year!. So PHP is running out of memory. The best option is to increase the memory size in the php.ini on the server:

max_execution_time = 30;
max_input_time = 60;
memory_limit = 200M;

This should do the trick. Note that we are currently testing a new XML parser which should solve this issue. Let me know how it goes.
(0014500)
Daniel Blezek   
2009-01-09 16:28   
Excellent, that did the trick. I would suggest adding this advisory to the CDash setup documentation. You do have documentation right? =P

-dan
(0014501)
Julien Jomier   
2009-01-09 16:37   
Good one Dan :) It's actually in the CDash FAQ: http://public.kitware.com/Wiki/CDash:FAQ [^]