[ARVADOS] updated: 0d3411abc645a8cd6fef4b960070ecf054ac16f2
git at public.curoverse.com
git at public.curoverse.com
Wed Jan 20 15:28:26 EST 2016
Summary of changes:
tools/crunchstat-summary/crunchstat_summary/summarizer.py | 2 +-
tools/crunchstat-summary/tests/crunchstat_error_messages.txt | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
via 0d3411abc645a8cd6fef4b960070ecf054ac16f2 (commit)
from 20fe67d073424f5c277fbd13557ffe5ae2b15fd9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0d3411abc645a8cd6fef4b960070ecf054ac16f2
Author: Tom Clegg <tom at curoverse.com>
Date: Wed Jan 20 03:40:46 2016 -0500
8123: Ignore crunchstat "caught signal:" log.
diff --git a/tools/crunchstat-summary/crunchstat_summary/summarizer.py b/tools/crunchstat-summary/crunchstat_summary/summarizer.py
index f648e9b..93e018d 100644
--- a/tools/crunchstat-summary/crunchstat_summary/summarizer.py
+++ b/tools/crunchstat-summary/crunchstat_summary/summarizer.py
@@ -95,7 +95,7 @@ class Summarizer(object):
if m.group('category').endswith(':'):
# "stderr crunchstat: notice: ..."
continue
- elif m.group('category') == 'error':
+ elif m.group('category') in ('error', 'caught'):
continue
elif m.group('category') == 'read':
# "stderr crunchstat: read /proc/1234/net/dev: ..."
diff --git a/tools/crunchstat-summary/tests/crunchstat_error_messages.txt b/tools/crunchstat-summary/tests/crunchstat_error_messages.txt
index 131e985..bf6dd5c 100644
--- a/tools/crunchstat-summary/tests/crunchstat_error_messages.txt
+++ b/tools/crunchstat-summary/tests/crunchstat_error_messages.txt
@@ -4,3 +4,6 @@
2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr
2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr new error message:
2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr crunchstat: error reading /proc/3305/net/dev: open /proc/3305/net/dev: no such file or directory
+2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr
+2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr cancelled job:
+2016-01-07_00:15:34 tb05z-8i9sb-khsk5rmf4xjdcbl 20819 0 stderr crunchstat: caught signal: interrupt
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list