Closed
Bug 843107
Opened 11 years ago
Closed 11 years ago
split robocop (rc) into 2 chunks
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: kmoir)
References
Details
Attachments
(1 file, 3 obsolete files)
3.48 KB,
patch
|
Callek
:
review+
kmoir
:
checked-in+
|
Details | Diff | Splinter Review |
we need to split robocop into 2 chunks, too many tests!
Reporter | ||
Comment 1•11 years ago
|
||
this is an example of what I think the patch might look like for this. The problem is we need to only do this on mozilla-central. I could land the harness support for this on aurora/beta if you would like to make it easier, but this will need to be split for ESR/Release at the very least.
Attachment #716572 -
Flags: feedback?(kmoir)
Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 716572 [details] [diff] [review] add robocop chunks to android config (0.8) ltgm We can do something like we did in bug 811723 to only have it apply to specific branches.
Attachment #716572 -
Flags: feedback?(kmoir) → feedback+
Reporter | ||
Comment 3•11 years ago
|
||
looking at what is done in bug 811723 and what is currently an active patch on bug 843105, I think we can let this chunk the tests for all branches that we do reftest small. I believe this would be: mozilla-central (and related branches like mozilla-inbound, cedar, ash, etc...) mozilla-aurora mozilla-beta mozilla-release I would need confirmation that we will not be doing the reftestsmall runs on: ESR17 ESR10 I can land the harness fixes on aurora and beta, I am not sure about release. We might have to hack the release branch in buildbot-configs to not run robocop in chunks until the next merge.
Reporter | ||
Comment 4•11 years ago
|
||
this patch adds robocop chunking support into the configs for m-c/m-a/m-b. It ignores mozilla-release specifically as the harness code there doesn't support chunking. Please let me know if my code which manages the exclusion of mozilla-release is valid, that is the most questionable part of the patch.
Attachment #716572 -
Attachment is obsolete: true
Attachment #719479 -
Flags: review?(kmoir)
Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 719479 [details] [diff] [review] add chunking support for robocop (1.0) I tested the patch on my dev-master and found some errors that needed to be fixed. We don't run tests on pandas on the release branch yet so it doesn't apply to that branch. Also, when you're creating ANDROID_PLAIN_UNITTEST_DICT, suite[0] matches robocop not mochitest-robocop to exclude them. Otherwise,you get both sets of robocop tests included. I'll attach a new patch.
Attachment #719479 -
Flags: review?(kmoir) → review-
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #719626 -
Flags: review?(bugspam.Callek)
Reporter | ||
Comment 7•11 years ago
|
||
kmoir- thanks for testing this and providing an updated patch!
Comment 8•11 years ago
|
||
Comment on attachment 719626 [details] [diff] [review] patch Review of attachment 719626 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozilla-tests/mobile_config.py @@ +558,5 @@ > del BRANCHES[branch]['platforms']['android']['panda_android'] > BRANCHES[branch]['platforms']['android']['slave_platforms'] = ['tegra_android'] > > +# Ignore robocop chunks for mozilla-release, robocop-chunks is defined in ANDROID_PLAIN_UNITTEST_DICT > +BRANCHES['mozilla-release']["platforms"]["android"]["tegra_android"]["opt_unittest_suites"] = deepcopy(ANDROID_UNITTEST_DICT["opt_unittest_suites"]) won't this then pull in the non reftestsmall stuff as well?
Assignee | ||
Comment 9•11 years ago
|
||
Yes. So that was a question I have. I was rereading https://bugzilla.mozilla.org/show_bug.cgi?id=840229#c5 and thought that comment indicated that the non-reftestssmall stuff should be there for release branches. But I'm unsure if this is a correct interpretation.
Reporter | ||
Comment 10•11 years ago
|
||
my patch was not intended to revert to regular reftests. If it becomes a pain, maybe we could revert to regular reftests for mozilla-release as that is a branch with little to no traffic and next merge day mozilla-release will have the robocop chunking code and work all happy!
Reporter | ||
Comment 11•11 years ago
|
||
any ideas for how to make this not affect the other tests?
Assignee | ||
Comment 12•11 years ago
|
||
I think this fixes the issue with the reftest plain not being run on tegras in the mozilla-release branch. I looked good on my dev-master.
Attachment #719479 -
Attachment is obsolete: true
Attachment #719626 -
Attachment is obsolete: true
Attachment #719626 -
Flags: review?(bugspam.Callek)
Attachment #720083 -
Flags: review?(bugspam.Callek)
Comment 13•11 years ago
|
||
Comment on attachment 720083 [details] [diff] [review] add chunking support for robocop (v3.0) Review of attachment 720083 [details] [diff] [review]: ----------------------------------------------------------------- The mere fact that this small patch was incredibly hard to figure out what it was doing is enough to make me rage at this files layout. Waaaaay too painful to change this mess.
Attachment #720083 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #720083 -
Flags: checked-in+
Assignee | ||
Comment 14•11 years ago
|
||
green builds!
Assignee: nobody → kmoir
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
Up until now, robocop has been hidden on Panda; this landing changed the buildernames, which caused them to become unhidden (normal for this type of bug) - on inspection, Pandas are failing bug 843947 a lot - but other than that, I think we can actually leave them unhidden after all. Joel, thoughts?
Comment 16•11 years ago
|
||
(Discussed on IRC, have disabled the test and left Panda robocop unhidden, see bug 843947).
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•