In the past, we only compress one subtest in to autotest.tar.bz2, the default timeout(30) of session.get_command_status() is enough for extracting file. But now, all the subtests would be compressed, the patch just augment the extract timeout to 120.
Signed-off-by: Amos Kong <[email protected]> --- client/tests/kvm/kvm_test_utils.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/kvm_test_utils.py b/client/tests/kvm/kvm_test_utils.py index aa1f12a..bca1eb3 100644 --- a/client/tests/kvm/kvm_test_utils.py +++ b/client/tests/kvm/kvm_test_utils.py @@ -367,7 +367,7 @@ def run_autotest(vm, session, control_path, timeout, outputdir): basename = os.path.basename(remote_path) logging.info("Extracting %s...", basename) e_cmd = "tar xjvf %s -C %s" % (remote_path, dest_dir) - s, o = session.get_command_status_output(e_cmd) + s, o = session.get_command_status_output(e_cmd, timeout=120) if s != 0: logging.error("Uncompress output:\n%s", o) raise error.TestFail("Failed to extract %s on guest" % basename) -- 1.5.5.6 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
