def worker_disk(mig_data): vm = mig_data.vms[0] session = vm.wait_for_login(timeout=self.login_timeout) utils_misc.install_disktest_on_vm(test, vm, self.disk_srcdir, self.install_path) cmd = ("nohup %s/disktest -m %s -L -S > %s &" % (os.path.join(self.install_path, "disktest", "src"), self.disk_usage, self.disktest_out)) logging.debug("Sending command: %s" % (cmd)) session.sendline(cmd) if session.cmd_status("killall -s 0 disktest") != 0: disk_out = ("\n cpuflags_test_output: \n" + session.cmd_output("cat %s" % (self.disktest_out))) raise error.TestFail("Something wrong happend" " during migration disktest" " should be running all time" " during this test.\n%s" % (disk_out))