Cinder unit tests fail

Bug #1405388 reported by Anton Arefiev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Anton Arefiev

Bug Description

Run unit tests with run_tests.sh on stable/juno:

Traceback (most recent call last):
_StringException: Traceback (most recent call last):
ImportError: Failed to import test module: cinder.tests.keymgr.test_barbican
Traceback (most recent call last):
  File "/home/aarefiev/openstack/mos/cinder/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 445, in _find_test_path
    module = self._get_module_from_name(name)
  File "/home/aarefiev/openstack/mos/cinder/.venv/local/lib/python2.7/site-packages/unittest2/loader.py", line 384, in _get_module_from_name
    __import__(name)
  File "/home/aarefiev/openstack/mos/cinder/cinder/tests/keymgr/test_barbican.py", line 25, in <module>
    from barbicanclient.common import auth
ImportError: cannot import name auth

Anton Arefiev (aarefiev)
Changed in cinder:
assignee: nobody → Anton Arefiev (aarefiev)
Revision history for this message
John Griffith (john-griffith) wrote :

I just checked out stable/juno and ran tests without any issue. Have you updated your env?

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

John, I have the same error with a clean venv. It setup python-barbicanclient 3.0.1

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

It was issue with my env. Works for me

Revision history for this message
Anton Arefiev (aarefiev) wrote :

strange behavior in mos.

Changed in cinder:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.