test_recordSuccess intermittent failure
Bug #987896 reported by
Brad Crittenden
This bug report is a duplicate of:
Bug #849056: ERROR: duplicate key value violates unique constraint "scriptactivity_pkey" in unit tests.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
As seen in http://
To post a comment you must log in.
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.. .
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/