aboutsummaryrefslogtreecommitdiff
path: root/cros_utils
diff options
context:
space:
mode:
authorCaroline Tice <cmtice@google.com>2016-10-05 15:41:13 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-06 11:53:49 -0700
commit4bd70465c2e5c60802460aec4fdc698e1cfab8e3 (patch)
treefd6a259d17eaae30ff75881a59541b347fb8392f /cros_utils
parent59b328726cdf961f8c839fed049f6df31d614d0b (diff)
downloadtoolchain-utils-4bd70465c2e5c60802460aec4fdc698e1cfab8e3.tar.gz
[toolchain-utils] Update rotating testers to use new configs.
This CL updates the rotating testers to use the new chromes_configs for building trybots & running HW tests. BUG=chromium:653296 TEST=Ran scripts in my directory; it worked. Change-Id: Ia60af8b921a966c86b335ef51db5372bf740ed95 Reviewed-on: https://chrome-internal-review.googlesource.com/293775 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
Diffstat (limited to 'cros_utils')
-rw-r--r--cros_utils/buildbot_utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py
index 2ba165e1..5828efc5 100644
--- a/cros_utils/buildbot_utils.py
+++ b/cros_utils/buildbot_utils.py
@@ -124,6 +124,8 @@ def GetBuildInfo(file_dir, builder):
# For release builds, get logs from the 'release' builder.
if builder.endswith('-release'):
commands += ' -b release'
+ elif builder.endswith('-toolchain'):
+ commands += ' -b etc'
else:
commands += ' -b %s' % builder
_, buildinfo, _ = ce.RunCommandWOutput(commands, print_to_console=False)
@@ -136,9 +138,8 @@ def FindArchiveImage(chromeos_root, build, build_id):
ce = command_executer.GetCommandExecuter()
command = ('gsutil ls gs://chromeos-image-archive/trybot-%s/*b%s'
'/chromiumos_test_image.tar.xz' % (build, build_id))
- _, out, _ = ce.ChrootRunCommandWOutput(chromeos_root,
- command,
- print_to_console=False)
+ _, out, _ = ce.ChrootRunCommandWOutput(
+ chromeos_root, command, print_to_console=False)
#
# If build_id is not unique, there may be multiple archive images
# to choose from; sort them & pick the first (newest).