stop leaking

Registered by Attila Fazekas

Nothing can grantee the test cases or the services does not leaks resources.

We should have before and after tempest test for recording and reporting resource usage.

- servers
- tenant
- SQL DB usage
- filesystem/volume usage

We should have a script for testing the test cases are independent, and does not leaks resources individually.

Blueprint information

Status:
Complete
Approver:
Sean Dague
Priority:
Not
Drafter:
Attila Fazekas
Direction:
Approved
Assignee:
Attila Fazekas
Definition:
Superseded
Series goal:
Accepted for havana
Implementation:
Slow progress
Milestone target:
None
Started by
Giulio Fidente
Completed by
Matthew Treinish

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:leaker-poc,n,z

Addressed by: https://review.openstack.org/35516
    Server leak detector

Gerrit topic: https://review.openstack.org/#q,topic:bp/stop-leaking,n,z

Addressed by: https://review.openstack.org/39346
    setUpClass/tearDownClass full chain

Addressed by: https://review.openstack.org/78312
    Stop volume leaking test_server_rescue_negative

Addressed by: https://review.openstack.org/79571
    Stop volume leaking even if an error is occurred

Addressed by: https://review.openstack.org/79573
    Stop leaking test_update_images

Addressed by: https://review.openstack.org/79902
    Stop leaking identity resources

Addressed by: https://review.openstack.org/80280
    Wait properly for server deletion in test_volumes_actions

Addressed by: https://review.openstack.org/80939
    Stop test server leaking even if an error happens

Addressed by: https://review.openstack.org/81460
    Stop stack leaking even if an error is occurred

Addressed by: https://review.openstack.org/81463
    Stop swift resource leaking even if an error is occurred

Addressed by: https://review.openstack.org/81466
    Stop neutron resource leaking even if an error is occurred

Addressed by: https://review.openstack.org/81484
    Stop keystone resource leaking even if an error occurs

Addressed by: https://review.openstack.org/82427
    Stop volume leaking

Addressed by: https://review.openstack.org/82436
    Stop leaking in images tests

Addressed by: https://review.openstack.org/82731
    stop leaking in network tests

(?)

Work Items

Work items:
Standardize resources naming with data_utils.rand_name(cls.__name__): TODO
Record API resources to yaml or json: TODO
Compare records: TODO
tests test cases for resource leak individually: TODO
add SQL table size statistics: TODO
Check glance images: TODO
Check lvm: TODO
Add to tox: TODO

This blueprint contains Public information 
Everyone can see this information.