aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildbot_test_toolchains.py2
-rw-r--r--cros_utils/buildbot_utils.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py
index 38754426..19032191 100755
--- a/buildbot_test_toolchains.py
+++ b/buildbot_test_toolchains.py
@@ -269,7 +269,7 @@ class ToolchainComparator(object):
http://cros-goldeneye/chromeos/healthmonitoring/buildDetails?buildbucketId=%s'
% buildbucket_id)
if len(trybot_image) == 0:
- self._l.LogError('Unable to find trybot_image for %s!' % description)
+ self._l.LogError('Unable to find trybot_image!')
return 2
vanilla_image = self._GetVanillaImageName(trybot_image)
diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py
index 29bed72a..f6fc60df 100644
--- a/cros_utils/buildbot_utils.py
+++ b/cros_utils/buildbot_utils.py
@@ -187,9 +187,9 @@ def GetTrybotImage(chromeos_root,
image = ''
if not image:
- logger.GetLogger().LogError('Trybot job %s (buildbucket id: %s) failed with'
- 'status %s; no trybot image generated. ' %
- (build_tag, buildbucket_id, status))
+ logger.GetLogger().LogError(
+ 'Trybot job (buildbucket id: %s) failed with'
+ 'status %s; no trybot image generated. ' % (buildbucket_id, status))
else:
# Convert full gs path to what crosperf expects. For example, convert
# gs://chromeos-image-archive/trybot-elm-release-tryjob/R67-10468.0.0-b20789