Floating IP not deleted if there is a unexpected failure in test_floating_ips_action.py

Bug #991806 reported by Sarad Patel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Sarad Patel

Bug Description

There is no cleanup for the resources created in the tests. If there a failure of the test after the resource is created, then the resources is left orphaned. Need to add try and finally in the tests.
Effected tests:
1)test_allocate_floating_ip
2)test_delete_floating_ip

Revision history for this message
Sarad Patel (saradpatel) wrote :

Sorry for adding the test_delete_floating_ip test. This is fine as it is checking the floating ip is deleted or not. So only 1)test_allocate_floating_ip is effected.

Jay Pipes (jaypipes)
Changed in tempest:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Sarad Patel (saradpatel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/6964
Committed: http://github.com/openstack/tempest/commit/6e28c1b451dadfe9b2e279b4d43fe965bed9c25f
Submitter: Jenkins
Branch: master

commit 6e28c1b451dadfe9b2e279b4d43fe965bed9c25f
Author: saradpatel <email address hidden>
Date: Tue May 1 07:56:07 2012 -0700

    Fixed LP bug 991806.
    Ensures that floating IP created in test is destroyed in a finally: block

    Change-Id: Ifd98e32372229c5d08f145df7612fa78ca62035a

Changed in tempest:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (stable/diablo)

Fix proposed to branch: stable/diablo
Review: https://review.openstack.org/7471

Jay Pipes (jaypipes)
Changed in tempest:
status: Fix Committed → Fix Released
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.