← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282400] [NEW] The race condition caused by image created_at break DB driver test_image_paginate case

 

Public bug reported:

FAIL: glance.tests.functional.db.test_registry.TestRegistryDriver.test_image_paginate
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
  File "glance/tests/functional/db/base.py", line 711, in test_image_paginate
    self.assertEqual(extra_uuids, [i['id'] for i in page])
  File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: !=:
reference = ['0be9ce54-f56b-41d5-bef6-9ca75e846b59',
 'a75dc71b-df55-41e3-9218-f465b791b7da']
actual    = [u'a75dc71b-df55-41e3-9218-f465b791b7da',
 u'0be9ce54-f56b-41d5-bef6-9ca75e846b59']
 
http://logs.openstack.org/58/74858/1/check/gate-glance-python27/732468f/console.html#_2014-02-19_23_03_01_798

** Affects: glance
     Importance: Medium
     Assignee: Zhi Yan Liu (lzy-dev)
         Status: New

** Changed in: glance
   Importance: Undecided => Medium

** Changed in: glance
     Assignee: (unassigned) => Zhi Yan Liu (lzy-dev)

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

Title:
  The race condition caused by image created_at break DB driver
  test_image_paginate case

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  FAIL: glance.tests.functional.db.test_registry.TestRegistryDriver.test_image_paginate
  tags: worker-0
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "glance/tests/functional/db/base.py", line 711, in test_image_paginate
      self.assertEqual(extra_uuids, [i['id'] for i in page])
    File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 321, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/gate-glance-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  MismatchError: !=:
  reference = ['0be9ce54-f56b-41d5-bef6-9ca75e846b59',
   'a75dc71b-df55-41e3-9218-f465b791b7da']
  actual    = [u'a75dc71b-df55-41e3-9218-f465b791b7da',
   u'0be9ce54-f56b-41d5-bef6-9ca75e846b59']
   
  http://logs.openstack.org/58/74858/1/check/gate-glance-python27/732468f/console.html#_2014-02-19_23_03_01_798

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


Follow ups

References