Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion qemu/tests/cfg/dump_guest_memory.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
no Windows
monitors = 'qmp1'
monitor_type_qmp1 = qmp
dump_file_timeout = 90
dump_file_timeout = 1800
dump_file = "/home/dump"
crash_script = "/home/crash.cmd"
x86_64, aarch64:
Expand Down
8 changes: 4 additions & 4 deletions qemu/tests/dump_guest_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def check_core_file(arch):
% (dump_guest_memory_file, vmcore_file, arch, gdb_command_file)
)
process.run(command, shell=True)
status, output = process.getstatusoutput(gdb_command, timeout=360)
status, output = process.getstatusoutput(gdb_command, timeout=1800)
os.remove(gdb_command_file)
os.remove(core_file)
test.log.debug(output)
Expand All @@ -62,7 +62,7 @@ def check_vmcore_file():
process.run(
'echo -e "bt\ntask 0\ntask 1\nquit" > %s' % crash_script, shell=True
)
output = process.getoutput(crash_cmd, timeout=60)
output = process.getoutput(crash_cmd, timeout=1800)
os.remove(crash_script)
os.remove(vmcore_file)
test.log.debug(output)
Expand All @@ -82,7 +82,7 @@ def check_vmcore_file():
cmd = "dnf debuginfo-install -y %s" % " ".join(debuginfo_pkgs)
try:
process.run(cmd, timeout=900, shell=True)
except (process.CmdError, process.TimeoutError) as e:
except (process.CmdError, TimeoutError) as e:
test.fail("Failed to install debuginfo packages: %s" % e)

trigger_core_dump_command = params["trigger_core_dump_command"]
Expand Down Expand Up @@ -113,5 +113,5 @@ def check_vmcore_file():
check_core_file(arch)
if dump_guest_core == "on" and check_vmcore == "yes":
crash_cmd %= host_kernel_version
utils_misc.wait_for(lambda: os.path.exists(vmcore_file), timeout=60)
utils_misc.wait_for(lambda: os.path.exists(vmcore_file), timeout=1800)
check_vmcore_file()
2 changes: 1 addition & 1 deletion qemu/tests/dump_guest_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def check_dump_file():
crash_cmd = "crash -i %s /usr/lib/debug/lib/modules/%s/vmlinux "
crash_cmd %= (crash_script, host_kernel_version)
crash_cmd += dump_file
status, output = process.getstatusoutput(crash_cmd)
status, output = process.getstatusoutput(crash_cmd, timeout=1800)
os.remove(crash_script)
test.log.debug(output)
if status != 0 or "error" in output:
Expand Down