[Cdash] Coverage XML Submission does not work

Daniel Haehn daniel.haehn at childrens.harvard.edu
Mon Jun 4 15:37:37 UTC 2012


Guys,

great it works now!

That's right - I would have never thought that the buildstamp
attribute is so important :)

Thanks a lot!
Daniel

On Mon, Jun 4, 2012 at 11:34 AM, Julien Jomier
<julien.jomier at kitware.com> wrote:
> Dave,
>
> I agree with you. But CDash "could be" a little bit smarter and use the
> StartDateTime and EndDateTime if no build is defined.
>
> Julien
>
> On 04/06/2012 17:32, David Cole wrote:
>> There is no bug here. The BuildStamp should be of the expected format.
>>
>> You could, as a courtesy, perhaps log when the BuildStamp cannot be parsed.
>>
>> But the input file is incorrect: that's the root issue here.
>>
>>
>> On Mon, Jun 4, 2012 at 11:23 AM, Julien Jomier
>> <julien.jomier at kitware.com <mailto:julien.jomier at kitware.com>> wrote:
>>
>>     Hi Daniel,
>>
>>     A coverage is usually associated with a build. In your case, since
>>     it's not, you should specify the BuildStamp as follow
>>
>>       BuildStamp="20120603-0100-__Nightly"
>>
>>     This should do the trick. If you have time to log a bug report at
>>     www.cdash.org/Bug <http://www.cdash.org/Bug> that would be great.
>>
>>     Thanks,
>>     Julien
>>
>>
>>     On 04/06/2012 16:57, Daniel Haehn wrote:
>>
>>         Hi all,
>>
>>         I try to submit coverage information to my cdash as the
>>         following XML:
>>
>>         <?xml version="1.0" ?>
>>         <Site BuildName="Darwin-11.3.0" BuildStamp="1-debug"
>>         Hostname="berlin.tch.harvard.__edu
>>         <http://berlin.tch.harvard.edu>" Name="berlin.tch.harvard.edu
>>         <http://berlin.tch.harvard.edu>">
>>         <Coverage>
>>         <StartDateTime>Jun 04 14:43 EST</StartDateTime>
>>         <EndDateTime>Jun 04 14:43 EST</EndDateTime>
>>         <LOCTested>1881</LOCTested>
>>         <LOCUntested>1999</__LOCUntested>
>>         <LOC>3880</LOC>
>>         <PercentCoverage>48</__PercentCoverage>
>>         </Coverage>
>>         </Site>
>>
>>         But it doesn't work - nothing appears. I also tried to submit
>>         the XML
>>         from the cdash xml examples which includes coverage for multiple
>>         files
>>         ( http://www.cmake.org/Wiki/__images/c/c6/ExampleFiles.zip
>>         <http://www.cmake.org/Wiki/images/c/c6/ExampleFiles.zip>) with no
>>         success.
>>
>>         Do you know what I am doing wrong? I tried it on our local CDash
>>         2.0.2
>>         and also on my.cdash.org <http://my.cdash.org> 2.1.0 - nothing
>>         appears in the CDash log.
>>
>>         Thanks,
>>         Daniel
>>
>>     _________________________________________________
>>     Cdash mailing list
>>     Cdash at public.kitware.com <mailto:Cdash at public.kitware.com>
>>     http://public.kitware.com/cgi-__bin/mailman/listinfo/cdash
>>     <http://public.kitware.com/cgi-bin/mailman/listinfo/cdash>
>>
>>



-- 
Daniel Haehn
FNNDSC / BCH
+1.857.218.5140



More information about the CDash mailing list