<div dir="ltr">Hi,<div><br></div><div>From sometime today, I am not any more able to run ./run_tests.sh. It gives the following error,</div><div><br></div><div><div><b>Running `tools/with_venv.sh python setup.py testr --testr-args='--subunit '`</b></div>
<div><b>db type could not be determined</b></div><div><b>error: testr failed (3)</b></div><div><b><br></b></div><div><b>Ran 0 tests in 6.989s</b></div><div><br></div><div>I tried recreating my virtual environment, running tests with/without site packages but the result was same.</div>
<div><br></div><div>When I run tests with -d(debug) option, I see the below error.</div><div><br></div><div><div><b>ERROR: unittest.loader.ModuleImportFailure.virt.xenapi.test_xenapi</b></div><div><b>----------------------------------------------------------------------</b></div>
<div><b>ImportError: Failed to import test module: virt.xenapi.test_xenapi</b></div><div><b>Traceback (most recent call last):</b></div><div><b> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 252, in _find_tests</b></div>
<div><b> module = self._get_module_from_name(name)</b></div><div><b> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name</b></div>
<div><b> __import__(name)</b></div><div><b> File "/Users/sumansn/Work/nova/nova/tests/virt/xenapi/test_xenapi.py", line 43, in <module></b></div><div><b> from nova import test</b></div><div><b> File "nova/test.py", line 52, in <module></b></div>
<div><b> from nova.tests import conf_fixture</b></div><div><b> File "nova/tests/__init__.py", line 39, in <module></b></div><div><b> % os.environ.get('EVENTLET_NO_GREENDNS'))</b></div><div><b>ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)</b></div>
</div><div><br></div><div><br></div><div>My python version is 2.7.3 and I am using a Mac OSx 10.7.5</div><div><br></div><div>Has anything changes recently that I have to account for? Any help would be appreciated?</div><div>
<br></div><div>Thanks</div>-- <br>Sumanth N S<br><br>
</div></div>