Public bug reported:

With ovsdbapp==2.3.0 [1] releaase functional test
neutron.tests.functional.agent.test_ovs_lib.OVSBridgeTestCase.test_cascading_del_in_txn
fails consistently[2] as below:-

ft1.7: 
neutron.tests.functional.agent.test_ovs_lib.OVSBridgeTestCase.test_cascading_del_in_txntesttools.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/functional/agent/test_ovs_lib.py",
 line 493, in test_cascading_del_in_txn
    self.assertRaises((RuntimeError, idlutils.RowNotFound),
  File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py",
 line 468, in assertRaises
    self.assertThat(our_callable, matcher)
  File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py",
 line 481, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: <function 
OVSBridgeTestCase.test_cascading_del_in_txn.<locals>.del_port_mod_iface at 
0x7f35bbe8af80> returned None

Seems to be caused with [3] as db_set will not fail if row is not
found(if_exists=True).

We need to add if_exists=false to keep the same behavior as test or
update test so it succeed with current behavior

[1] https://review.opendev.org/c/openstack/requirements/+/881736
[2] 
https://zuul.opendev.org/t/openstack/builds?job_name=neutron-functional-with-uwsgi&project=openstack%2Fneutron&branch=master&skip=0
[3] 
https://github.com/openstack/ovsdbapp/commit/6ab3f75388f583c99ac38d9c651f2529d68b617f

** Affects: neutron
     Importance: Critical
         Status: Confirmed


** Tags: functional-tests gate-failure

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
   Importance: Undecided => Critical

** Tags added: functional-tests gate-failure

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

Title:
  [master][functional] test_cascading_del_in_txn fails with
  ovsdbapp=2.3.0

Status in neutron:
  Confirmed

Bug description:
  With ovsdbapp==2.3.0 [1] releaase functional test
  
neutron.tests.functional.agent.test_ovs_lib.OVSBridgeTestCase.test_cascading_del_in_txn
  fails consistently[2] as below:-

  ft1.7: 
neutron.tests.functional.agent.test_ovs_lib.OVSBridgeTestCase.test_cascading_del_in_txntesttools.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/functional/agent/test_ovs_lib.py",
 line 493, in test_cascading_del_in_txn
      self.assertRaises((RuntimeError, idlutils.RowNotFound),
    File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py",
 line 468, in assertRaises
      self.assertThat(our_callable, matcher)
    File 
"/home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-functional-gate/lib/python3.10/site-packages/testtools/testcase.py",
 line 481, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: <function 
OVSBridgeTestCase.test_cascading_del_in_txn.<locals>.del_port_mod_iface at 
0x7f35bbe8af80> returned None

  Seems to be caused with [3] as db_set will not fail if row is not
  found(if_exists=True).

  We need to add if_exists=false to keep the same behavior as test or
  update test so it succeed with current behavior

  [1] https://review.opendev.org/c/openstack/requirements/+/881736
  [2] 
https://zuul.opendev.org/t/openstack/builds?job_name=neutron-functional-with-uwsgi&project=openstack%2Fneutron&branch=master&skip=0
  [3] 
https://github.com/openstack/ovsdbapp/commit/6ab3f75388f583c99ac38d9c651f2529d68b617f

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to