[FT] Error in "test_virtual_port_host_update"

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

Bug Description

Error executing neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.ovsdb.test_ovsdb_monitor.TestNBDbMonitorOverSsl.test_virtual_port_host_update

Log: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_207/840448/2/check/neutron-functional-with-uwsgi/2074ad0/testr_results.html

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

tags: added: functional-tests gate-failure ovn
Changed in neutron:
status: New → Triaged
importance: Undecided → High
Changed in neutron:
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/+/841298

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

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

commit 494c477b21ebbaa441b55d63755af72cc24244af
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sat May 7 02:15:16 2022 +0000

    [OVN][FT] Wait until virtual parents are written

    In "test_virtual_port_host_update", wait until VIP virtual parents
    have been updated in the SB "Port_Binding" register. Then, the
    test should check if "update_virtual_port_host" has been called or
    not.

    Closes-Bug: #1971672
    Change-Id: Ifa04bb59f4b9acd308299cfa44f2316394d14505

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
yatin (yatinkarel) wrote :
Changed in neutron:
status: Fix Released → New
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/+/848156

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/+/848156
Committed: https://opendev.org/openstack/neutron/commit/753fbff11bb7500db4293cb79fbf3d7cb0b2b121
Submitter: "Zuul (22348)"
Branch: master

commit 753fbff11bb7500db4293cb79fbf3d7cb0b2b121
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jun 29 18:12:04 2022 +0000

    [FT] Ensure "update_virtual_port_host" has been called

    An OVS DB event once matched, is stored in a cache and processed in
    ``ovsdbapp.event.RowEventHandler.notify_loop``. The method
    ``update_virtual_port_host`` is called in the ``run`` method of the
    event. Sometimes in the FT execution, the test checks if the
    method has been called when the event ``run`` method has not been
    executed yet.

    This patch adds a short active wait to ensure the event is actually
    processed and the method called.

    This bug can be easily reproduced if in the
    ``PortBindingUpdateVirtualPortsEvent.run`` method, a 2 seconds delay
    is added:
      import time; time.sleep(2)

    Closes-Bug: #1971672
    Change-Id: I2e389e3cce70505ce01f03c09b36fa9d55be964a

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

This issue was fixed in the openstack/neutron 21.0.0.0rc1 release candidate.

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.