Closed Bug 791389 Opened 12 years ago Closed 12 years ago

Split mochitest-browser-chrome out of mochitest-other

Categories

(Release Engineering :: General, defect, P3)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ehsan.akhgari, Assigned: emorley)

References

Details

(Whiteboard: [tests][sheriff-want])

Attachments

(3 files)

Debug Moth unit tests take more than an hour.  Opt ones take around 40 minutes.  This hurts end to end times, so I think we should split them.
Component: Release Engineering → Release Engineering: Automation (General)
OS: Mac OS X → All
QA Contact: catlee
Priority: -- → P3
Whiteboard: [tests]
WinXP debug m-oth now takes 2 hours. 

This/even the 1 hour runtime on other platforms causes issues for sheriffs since:
1) Turnaround time for retriggers is painful when bisecting (and wasteful, since most of the time we don't need to retrigger everything).
2) Log size for m-oth is excessive, causing TBPL to timeout more frequently when fetching/parsing logs.
3) Even in non-failure/bisection cases, increases end-to-end time when not at max infra load, due to not running the m-oth subsuites in parallel.

As such, please can we bump the priority on this? :-)
Blocks: 636546
Summary: Please split up Moth → Please split up mochitest-other
Whiteboard: [tests] → [tests][sheriff-want]
Filed bug 794420 to investigate the WinXP increase.
Blocks: 790889
If someone (from RelEng or otherwise) wants to take a stab at this, here's a rough outline of what needs to be done:
* Adjust suite names in buildapi: https://mxr.mozilla.org/build-central/source/buildapi/buildapi/model/testruns.py#76
* Adjust suites names for a11y project branch: https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla/project_branches.py#22
* Split up mochitest-other into two suites in mozilla-tests/config.py: https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/config.py#380 and #392
* Split up mochitest-other in mozilla/config.py: https://mxr.mozilla.org/build-central/source/buildbot-configs/mozilla/config.py#45
* Update try parser unit tests: https://mxr.mozilla.org/build-central/source/buildbotcustom/test/test_try_parser.py#13
* Update the try chooser webpage: https://wiki.mozilla.org/ReleaseEngineering/How_To/Update_the_Try_Syntax
That's useful, thank you :-)

So what do we think?
mochitest-browser-chrome
and
mochitest-other: mochitest-chrome, mochitest-a11y, mochitest-ipcplugins

As a point of reference...

WinXP debug:
mochitest-chrome: 39 mins, 13 secs
mochitest-browser-chrome: 1 hrs, 42 secs
mochitest-ally: 5 mins, 40 secs
mochitest-ipcplugins: 1 mins, 8 secs

OS X 10.6 opt:
mochitest-chrome: 10 mins, 5 secs
mochitest-browser-chrome: 20 mins, 46 secs
mochitest-ally: <not run on most repos>
mochitest-ipcplugins: 24 secs
(In reply to comment #4)
> So what do we think?
> mochitest-browser-chrome
> and
> mochitest-other: mochitest-chrome, mochitest-a11y, mochitest-ipcplugins

Sounds reasonable.
Summary: Please split up mochitest-other → Split mochitest-browser-chrome out of mochitest-other
No longer blocks: 636546
Blocks: 798945
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Depends on: 798970
Depends on: 798971
Depends on: 798973
Depends on: 798975
Not sure if "mochitest-bc" or "mochitest-b-c" is preferred for trychooser, I went with the former.
Attachment #668976 - Flags: review?(bhearsum)
In addition to the changes listed in comment 3; mozharness_unittest_suites needed adjusting.
Attachment #668977 - Flags: review?(bhearsum)
Attached patch buildapi v1Splinter Review
Attachment #668978 - Flags: review?(catlee)
On closer inspection, TBPL doesn't need updating since the existing 'b-c' entry (back from when mobile used to use it), will cover us:
https://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/file/9c7f496beb97/js/Data.js#l748

I've filed dependant bugs for anything that can be landed pre-emptively (trychooser, orangefactor, logparser, autotools), to reduce noise in this bug & reduce the number of things we have to land simultaneously.

All of the other necessary changes are made by the patches in this bug. I believe that covers everything :-)
Comment on attachment 668976 [details] [diff] [review]
buildbotcustom v1

Review of attachment 668976 [details] [diff] [review]:
-----------------------------------------------------------------

https://hg.mozilla.org/build/tools/file/f302af7cb4b5/trychooser/index.html will need to be updated too, to update the syntax builder.

::: try_parser.py
@@ +19,5 @@
>          elif u == 'mochitest-o':
>              for v in valid_suites:
>                  if re.search(u,v):
>                      test_suites.append(v)
> +        elif u == 'mochitest-bc':

Shouldn't this be "mochitest-b-c" since that's what TBPL uses?
(In reply to Ben Hearsum [:bhearsum] from comment #11)
> Comment on attachment 668976 [details] [diff] [review]
> buildbotcustom v1
>
> > +        elif u == 'mochitest-bc':
> 
> Shouldn't this be "mochitest-b-c" since that's what TBPL uses?

I contemplated that, but I think I prefer 'bc' and so as a follow up to this bug will be switching TBPL to use that instead of 'b-c' (if anything it takes up less space on every platform row on TBPL).
Attachment #668976 - Flags: review?(bhearsum) → review+
Has anybody thought of what impact this has (if any) to release branches?
Attachment #668978 - Flags: review?(catlee) → review+
(In reply to Chris AtLee [:catlee] from comment #13)
> Has anybody thought of what impact this has (if any) to release branches?

This should split them on all surely? However I don't see that this should cause any problems  :-)
(I was also going to wait until the chemspill dust had settled)
bhearsum, don't suppose I can get a review on the other patch? :-)
(In reply to Ed Morley [:edmorley UTC+1] from comment #14)
> (In reply to Chris AtLee [:catlee] from comment #13)
> > Has anybody thought of what impact this has (if any) to release branches?
> 
> This should split them on all surely? However I don't see that this should
> cause any problems  :-)
> (I was also going to wait until the chemspill dust had settled)

We've had problems in the past where changing the ordering of test suites has altered results. However, I'm not super concerned about that. Let's go ahead with this and back out if it causes problems.
Attachment #668977 - Flags: review?(bhearsum) → review+
Attachment #668976 - Flags: checked-in+
Attachment #668977 - Flags: checked-in+
Attachment #668978 - Flags: checked-in+
In production & looking good :-)

https://tbpl.mozilla.org/?rev=cf1bbed46731&jobname=browser-chrome
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Nice work here Ed!
Depends on: 803506
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: