[Buildbot-commits] [Buildbot] #2423: sqlalchemy IntegrityError: insert on table "buildsets" violates foreign key constraint "buildsets_sourcestampid_fkey"

Buildbot nobody at buildbot.net
Mon Jan 7 22:55:16 UTC 2013


#2423: sqlalchemy IntegrityError: insert on table "buildsets" violates foreign key
constraint "buildsets_sourcestampid_fkey"
-----------------------+------------------------
Reporter:  jaredgrubb  |       Owner:
    Type:  defect      |      Status:  new
Priority:  major       |   Milestone:  undecided
 Version:  master      |  Resolution:
Keywords:              |
-----------------------+------------------------

Comment (by jaredgrubb):

 Here's the exception details; it's not letting me paste the whole thing in
 (it complains my content looks like spam grr)

 {{{
     sqlalchemy.exc.IntegrityError: (IntegrityError) insert or update on
 table "buildsets" violates foreign key constraint
 "buildsets_sourcestampid_fkey"
     DETAIL:  Key (sourcestampsetid)=(1951) is not present in table
 "sourcestamps".
      'INSERT INTO buildsets (external_idstring, reason, submitted_at,
 complete, complete_at, results, sourcestampsetid) VALUES
 (%(external_idstring)s, %(reason)s, %(submitted_at)s, %(complete)s,
 %(complete_at)s, %(results)s, %(sourcestampsetid)s) RETURNING
 buildsets.id' {'complete_at': None, 'submitted_at': 1357595917.495083,
 'results': -1, 'reason': 'Triggerable(Trigger-Update-AllSlaves)',
 'external_idstring': None, 'sourcestampsetid': 1951, 'complete': 0}

 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2423#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list