Slightly different error output this time as it references 'database "openstack_citest"' compared to previously 'source database "template1"'.
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-nova-python27/nova/tests/test_migrations.py", line 240, in tearDown
self._reset_databases()
File "/home/jenkins/workspace/gate-nova-python27/nova/tests/test_migrations.py", line 297, in _reset_databases
self._reset_pg(conn_pieces)
File "/home/jenkins/workspace/gate-nova-python27/nova/openstack/common/lockutils.py", line 232, in inner
retval = f(*args, **kwargs)
File "/home/jenkins/workspace/gate-nova-python27/nova/tests/test_migrations.py", line 263, in _reset_pg
self.execute_cmd(droptable)
File "/home/jenkins/workspace/gate-nova-python27/nova/tests/test_migrations.py", line 247, in execute_cmd
"Failed to run: %s\n%s" % (cmd, output))
MismatchError: 0 != 256: Failed to run: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d template1
ERROR: database "openstack_citest" is being accessed by other users
DETAIL: There are 1 other session(s) using the database.
Same problem happening again here: http:// logs.openstack. org/28503/ 2/gate/ gate-nova- python27/ 22881/
Slightly different error output this time as it references 'database "openstack_citest"' compared to previously 'source database "template1"'.
Traceback (most recent call last): jenkins/ workspace/ gate-nova- python27/ nova/tests/ test_migrations .py", line 240, in tearDown _reset_ databases( ) jenkins/ workspace/ gate-nova- python27/ nova/tests/ test_migrations .py", line 297, in _reset_databases _reset_ pg(conn_ pieces) jenkins/ workspace/ gate-nova- python27/ nova/openstack/ common/ lockutils. py", line 232, in inner jenkins/ workspace/ gate-nova- python27/ nova/tests/ test_migrations .py", line 263, in _reset_pg execute_ cmd(droptable) jenkins/ workspace/ gate-nova- python27/ nova/tests/ test_migrations .py", line 247, in execute_cmd
File "/home/
self.
File "/home/
self.
File "/home/
retval = f(*args, **kwargs)
File "/home/
self.
File "/home/
"Failed to run: %s\n%s" % (cmd, output))
MismatchError: 0 != 256: Failed to run: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d template1
ERROR: database "openstack_citest" is being accessed by other users
DETAIL: There are 1 other session(s) using the database.