yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81350
[Bug 1860209] [NEW] Local variable referenced before assignment in "_router_fip_qos_after_admin_state_down_up"
Public bug reported:
In "TestL3Agent._router_fip_qos_after_admin_state_down_up", a local
variable 'interface_name' can be referenced before assignment in some
cases.
Error log:
ft1.1: neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_router_fip_qos_after_admin_state_down_uptesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 558, in test_router_fip_qos_after_admin_state_down_up
self._router_fip_qos_after_admin_state_down_up(ha=True)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 246, in _router_fip_qos_after_admin_state_down_up
interface_name,
UnboundLocalError: local variable 'interface_name' referenced before assignment
Link:
https://7085ed736f9157d6d701-223d8b88d73ea59070ac36b627fdc3bc.ssl.cf1.rackcdn.com/700791/14/check
/neutron-fullstack/ad85aba/testr_results.html
** Affects: neutron
Importance: Undecided
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
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/1860209
Title:
Local variable referenced before assignment in
"_router_fip_qos_after_admin_state_down_up"
Status in neutron:
In Progress
Bug description:
In "TestL3Agent._router_fip_qos_after_admin_state_down_up", a local
variable 'interface_name' can be referenced before assignment in some
cases.
Error log:
ft1.1: neutron.tests.fullstack.test_l3_agent.TestHAL3Agent.test_router_fip_qos_after_admin_state_down_uptesttools.testresult.real._StringException: Traceback (most recent call last):
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 182, in func
return f(self, *args, **kwargs)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 558, in test_router_fip_qos_after_admin_state_down_up
self._router_fip_qos_after_admin_state_down_up(ha=True)
File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/fullstack/test_l3_agent.py", line 246, in _router_fip_qos_after_admin_state_down_up
interface_name,
UnboundLocalError: local variable 'interface_name' referenced before assignment
Link:
https://7085ed736f9157d6d701-223d8b88d73ea59070ac36b627fdc3bc.ssl.cf1.rackcdn.com/700791/14/check
/neutron-fullstack/ad85aba/testr_results.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1860209/+subscriptions
Follow ups