[Cdash] Problems sending builds to our Cdash

Julien Jomier julien.jomier at kitware.com
Wed Jan 19 07:45:21 UTC 2011


Hi Sergio,

I think the first error is the most important one:

   "Error parsing XML in stream at line 1: syntax error"

Could you check in the backup directory if you have the XML file being 
sent to the CDash server? Also could you check the file:

 
C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Build.xml

I'm wondering if the file is corrupted.

Let me know,
Julien

On 18/01/2011 15:19, Sergio Vera wrote:
> Hello Julien
>
> I've indeed modified the log messages to see what line is failing and
> the error line is 446 (first one)
>
> The complete log message is the following:
>
> Submit files (using http)
> 1>   Using HTTP submit method
> 1>   Drop site:http://frink/CDash/submit.php?project=Alma%20Research
> 1>Error parsing XML in stream at line 1: syntax error
> 1>   Server Response:
> 1>SQL error in Build Insert(446)():Duplicate entry '2574' for key
> 'PRIMARY'<br><cdash version="1.8.2">
> 1> <status>OK</status>
> 1> <message></message>
> 1> <md5>812b2f4bcfa3f08569434530510772aa</md5>
> 1></cdash>
> 1>   Uploaded:
> C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Build.xml
> 1>Error parsing XML in stream at line 1: syntax error
> 1>   Server Response:
> 1>SQL error in Build Insert(446)():Duplicate entry '2574' for key
> 'PRIMARY'<br>BuildConfigure::Exists(): BuildId not
> setBuildConfigure::Insert(): BuildId not set<cdash version="1.8.2">
> 1> <status>OK</status>
> 1> <message></message>
> 1> <md5>5f45f29a705d50e62de8233acb323ab7</md5>
> 1></cdash>
> 1>   Uploaded:
> C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Configure.xml
> 1>Error parsing XML in stream at line 1: syntax error
> 1>   Server Response:
> 1>SQL error in Build Insert(446)():Duplicate entry '2574' for key
> 'PRIMARY'<br><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><cdash version="1.8.2">
> 1> <status>OK</status>
> 1> <message></message>
> 1> <md5>5599eeae5c27846decb110dbc24acd7b</md5>
> 1></cdash>
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1><br />
> 1><b>Notice</b>:  Undefined variable: buildid in
> <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br />
> 1>   Uploaded:
> C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Test.xml
> 1>   Errors occurred during submission.
>
>
> I've checked and the database's lastest build has id 2573. No Record
> exists with id 2574. Trying to manually insert a record with id 2575
> fails too.
>
> To my knowledge, no one has touched the BD at all. Also, no weird error
> messages appear on the MySQL log file
>
> Thanks again
>
> On Tue, Jan 18, 2011 at 11:31 AM, Julien Jomier
> <julien.jomier at kitware.com <mailto:julien.jomier at kitware.com>> wrote:
>
>     Hi Sergio,
>
>     This is strange. It might be an issue with the group table, if
>     someone modified it.
>
>     In the CDash/models/build.php there are three places with this log
>     error: "Build Insert". Could you try to change the two: line 455 and
>     line 469 so that they have different names and try to resubmit a
>     build to see where it fails?
>
>     Julien
>
>
>     On 18/01/2011 11:00, Sergio Vera wrote:
>
>         Hello there.
>
>         Suddenly, our server refuses our builds (either experimental or
>         nightly)
>         with the following errors:
>
>         Error parsing XML in stream at line 1: syntax error
>         1>   Server Response:
>         1>SQL error in Build Insert():Duplicate entry '2574' for key
>         'PRIMARY'<br><cdash version="1.8.2">
>
>         As far as I know no one has messed with the DB recently. Any idea on
>         what is causing this or how we can solve the issue?
>
>         Thanks in advance
>         --
>         Sergio Vera
>
>           Alma IT Systems
>           C/ Vilana, 4B, 4º 1ª
>           08022 Barcelona
>           T. (+34) 932 380 592
>         www.alma3d.com <http://www.alma3d.com> <http://www.alma3d.com>
>
>
>
>         _______________________________________________
>         Cdash mailing list
>         Cdash at public.kitware.com <mailto:Cdash at public.kitware.com>
>         http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>
>
>
>
> --
> Sergio Vera
>
>   Alma IT Systems
>   C/ Vilana, 4B, 4º 1ª
>   08022 Barcelona
>   T. (+34) 932 380 592
> www.alma3d.com <http://www.alma3d.com>



More information about the CDash mailing list