1 import common 2 from autotest_lib.client.common_lib import error 3 from autotest_lib.server import afe_utils 4 from autotest_lib.server import test 5 6 class reinstall(test.test): 7 version = 1 8 9 def execute(self, host): 10 try: 11 afe_utils.machine_install_and_update_labels(host) 12 except Exception, e: 13 raise error.TestFail(str(e)) 14