Closed
Bug 873149
Opened 13 years ago
Closed 13 years ago
Report the slowest test in mochitest
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: martijn.martijn)
Details
Attachments
(2 files, 2 obsolete files)
|
3.02 KB,
patch
|
Details | Diff | Splinter Review | |
|
4.17 KB,
patch
|
Details | Diff | Splinter Review |
Reftests report the slowest test file, it might be handy if mochitest would do the same? Especially since we have a timeout file where a test file can be timed out after 330 seconds.
It might be good to find out if certain files would be very close to that value on certain platforms (like b2g mochitest for instance).
Attachment #750551 -
Flags: review?(ted)
Comment 1•13 years ago
|
||
Comment on attachment 750551 [details] [diff] [review]
path
Review of attachment 750551 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
Attachment #750551 -
Flags: review?(ted) → review+
Updated•13 years ago
|
Assignee: nobody → martijn.martijn
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #750551 -
Attachment is obsolete: true
| Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 3•13 years ago
|
||
Keywords: checkin-needed
Comment 4•13 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/b7dbf40666b1 - must have messed up the horrifying regexes in mozharness that look for pass/fail/todo for Android mochitests, because it turned every single Android mochitest orange.
| Assignee | ||
Comment 5•13 years ago
|
||
Wow, I really thought this would not give any trouble.
| Assignee | ||
Comment 6•13 years ago
|
||
Where can I find those horrifying regexes in mozharness?
Comment 7•13 years ago
|
||
My mistake, Fennec isn't using mozharness yet, so it would be the horrifying source regexes, not the copies in mozharness. Also probably not what I thought it was, but instead http://mxr.mozilla.org/build/source/buildbotcustom/steps/unittest.py#267, which believes that a passing test will match "Failed: 0" with one space, not your "Failed: 0" with two spaces.
| Assignee | ||
Comment 8•13 years ago
|
||
So something like this would fix it, right? I have no idea how to test this.
Attachment #780684 -
Flags: review?(bhearsum)
Comment 9•13 years ago
|
||
Comment on attachment 780684 [details] [diff] [review]
unittest.diff
Review of attachment 780684 [details] [diff] [review]:
-----------------------------------------------------------------
Looks like it will work. Feel free to land on the default branch at your convenience. Someone else will put it into production during a reconfig.
Attachment #780684 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Comment 10•13 years ago
|
||
Ok, so unittest.diff can be checked in ( attachment 780684 [details] [diff] [review] ), after that patch has been put into production, the first patch can be checked in.
Attachment #780684 -
Attachment is obsolete: true
| Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 11•13 years ago
|
||
Keywords: checkin-needed
Comment 12•13 years ago
|
||
In production
| Assignee | ||
Updated•13 years ago
|
Attachment #781040 -
Attachment description: unittest.diff → unittest.diff (checked in)
| Assignee | ||
Comment 13•13 years ago
|
||
Ok, that means that the first patch (attachment 762398 [details] [diff] [review]) can be checked in safely now and this would then be fixed.
Keywords: checkin-needed
Comment 14•13 years ago
|
||
Flags: in-testsuite-
Keywords: checkin-needed
| Assignee | ||
Comment 15•13 years ago
|
||
First patch was checked in some time ago: http://hg.mozilla.org/mozilla-central/rev/5d49f49bebb9
So this bug is now fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•