1import common
2from autotest_lib.client.common_lib import error
3from autotest_lib.server import afe_utils
4from autotest_lib.server import test
5
6class 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