← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1340429] [NEW] saharaclient causes cinder_tests to fail

 

Public bug reported:

I tried to run cinder_tests individually, using this command: ./run_tests.sh openstack_dashboard.test.api_tests.cinder_tests.
Looks like the __init__.py file under openstack_dashboard/api is missing the declarations for sahara. Note that I didn't see any error messages when I ran the full ./run_tests.sh. I only see the errors when I ran cinder_tests individually. 

The tests failed with the following messages:

======================================================================
ERROR: test_volume_list (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
    self._original_saharaclient = api.sahara.client
AttributeError: 'module' object has no attribute 'sahara'

======================================================================
ERROR: test_volume_snapshot_list (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
    self._original_saharaclient = api.sahara.client
AttributeError: 'module' object has no attribute 'sahara'

======================================================================
ERROR: test_volume_snapshot_list_no_volume_configured (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
    self._original_saharaclient = api.sahara.client
AttributeError: 'module' object has no attribute 'sahara'

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1340429

Title:
  saharaclient causes cinder_tests to fail

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I tried to run cinder_tests individually, using this command: ./run_tests.sh openstack_dashboard.test.api_tests.cinder_tests.
  Looks like the __init__.py file under openstack_dashboard/api is missing the declarations for sahara. Note that I didn't see any error messages when I ran the full ./run_tests.sh. I only see the errors when I ran cinder_tests individually. 

  The tests failed with the following messages:

  ======================================================================
  ERROR: test_volume_list (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
      self._original_saharaclient = api.sahara.client
  AttributeError: 'module' object has no attribute 'sahara'

  ======================================================================
  ERROR: test_volume_snapshot_list (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
      self._original_saharaclient = api.sahara.client
  AttributeError: 'module' object has no attribute 'sahara'

  ======================================================================
  ERROR: test_volume_snapshot_list_no_volume_configured (openstack_dashboard.test.api_tests.cinder_tests.CinderApiTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/stack/horizon/openstack_dashboard/test/helpers.py", line 266, in setUp
      self._original_saharaclient = api.sahara.client
  AttributeError: 'module' object has no attribute 'sahara'

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


Follow ups

References