Hi,

>From sometime today, I am not any more able to run ./run_tests.sh. It gives
the following error,

*Running `tools/with_venv.sh python setup.py testr --testr-args='--subunit
 '`*
*db type could not be determined*
*error: testr failed (3)*
*
*
*Ran 0 tests in 6.989s*

I tried recreating my virtual environment, running tests with/without site
packages but the result was same.

When I run tests with -d(debug) option, I see the below error.

*ERROR: unittest.loader.ModuleImportFailure.virt.xenapi.test_xenapi*
*----------------------------------------------------------------------*
*ImportError: Failed to import test module: virt.xenapi.test_xenapi*
*Traceback (most recent call last):*
*  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
line 252, in _find_tests*
*    module = self._get_module_from_name(name)*
*  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py",
line 230, in _get_module_from_name*
*    __import__(name)*
*  File "/Users/sumansn/Work/nova/nova/tests/virt/xenapi/test_xenapi.py",
line 43, in <module>*
*    from nova import test*
*  File "nova/test.py", line 52, in <module>*
*    from nova.tests import conf_fixture*
*  File "nova/tests/__init__.py", line 39, in <module>*
*    % os.environ.get('EVENTLET_NO_GREENDNS'))*
*ImportError: eventlet imported before nova/cmd/__init__ (env var set to
None)*


My python version is 2.7.3 and I am using a Mac OSx 10.7.5

Has anything changes recently that I have to account for? Any help would be
appreciated?

Thanks
-- 
Sumanth N S
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to