Server instances not deleted after tempest test methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
High
|
Jay Pipes |
Bug Description
Lots of test methods do not clean up after themselves. One example is all the test cases in test_servers* in the tempest test suite that call the servers_
What this leads to is lots of the following:
=======
ERROR: The server name should be changed to the the provided value
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
error=body)
CreateServerFai
Since previous test cases had failures and didn't delete server instances that the test case created.
What this means is lots of false negative test case failures.
The solution for this is to have the tearDown() method handle cleanup from failed test cases and have the test methods inform the test class of things the test method creates..
tags: | added: testcase |
tags: | added: compute |
tags: | removed: testcase |
Changed in tempest: | |
milestone: | none → essex-3 |
Changed in tempest: | |
status: | Fix Committed → Fix Released |
Changed in tempest: | |
milestone: | none → havana-3 |
test_list_images.py has no tearDownClass method to clean up created images and servers.