networking_ovn.tests.functional.test_maintenance.TestMaintenance.test_security_group fails with ovs 2.9

Bug #1844491 reported by Maciej Jozefczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
Fix Released
Undecided
Unassigned

Bug Description

Functional test networking_ovn.tests.functional.test_maintenance.TestMaintenance.test_security_group fails with OVS 2.9

{1} networking_ovn.tests.functional.test_maintenance.TestMaintenance.test_security_group [1.583440s] ... FAILED

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/opt/stack/networking-ovn/.tox/dsvm-functional/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
        return func(*args, **keywargs)
      File "/opt/stack/neutron/neutron/tests/base.py", line 181, in func
        return f(self, *args, **kwargs)
      File "networking_ovn/tests/functional/test_maintenance.py", line 480, in test_security_group
        self._find_security_group_row_by_id(neutron_obj['id']))
      File "/opt/stack/networking-ovn/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertIsNotNone
        self.assertThat(observed, matcher, message)
      File "/opt/stack/networking-ovn/.tox/dsvm-functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: None matches Is(None)

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

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/683926

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/683928

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.opendev.org/683965

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

Reviewed: https://review.opendev.org/682825
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=4c42313b894d127bc3c7984f15130652204c8513
Submitter: Zuul
Branch: master

commit 4c42313b894d127bc3c7984f15130652204c8513
Author: Maciej Józefczyk <email address hidden>
Date: Wed Sep 18 08:09:25 2019 +0000

    Fix for getting port groups while using OVS up to 2.9

    Functions get_port_group() and get_port_groups() were failing
    with KeyError while getting to access non-existent Port_Group
    table with OVS 2.9.

    This patch adds additional check if Port Group is supported in the
    env where the code runs.

    Change-Id: If3ce6ab1d1318a6d5142989b3bf45ecce97762e3
    Closes-Bug: #1844491

Changed in networking-ovn:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-ovn (stable/stein)

Reviewed: https://review.opendev.org/683926
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=a78dbc252d97f1e276a45cb8a633a4b17fcef8d7
Submitter: Zuul
Branch: stable/stein

commit a78dbc252d97f1e276a45cb8a633a4b17fcef8d7
Author: Maciej Józefczyk <email address hidden>
Date: Wed Sep 18 08:09:25 2019 +0000

    Fix for getting port groups while using OVS up to 2.9

    Functions get_port_group() and get_port_groups() were failing
    with KeyError while getting to access non-existent Port_Group
    table with OVS 2.9.

    This patch adds additional check if Port Group is supported in the
    env where the code runs.

    Change-Id: If3ce6ab1d1318a6d5142989b3bf45ecce97762e3
    Closes-Bug: #1844491
    (cherry-picked from commit 4c42313b894d127bc3c7984f15130652204c8513)

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

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

commit b67406f27038c7f91bf42ba542b7fc409a2a33bd
Author: Maciej Józefczyk <email address hidden>
Date: Wed Sep 18 08:09:25 2019 +0000

    Fix for getting port groups while using OVS up to 2.9

    Functions get_port_group() and get_port_groups() were failing
    with KeyError while getting to access non-existent Port_Group
    table with OVS 2.9.

    This patch adds additional check if Port Group is supported in the
    env where the code runs.

    Change-Id: If3ce6ab1d1318a6d5142989b3bf45ecce97762e3
    Closes-Bug: #1844491
    (cherry picked from commit 501d48b181b1d93ac634021860aff708ff9d940e)

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

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

Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (stable/rocky)

Change abandoned by Slawek Kaplonski (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/683928
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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

Reviewed: https://review.opendev.org/683928
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=3ac53d2ed48f249b13c88ea1397a0f4b9c356abd
Submitter: Zuul
Branch: stable/rocky

commit 3ac53d2ed48f249b13c88ea1397a0f4b9c356abd
Author: Maciej Józefczyk <email address hidden>
Date: Wed Sep 18 08:09:25 2019 +0000

    Fix for getting port groups while using OVS up to 2.9

    Functions get_port_group() and get_port_groups() were failing
    with KeyError while getting to access non-existent Port_Group
    table with OVS 2.9.

    This patch adds additional check if Port Group is supported in the
    env where the code runs.

    Change-Id: If3ce6ab1d1318a6d5142989b3bf45ecce97762e3
    Closes-Bug: #1844491
    (cherry-picked from commit a78dbc252d97f1e276a45cb8a633a4b17fcef8d7)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/705451

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

Reviewed: https://review.opendev.org/705451
Committed: https://git.openstack.org/cgit/openstack/networking-ovn/commit/?id=b60cfee4f60d6e6da9ab5c1b3bae3c845540ddef
Submitter: Zuul
Branch: stable/train

commit b60cfee4f60d6e6da9ab5c1b3bae3c845540ddef
Author: Maciej Józefczyk <email address hidden>
Date: Wed Sep 18 08:09:25 2019 +0000

    Fix for getting port groups while using OVS up to 2.9

    Functions get_port_group() and get_port_groups() were failing
    with KeyError while getting to access non-existent Port_Group
    table with OVS 2.9.

    This patch adds additional check if Port Group is supported in the
    env where the code runs.

    Change-Id: If3ce6ab1d1318a6d5142989b3bf45ecce97762e3
    Closes-Bug: #1844491
    (cherry picked from commit 4c42313b894d127bc3c7984f15130652204c8513)

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

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

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

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

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

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

tags: removed: networking-ovn-proactive-backport-potential
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.