← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2122483] Re: [FT][OVN] ``TestOvn*Sync*`` test failing due to missing IDL lock

 

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

commit 9581ed379dea1b4850ec9bb55a3cd5451265a599
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Wed Sep 10 13:52:51 2025 +0000

    [OVN][FT] Do not lock the DB in the ``TestOvn*Sync*`` tests
    
    These tests call the ``has_lock`` method several times, when the
    ``DBInconsistenciesPeriodics`` class is instantiated and then restarted.
    Because the tests are running isolated and no other process has access
    to the OVN databases, this patch mocks the ``set_lock`` method,
    preventing the IDL to gain this lock.
    
    Closes-Bug: #2122483
    Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
    Change-Id: I3b5b9e72b2aaaa65eb7917f8077b72820ab6816e


** 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/2122483

Title:
  [FT][OVN] ``TestOvn*Sync*`` test failing due to missing IDL lock

Status in neutron:
  Fix Released

Bug description:
  The tests from ``TestOvn*Sync*`` classes are failing because the IDL
  lock is lost [1]. During the execution of these tests, it would be
  needed to lock the OVN DB.

  [1]https://paste.opendev.org/show/bnTZUidwiHV7YeUc7B37/

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



References