Add more funtional test

Bug #1594241 reported by Numan Siddique
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Richard Theis

Bug Description

The initial commit which added functional tests covered only lswitch and lport db sync. we need to test the db sync for other resources as well.

Changed in networking-ovn:
assignee: nobody → Numan Siddique (numansiddique)
status: New → In Progress
summary: - Add funtional test to test the ACL sync and router sync
+ Add more funtional test
Revision history for this message
Richard Theis (rtheis) wrote :

I've pushed a patch to address one of the TODOs in the functional test code: https://review.openstack.org/#/c/333404/

Revision history for this message
Richard Theis (rtheis) wrote :

Another patch pushed for static routes: https://review.openstack.org/#/c/333584/

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

Reviewed: https://review.openstack.org/333404
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=563cb606ca84d5edb84ed999246b2a0a0034c5d2
Submitter: Jenkins
Branch: master

commit 563cb606ca84d5edb84ed999246b2a0a0034c5d2
Author: Richard Theis <email address hidden>
Date: Thu Jun 23 10:06:30 2016 -0500

    Functional Test: Create OVN NB DB resources

    Enhance functional tests to create resources in the OVN NB DB which
    will be deleted by the OVN NB DB sync repair processing.

    Change-Id: I613b0ce7b527374bc3e709570b1a7236bdd77bc1
    Partial-Bug: #1594241

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

Reviewed: https://review.openstack.org/333584
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=d60d906b900639eff94c0f41a0093abaa5378118
Submitter: Jenkins
Branch: master

commit d60d906b900639eff94c0f41a0093abaa5378118
Author: Richard Theis <email address hidden>
Date: Thu Jun 23 15:55:15 2016 -0500

    Functional Test: Sync lrouter static routes

    Enhance functional tests to ensure that lrouter static routes
    are properly synchronized during OVN NB DB synchronization.

    Change-Id: Ic564281c319e82d2e93522cd20ebf2b5bb34f841
    Partial-Bug: #1594241

Revision history for this message
Numan Siddique (numansiddique) wrote :

Functional tests related to ACL sync are still missing. I couldn't add those in the review - https://review.openstack.org/#/c/332663/.

I am un-assigning from this bug, so that some one interested can work on the ACL sync functional tests.

Changed in networking-ovn:
assignee: Numan Siddique (numansiddique) → nobody
Revision history for this message
Richard Theis (rtheis) wrote :

I can work on this. I'll probably wait for address set support (https://bugs.launchpad.net/networking-ovn/+bug/1560817) before adding the ACL sync tests.

Changed in networking-ovn:
assignee: nobody → Richard Theis (rtheis)
Revision history for this message
Numan Siddique (numansiddique) wrote :

@Richard - Thanks :)

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

Reviewed: https://review.openstack.org/332663
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=f7f347d2d259020e92de6466e8633d22db504f59
Submitter: Jenkins
Branch: master

commit f7f347d2d259020e92de6466e8633d22db504f59
Author: Numan Siddique <email address hidden>
Date: Wed Jun 22 11:37:12 2016 +0530

    Add functional tests for ovsdb-monitor

    This patch adds functional tests to test ovsdb monitor.

    Change-Id: I4abf5ace581053fdbca823256817b0a3b13267d8
    Partial-Bug: #1594241

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

Fix proposed to branch: master
Review: https://review.openstack.org/347898

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

Reviewed: https://review.openstack.org/347898
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=63b4601db0f33fb68f79eebd41de136c1a5d2017
Submitter: Jenkins
Branch: master

commit 63b4601db0f33fb68f79eebd41de136c1a5d2017
Author: Richard Theis <email address hidden>
Date: Tue Jul 26 16:59:35 2016 -0500

    Functional Test: Sync ACLs

    Enhance functional tests to ensure that ACLs are properly
    synchronized during OVN NB DB synchronization.

    While enhancing the tests, a bug was discovered that resulted
    in synchronization removing all ACLs for a port when it only
    needed to create the port in OVN (ACLs already exist). This
    was caused by duplicate ACLs being created during the port sync.

    Change-Id: Ief64f73511de70ff16aaf2a2a9d26ae5a718c3b3
    Closes-Bug: #1594241

Changed in networking-ovn:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/networking-ovn 1.0.0.0b3

This issue was fixed in the openstack/networking-ovn 1.0.0.0b3 development milestone.

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

This issue was fixed in the openstack/networking-ovn 1.0.0.0b3 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.