← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1103473] Re: Running glance nosetests fails

 

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

** Changed in: glance
    Milestone: None => grizzly-3

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

Title:
  Running glance nosetests fails

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Committed

Bug description:
  ======================================================================
  ERROR: glance.tests.functional.db.test_simple.TestDriver.test_image_create_defaults
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/tests/functional/db/base.py", line 71, in setUp
      super(TestDriver, self).setUp()
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/tests/unit/base.py", line 53, in setUp
      super(IsolatedUnitTest, self).setUp()
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/tests/unit/base.py", line 38, in setUp
      super(StoreClearingUnitTest, self).setUp()
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/tests/utils.py", line 47, in setUp
      config.parse_args(args=[])
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/common/config.py", line 77, in parse_args
      version=version.cached_version_string(),
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/openstack/common/version.py", line 78, in cached_version_string
      self.version_string())
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/openstack/common/version.py", line 56, in version_string
      for part in self.release_string().split('.'):
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/openstack/common/version.py", line 48, in release_string
      self.release = self._get_version_from_pkg_resources()
    File "/tmp/buildd/glance-2013.1.a21.g21cf2cf/glance/openstack/common/version.py", line 40, in _get_version_from_pkg_resources
      provider = pkg_resources.get_provider(requirement)
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 215, in get_provider
      return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 696, in require
      needed = self.resolve(parse_requirements(requirements))
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 594, in resolve
      raise DistributionNotFound(req)
  DistributionNotFound: glance

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