From 020898762fa081113608504ab5012b2b27c70668 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Sat, 18 Jan 2020 04:20:10 -0500 Subject: [PATCH] Debug strace issue (#3706) --- tools/benchmark.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/benchmark.py b/tools/benchmark.py index 595e856274..507e7cc6d9 100755 --- a/tools/benchmark.py +++ b/tools/benchmark.py @@ -119,7 +119,14 @@ def strace_parse(summary_text): def get_strace_summary(test_args): - return strace_parse(get_strace_summary_text(test_args)) + s = get_strace_summary_text(test_args) + try: + return strace_parse(s) + except ValueError: + print "error parsing strace" + print "----- -------" + print s + print "----- ------" def run_throughput(deno_exe):