Unit test failure: openstack_citest" is being accessed by other users\nDETAIL: There are 1 other session(s) using the database.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Viktor Serhieiev | ||
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Viktor Serhieiev | ||
oslo-incubator |
Fix Released
|
High
|
Ilya Pekelny |
Bug Description
We are periodically seeing this nova unit test failure in our CI system:
openstack_citest" is being accessed by other users\nDETAIL: There are 1 other session(s) using the database.
http://
2014-06-11 06:26:40.002 | FAIL: nova.tests.
2014-06-11 06:26:40.002 | tags: worker-6
2014-06-11 06:26:40.003 | -------
2014-06-11 06:26:40.003 | Empty attachments:
2014-06-11 06:26:40.003 | pythonlogging:''
2014-06-11 06:26:40.003 | stderr
2014-06-11 06:26:40.003 | stdout
2014-06-11 06:26:40.003 |
2014-06-11 06:26:40.004 | Traceback (most recent call last):
2014-06-11 06:26:40.004 | File "nova/tests/
2014-06-11 06:26:40.004 | self._test_
2014-06-11 06:26:40.004 | File "nova/tests/
2014-06-11 06:26:40.004 | self._reset_
2014-06-11 06:26:40.004 | File "nova/tests/
2014-06-11 06:26:40.004 | self._reset_
2014-06-11 06:26:40.005 | File "nova/openstack
2014-06-11 06:26:40.005 | return f(*args, **kwargs)
2014-06-11 06:26:40.005 | File "nova/tests/
2014-06-11 06:26:40.005 | self.execute_
2014-06-11 06:26:40.005 | File "nova/tests/
2014-06-11 06:26:40.005 | "Failed to run: %s\n%s" % (cmd, output))
2014-06-11 06:26:40.005 | File "/home/
2014-06-11 06:26:40.006 | self.assertThat
2014-06-11 06:26:40.006 | File "/home/
2014-06-11 06:26:40.006 | raise mismatch_error
2014-06-11 06:26:40.006 | MismatchError: !=:
2014-06-11 06:26:40.006 | reference = ''
2014-06-11 06:26:40.006 | actual = '''\
2014-06-11 06:26:40.007 | Unexpected error while running command.
2014-06-11 06:26:40.007 | Command: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d template1
2014-06-11 06:26:40.007 | Exit code: 1
2014-06-11 06:26:40.007 | Stdout: ''
2014-06-11 06:26:40.007 | Stderr: 'ERROR: database "openstack_citest" is being accessed by other users\\nDETAIL: There are 1 other session(s) using the database.\\n\''''
2014-06-11 06:26:40.007 | : Failed to run: psql -w -U openstack_citest -h localhost -c 'drop database if exists openstack_citest;' -d template1
elastic-search query: message:"Stderr: \'ERROR: database \"openstack_
tags: | added: testing |
Changed in oslo: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in oslo: | |
status: | Fix Committed → Triaged |
Changed in oslo: | |
assignee: | Roman Podoliaka (rpodolyaka) → Ilya Pekelny (i159) |
status: | Triaged → In Progress |
tags: | added: postgresql |
Changed in oslo: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-2 → 2014.2 |
Marking as critical because we should not have any race conditions in the unit tests, and because we are seeing this in the gate