$ python --version
Python 2.7.5
$ uname -a
Linux localhost 3.10.11-200.fc19.x86_64 #1 SMP Mon Sep 9 13:03:01 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ nosetests -V
nosetests version 1.3.0
ERROR: neutron.tests.unit.hyperv.test_hyperv_neutron_agent.TestHyperVNeutronAgent.test_main
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/usr/lib/python2.7/site-packages/nose/case.py", line 151, in runTest
test(result)
File "/usr/lib64/python2.7/unittest/case.py", line 433, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 526, in run
return self.__RunTest(self, self.exception_handlers).run(result)
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 74, in run
return self._run_one(actual_result)
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 88, in _run_one
return self._run_prepared_result(ExtendedToOriginalDecorator(result))
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 100, in _run_prepared_result
self._run_core()
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 125, in _run_core
self.case._run_test_method, self.result):
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 173, in _run_user
return self._got_user_exception(sys.exc_info())
File "/usr/lib/python2.7/site-packages/testtools/runtest.py", line 200, in _got_user_exception
raise e
SystemExit: 0
-------------------- >> begin captured logging << --------------------
neutron.plugins.hyperv.agent.hyperv_neutron_agent: INFO: Agent initialized successfully, now running...
Reviewed: https:/ /review. openstack. org/46633 github. com/openstack/ neutron/ commit/ a442aceb6ff3942 cd9ea30f8939458 6ff0140dfe
Committed: http://
Submitter: Jenkins
Branch: master
commit a442aceb6ff3942 cd9ea30f8939458 6ff0140dfe
Author: Sean McCully <email address hidden>
Date: Sat Sep 14 15:14:33 2013 -0500
Fixes hyperv neutron agent test, and removes exit
Fixes test for hyperv neutron agent, and removes
sys.exit from hyperv neutron agent
Fixes: bug #1225509 a5223ffa7e2d863 c2bc0486c2c
Change-Id: Icf67c6775b6a25