ListServersNegativeV3Test.test_list_servers_by_changes_since appears to be racey causing failures

Bug #1325092 reported by Jay Bryant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
New
Undecided
Unassigned

Bug Description

I encountered the following failure in the Gate today for a test run against a Cinder change:

2014-05-30 20:08:34.161 | {0} tempest.api.compute.v3.servers.test_list_servers_negative.ListServersNegativeV3Test.test_list_servers_by_changes_since [0.052455s] ... FAILED
2014-05-30 20:08:34.161 |
2014-05-30 20:08:34.161 | Captured traceback:
2014-05-30 20:08:34.161 | ~~~~~~~~~~~~~~~~~~~
2014-05-30 20:08:34.161 | Traceback (most recent call last):
2014-05-30 20:08:34.161 | File "tempest/api/compute/v3/servers/test_list_servers_negative.py", line 140, in test_list_servers_by_changes_since
2014-05-30 20:08:34.161 | (num_expected, body['servers']))
2014-05-30 20:08:34.161 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual
2014-05-30 20:08:34.161 | self.assertThat(observed, matcher, message)
2014-05-30 20:08:34.161 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
2014-05-30 20:08:34.162 | raise mismatch_error
2014-05-30 20:08:34.162 | MismatchError: 3 != 1: Number of servers 3 is wrong in [{u'id': u'04dd926d-6cbf-4626-9a83-372852d1da9d', u'links': [{u'href': u'http://127.0.0.1:8774/v3/servers/04dd926d-6cbf-4626-9a83-372852d1da9d', u'rel': u'self'}, {u'href': u'http://127.0.0.1:8774/servers/04dd926d-6cbf-4626-9a83-372852d1da9d', u'rel': u'bookmark'}], u'name': u'ListServersNegativeV3Test-instance-954892925'}]
2014-05-30 20:08:34.162 |
2014-05-30 20:08:34.162 |
2014-05-30 20:08:34.162 | Captured pythonlogging:
2014-05-30 20:08:34.162 | ~~~~~~~~~~~~~~~~~~~~~~~
2014-05-30 20:08:34.162 | 2014-05-30 20:08:34,137 Request (ListServersNegativeV3Test:test_list_servers_by_changes_since): 200 GET http://127.0.0.1:8774/v3/servers?changes_since=2014-05-30T20%3A08%3A32.169807 0.045s
2014-05-30 20:08:34.162 |

It appears to be similar to https://bugs.launchpad.net/tempest/+bug/1195309

Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

This bug is duplicated to https://bugs.launchpad.net/nova/+bug/1254238 , and we are trying to fix it.

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.