← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1795824] [NEW] Functional tests neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase are sporadically failing

 

Public bug reported:

Functional tests neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle and
neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle (perhaps others as well) are failing in the gate see logstash query:
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22test_legacy_router_lifecycle%5C%22%20AND%20build_name%3A%5C%22neutron-functional%5C%22%20AND%20build_status%3A%5C%22FAILURE%5C%22%20AND%20project%3A%5C%22openstack%2Fneutron%5C%22%20AND%20tags%3A%5C%22console%5C%22

Example traceback:
2018-10-02 17:33:48.845077 | primary | 2018-10-02 17:33:48.844 | neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle_with_no_gateway_subnet
2018-10-02 17:33:48.848853 | primary | 2018-10-02 17:33:48.848 | ------------------------------------------------------------------------------------------------------------------------
2018-10-02 17:33:48.850703 | primary | 2018-10-02 17:33:48.850 |
2018-10-02 17:33:48.852435 | primary | 2018-10-02 17:33:48.852 | Captured traceback:
2018-10-02 17:33:48.854060 | primary | 2018-10-02 17:33:48.853 | ~~~~~~~~~~~~~~~~~~~
2018-10-02 17:33:48.855863 | primary | 2018-10-02 17:33:48.855 |     Traceback (most recent call last):
2018-10-02 17:33:48.857769 | primary | 2018-10-02 17:33:48.857 |       File "neutron/tests/base.py", line 137, in func
2018-10-02 17:33:48.859708 | primary | 2018-10-02 17:33:48.859 |         return f(self, *args, **kwargs)
2018-10-02 17:33:48.861760 | primary | 2018-10-02 17:33:48.861 |       File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 91, in test_legacy_router_lifecycle_with_no_gateway_subnet
2018-10-02 17:33:48.863480 | primary | 2018-10-02 17:33:48.863 |         v6_ext_gw_with_sub=False)
2018-10-02 17:33:48.865400 | primary | 2018-10-02 17:33:48.864 |       File "neutron/tests/functional/agent/l3/framework.py", line 302, in _router_lifecycle
2018-10-02 17:33:48.867545 | primary | 2018-10-02 17:33:48.867 |         self._assert_onlink_subnet_routes(router, ip_versions)
2018-10-02 17:33:48.869522 | primary | 2018-10-02 17:33:48.869 |       File "neutron/tests/functional/agent/l3/framework.py", line 526, in _assert_onlink_subnet_routes
2018-10-02 17:33:48.871655 | primary | 2018-10-02 17:33:48.871 |         namespace=ns_name)
2018-10-02 17:33:48.873748 | primary | 2018-10-02 17:33:48.873 |       File "neutron/agent/linux/ip_lib.py", line 1030, in get_routing_table
2018-10-02 17:33:48.875665 | primary | 2018-10-02 17:33:48.875 |         return list(privileged.get_routing_table(ip_version, namespace))
2018-10-02 17:33:48.877614 | primary | 2018-10-02 17:33:48.877 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_privsep/priv_context.py", line 207, in _wrap
2018-10-02 17:33:48.879571 | primary | 2018-10-02 17:33:48.879 |         return self.channel.remote_call(name, args, kwargs)
2018-10-02 17:33:48.881395 | primary | 2018-10-02 17:33:48.881 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 202, in remote_call
2018-10-02 17:33:48.883137 | primary | 2018-10-02 17:33:48.882 |         raise exc_type(*result[2])
2018-10-02 17:33:48.884767 | primary | 2018-10-02 17:33:48.884 |     KeyError


By manually executing the same tests (tox -e dsvm-functional-python35 -- neutron.tests.functional.agent.l3.test_legacy_router) I got the same error.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: functional-tests legacy-router-lifecycle neutron

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

Title:
  Functional tests
  neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase
  are sporadically failing

Status in neutron:
  New

Bug description:
  Functional tests neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle and
  neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle (perhaps others as well) are failing in the gate see logstash query:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22test_legacy_router_lifecycle%5C%22%20AND%20build_name%3A%5C%22neutron-functional%5C%22%20AND%20build_status%3A%5C%22FAILURE%5C%22%20AND%20project%3A%5C%22openstack%2Fneutron%5C%22%20AND%20tags%3A%5C%22console%5C%22

  Example traceback:
  2018-10-02 17:33:48.845077 | primary | 2018-10-02 17:33:48.844 | neutron.tests.functional.agent.l3.test_legacy_router.L3AgentTestCase.test_legacy_router_lifecycle_with_no_gateway_subnet
  2018-10-02 17:33:48.848853 | primary | 2018-10-02 17:33:48.848 | ------------------------------------------------------------------------------------------------------------------------
  2018-10-02 17:33:48.850703 | primary | 2018-10-02 17:33:48.850 |
  2018-10-02 17:33:48.852435 | primary | 2018-10-02 17:33:48.852 | Captured traceback:
  2018-10-02 17:33:48.854060 | primary | 2018-10-02 17:33:48.853 | ~~~~~~~~~~~~~~~~~~~
  2018-10-02 17:33:48.855863 | primary | 2018-10-02 17:33:48.855 |     Traceback (most recent call last):
  2018-10-02 17:33:48.857769 | primary | 2018-10-02 17:33:48.857 |       File "neutron/tests/base.py", line 137, in func
  2018-10-02 17:33:48.859708 | primary | 2018-10-02 17:33:48.859 |         return f(self, *args, **kwargs)
  2018-10-02 17:33:48.861760 | primary | 2018-10-02 17:33:48.861 |       File "neutron/tests/functional/agent/l3/test_legacy_router.py", line 91, in test_legacy_router_lifecycle_with_no_gateway_subnet
  2018-10-02 17:33:48.863480 | primary | 2018-10-02 17:33:48.863 |         v6_ext_gw_with_sub=False)
  2018-10-02 17:33:48.865400 | primary | 2018-10-02 17:33:48.864 |       File "neutron/tests/functional/agent/l3/framework.py", line 302, in _router_lifecycle
  2018-10-02 17:33:48.867545 | primary | 2018-10-02 17:33:48.867 |         self._assert_onlink_subnet_routes(router, ip_versions)
  2018-10-02 17:33:48.869522 | primary | 2018-10-02 17:33:48.869 |       File "neutron/tests/functional/agent/l3/framework.py", line 526, in _assert_onlink_subnet_routes
  2018-10-02 17:33:48.871655 | primary | 2018-10-02 17:33:48.871 |         namespace=ns_name)
  2018-10-02 17:33:48.873748 | primary | 2018-10-02 17:33:48.873 |       File "neutron/agent/linux/ip_lib.py", line 1030, in get_routing_table
  2018-10-02 17:33:48.875665 | primary | 2018-10-02 17:33:48.875 |         return list(privileged.get_routing_table(ip_version, namespace))
  2018-10-02 17:33:48.877614 | primary | 2018-10-02 17:33:48.877 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_privsep/priv_context.py", line 207, in _wrap
  2018-10-02 17:33:48.879571 | primary | 2018-10-02 17:33:48.879 |         return self.channel.remote_call(name, args, kwargs)
  2018-10-02 17:33:48.881395 | primary | 2018-10-02 17:33:48.881 |       File "/opt/stack/new/neutron/.tox/dsvm-functional/local/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 202, in remote_call
  2018-10-02 17:33:48.883137 | primary | 2018-10-02 17:33:48.882 |         raise exc_type(*result[2])
  2018-10-02 17:33:48.884767 | primary | 2018-10-02 17:33:48.884 |     KeyError

  
  By manually executing the same tests (tox -e dsvm-functional-python35 -- neutron.tests.functional.agent.l3.test_legacy_router) I got the same error.

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


Follow ups