hyperv neutron agent, break local nosetests tests

Bug #1225509 reported by Sean McCully
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Sean McCully

Bug Description

$ 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...

Tags: hyperv
Changed in horizon:
assignee: nobody → Sean McCully (sean-mccully)
affects: horizon → neutron
Changed in neutron:
importance: Undecided → Low
Changed in neutron:
milestone: none → havana-rc1
Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/46633
Committed: http://github.com/openstack/neutron/commit/a442aceb6ff3942cd9ea30f89394586ff0140dfe
Submitter: Jenkins
Branch: master

commit a442aceb6ff3942cd9ea30f89394586ff0140dfe
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
    Change-Id: Icf67c6775b6a25a5223ffa7e2d863c2bc0486c2c

Changed in neutron:
status: In Progress → Fix Committed
tags: added: hyperv
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.