[openstack-dev] [Neutron][Testr] Brand new checkout of Neutron... getting insane unit test run results

Collins, Sean Sean_Collins2 at cable.comcast.com
Thu Jan 2 09:02:22 UTC 2014


> It looks like the problem is that there is a dependency on pyudev
> which only works properly on Linux. The neutron setup_hook does
> properly install pyudev on Linux (explains why the tests run in the
> gate), but would not work properly on windows or OS X. I assume folks
> are trying to run the tests on not Linux? Neutron may want to do
> something similar to what Nova does when libvirt is not importable,
> https://git.openstack.org/cgit/openstack/nova/tree/nova/tests/virt/libvirt/test_libvirt.py#n77
> and use a fake in order to get the tests to run properly anyways.
> 

+1 to this suggestion. I used to have a work around where I'd modify the
requirements.txt to comment out the pyudev dependency, until 
e1165ce removed it from the requirements file. That at least allowed me
to set Neutron up and run the majority of the unit tests.


-- 
Sean M. Collins


More information about the OpenStack-dev mailing list