Closed
Bug 1020296
Opened 10 years ago
Closed 10 years ago
Improve readability of Python exception regex
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
3.91 KB,
patch
|
RyanVM
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Now that mozharness has been updated, we need to prevent matches against the non-TEST-UNEPXECTED-FAIL lines in: (bug 1012984): { 09:19:46 INFO - TimeoutException: TimeoutException: Connection timed out ... 09:19:46 ERROR - TEST-UNEXPECTED-FAIL | test_battery_status_charging.js | TimeoutException: TimeoutException: Connection timed out } ScriptTimeoutException instance seems fine already: (Bug 1019957): { 01:43:25 INFO - ====================================================================== 01:43:25 INFO - ERROR: None 01:43:25 INFO - ---------------------------------------------------------------------- 01:43:25 ERROR - TEST-UNEXPECTED-FAIL | test_success_in_oop.js | ScriptTimeoutException: ScriptTimeoutException: timed out } (bug 1019062): { 08:04:23 INFO - raise ScriptTimeoutException(message=message, status=status, stacktrace=stacktrace) 08:04:23 ERROR - TEST-UNEXPECTED-FAIL | test_settings_do_not_track.py test_settings_do_not_track.TestSettingsDoNotTrack.test_enable_do_not_track_via_settings_app | ScriptTimeoutException: ScriptTimeoutException: timed out } (since we don't match against " raise ...") Same for NoSuchElementException: (bug 951654): { 09:32:24 INFO - raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace) 09:32:24 ERROR - TEST-UNEXPECTED-FAIL | test_implicit_waits.py test_implicit_waits.TestImplicitWaits.testShouldImplicitlyWaitForASingleElement | NoSuchElementException: NoSuchElementException: Unable to locate element: box0 }
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
Restores the /^[A-Za-z.]*Exception: / line that was there previously, and adds a simpler blacklist just for the timeouts, since even after hunting for some time, I couldn't find examples of the others that we'd match against (see comment 1). Seems to work well locally.
Attachment #8438546 -
Flags: review?(ryanvm)
Comment 3•10 years ago
|
||
Comment on attachment 8438546 [details] [diff] [review] Simplify the regex for exclusion of Marionette timeout exceptions Review of attachment 8438546 [details] [diff] [review]: ----------------------------------------------------------------- Holy cow, that's a lot simpler. Fully trust you on your local testing.
Attachment #8438546 -
Flags: review?(ryanvm) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Thank you for the reviews :-) https://hg.mozilla.org/webtools/tbpl/rev/888593c6f266
Assignee | ||
Comment 5•10 years ago
|
||
This was in production on 2014-06-12, forgot to update the bug then.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Webtools → Tree Management
Updated•9 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•