Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

server/ Add control for crash collection timeout to g…


The four hour timeout for crash collection is way too long for Chrome
OS, so we moved this parameter into global config for easier control.

Signed-off-by: Dale Curtis <>

git-svn-id: svn:// 592f7852-d20e-0410-864c-8624ca9c26a4
  • Loading branch information...
commit 8dff3f4d0713d2688505cf72957fa1913053bd83 1 parent 48d15a6
lmr authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 server/
8 server/
@@ -1,5 +1,6 @@
import os, time, pickle, logging, shutil
+from autotest_lib.client.common_lib import global_config
from autotest_lib.server import utils
@@ -33,7 +34,12 @@ def get_crashinfo(host, test_start_time):
-def wait_for_machine_to_recover(host, hours_to_wait=4.0):
+# Load default for number of hours to wait before giving up on crash collection.
+HOURS_TO_WAIT = global_config.global_config.get_config_value(
+ 'SERVER', 'crash_collection_hours_to_wait', type=float, default=4.0)
+def wait_for_machine_to_recover(host, hours_to_wait=HOURS_TO_WAIT):
"""Wait for a machine (possibly down) to become accessible again.
@param host: A RemoteHost instance to wait on
Please sign in to comment.
Something went wrong with that request. Please try again.