diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-01-04 15:33:35 -0800 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-01-04 15:33:35 -0800 |
commit | 51571a839b4ae51fe37e203cdec29d0c7f02b23c (patch) | |
tree | d08b6987fd518ab1c8f8367d8f91394e7bfc8fcd /tools | |
parent | 66977607c1b7f1d716d18902166c9977ac9fa628 (diff) |
remove code not relevant for stress test results
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/run_stress_tests.py | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tools/run_tests/run_stress_tests.py b/tools/run_tests/run_stress_tests.py index 0e2c883f23..0dc38986ee 100755 --- a/tools/run_tests/run_stress_tests.py +++ b/tools/run_tests/run_stress_tests.py @@ -38,7 +38,6 @@ import json import multiprocessing import os import re -import report_utils import subprocess import sys import tempfile @@ -203,35 +202,6 @@ def build_interop_stress_image_jobspec(language, tag=None): build_job.tag = tag return build_job - -def aggregate_http2_results(stdout): - match = re.search(r'\{"cases[^\]]*\]\}', stdout) - if not match: - return None - - results = json.loads(match.group(0)) - skipped = 0 - passed = 0 - failed = 0 - failed_cases = [] - for case in results['cases']: - if case.get('skipped', False): - skipped += 1 - else: - if case.get('passed', False): - passed += 1 - else: - failed += 1 - failed_cases.append(case.get('name', 'NONAME')) - return { - 'passed': passed, - 'failed': failed, - 'skipped': skipped, - 'failed_cases': ', '.join(failed_cases), - 'percent': 1.0 * passed / (passed + failed) - } - - argp = argparse.ArgumentParser(description='Run stress tests.') argp.add_argument('-l', '--language', @@ -352,16 +322,6 @@ try: else: jobset.message('SUCCESS', 'All tests passed', do_newline=True) - report_utils.render_junit_xml_report(resultset, 'report.xml') - - for name, job in resultset.iteritems(): - if "http2" in name: - job[0].http2results = aggregate_http2_results(job[0].message) - - report_utils.render_interop_html_report( - set([str(l) for l in languages]), servers, [], [], [], resultset, - num_failures, 0, 0) - finally: # Check if servers are still running. for server, job in server_jobs.iteritems(): |