functional tests failing in both master and stable/queens due to ovsdbapp timeouts

Bug #1750599 reported by Daniel Alvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
High
Unassigned

Bug Description

After we bumped ovsdbapp to 0.9.1 [0], functional tests are failing in our gate for both master and stable/queens branches. It was bumped to address this bug in neutron [1].

However, for networking-ovn it caused timeout failures like:

      File "/opt/stack/networking-ovn/.tox/dsvm-functional/lib/python2.7/site-packages/ovsdbapp/backend/ovs_idl/transaction.py", line 57, in commit
        timeout=self.timeout)
    ovsdbapp.exceptions.TimeoutException: Commands [<ovsdbapp.schema.ovn_southbound.commands.LspBindCommand object at 0x6631c50>] exceeded timeout 5 seconds

I verified that downgrading ovsdbapp manually to 0.9.0 works okay. Also running functional tests with ovsdbapp 0.9.1 serially (ostestr --serial) works fine as well.

[0] https://review.openstack.org/#/c/541258/
[1] https://bugs.launchpad.net/neutron/+bug/1741889

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-ovn (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/546198

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

Related fix proposed to branch: stable/queens
Review: https://review.openstack.org/546199

Changed in networking-ovn:
importance: Undecided → High
Revision history for this message
Daniel Alvarez (dalvarezs) wrote :

Disregard, running it serially doesn't help either. Sorry for confusing

Revision history for this message
Miguel Angel Ajo (mangelajo) wrote :

But running from ostestr does? :?

Revision history for this message
Daniel Alvarez (dalvarezs) wrote :

Again, I made a mistake running it manually with ostestr. Forcing tox to downgrade to ovsdbapp==0.9.0 didn't help either. It must be something else, investigating.

summary: - functional tests failing in both master and stable/queens after ovsdbapp
- bump to 0.9.1
+ functional tests failing in both master and stable/queens due to
+ ovsdbapp timeouts
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/547006

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (master)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: master
Review: https://review.openstack.org/547014

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Numan Siddique (<email address hidden>) on branch: master
Review: https://review.openstack.org/546986

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/547039

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (master)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: master
Review: https://review.openstack.org/547017
Reason: For some reason I sent this patch to stable/queens but it didn't work. This patch is for stable/queens only :)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/547334

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (master)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: master
Review: https://review.openstack.org/547077
Reason: this was meant for stable/queens

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: master
Review: https://review.openstack.org/546198

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (stable/queens)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/546199

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (master)

Reviewed: https://review.openstack.org/546986
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=5d19dad877a5589e026ab4af7b09e6c8ee97fc22
Submitter: Zuul
Branch: master

commit 5d19dad877a5589e026ab4af7b09e6c8ee97fc22
Author: Numan Siddique <email address hidden>
Date: Thu Feb 22 19:18:57 2018 +0530

    Fix functional tests by using ovs with commit 8b70d82461ea104858ebd7d397ec004f6974240b

    Use branch 2.9. The commit 8bf332225d4a73f359c806ad907bcb78ad2a6087
    - "ovn-northd: Reduce amount of flow hashing." in ovs master has caused
    regressions because of which functional tests are failing. So use the commit
    8b70d82461ea104858ebd7d397ec004f6974240b.
    We can revert back to master, once the regressions are addressed.

    Change-Id: Ic50865033088443769442667385ed303624e7691
    Closes-bug: #1750599

Changed in networking-ovn:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (stable/queens)

Change abandoned by Daniel Alvarez (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/547006
Reason: in favor of: https://review.openstack.org/#/c/543374/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Lucas Alvares Gomes (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/547334

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 5.0.0.0b1

This issue was fixed in the openstack/networking-ovn 5.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/queens)

Reviewed: https://review.openstack.org/547039
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=b57c59ea482b2605ab6b6c9ba36e3032d94cf897
Submitter: Zuul
Branch: stable/queens

commit b57c59ea482b2605ab6b6c9ba36e3032d94cf897
Author: Daniel Alvarez <email address hidden>
Date: Thu Feb 22 15:51:18 2018 +0100

    Run tempest release job and functional tests against OVS 2.9

    This patch makes both the functional tests and tempest release
    job to run against OVS 2.9 which is the latest release at the
    time that stable/queens is going to be released.

    This is also fixing the functional tests that currently run
    against OVS master branch and currently breaks those.

    Closes-bug: #1750599

    Change-Id: Ie631cfebee98a2d2656c9e7f4430792c115ceda8
    Signed-off-by: Daniel Alvarez <email address hidden>

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 4.0.2

This issue was fixed in the openstack/networking-ovn 4.0.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-ovn 4.0.3

This issue was fixed in the openstack/networking-ovn 4.0.3 release.

no longer affects: ovsdbapp
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.