[openstack][qa][tempest] tempest cleanup ansible role

Martin Kopec mkopec at redhat.com
Tue Nov 10 18:28:00 UTC 2020


Hello all,

we have implemented a tempest-cleanup ansible role [1] which runs the
'tempest cleanup' tool [2].

The role might be beneficial for you in case you run tempest tests multiple
times within the same environment and you wanna make sure no leftover
resources are present after the first run.

The other great use case is to verify that your tempest tests are not
leaving any resources behind after the tests are completed.

'tempest cleanup' can take care of the services defined here [3] - a
service which doesn't have a class definition there cannot be discovered by
the tool.
If the resource you would wanna have cleaned is not in [3] help us please
improve the tool and tell us about it or add it there yourself.

[1]
https://opendev.org/openstack/tempest/src/branch/master/roles/tempest-cleanup
[2] https://docs.openstack.org/tempest/latest/cleanup.html
[3]
https://opendev.org/openstack/tempest/src/branch/master/tempest/cmd/cleanup_service.py

Regards,
-- 

Martin Kopec

Quality Engineer

Red Hat EMEA <https://www.redhat.com>

<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201110/661c9c3f/attachment-0001.html>


More information about the openstack-discuss mailing list