← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358120] Re: Error while running tox

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1358120

Title:
  Error while running tox

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When i am running tox tests, i am getting following error:

  Exception while obtaining flavors list
  Traceback (most recent call last):
    File "/root/horizon/openstack_dashboard/dashboards/project/databases/workflows/create_instance.py", line 56, in flavors
      return api.trove.flavor_list(request)
    File "/root/horizon/.tox/py27dj15/local/lib/python2.7/site-packages/mox.py", line 765, in __call__
      return mock_method(*params, **named_params)
    File "/root/horizon/.tox/py27dj15/local/lib/python2.7/site-packages/mox.py", line 1010, in __call__
      raise expected_method._exception
  ClientException: Expected failure.
  Problem instantiating action class.
  Traceback (most recent call last):
    File "/root/horizon/horizon/workflows/base.py", line 368, in action
      context)
    File "/root/horizon/horizon/workflows/base.py", line 138, in __init__
      self._populate_choices(request, context)
    File "/root/horizon/horizon/workflows/base.py", line 151, in _populate_choices
      bound_field.choices = meth(request, context)
    File "/root/horizon/openstack_dashboard/dashboards/project/databases/workflows/create_instance.py", line 65, in populate_flavor_choices
      flavor_list = [(f.id, "%s" % f.name) for f in self.flavors(request)]
    File "/root/horizon/horizon/utils/memoized.py", line 90, in wrapped
      value = cache[key] = func(*args, **kwargs)
    File "/root/horizon/openstack_dashboard/dashboards/project/databases/workflows/create_instance.py", line 62, in flavors
      redirect=redirect)
    File "/root/horizon/horizon/exceptions.py", line 326, in handle
      raise Http302(redirect)
  Http302

  
  ___________________________________________________________________summary___________________________________________________________________
  ERROR:   py26: InterpreterNotFound: python2.6
    py27: commands succeeded
  ERROR:   py27dj14: commands failed
  ERROR:   py27dj15: commands failed
    pep8: commands succeeded
  ERROR:   py33: InterpreterNotFound: python3.3

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


References