12221: Merge branch '12221-crunchstat-summary-valueerror'
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 8 Sep 2017 13:52:32 +0000 (09:52 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Fri, 8 Sep 2017 14:05:15 +0000 (10:05 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

1  2 
tools/crunchstat-summary/crunchstat_summary/summarizer.py

index 655270884505db49131e100a6cd11f32799efc0f,613fd654bffbdd42801a45429af708a1e4afee6e..da1f4ac87e4d0f2b3a419b68cb8a9d6e052a2263
@@@ -132,9 -128,9 +132,9 @@@ class Summarizer(object)
              if m.group('category').endswith(':'):
                  # "stderr crunchstat: notice: ..."
                  continue
-             elif m.group('category') in ('error', 'caught', 'Running'):
+             elif m.group('category') in ('error', 'caught'):
                  continue
-             elif m.group('category') in ['read', 'open', 'cgroup', 'CID']:
 -            elif m.group('category') in ['read', 'open', 'cgroup', 'CID', 'Running']:
++            elif m.group('category') in ('read', 'open', 'cgroup', 'CID', 'Running'):
                  # "stderr crunchstat: read /proc/1234/net/dev: ..."
                  # (old logs are less careful with unprefixed error messages)
                  continue