There is a mechanism in candlepin_scenarios to create test owners and automatically clean them up even if the test fails.