View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008322CDashpublic2008-12-22 11:372009-01-09 16:37
ReporterDaniel Blezek 
Assigned ToJulien Jomier 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008322: Coverage fails to show line-by-line of covered file
DescriptionSummary 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.
TagsNo tags attached.
Attached Filesxml file icon TestCov.xml [^] (2,067 bytes) 2008-12-22 11:37
xml file icon TestCovLog.xml [^] (1,189 bytes) 2008-12-23 09:55
xml file icon TestCovLog2.xml [^] (1,475 bytes) 2008-12-23 09:55

 Relationships

  Notes
(0014427)
Julien Jomier (manager)
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 (reporter)
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 (manager)
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 (manager)
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 (reporter)
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 (manager)
2008-12-23 10:39

Haha I know. Let me know if you find anything in the logs. Happy Holidays!
(0014498)
Daniel Blezek (reporter)
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 (manager)
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 (reporter)
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 (manager)
2009-01-09 16:37

Good one Dan :) It's actually in the CDash FAQ: http://public.kitware.com/Wiki/CDash:FAQ [^]

 Issue History
Date Modified Username Field Change
2008-12-22 11:37 Daniel Blezek New Issue
2008-12-22 11:37 Daniel Blezek File Added: TestCov.xml
2008-12-23 06:05 Julien Jomier Status new => assigned
2008-12-23 06:05 Julien Jomier Assigned To => Julien Jomier
2008-12-23 06:06 Julien Jomier Note Added: 0014427
2008-12-23 09:55 Daniel Blezek Note Added: 0014428
2008-12-23 09:55 Daniel Blezek File Added: TestCovLog.xml
2008-12-23 09:55 Daniel Blezek File Added: TestCovLog2.xml
2008-12-23 10:09 Julien Jomier Note Added: 0014429
2008-12-23 10:11 Julien Jomier Note Added: 0014430
2008-12-23 10:33 Daniel Blezek Note Added: 0014431
2008-12-23 10:39 Julien Jomier Note Added: 0014432
2009-01-09 14:58 Daniel Blezek Note Added: 0014498
2009-01-09 15:05 Julien Jomier Note Added: 0014499
2009-01-09 16:28 Daniel Blezek Note Added: 0014500
2009-01-09 16:37 Julien Jomier Note Added: 0014501
2009-01-09 16:37 Julien Jomier Status assigned => closed
2009-01-09 16:37 Julien Jomier Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team