← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1951225] [NEW] [OVN] Agent can't be found in functional test sometimes

 

Public bug reported:

It causes failures of the functional test
neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestAgentMonitor.test_network_agent_present
test. Examples:

https://164b3e6c67f8dffddea7-f89a5ef8d1bd221399a14347eddacf71.ssl.cf2.rackcdn.com/814009/17/check/neutron-
functional-with-uwsgi/a3fa229/testr_results.html

https://c75035ee6c00054d18c4-7fb3488540a595a48601456545c48d00.ssl.cf1.rackcdn.com/813977/12/check/neutron-
functional-with-uwsgi/d85a9df/testr_results.html

Stacktrace:

ft1.2: neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestAgentMonitor.test_network_agent_presenttesttools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
    return f(self, *args, **kwargs)
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py", line 315, in test_network_agent_present
    type(neutron_agent.AgentCache()[self.chassis_name]))
  File "/home/zuul/src/opendev.org/openstack/neutron/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py", line 211, in __getitem__
    return self.agents[key]
KeyError: 'd02bd040-154c-4a45-8da0-9452ebcd5b12'

** Affects: neutron
     Importance: High
         Status: Confirmed


** Tags: functional-tests gate-failure ovn

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

Title:
  [OVN] Agent can't be found in functional test sometimes

Status in neutron:
  Confirmed

Bug description:
  It causes failures of the functional test
  neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestAgentMonitor.test_network_agent_present
  test. Examples:

  https://164b3e6c67f8dffddea7-f89a5ef8d1bd221399a14347eddacf71.ssl.cf2.rackcdn.com/814009/17/check/neutron-
  functional-with-uwsgi/a3fa229/testr_results.html

  https://c75035ee6c00054d18c4-7fb3488540a595a48601456545c48d00.ssl.cf1.rackcdn.com/813977/12/check/neutron-
  functional-with-uwsgi/d85a9df/testr_results.html

  Stacktrace:

  ft1.2: neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestAgentMonitor.test_network_agent_presenttesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 183, in func
      return f(self, *args, **kwargs)
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/test_ovsdb_monitor.py", line 315, in test_network_agent_present
      type(neutron_agent.AgentCache()[self.chassis_name]))
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py", line 211, in __getitem__
      return self.agents[key]
  KeyError: 'd02bd040-154c-4a45-8da0-9452ebcd5b12'

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