[Cdash] Coverage XML Submission does not work

David Cole david.cole at kitware.com
Mon Jun 4 15:32:51 UTC 2012


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>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 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">
>> <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 2.1.0 - nothing appears in the CDash log.
>>
>> Thanks,
>> Daniel
>>
>>  ______________________________**_________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-**bin/mailman/listinfo/cdash<http://public.kitware.com/cgi-bin/mailman/listinfo/cdash>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20120604/b2223c3b/attachment-0003.htm>


More information about the CDash mailing list