Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 855697 - Correct log parsing regex for crashes; r=aki

  • Loading branch information...
commit 8fe2eb536364db271c36c08342420abb38ff172e 1 parent 27185b4
@edmorley edmorley authored
View
4 mozharness/mozilla/testing/errors.py
@@ -44,8 +44,8 @@
'known_fail_group': None,
},
"harness_error": {
- 'full_regex': re.compile(r"TEST-UNEXPECTED-FAIL \| .* \| (Browser crashed \(minidump found\)|missing output line for total leaks!|negative leaks caught!|\d+ bytes leaked)"),
- 'minimum_regex': re.compile(r'''TEST-UNEXPECTED''')
+ 'full_regex': re.compile(r"(TEST-UNEXPECTED-FAIL|PROCESS-CRASH) \| .* \| (application crashed|missing output line for total leaks!|negative leaks caught!|\d+ bytes leaked)"),
+ 'minimum_regex': re.compile(r'''(TEST-UNEXPECTED|PROCESS-CRASH)''')
},
}
View
2  mozharness/mozilla/testing/unittest.py
@@ -104,7 +104,7 @@ def parse_single_line(self, line):
full_harness_match = self.full_harness_error_re.match(line)
if full_harness_match:
r = full_harness_match.group(1)
- if r == "Browser crashed (minidump found)":
+ if r == "application crashed":
self.crashed = True
elif r == "missing output line for total leaks!":
self.leaked = None
View
2  scripts/desktop_unittest.py
@@ -323,7 +323,7 @@ def _run_category_suites(self, suite_category, preflight_run_method=None):
suite_name = suite_category + '-' + suite
tbpl_status, log_level = None, None
error_list = BaseErrorList + [{
- 'regex': re.compile(r'''PROCESS-CRASH.*minidump found'''),
+ 'regex': re.compile(r'''PROCESS-CRASH.*application crashed'''),
'level': ERROR,
}]
parser = DesktopUnittestOutputParser(suite_category,
Please sign in to comment.
Something went wrong with that request. Please try again.