Closed Bug 1131450 Opened 5 years ago Closed 5 years ago

gecko: Add support for running N chunks in a given test suite...

Categories

(Taskcluster :: General, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlal, Assigned: jlal)

References

Details

Attachments

(1 file, 1 obsolete file)

I knew this was missing when I implemented the first draft here but never filed a bug! mchang hit this early on this is important feature for debugging/etc..

Implementing this is fairly trivial but we may need to do some refactoring now that the surface of mach_commands.py is getting huge... 

I think it works like this:

Parse all flags... if flag ends in -<number> lookup flag in test suites if it matches validate length of chunk against our configuration (if chunk is out of bounds _fail_ the task graph)
Assignee: nobody → jlal
/r/3667 - Bug 1131450 - Implement chunk specific scheduling for tests r=garndt

Pull down this commit:

hg pull review -r 5c9cc1f0551e09c98bf8dfbed979ee1c737b1ed7
Attachment #8562240 - Flags: review?(garndt)
updated try for specific chunks: https://treeherder.allizom.org/#/jobs?repo=try&revision=0c0108261ca6

Note that argparse does not like random spaces between args so you cannot use spaces between commas here...
Attachment #8562240 - Flags: review?(garndt) → review+
Comment on attachment 8562240 [details]
MozReview Request: bz://1131450/lightsofapollo

https://reviewboard.mozilla.org/r/3665/#review2917

Ship It!
https://hg.mozilla.org/mozilla-central/rev/c0d09f810013
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Attachment #8562240 - Attachment is obsolete: true
Attachment #8619417 - Flags: review+
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: mozilla38 → mozilla41
Version: unspecified → Trunk
Resetting Version and Target Milestone that accidentally got changed...
Target Milestone: mozilla41 → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.