Add crash whitelist for chromeos-wm: sig 6.

Change-Id: I776b3b92c81f6e00b179766fd16a322af4c0379c

BUG=chromium-os:12212
TEST=Ran against test logs for failed build.

Review URL: http://codereview.chromium.org/6534006
This commit is contained in:
Dale Curtis 2011-02-16 14:33:06 -08:00
parent 1838b64fcf
commit 900bbd53ed

View File

@ -22,6 +22,13 @@ from cros_build_lib import Color, Die
_STDOUT_IS_TTY = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
# List of crashes which are okay to ignore. This list should almost always be
# empty. If you add an entry, mark it with a TODO(<your name>) and the issue
# filed for the crash.
_CRASH_WHITELIST = {
# TODO(dalecurtis): chromium-os:12212. Remove when resolved.
'chromeos-wm': ['sig 6']
}
class ReportGenerator(object):
"""Collects and displays data from autoserv results directories.
@ -116,6 +123,9 @@ class ReportGenerator(object):
crashes = []
regex = re.compile('Received crash notification for ([-\w]+).+ (sig \d+)')
for match in regex.finditer(status_raw):
if (match.group(1) in _CRASH_WHITELIST and
match.group(2) in _CRASH_WHITELIST[match.group(1)]):
continue
crashes.append('%s %s' % match.groups())
self._results[testdir] = {'crashes': crashes,