Remove toolchain_tests from the report.
We don't use that suite anymore. So, remove it from the
report. It was causing an exception.
BUG=None
TEST=Generated report without any issues.
Change-Id: Ie1c42b47a53e4d6e8a2665fdfba91d8d2ac963dc
Reviewed-on: https://chromium-review.googlesource.com/511866
Commit-Ready: Luis Lozano <llozano@chromium.org>
Tested-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
diff --git a/generate-waterfall-reports.py b/generate-waterfall-reports.py
index 9fbb563..8a80905 100755
--- a/generate-waterfall-reports.py
+++ b/generate-waterfall-reports.py
@@ -32,8 +32,7 @@
from cros_utils import command_executer
# All the test suites whose data we might want for the reports.
-TESTS = (('bvt-inline', 'HWTest'), ('bvt-cq', 'HWTest'),
- ('toolchain-tests', 'HWTest'), ('security', 'HWTest'),
+TESTS = (('bvt-inline', 'HWTest'), ('bvt-cq', 'HWTest'), ('security', 'HWTest'),
('kernel_daily_regression', 'HWTest'), ('kernel_daily_benchmarks',
'HWTest'),)
@@ -234,13 +233,13 @@
out_file.write('\nStatus of %s Waterfall Builds from %s\n\n' %
(waterfall_type, date_string))
out_file.write(' '
- ' kernel kernel\n')
+ ' kernel kernel\n')
out_file.write(' Build bvt- bvt-cq '
- 'toolchain- security daily daily\n')
+ ' security daily daily\n')
out_file.write(' status inline '
- ' tests regression benchmarks\n')
+ ' regression benchmarks\n')
out_file.write(' [P/ F/ DR]* [P/ F /DR]* '
- '[P/ F/ DR]* [P/ F/ DR]* [P/ F/ DR]* [P/ F/ DR]*\n\n')
+ '[P/ F/ DR]* [P/ F/ DR]* [P/ F/ DR]*\n\n')
# Write daily waterfall status section.
for i in range(0, len(report_list)):
@@ -259,9 +258,7 @@
inline_color = build_dict.get('bvt-inline-color', '')
cq_color = build_dict.get('bvt-cq-color', '')
if 'x86' not in builder:
- toolchain = build_dict.get('toolchain-tests', '[??/ ?? /??]')
security = build_dict.get('security', '[??/ ?? /??]')
- toolchain_color = build_dict.get('toolchain-tests-color', '')
security_color = build_dict.get('security-color', '')
if 'gcc' in builder:
regression = build_dict.get('kernel_daily_regression', '[??/ ?? /??]')
@@ -269,19 +266,18 @@
regression_color = build_dict.get('kernel_daily_regression-color', '')
bench_color = build_dict.get('kernel_daily_benchmarks-color', '')
out_file.write(' %6s %6s'
- ' %6s %6s %6s %6s\n' %
- (inline_color, cq_color, toolchain_color,
- security_color, regression_color, bench_color))
- out_file.write('%25s %3s %s %s %s %s %s %s\n' %
- (builder, status, inline, cq, toolchain, security,
- regression, bench))
+ ' %6s %6s %6s\n' %
+ (inline_color, cq_color, security_color,
+ regression_color, bench_color))
+ out_file.write('%25s %3s %s %s %s %s %s\n' %
+ (builder, status, inline, cq, security, regression,
+ bench))
else:
out_file.write(' %6s %6s'
- ' %6s %6s\n' %
- (inline_color, cq_color, toolchain_color,
- security_color))
- out_file.write('%25s %3s %s %s %s %s\n' % (builder, status, inline,
- cq, toolchain, security))
+ ' %6s\n' % (inline_color, cq_color,
+ security_color))
+ out_file.write('%25s %3s %s %s %s\n' % (builder, status, inline, cq,
+ security))
else:
out_file.write(' %6s %6s\n' %
(inline_color, cq_color))