Functional test neutron.tests.functional.services.ovn_l3.test_plugin.TestRouter.test_gateway_chassis_rebalance fails intermittently

Bug #2007353 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Unassigned

Bug Description

Failure example: https://32c2553a5b1b0d58bd31-9e074609c9fda723118db1a634ce1a12.ssl.cf5.rackcdn.com/873247/3/gate/neutron-functional-with-uwsgi/6195659/testr_results.html

Stacktrace:
ft1.9: neutron.tests.functional.services.ovn_l3.test_plugin.TestRouter.test_gateway_chassis_rebalancetesttools.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/services/ovn_l3/test_plugin.py", line 560, in test_gateway_chassis_rebalance
    self.assertTrue(self.cr_lrp_pb_event.wait(logical_port),
  File "/usr/lib/python3.10/unittest/case.py", line 687, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : lrp cr-lrp-77e343ce-8e3c-472d-8eca-acde6196ea38 failed to bind

Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/874765

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/874765
Committed: https://opendev.org/openstack/neutron/commit/1e41558851b7e561e1dcf99499e6f7920a91fa72
Submitter: "Zuul (22348)"
Branch: master

commit 1e41558851b7e561e1dcf99499e6f7920a91fa72
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat Feb 18 05:16:35 2023 +0100

    Reduce number of routers created in ``test_gateway_chassis_rebalance``

    This patch reduces the number of routers created in
    ``test_gateway_chassis_rebalance``. For the test purposes, 5 routers
    is enough, reduce the test executing time and the OVN load.

    This patch also captures the "Port_Binding" update event in the
    ``WaitForCrLrpPortBindingEvent`` class.

    Related-Bug: #2007353
    Change-Id: I66b39b1d0dccfbb18bec5646d8954eee8c687f0c

yatin (yatinkarel)
Changed in neutron:
status: Confirmed → Fix Released
Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
yatin (yatinkarel) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/957679

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

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

commit f7e056198485b5d42bcc8a1807dab3ec710cb7e1
Author: Yatin Karel <email address hidden>
Date: Mon Aug 18 17:21:49 2025 +0530

    Re Reduce number of routers created in test_gateway_chassis_rebalance

    Was originally reduced in [1] but got restored in [2] during rebase.
    This patch re applies it.

    [1] https://review.opendev.org/c/openstack/neutron/+/874765
    [2] https://review.opendev.org/c/openstack/neutron/+/874760

    Related-Bug: #2007353
    Signed-off-by: Yatin Karel <email address hidden>
    Change-Id: I5765b32d6d33eda88ab0206e75e57b67a4afc4b5

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (stable/2025.1)

Related fix proposed to branch: stable/2025.1
Review: https://review.opendev.org/c/openstack/neutron/+/958013

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (stable/2024.2)

Related fix proposed to branch: stable/2024.2
Review: https://review.opendev.org/c/openstack/neutron/+/958014

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (stable/2024.1)

Related fix proposed to branch: stable/2024.1
Review: https://review.opendev.org/c/openstack/neutron/+/958015

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (stable/2025.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/958013
Committed: https://opendev.org/openstack/neutron/commit/213eedf67beaf1d5280c19f8962c933d52badc90
Submitter: "Zuul (22348)"
Branch: stable/2025.1

commit 213eedf67beaf1d5280c19f8962c933d52badc90
Author: Yatin Karel <email address hidden>
Date: Mon Aug 18 17:21:49 2025 +0530

    Re Reduce number of routers created in test_gateway_chassis_rebalance

    Was originally reduced in [1] but got restored in [2] during rebase.
    This patch re applies it.

    [1] https://review.opendev.org/c/openstack/neutron/+/874765
    [2] https://review.opendev.org/c/openstack/neutron/+/874760

    Related-Bug: #2007353
    Signed-off-by: Yatin Karel <email address hidden>
    Change-Id: I5765b32d6d33eda88ab0206e75e57b67a4afc4b5
    (cherry picked from commit f7e056198485b5d42bcc8a1807dab3ec710cb7e1)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (stable/2024.2)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/958014
Committed: https://opendev.org/openstack/neutron/commit/b3bd1fd42f7f9da2d03dcb2dcac4dea6f7bc1523
Submitter: "Zuul (22348)"
Branch: stable/2024.2

commit b3bd1fd42f7f9da2d03dcb2dcac4dea6f7bc1523
Author: Yatin Karel <email address hidden>
Date: Mon Aug 18 17:21:49 2025 +0530

    Re Reduce number of routers created in test_gateway_chassis_rebalance

    Was originally reduced in [1] but got restored in [2] during rebase.
    This patch re applies it.

    [1] https://review.opendev.org/c/openstack/neutron/+/874765
    [2] https://review.opendev.org/c/openstack/neutron/+/874760

    Related-Bug: #2007353
    Signed-off-by: Yatin Karel <email address hidden>
    Change-Id: I5765b32d6d33eda88ab0206e75e57b67a4afc4b5
    (cherry picked from commit f7e056198485b5d42bcc8a1807dab3ec710cb7e1)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (stable/2024.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/958015
Committed: https://opendev.org/openstack/neutron/commit/4086ec1c97d136a79f2954b4d296c99c10dd6696
Submitter: "Zuul (22348)"
Branch: stable/2024.1

commit 4086ec1c97d136a79f2954b4d296c99c10dd6696
Author: Yatin Karel <email address hidden>
Date: Mon Aug 18 17:21:49 2025 +0530

    Re Reduce number of routers created in test_gateway_chassis_rebalance

    Was originally reduced in [1] but got restored in [2] during rebase.
    This patch re applies it.

    [1] https://review.opendev.org/c/openstack/neutron/+/874765
    [2] https://review.opendev.org/c/openstack/neutron/+/874760

    Related-Bug: #2007353
    Signed-off-by: Yatin Karel <email address hidden>
    Change-Id: I5765b32d6d33eda88ab0206e75e57b67a4afc4b5
    (cherry picked from commit f7e056198485b5d42bcc8a1807dab3ec710cb7e1)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.