Opened 5 years ago

Closed 5 years ago

#3079 closed defect (fixed)

postgres tests failing

Reported by: dustin Owned by: dustin
Priority: major Milestone: 0.9.0
Version: 0.8.9 Keywords:
Cc:

Description

[ERROR]
Traceback (most recent call last):
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/twisted/python/threadpool.py", line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/home/buildbot/slave/db-postgres/build/master/buildbot/db/pool.py", line 191, in __thd
    rv = callable(arg, *args, **kwargs)
  File "/home/buildbot/slave/db-postgres/build/master/buildbot/test/util/db.py", line 162, in thd
    tbl.insert(bind=conn).execute(row.values)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/sqlalchemy/sql/expression.py", line 2734, in execute
    return e._execute_clauseelement(self, multiparams, params)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1538, in _execute_clauseelement
    compiled_sql, distilled_params
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1646, in _execute_context
    context)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/sqlalchemy/engine/base.py", line 1639, in _execute_context
    context)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/sqlalchemy/engine/default.py", line 330, in do_execute
    cursor.execute(statement, parameters)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/pg8000/core.py", line 532, in execute
    self._c.execute(self, operation, args)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/pg8000/core.py", line 1585, in execute
    self.handle_messages(cursor)
  File "/home/buildbot/slave/db-postgres/sandbox-python-twistedsamigr-0.7.1/lib/python2.6/site-packages/pg8000/core.py", line 1662, in handle_messages
    raise error
sqlalchemy.exc.ProgrammingError: (ProgrammingError) ('ERROR', '23503', 'insert or update on table "changes" violates foreign key constraint "changes_sourcestampid_fkey"') u'INSERT INTO changes (changeid, author, comments, branch, revision, revlink, when_timestamp, category, repository, codebase, project, sourcestampid, parent_changeids) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)' (12, u'franck', u'1st commit', u'master', u'a', u'http://vc/abcd', 20398573, u'cat', u'repo', u'A', u'proj', 232, None)

Change History (2)

comment:2 Changed 5 years ago by dustin

  • Resolution set to fixed
  • Status changed from new to closed

merged and fixed

Note: See TracTickets for help on using tickets.