[Cdash] Fwd: Dart2 to CDash migration

Julien Jomier julien.jomier at kitware.com
Wed May 7 16:53:56 EDT 2008


THE HIGHHAT wrote:
 >
 > # create new request
 > $req = HTTP::Request->new( PUT =>
 > 'http://hostname/CDash/submit.php?project=myProject' );
 > $req->content( '<?xml version=1.0 encoding=utf-8 ?><DartSubmission
 > version=2.0 
createdby=Tester><Site>workstation</Site><BuildName>myBuild</BuildName><Track>Continuous</Track><Test><Name>test1</Name><Status>Passed</Status><Measurement
 > name=Message type=text/string>correct
 > result</Measurement></Test></DartSubmission>' );
 >
 > Couple things happen.  Error message
 >
 >   Cannot open file (backup/myProject____Other.xml)
 >

CDash cannot parse the XML:

Try something like this:

<?xml version="1.0" encoding="UTF-8"?>
<Site BuildName="Win32-vs71Rel" BuildStamp="20080506-0100-Nightly" 
Name="DASH1.kitware" Generator="ctest2.4-patch 8">
</Site>

 >
 >   Cannot write file /var/www/html/CDash/rss/SubmissionRSSmyProject.xml
 >

Make sure the rss directory is writable by the webserver.

Julien


More information about the Cdash mailing list