← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2126685] Re: test_add_external_port_avoid_flapping functional test failure

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/963477
Committed: https://opendev.org/openstack/neutron/commit/6a5201d4c086a98b79ef7473322b9d5e6a4180a2
Submitter: "Zuul (22348)"
Branch:    master

commit 6a5201d4c086a98b79ef7473322b9d5e6a4180a2
Author: Brian Haley <haleyb.dev@xxxxxxxxx>
Date:   Wed Oct 8 20:29:48 2025 -0400

    Fix test_add_external_port_avoid_flapping
    
    The condition check for a logical port being down should be
    "up != True" not "up == False".
    
    Closes-bug: #2126685
    Change-Id: I1a4c4d6883802825cb8bf6b136581accb784b154
    Signed-off-by: Brian Haley <haleyb.dev@xxxxxxxxx>


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  test_add_external_port_avoid_flapping functional test failure

Status in neutron:
  Fix Released

Bug description:
  The functional test failed in the gate on an unrelated patch:

  https://7dab5761b658171d84bc-6e0ea213c4496da85e511d11bb1ba368.ssl.cf1.rackcdn.com/openstack/4ba3634141b246ca870705791a85210d/testr_results.html

  ft1.12: neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestExternalPorts.test_add_external_port_avoid_flappingtesttools.testresult.real._StringException: Traceback (most recent call last):
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/base.py", line 178, in func
      return f(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/unittest/mock.py", line 1390, in patched
      return func(*newargs, **newkeywargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py", line 808, in test_add_external_port_avoid_flapping
      n_utils.wait_until_true(lambda: test_up_event.get_count() == 1,
    File "/home/zuul/src/opendev.org/openstack/neutron/neutron/common/utils.py", line 736, in wait_until_true
      raise exception if exception else WaitTimeout(
  neutron.common.utils.WaitTimeout: Timed out after 10 seconds

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



References