nova.tests.unit.test_context.ContextTestCase.test_store_when_no_overwrite intermittently fails with MismatchError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Ed Leafe | ||
oslo.context |
Fix Released
|
Critical
|
Davanum Srinivas (DIMS) |
Bug Description
2015-03-05 15:33:13.116 | Captured traceback:
2015-03-05 15:33:13.116 | ~~~~~~~~~~~~~~~~~~~
2015-03-05 15:33:13.116 | Traceback (most recent call last):
2015-03-05 15:33:13.116 | File "nova/tests/
2015-03-05 15:33:13.117 | self.assertIs(
2015-03-05 15:33:13.117 | File "/home/
2015-03-05 15:33:13.117 | self.assertThat
2015-03-05 15:33:13.117 | File "/home/
2015-03-05 15:33:13.117 | raise mismatch_error
2015-03-05 15:33:13.117 | MismatchError: is not:
2015-03-05 15:33:13.117 | reference = <nova.context.
2015-03-05 15:33:13.117 | actual = <nova.context.
2015-03-05 15:33:13.117 |
2015-03-05 15:33:13.117 | Traceback (most recent call last):
2015-03-05 15:33:13.117 | _StringException: Empty attachments:
2015-03-05 15:33:13.118 | pythonlogging:''
2015-03-05 15:33:13.118 | stderr
2015-03-05 15:33:13.118 | stdout
Looks like it's just this test:
18 hits in the last 7 days, 2 different changes in the gate hit on this.
Note that RequestContext doesn't implement __eq__ or __ne__.
Changed in nova: | |
assignee: | Johannes Erdfelt (johannes.erdfelt) → Ed Leafe (ed-leafe) |
Started with this change:
https:/ /review. openstack. org/#/c/ 160348/
So what does oslo_context do differently with it's store from what nova's old request context code did?