#!/usr/bin/env python # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. """Mozilla error lists for running tests.
Error lists are used to parse output in mozharness.base.log.OutputParser.
Each line of output is matched against each substring or regular expression in the error list. On a match, we determine the 'level' of that line,
whether IGNORE, DEBUG, INFO, WARNING, ERROR, CRITICAL, or FATAL.
"""
import re
from mozharness.base.log import ERROR, INFO, WARNING
HarnessErrorList = BaseHarnessErrorList + [
{ "substr": "A content process crashed", "level": ERROR,
},
]
# wpt can have expected crashes so we can't always turn treeherder orange in those cases
WptHarnessErrorList = BaseHarnessErrorList
LogcatErrorList = [
{ "substr": "Fatal signal 11 (SIGSEGV)", "level": ERROR, "explanation": "This usually indicates the B2G process has crashed",
},
{ "substr": "Fatal signal 7 (SIGBUS)", "level": ERROR, "explanation": "This usually indicates the B2G process has crashed",
},
{"substr": "[JavaScript Error:", "level": WARNING},
{ "substr": "seccomp sandbox violation", "level": ERROR, "explanation": "A content process has violated the system call sandbox (bug 790923)",
},
]
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.