Closed Bug 873149 Opened 13 years ago Closed 13 years ago

Report the slowest test in mochitest

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

Details

Attachments

(2 files, 2 obsolete files)

Attached patch path (obsolete) — — 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 on attachment 750551 [details] [diff] [review] path Review of attachment 750551 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #750551 - Flags: review?(ted) → review+
Assignee: nobody → martijn.martijn
Attachment #750551 - Attachment is obsolete: true
Keywords: checkin-needed
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.
Wow, I really thought this would not give any trouble.
Where can I find those horrifying regexes in mozharness?
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.
Attached patch unittest.diff (obsolete) — — Splinter Review
So something like this would fix it, right? I have no idea how to test this.
Attachment #780684 - Flags: review?(bhearsum)
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+
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
Keywords: checkin-needed
In production
Attachment #781040 - Attachment description: unittest.diff → unittest.diff (checked in)
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
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.

Attachment

General

Created:
Updated:
Size: