mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 14:31:46 +01:00
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:
parent
1838b64fcf
commit
900bbd53ed
@ -22,6 +22,13 @@ from cros_build_lib import Color, Die
|
|||||||
|
|
||||||
_STDOUT_IS_TTY = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
|
_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):
|
class ReportGenerator(object):
|
||||||
"""Collects and displays data from autoserv results directories.
|
"""Collects and displays data from autoserv results directories.
|
||||||
@ -116,6 +123,9 @@ class ReportGenerator(object):
|
|||||||
crashes = []
|
crashes = []
|
||||||
regex = re.compile('Received crash notification for ([-\w]+).+ (sig \d+)')
|
regex = re.compile('Received crash notification for ([-\w]+).+ (sig \d+)')
|
||||||
for match in regex.finditer(status_raw):
|
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())
|
crashes.append('%s %s' % match.groups())
|
||||||
|
|
||||||
self._results[testdir] = {'crashes': crashes,
|
self._results[testdir] = {'crashes': crashes,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user