← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1313812] [NEW] test_l3_agent unit tests cannot be run individually

 

Public bug reported:

When trying to run the test_l3_agent unit tests individually the
following test case fails:

======================================================================
ERROR: neutron.tests.unit.test_l3_agent.TestL3AgentEventHandler.test_spawn_metadata_proxy
----------------------------------------------------------------------
_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'

Traceback (most recent call last):
  File "/home/henry/Dev/neutron/neutron/tests/unit/test_l3_agent.py", line 1203, in setUp
    'interface_driver', 'neutron.agent.linux.interface.NullDriver'
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1547, in __inner
    result = f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1797, in set_override
    opt_info = self._get_opt_info(name, group)
  File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2106, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option: interface_driver

** Affects: neutron
     Importance: Undecided
     Assignee: Henry Gessau (gessau)
         Status: New


** Tags: unittest

** Changed in: neutron
     Assignee: (unassigned) => Henry Gessau (gessau)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1313812

Title:
  test_l3_agent unit tests cannot be run individually

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When trying to run the test_l3_agent unit tests individually the
  following test case fails:

  ======================================================================
  ERROR: neutron.tests.unit.test_l3_agent.TestL3AgentEventHandler.test_spawn_metadata_proxy
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:''
    pythonlogging:'neutron.api.extensions'

  Traceback (most recent call last):
    File "/home/henry/Dev/neutron/neutron/tests/unit/test_l3_agent.py", line 1203, in setUp
      'interface_driver', 'neutron.agent.linux.interface.NullDriver'
    File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1547, in __inner
      result = f(self, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1797, in set_override
      opt_info = self._get_opt_info(name, group)
    File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2106, in _get_opt_info
      raise NoSuchOptError(opt_name, group)
  NoSuchOptError: no such option: interface_driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1313812/+subscriptions


Follow ups

References