Hello Julien<div><br></div><div>I've indeed modified the log messages to see what line is failing and the error line is 446 (first one)</div><div><br></div><div>The complete log message is the following:</div><div><br>
</div><div><div><font class="Apple-style-span" face="'courier new', monospace">Submit files (using http)</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> Using HTTP submit method</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Drop site:<a href="http://frink/CDash/submit.php?project=Alma%20Research">http://frink/CDash/submit.php?project=Alma%20Research</a></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1>Error parsing XML in stream at line 1: syntax error</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> Server Response:</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1>SQL error in Build Insert(446)():Duplicate entry '2574' for key 'PRIMARY'<br><cdash version="1.8.2"></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> <status>OK</status></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> <message></message></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> <md5>812b2f4bcfa3f08569434530510772aa</md5></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1></cdash></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Uploaded: C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Build.xml</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1>Error parsing XML in stream at line 1: syntax error</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Server Response:</font></div><div><font class="Apple-style-span" face="'courier new', monospace">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"></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> <status>OK</status></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> <message></message></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> <md5>5f45f29a705d50e62de8233acb323ab7</md5></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1></cdash></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Uploaded: C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Configure.xml</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1>Error parsing XML in stream at line 1: syntax error</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Server Response:</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1>SQL error in Build Insert(446)():Duplicate entry '2574' for key 'PRIMARY'<br><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><cdash version="1.8.2"></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> <status>OK</status></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> <message></message></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> <md5>5599eeae5c27846decb110dbc24acd7b</md5></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1></cdash></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1><br /></font></div><div><font class="Apple-style-span" face="'courier new', monospace">1><b>Notice</b>: Undefined variable: buildid in <b>C:\wamp\www\CDash\models\buildtest.php</b> on line <b>35</b><br /></font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">1> Uploaded: C:/work/projects-bin/AuxTools/AuxITK/AuxITKLib/static/VC9-Debug/Testing/20110118-1353/Test.xml</font></div><div><font class="Apple-style-span" face="'courier new', monospace">1> Errors occurred during submission.</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">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.</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">To my knowledge, no one has touched the BD at all. Also, no weird error messages appear on the MySQL log file </font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Thanks again</font></div><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 11:31 AM, Julien Jomier <span dir="ltr"><<a href="mailto:julien.jomier@kitware.com">julien.jomier@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Sergio,<br>
<br>
This is strange. It might be an issue with the group table, if someone modified it.<br>
<br>
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?<br>
<br>
Julien<div><div></div><div class="h5"><br>
<br>
On 18/01/2011 11:00, Sergio Vera wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hello there.<br>
<br>
Suddenly, our server refuses our builds (either experimental or nightly)<br>
with the following errors:<br>
<br>
Error parsing XML in stream at line 1: syntax error<br>
1> Server Response:<br>
1>SQL error in Build Insert():Duplicate entry '2574' for key<br>
'PRIMARY'<br><cdash version="1.8.2"><br>
<br>
As far as I know no one has messed with the DB recently. Any idea on<br>
what is causing this or how we can solve the issue?<br>
<br>
Thanks in advance<br>
--<br>
Sergio Vera<br>
<br>
Alma IT Systems<br>
C/ Vilana, 4B, 4º 1ª<br>
08022 Barcelona<br>
T. (+34) 932 380 592<br>
</div></div><a href="http://www.alma3d.com" target="_blank">www.alma3d.com</a> <<a href="http://www.alma3d.com" target="_blank">http://www.alma3d.com</a>><br>
<br>
<br>
<br>
_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
</blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>
</div>