Closed
Bug 967318
Opened 11 years ago
Closed 11 years ago
ScriptTimeoutExceptions should be reported with the failure on the same line as the test name
Categories
(Remote Protocol :: Marionette, defect, P1)
Remote Protocol
Marionette
Tracking
(firefox30 wontfix, firefox31 wontfix, firefox32 fixed, b2g-v1.3 fixed, b2g-v1.3T fixed, b2g-v1.4 fixed, b2g-v2.0 fixed)
RESOLVED
FIXED
mozilla32
People
(Reporter: jgriffin, Assigned: automatedtester)
References
(Blocks 1 open bug)
Details
(Keywords: pi-marionette-runner, sheriffing-P1, Whiteboard: [runner])
Attachments
(1 file)
|
2.42 KB,
patch
|
philor
:
review+
|
Details | Diff | Splinter Review |
Marionette tests are currently reporting ScriptTimeoutExceptions in a way that makes them difficult to sheriff correctly. They're reported like:
07:45:13 ERROR - raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)
07:45:13 ERROR - ScriptTimeoutException: ScriptTimeoutException: timed out
07:45:13 INFO - TEST-UNEXPECTED-FAIL | test_outgoing_emergency_in_airplane_mode.js |
07:45:13 INFO - ----------------------------------------------------------------------
(see https://tbpl.mozilla.org/php/getParsedLog.php?id=34012307&tree=Fx-Team#error2)
...but we'd like them to be reported like:
07:45:13 ERROR - raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace)
07:45:13 ERROR - TEST-UNEXPECTED-FAIL | test_outgoing_emergency_in_airplane_mode.js |
ScriptTimeoutException: ScriptTimeoutException: timed out
07:45:13 INFO - ----------------------------------------------------------------------
I.e., "ScriptTimeoutException" should be given as the reason for the failure in the TEST-UNEXPECTED-FAIL line.
We used to handle this better, see e.g., bug 837827.
Comment 2•11 years ago
|
||
I'm distracted by another task right now, but for the record I think it would be useful to introduce a test case that ensured tbpl-friendly exception formatting so that this doesn't get repeated.
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [runner]
| Assignee | ||
Updated•11 years ago
|
Keywords: ateam-marionette-runner
| Assignee | ||
Updated•11 years ago
|
Priority: -- → P1
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dburns
| Assignee | ||
Comment 3•11 years ago
|
||
pushed to try https://tbpl.mozilla.org/?tree=Try&rev=3be9ddc32a9d
Lets see if the results are better with intermittents
| Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(dburns)
| Assignee | ||
Comment 4•11 years ago
|
||
| Assignee | ||
Comment 5•11 years ago
|
||
protip, remove pdb https://tbpl.mozilla.org/?tree=Try&rev=d1055e8d9ba5
Comment 6•11 years ago
|
||
Comment on attachment 8416554 [details] [diff] [review]
Put the error reason in the message that is reported on TBPL for easier starring
\o/
Attachment #8416554 -
Flags: review+
| Assignee | ||
Comment 7•11 years ago
|
||
Flags: needinfo?(dburns)
Comment 8•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Updated•11 years ago
|
Flags: needinfo?(ryanvm)
Comment 9•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/610edb2bc69f
https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/6d79000bf580
status-b2g-v1.3:
--- → fixed
status-b2g-v1.3T:
--- → affected
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-firefox30:
--- → wontfix
status-firefox31:
--- → wontfix
status-firefox32:
--- → fixed
Flags: needinfo?(ryanvm)
Updated•11 years ago
|
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•