[FT] Error in ``test_initialize_nsrange_support_parallel_exec_diff_init_time``

Bug #2130564 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso

Bug Description

Failed test: neutron.tests.functional.plugins.ml2.drivers.test_type_tunnel.TunnelTypeDriverBaseTestCase.test_initialize_nsrange_support_parallel_exec_diff_init_time

Snippet: https://paste.opendev.org/show/bRk0r1uWtHmEjMtWP9D9/

Logs: https://65ee17eaa142e408dc78-3bd40c8d36d294cb66d7707215c773f3.ssl.cf1.rackcdn.com/openstack/4cd04e6130b94ab69d9869952bcd907a

Changed in neutron:
importance: Undecided → Medium
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/965933

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 3137a97f46f1542c5ed27118640978cc7d39ec1a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Nov 3 14:06:33 2025 +0000

    [FT] Initialize the segment ranges sequentially

    In the functional tests
    ``test_initialize_nsrange_support_parallel_exec_*_init_time``, the
    segment ranges initialization is done sequentially to avoid a race
    condition with the database driver.

    In a real environment, only the first WSGI worker thread is in charge
    of initializing these registers; in a multi server environment, the
    possibility of race condition between then is almost none and should
    be solved by the database engine.

    Closes-Bug: #2130564

    Signed-off-by: Rodolfo Alonso Hernandez <email address hidden>
    Change-Id: Iedf74efb3b970cca8c9bee749d9136d8dcd140b3

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 28.0.0.0b1

This issue was fixed in the openstack/neutron 28.0.0.0b1 Gazpacho development milestone.

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.