← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454384] Re: glance unit tests fail with glance_store==0.5.0

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => liberty-1

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

Title:
  glance unit tests fail with glance_store==0.5.0

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

Bug description:
  glance_store 0.5.0 was released this morning. Unfortunately, it breaks
  glance's test suite.

  Here's an example failure:

  Traceback (most recent call last):
    File "glance/tests/unit/v2/test_registry_api.py", line 48, in setUp
      super(TestRegistryRPC, self).setUp()
    File "glance/tests/unit/base.py", line 61, in setUp
      super(IsolatedUnitTest, self).setUp()
    File "glance/tests/unit/base.py", line 38, in setUp
      self._create_stores()
    File "glance/tests/unit/base.py", line 49, in _create_stores
      store.create_stores(CONF)
    File "/home/buildbot/schmenkins/state/jobs/glance-upstream/workspace/.tox/py27/local/lib/python2.7/site-packages/glance_store/backend.
  py", line 186, in create_stores
      store_instance.configure(re_raise_bsc=True)
    File "/home/buildbot/schmenkins/state/jobs/glance-upstream/workspace/.tox/py27/local/lib/python2.7/site-packages/glance_store/driver.p
  y", line 72, in configure
      self.configure_add()
    File "/home/buildbot/schmenkins/state/jobs/glance-upstream/workspace/.tox/py27/local/lib/python2.7/site-packages/glance_store/_drivers
  /filesystem.py", line 303, in configure_add
      reason=reason)
  glance_store.exceptions.BadStoreConfiguration: Store filesystem could not be configured correctly. Reason: Specify at least 'filesystem_store_datadir' or 'filesystem_store_datadirs' option


  It's pretty severe:

  Ran 2699 tests in 864.327s
  FAILED (id=0, failures=980, skips=14)
  error: testr failed (1)
  ERROR: InvocationError: '/home/buildbot/schmenkins/state/jobs/glance-upstream/workspace/.tox/py27/bin/lockutils-wrapper python setup.py testr --slowest --testr-args='

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


References