Case test_get_index_sort_updated_at_desc failed sometimes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Zhi Yan Liu | ||
Havana |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have seen this failure several times. And it doesn't happen always, so it seems like a race condition issue. And until, I just saw it on py27, so not sure if it's existed in py26.
2014-01-23 15:12:33.910 | FAIL: glance.
2014-01-23 15:12:33.910 | -------
2014-01-23 15:12:33.911 | _StringException: Traceback (most recent call last):
2014-01-23 15:12:33.911 | File "/home/
2014-01-23 15:12:33.911 | unjsonify=False)
2014-01-23 15:12:33.911 | File "/home/
2014-01-23 15:12:33.911 | self.assertEqua
2014-01-23 15:12:33.911 | File "/home/
2014-01-23 15:12:33.911 | self.assertThat
2014-01-23 15:12:33.911 | File "/home/
2014-01-23 15:12:33.911 | raise MismatchError(
2014-01-23 15:12:33.911 | MismatchError: !=:
2014-01-23 15:12:33.911 | reference = u'db4ddeb5-
2014-01-23 15:12:33.912 | actual = '406c995a-
http://
Changed in glance: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in glance: | |
assignee: | nobody → Zhi Yan Liu (lzy-dev) |
Changed in glance: | |
importance: | Critical → High |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | icehouse-3 → 2014.1 |
a similar failure
2014-01-25 02:08:14.411 | ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= tests.unit. v2.test_ tasks_resource. TestTasksContro ller.test_ index_with_ sort_dir ------- ------- ------- ------- ------- ------- ------- ------- ------- jenkins/ workspace/ gate-glance- python27/ glance/ tests/unit/ v2/test_ tasks_resource. py", line 225, in test_index_ with_sort_ dir jenkins/ workspace/ gate-glance- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 324, in assertEqual (observed, matcher, message) jenkins/ workspace/ gate-glance- python27/ .tox/py27/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 414, in assertThat matchee, matcher, mismatch, verbose) eae7-4c0f- b50d-a7160b0c6a 86', 8067-4bc8- a91f-ae3557f1c4 c7', 55b3-4d5b- b0b4-5d0a6e6042 fc'] 8067-4bc8- a91f-ae3557f1c4 c7', 55b3-4d5b- b0b4-5d0a6e6042 fc', bd1f-41c5- 90ee-81afedb1d5 8d']
2014-01-25 02:08:14.411 | FAIL: glance.
2014-01-25 02:08:14.412 | -------
2014-01-25 02:08:14.412 | _StringException: Traceback (most recent call last):
2014-01-25 02:08:14.412 | File "/home/
2014-01-25 02:08:14.412 | sorted(set([UUID1, UUID2, UUID3])))
2014-01-25 02:08:14.412 | File "/home/
2014-01-25 02:08:14.412 | self.assertThat
2014-01-25 02:08:14.413 | File "/home/
2014-01-25 02:08:14.413 | raise MismatchError(
2014-01-25 02:08:14.413 | MismatchError: !=:
2014-01-25 02:08:14.413 | reference = ['6bbe7cc2-
2014-01-25 02:08:14.413 | '971ec09a-
2014-01-25 02:08:14.413 | 'a85abd86-
2014-01-25 02:08:14.413 | actual = ['971ec09a-
2014-01-25 02:08:14.413 | 'a85abd86-
2014-01-25 02:08:14.414 | 'c80a1a6c-
see http:// logs.openstack. org/97/ 58997/12/ gate/gate- glance- python27/ 6ae1e18/ console. html.gz