test_terminated_backend test failure

Bug #887240 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
New
Undecided
Unassigned

Bug Description

The test_terminated_backend has been failing for me for a while, more often than not:
(...)

test_patch_with_missing_apply (tests.schema.patch.PatchTest) ... ok
test_patch_with_syntax_error (tests.schema.patch.PatchTest) ... ok
test_wb_apply_all_exploding_patch (tests.schema.patch.PatchTest) ... ok

======================================================================
ERROR: test_terminated_backend (tests.databases.postgres.PostgresDisconnectionTestWithoutProxyTCPSockets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/canonical/source/storm/staging/tests/mocker.py", line 102, in test_method_wrapper
    result = test_method()
  File "/home/andreas/canonical/source/storm/staging/tests/databases/postgres.py", line 588, in test_terminated_backend
    connection = self.database.connect()
  File "/home/andreas/canonical/source/storm/staging/storm/database.py", line 410, in connect
    return self.connection_factory(self, event)
  File "/home/andreas/canonical/source/storm/staging/storm/database.py", line 185, in __init__
    self._raw_connection = self._database.raw_connect()
  File "/home/andreas/canonical/source/storm/staging/storm/databases/postgres.py", line 360, in raw_connect
    raw_connection = psycopg2.connect(self._dsn)
OperationalError: fe_sendauth: no password supplied

----------------------------------------------------------------------
Ran 2584 tests in 636.439s

FAILED (errors=1)
make: *** [check] Error 1

real 10m37.518s
user 0m17.745s
sys 0m1.952s

Revision history for this message
Gavin Panella (allenap) wrote :

This is a test I added recently, but I haven't seen this kind of
problem with it before. We ought to talk about it soon and see if we
can debug it together.

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.