test_images.py doesn't clean up servers

Bug #1158838 reported by Nathan Biles
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

tempest/tests/compute/images/test_images.py doesn't cleanup failed servers that are created in negative tests. This causes some of the tests to fail with this error:

Test Result (4 failures / +4)

Failed due to: <message>InstanceExists</message>

Ivan-Zhu (ivan-zhu)
Changed in tempest:
assignee: nobody → Ivan-Zhu (ivan-zhu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
status: New → In Progress
Revision history for this message
Ivan-Zhu (ivan-zhu) wrote :

After put cls.servers.append(server) before wait_for_server_status in base.BaseComputeTest, this bug has been fixed. Because BaseComputeTest.tearDownClass will execute cls.clear_servers(). These instances will be cleaned.

Changed in tempest:
status: In Progress → Fix Committed
Sean Dague (sdague)
Changed in tempest:
milestone: none → havana-1
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.