test_recordSuccess intermittent failure

Bug #987896 reported by Brad Crittenden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

As seen in http://ubuntuone.com/4MVqmWWoYUcD87uPXzqSKa there is an intermittent failure with lp.code.xmlrpc.tests.test_codehosting.CodehostingTest.test_recordSuccess

Tags: paralleltest
Revision history for this message
Gary Poster (gary) wrote :
Download full text (3.3 KiB)

Traceback (most recent call last):
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/code/xmlrpc/tests/test_codehosting.py", line 233, in test_recordSuccess
    activity = self.getLastActivity('test-recordsuccess')
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/code/xmlrpc/tests/test_codehosting.py", line 1282, in getLastActivity
    return getUtility(IScriptActivitySet).getLastActivity(activity_name)
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/services/scripts/model/scriptactivity.py", line 52, in getLastActivity
    name=name, orderBy='-date_started')
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/sqlobject.py", line 365, in selectFirstBy
    return result._first()
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/sqlobject.py", line 520, in _first
    return detuplelize(self._result_set.first())
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/sqlobject.py", line 505, in _result_set
    self._finished_result_set = self._finish_result_set()
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/sqlobject.py", line 489, in _finish_result_set
    result = self._prepare_result_set()
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/sqlobject.py", line 483, in _prepare_result_set
    return store.find(find_spec, *args)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/store.py", line 205, in find
    self.flush()
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/store.py", line 503, in flush
    self._flush_one(obj_info)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/store.py", line 540, in _flush_one
    result = self._connection.execute(expr)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/databases/postgres.py", line 260, in execute
    result = Connection.execute(self, Returning(statement), params)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/database.py", line 238, in execute
    raw_cursor = self.raw_execute(statement, params)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/databases/postgres.py", line 276, in raw_execute
    return Connection.raw_execute(self, statement, params)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/database.py", line 322, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)
  File "/var/lib/buildbot/dependencies/eggs/storm-0.19.0.99_lpwithnodatetime_r406-py2.6-linux-i686.egg/storm/database.py", line 371, in _check_disconnect
    return function(*args, **kwargs)
  File "/var/lib/buildbot/slaves/slave/lucid-devel/build/lib/lp/testing/pgsql...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.