[Cdash] (Label::InsertAssociation): SQL error: Duplicate entry and other errors

Julien Jomier julien.jomier at kitware.com
Wed Jun 20 08:23:09 UTC 2012


Hi Wojtek,

This looks like a bug in CDash with the label and the check if the 
primary key already exists. Could you log a bug report?

Thanks,
Julien

On 14/06/2012 10:10, Wojciech Migda wrote:
> Hi,
>
> once in a while our CDash (2.0.2) shows an error like this attached to the build:
>
> Error reported on 2012-06-13 20:01:34 for build #19525
> (Label::InsertAssociation): SQL error: Duplicate entry '2-19525-1985' for key 1
>
> Error reported on 2012-06-13 20:01:34 for build #19525
> (Label::InsertAssociation): SQL error: Duplicate entry '2-19525-1991' for key 1
>
> similarly, the global CDash Log shows contents like this:
>
> [2012-06-13T20:01:34][ERROR][pid=21454](Label::InsertAssociation): SQL error: Duplicate entry '2-19525-1985' for key 1
> [2012-06-13T20:01:34][ERROR][pid=21454](Label::InsertAssociation): SQL error: Duplicate entry '2-19525-1991' for key 1
>
> and others, such as:
>
> [2012-06-13T20:02:46][ERROR][pid=21454](CoverageFile:Update): SQL error: Duplicate entry '2-19525-588' for key 1
> [2012-06-13T20:02:47][ERROR][pid=21454](CoverageFile:Update): SQL error: Duplicate entry '2-19525-187' for key 1
>
> [2012-06-14T07:20:01][ERROR][pid=25792](Build::SetSubProject): Could not retrieve SubProjectId for subproject: AUDIO
> [2012-06-14T07:20:02][ERROR][pid=24676](Build::SetSubProject): Could not retrieve SubProjectId for subproject: AUDIO
> [2012-06-14T09:45:26][INFO][pid=24739](global:submit.php): Not a valid project. projectname:
> [2012-06-14T09:51:20][ERROR][pid=31709](ctest_parse): error: could not create handler based on xml content
>
> NOTE: It is common in our unit tests environment that the builds are executed in paraller jobs.
>
> Is this a matter of some incorrect CDash or database configuration ?
>
> Thanks,
>
> Wojtek
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>



More information about the CDash mailing list