Closed
Bug 1227918
Opened 10 years ago
Closed 10 years ago
An exception which cause Marionette to quit does not print any traceback to the console
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(firefox45 fixed)
RESOLVED
FIXED
mozilla45
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | fixed |
People
(Reporter: whimboo, Assigned: impossibus)
References
Details
(Keywords: regression)
Attachments
(1 file)
This might be similar what Syd has been seen yesterday with invalid command line options for Firefox media tests. In this case it happens for our firefox update tests. We register our own Argument class and have a verify_usage_handler() setup. When this handler raises an exception, Marionette simply quits.
I have seen that while working on the following PR:
https://github.com/mozilla/firefox-ui-tests/pull/291/files#diff-b44fc26c8d5be641ada9dcacd02170e9R54
Example command line:
firefox-ui-update --binary /mozilla/bin/nightly/firefox --update-direct-only --update-fallback-only
| Reporter | ||
Updated•10 years ago
|
Keywords: regression
| Reporter | ||
Comment 1•10 years ago
|
||
So I see the same behavior now when I hit ctrl-c while the tests are running. No traceback is printed to the console. We just die silently.
This makes it very hard to diagnose problems and should be fixed ASAP.
Severity: normal → major
Summary: Marionette silently closes if verify_usage_handler() raises an exception → An exception which cause Marionette to quit does not print any traceback to the console
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mjzffr
| Assignee | ||
Comment 2•10 years ago
|
||
Here's the culprit https://hg.mozilla.org/mozilla-central/rev/c308db03b242#l1.37
| Assignee | ||
Comment 3•10 years ago
|
||
Bug 1227918 - Log exception in harness class setup; r?automatedtester
Attachment #8692750 -
Flags: review?(dburns)
Comment 4•10 years ago
|
||
Comment on attachment 8692750 [details]
MozReview Request: Bug 1227918 - Log exception in harness class setup; r?automatedtester
https://reviewboard.mozilla.org/r/26319/#review23773
Attachment #8692750 -
Flags: review?(dburns) → review+
| Assignee | ||
Comment 5•10 years ago
|
||
Comment 7•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment 8•10 years ago
|
||
What version of which piece of marionette do we need to get this bug?
| Assignee | ||
Comment 9•10 years ago
|
||
marionette-client 2.0.0 had the bug; it's fixed in marionette-client 2.1.0. We added workarounds in ui-tests and media-tests while waiting for 2.1.0 to be released.
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•