Multiple unit tests generate errors when run on a machine with nova services running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
./run_tests.sh -V generated 50 errors and 1 failure when executed on a node that also has several nova services running (nova-api, nova-network, nova-scheduler, nova-objectstore). When run on a node without these services, all tests pass.
I haven't investigated too closely, but the errors look like collisions with existing services (e.g., trying to listen on a port already in use).
Revision: 1054
OS: SLES 11SP1
Example of one such error:
~/nova/trunk> ./run_tests.sh -V nova.tests.
ExtensionsTest
test_
=======
ERROR: test_get_foxnsocks (nova.tests.
-------
Traceback (most recent call last):
File "/home/
self.auth_url = self._start_
File "/home/
api_
File "/home/
self.wsgi_app = _run_wsgi(
File "/home/
server.
File "/home/
self.
File "/home/
socket = eventlet.
File "/home/
sock.bind(addr)
File "<string>", line 1, in bind
error: [Errno 98] Address already in use
I think this is a duplicate. Can you try the fix here:
https:/ /code.launchpad .net/~justin- fathomdb/ nova/bug744150/ +merge/ 55183
and reopen if it doesn't fix your problem?