Functional Test does not clean up ports when in default network namespace

Bug #1522710 reported by Andreas Scheuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Andreas Scheuring

Bug Description

The VethFixture in net_helpers.py does not clean up ports that were created in the deafult network namespace. One exploiter is the neutron/tests/functional/agent/linux/test_bridge_lib.py test. After one test run, you have about 10 vethpairs, saying 20 new devices in your default network namespace

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

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

Changed in neutron:
assignee: nobody → Andreas Scheuring (andreas-scheuring)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/253360
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6ec16458fe430368e2479cf312bbe8a5a448e502
Submitter: Jenkins
Branch: master

commit 6ec16458fe430368e2479cf312bbe8a5a448e502
Author: Andreas Scheuring <email address hidden>
Date: Fri Dec 4 08:35:28 2015 +0100

    Cleanup veth-pairs in default netns for functional tests

    Today, veth-pairs created by the VethFixture of the net_helpers class
    are not cleanup on teardown. This is solved by this patch.

    Change-Id: I0a969e31e6694d74a9af6ada4e4e707c6332ffeb
    Closes-Bug: #1522710

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
status: Fix Committed → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/neutron 8.0.0.0b2

This issue was fixed in the openstack/neutron 8.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/270621

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/liberty)

Reviewed: https://review.openstack.org/270621
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8bde9c407a66a7869b4e79ee22c7f6cb3c4f710f
Submitter: Jenkins
Branch: stable/liberty

commit 8bde9c407a66a7869b4e79ee22c7f6cb3c4f710f
Author: Andreas Scheuring <email address hidden>
Date: Fri Dec 4 08:35:28 2015 +0100

    Cleanup veth-pairs in default netns for functional tests

    Today, veth-pairs created by the VethFixture of the net_helpers class
    are not cleanup on teardown. This is solved by this patch.

    Conflicts:
     neutron/tests/common/net_helpers.py

    Change-Id: I0a969e31e6694d74a9af6ada4e4e707c6332ffeb
    Closes-Bug: #1522710
    (cherry picked from commit 6ec16458fe430368e2479cf312bbe8a5a448e502)

tags: added: in-stable-liberty
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/neutron 7.0.3

This issue was fixed in the openstack/neutron 7.0.3 release.

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.