← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1416522] [NEW] Fix neutron-fwaas unit test failure due to router_info.RouterInfo().

 

Public bug reported:

Due to recent updates to neutron/agents/l3/router_info.py, neutron-fwaas
unit tests are failing with the following error.

ft1.59: neutron_fwaas.tests.unit.services.firewall.agents.l3reference.test_firewall_l3_agent.TestFwaasL3AgentRpcCallback.test_get_router_info_list_for_tenant_for_namespaces_disabled_StringException: Traceback (most recent call last):
_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

Traceback (most recent call last):
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 371, in test_get_router_info_list_for_tenant_for_namespaces_disabled
    self._get_router_info_list_helper(use_namespaces=False)
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 355, in _get_router_info_list_helper
    ri = self._prepare_router_data()
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 351, in _prepare_router_data
    router=router, ns_name=ns)
TypeError: __init__() got multiple values for keyword argument 'router'

Traceback (most recent call last):
_StringException: Empty attachments:
  pythonlogging:''
  pythonlogging:'neutron.api.extensions'
  stderr
  stdout

Traceback (most recent call last):
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 371, in test_get_router_info_list_for_tenant_for_namespaces_disabled
    self._get_router_info_list_helper(use_namespaces=False)
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 355, in _get_router_info_list_helper
    ri = self._prepare_router_data()
  File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 351, in _prepare_router_data
    router=router, ns_name=ns)
TypeError: __init__() got multiple values for keyword argument 'router'

** Affects: neutron
     Importance: Undecided
     Assignee: Trinath Somanchi (trinath-somanchi)
         Status: In Progress

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

Title:
  Fix neutron-fwaas unit test failure due to router_info.RouterInfo().

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  Due to recent updates to neutron/agents/l3/router_info.py, neutron-
  fwaas unit tests are failing with the following error.

  ft1.59: neutron_fwaas.tests.unit.services.firewall.agents.l3reference.test_firewall_l3_agent.TestFwaasL3AgentRpcCallback.test_get_router_info_list_for_tenant_for_namespaces_disabled_StringException: Traceback (most recent call last):
  _StringException: Empty attachments:
    pythonlogging:''
    pythonlogging:'neutron.api.extensions'
    stderr
    stdout

  Traceback (most recent call last):
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 371, in test_get_router_info_list_for_tenant_for_namespaces_disabled
      self._get_router_info_list_helper(use_namespaces=False)
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 355, in _get_router_info_list_helper
      ri = self._prepare_router_data()
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 351, in _prepare_router_data
      router=router, ns_name=ns)
  TypeError: __init__() got multiple values for keyword argument 'router'

  Traceback (most recent call last):
  _StringException: Empty attachments:
    pythonlogging:''
    pythonlogging:'neutron.api.extensions'
    stderr
    stdout

  Traceback (most recent call last):
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 371, in test_get_router_info_list_for_tenant_for_namespaces_disabled
      self._get_router_info_list_helper(use_namespaces=False)
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 355, in _get_router_info_list_helper
      ri = self._prepare_router_data()
    File "neutron_fwaas/tests/unit/services/firewall/agents/l3reference/test_firewall_l3_agent.py", line 351, in _prepare_router_data
      router=router, ns_name=ns)
  TypeError: __init__() got multiple values for keyword argument 'router'

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


Follow ups

References