MantisBT - CDash
View Issue Details
0006664CDashpublic2008-03-26 11:502008-04-22 12:29
Bill Lorensen 
Julien Jomier 
normalminoralways
closedfixed 
 
1.0 
0006664: Incorrect timing and detail report on viewTest page
The time for a test that times out is reported as 999.99 even though the actual time is around 1500. Also, the details are reported for the timed out tests as Completed rather than Timeout.
CDash: http://public.kitware.com/CDash/viewTest.php?buildid=36566 [^]

compared to

Dart: http://www.itk.org/Testing/Sites/camelot.kitware/Linux-g++-4.1/20080326-0100-Nightly/Test.html [^]
No tags attached.
Issue History
2008-03-26 11:50Bill LorensenNew Issue
2008-03-26 12:10Julien JomierNote Added: 0010917
2008-03-26 17:10Julien JomierStatusnew => assigned
2008-03-26 17:10Julien JomierAssigned To => Julien Jomier
2008-03-26 21:18Bill LorensenNote Added: 0010925
2008-03-26 21:23Julien JomierNote Added: 0010926
2008-04-22 12:29Julien JomierStatusassigned => closed
2008-04-22 12:29Julien JomierNote Added: 0011481
2008-04-22 12:29Julien JomierResolutionopen => fixed
2008-04-22 12:29Julien JomierFixed in Version => 1.0

Notes
(0010917)
Julien Jomier   
2008-03-26 12:10   
Good catch. This is actually a database definition issue, I'll put a fix.
Regarding the status, we are getting it from the XML, it would require modifications to CTest or maybe we can set a timeout value in CDash and display the status based on that...
(0010925)
Bill Lorensen   
2008-03-26 21:18   
Since the XML contains the exit code Timeout, I don't see why ctest mods are needed.
For example,
  <Test>
  <FullName>./Examples/Registration/DeformableRegistration8Test1</FullName>
  <Status>failed</Status>
  <CompletionStatus>Completed</CompletionStatus>
  <ExitCode>Timeout</ExitCode>
  <ExecutionTime>1500.02</ExecutionTime>
  </Test>
(0010926)
Julien Jomier   
2008-03-26 21:23   
CDash was recording the CompletionStatus instead of the ExitCode. I have switched CDash to use the ExitCode instead. I'll keep an eye on the local dashboard.
(0011481)
Julien Jomier   
2008-04-22 12:29   
Fixed in SVN.