aboutsummaryrefslogtreecommitdiff
path: root/image_chromeos.py
diff options
context:
space:
mode:
authorcmtice <cmtice@google.com>2014-03-14 14:08:21 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-03-19 02:37:30 +0000
commit6de7f8fe91a1a36d0e7c578ac8d170bf483fcfbe (patch)
tree35c83cbd09157ebf67fc008ccff3875b45367187 /image_chromeos.py
parent139092449a545d4d87c06af3a6d8f3d71e42e927 (diff)
downloadtoolchain-utils-6de7f8fe91a1a36d0e7c578ac8d170bf483fcfbe.tar.gz
Various small fixes for nightly infrastructure tests.
- Change the number of iterations for tests from 1 to 3. - Increase the timeout for image_chromeos.py, so 'cros flash', which takes a bit longer than cros_image_to_target.sh did, doesn't get killed just as its finishing. - Comment out smoothness.top_25 for now, since it's broken and/or hanging. BUG=None TEST=Successfully ran nightly infrastructure tests with these changes. Change-Id: I77b663b1910fe12ef927afdf15d88a7c1e82d491 Reviewed-on: https://chrome-internal-review.googlesource.com/157419 Reviewed-by: Yunlian Jiang <yunlian@google.com> Commit-Queue: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'image_chromeos.py')
-rwxr-xr-ximage_chromeos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/image_chromeos.py b/image_chromeos.py
index 06328e23..97d1534b 100755
--- a/image_chromeos.py
+++ b/image_chromeos.py
@@ -227,7 +227,7 @@ def DoImage(argv):
elif log_level == "average":
cmd_executer.SetLogLevel("verbose");
retval = cmd_executer.ChrootRunCommand(options.chromeos_root,
- command, command_timeout=600)
+ command, command_timeout=1800)
retries = 0
while retval != 0 and retries < 2:
@@ -236,7 +236,7 @@ def DoImage(argv):
l.LogOutput("Imaging failed. Retry # %d." % retries)
l.LogOutput("CMD : %s" % command)
retval = cmd_executer.ChrootRunCommand(options.chromeos_root,
- command, command_timeout=600)
+ command, command_timeout=1800)
if log_level == "average":
cmd_executer.SetLogLevel(log_level)