you almost never want to clean up the way teardown works  instead  you probably want something like this at the end of setup def  cleanup servers for i in self nova servers list self addcleanup  cleanup servers the main reason is that teardown  does not  get called on failures 