test_postgresql_opportunistically fails with "database "openstack_citest" is being accessed by other users"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Viktor Serhieiev | ||
oslo.db |
Fix Released
|
High
|
Roman Podoliaka |
Bug Description
Looks like this was previously fixed under bug 1328997 but this is back:
2014-11-17 22:51:24.244 | Captured traceback:
2014-11-17 22:51:24.244 | ~~~~~~~~~~~~~~~~~~~
2014-11-17 22:51:24.244 | Traceback (most recent call last):
2014-11-17 22:51:24.244 | File "nova/tests/
2014-11-17 22:51:24.245 | self._test_
2014-11-17 22:51:24.245 | File "nova/tests/
2014-11-17 22:51:24.245 | self._reset_
2014-11-17 22:51:24.245 | File "nova/tests/
2014-11-17 22:51:24.245 | self._reset_
2014-11-17 22:51:24.245 | File "/home/
2014-11-17 22:51:24.245 | return f(*args, **kwargs)
2014-11-17 22:51:24.245 | File "nova/tests/
2014-11-17 22:51:24.245 | self.execute_
2014-11-17 22:51:24.245 | File "nova/tests/
2014-11-17 22:51:24.245 | "Failed to run: %s\n%s" % (cmd, output))
2014-11-17 22:51:24.246 | File "/home/
2014-11-17 22:51:24.246 | self.assertThat
2014-11-17 22:51:24.246 | File "/home/
2014-11-17 22:51:24.246 | raise mismatch_error
2014-11-17 22:51:24.246 | MismatchError: !=:
2014-11-17 22:51:24.246 | reference = ''
2014-11-17 22:51:24.246 | actual = u'''\
2014-11-17 22:51:24.246 | Unexpected error while running command.
2014-11-17 22:51:24.246 | Command: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d postgres
2014-11-17 22:51:24.246 | Exit code: 1
2014-11-17 22:51:24.246 | Stdout: u''
2014-11-17 22:51:24.247 | Stderr: u'ERROR: database "openstack_citest" is being accessed by other users\\nDETAIL: There is 1 other session using the database.\\n\''''
2014-11-17 22:51:24.247 | : Failed to run: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d postgres
2014-11-17 22:51:24.247 | Unexpected error while running command.
2014-11-17 22:51:24.247 | Command: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d postgres
2014-11-17 22:51:24.247 | Exit code: 1
2014-11-17 22:51:24.247 | Stdout: u''
2014-11-17 22:51:24.247 | Stderr: u'ERROR: database "openstack_citest" is being accessed by other users\nDETAIL: There is 1 other session using the database.\n'
2014-11-17 22:51:24.247 | Traceback (most recent call last):
2014-11-17 22:51:24.247 | _StringException: Empty attachments:
2014-11-17 22:51:24.247 | pythonlogging:''
2014-11-17 22:51:24.247 | stderr
2014-11-17 22:51:24.248 | stdout
516 hits in 7 days, check and gate, all failures.
Changed in oslo.db: | |
status: | New → Confirmed |
assignee: | nobody → Roman Podoliaka (rpodolyaka) |
importance: | Undecided → High |
milestone: | none → next-juno |
status: | Confirmed → In Progress |
Changed in oslo.db: | |
status: | Fix Committed → Fix Released |
milestone: | next-juno → 1.1.0 |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
This showed up again on 11/17 and oslo.db 1.1.0 was just released today:
https:/ /pypi.python. org/pypi/ oslo.db/ 1.1.0