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.py", line 121, in execute
return self.real_cursor.execute(*args, **kwargs)
IntegrityError: duplicate key value violates unique constraint "scriptactivity_pkey"
Traceback (most recent call last): buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ code/xmlrpc/ tests/test_ codehosting. py", line 233, in test_recordSuccess ivity(' test-recordsucc ess') buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ code/xmlrpc/ tests/test_ codehosting. py", line 1282, in getLastActivity IScriptActivity Set).getLastAct ivity(activity_ name) buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ services/ scripts/ model/scriptact ivity.py" , line 52, in getLastActivity '-date_ started' ) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/sqlobject .py", line 365, in selectFirstBy buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/sqlobject .py", line 520, in _first self._result_ set.first( )) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/sqlobject .py", line 505, in _result_set _finished_ result_ set = self._finish_ result_ set() buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/sqlobject .py", line 489, in _finish_result_set result_ set() buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/sqlobject .py", line 483, in _prepare_result_set find_spec, *args) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/store. py", line 205, in find buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/store. py", line 503, in flush _flush_ one(obj_ info) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/store. py", line 540, in _flush_one n.execute( expr) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/databases /postgres. py", line 260, in execute execute( self, Returning( statement) , params) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/database. py", line 238, in execute execute( statement, params) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/databases /postgres. py", line 276, in raw_execute raw_execute( self, statement, params) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/database. py", line 322, in raw_execute _check_ disconnect( raw_cursor. execute, *args) buildbot/ dependencies/ eggs/storm- 0.19.0. 99_lpwithnodate time_r406- py2.6-linux- i686.egg/ storm/database. py", line 371, in _check_disconnect buildbot/ slaves/ slave/lucid- devel/build/ lib/lp/ testing/ pgsql.py" , line 121, in execute cursor. execute( *args, **kwargs) _pkey"
File "/var/lib/
activity = self.getLastAct
File "/var/lib/
return getUtility(
File "/var/lib/
name=name, orderBy=
File "/var/lib/
return result._first()
File "/var/lib/
return detuplelize(
File "/var/lib/
self.
File "/var/lib/
result = self._prepare_
File "/var/lib/
return store.find(
File "/var/lib/
self.flush()
File "/var/lib/
self.
File "/var/lib/
result = self._connectio
File "/var/lib/
result = Connection.
File "/var/lib/
raw_cursor = self.raw_
File "/var/lib/
return Connection.
File "/var/lib/
self.
File "/var/lib/
return function(*args, **kwargs)
File "/var/lib/
return self.real_
IntegrityError: duplicate key value violates unique constraint "scriptactivity
-> bug 849056