← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1272136] Re: Case test_get_index_sort_updated_at_desc failed sometimes

 

** Also affects: glance/havana
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1272136

Title:
  Case test_get_index_sort_updated_at_desc failed sometimes

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Glance havana series:
  Fix Committed

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.tests.unit.v2.test_registry_client.TestRegistryV2Client.test_get_index_sort_updated_at_desc
  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/jenkins/workspace/gate-glance-python27/glance/tests/unit/v2/test_registry_client.py", line 268, in test_get_index_sort_updated_at_desc
  2014-01-23 15:12:33.911 |     unjsonify=False)
  2014-01-23 15:12:33.911 |   File "/home/jenkins/workspace/gate-glance-python27/glance/tests/utils.py", line 472, in assertEqualImages
  2014-01-23 15:12:33.911 |     self.assertEqual(images[i]['id'], value)
  2014-01-23 15:12:33.911 |   File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 324, in assertEqual
  2014-01-23 15:12:33.911 |     self.assertThat(observed, matcher, message)
  2014-01-23 15:12:33.911 |   File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 414, in assertThat
  2014-01-23 15:12:33.911 |     raise MismatchError(matchee, matcher, mismatch, verbose)
  2014-01-23 15:12:33.911 | MismatchError: !=:
  2014-01-23 15:12:33.911 | reference = u'db4ddeb5-edd6-4557-b635-6ecb4e5265a0'
  2014-01-23 15:12:33.912 | actual    = '406c995a-70e0-4010-a6eb-9dff61a2d2a7'

  http://logs.openstack.org/19/67019/2/check/gate-glance-
  python27/783d216/console.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1272136/+subscriptions


References