Closed Bug 1028947 Opened 10 years ago Closed 7 years ago

marionette.py python exception regex matches against XUL!AsmJSMachExceptionHandlerThread(...) in crash stacks

Categories

(Remote Protocol :: Marionette, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: emorley, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: pi-marionette-runner, Whiteboard: [affects=marionette])

I believe this is from the mozharness marionette.py regex changes made in bug 1017559.

In gaia-ui-test runs, eg:
https://tbpl.mozilla.org/php/getParsedLog.php?id=42264790&tree=Mozilla-Inbound

Mozharnss is giving a log level of "ERROR" to:
06:53:17    ERROR -   3  XUL!AsmJSMachExceptionHandlerThread(void*) [AsmJSSignalHandlers.cpp:6aade5365ee1 : 731 + 0x1f]
06:53:17     INFO -      rip = 0x0000000103265901   rsp = 0x0000000106898b40
06:53:17     INFO -      Found by: stack scanning

...which is partway down the stack of a common crash mode at the moment.

We're hitting this:
 {'regex': re.compile(r'''(\b((?!Marionette|NoSuchElement|XPathLookup|NoSuchWindow|StaleElement|ScriptTimeout|ElementNotVisible|NoSuchFrame|InvalidResponse|Javascript|Timeout|InvalidElementState|NoAlertPresent|InvalidCookieDomain|UnableToSetCookie|InvalidSelector|MoveTargetOutOfBounds)\w*)Exception)'''), 'level': ERROR},
The current regex is designed to catch anything that looks like it might be a Python exception, except for known Marionette exceptions.

Do we want to kill generic exception matching?
Whiteboard: [affects=marionette]
since we are using mozcrash now we can close this
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.