diff options
author | Luis A. Lozano <llozano@google.com> | 2017-05-12 18:02:06 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-05-25 13:49:15 -0700 |
commit | 4c5de98c78520452b325f10f26981c47c52430a3 (patch) | |
tree | 8b68f4335727789ef97fcd287667957253242e5d /generate-waterfall-reports.py | |
parent | 66682c74f91da6a90274dfea967dba1a43504bcb (diff) | |
download | toolchain-utils-4c5de98c78520452b325f10f26981c47c52430a3.tar.gz |
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>
Diffstat (limited to 'generate-waterfall-reports.py')
-rwxr-xr-x | generate-waterfall-reports.py | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/generate-waterfall-reports.py b/generate-waterfall-reports.py index 9fbb5637..8a809059 100755 --- a/generate-waterfall-reports.py +++ b/generate-waterfall-reports.py @@ -32,8 +32,7 @@ import time 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 @@ def GenerateWaterfallReport(report_dict, fail_dict, waterfall_type, date, 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 @@ def GenerateWaterfallReport(report_dict, fail_dict, waterfall_type, date, 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 @@ def GenerateWaterfallReport(report_dict, fail_dict, waterfall_type, date, 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)) |