Closed Bug 1345980 Opened 8 years ago Closed 8 years ago

Add test-type tags to all mochitest job types

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla55

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(1 file, 2 obsolete files)

This is necessary for us so that the treeherder side of the actions triggering code can recognize them as being retriggerable (right now we're only doing this for plain)
Comment on attachment 8845599 [details] Bug 1345980 - Mark up all taskcluster mochitest jobs with tag 'test-type: mochitest' https://reviewboard.mozilla.org/r/118732/#review120668 Jonas will be glad to see tags getting some use. Is this just for these specific test suites, or for all mochitests, or ..? I'm wondering if this wouldn't be better accomplished with a transform based on the suite.
Comment on attachment 8845599 [details] Bug 1345980 - Mark up all taskcluster mochitest jobs with tag 'test-type: mochitest' https://reviewboard.mozilla.org/r/118732/#review120668 Good idea! I hadn't heard of transforms before. Created one which I think should do the trick. :)
Comment on attachment 8845599 [details] Bug 1345980 - Mark up all taskcluster mochitest jobs with tag 'test-type: mochitest' https://reviewboard.mozilla.org/r/118732/#review120692 A more concise way to say the same thing. Nice work! ::: taskcluster/taskgraph/transforms/tests.py:373 (Diff revision 2) > > @transforms.add > +def set_mochitest_test_type(config, tests): > + for test in tests: > + if type(test['suite']) == str and test['suite'].startswith('mochitest'): > + tags = test.get('tags', {}) test.setdefault('tags', {})['test-type'] = 'mochitest'
Attachment #8845599 - Flags: review?(dustin) → review+
Pushed by wlachance@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32c79b4aeaaa Mark up all taskcluster mochitest jobs with tag 'test-type: mochitest' r=dustin
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Depends on: 1346333
Comment on attachment 8846076 [details] [review] [treeherder] wlach:1342495 > mozilla:master Argh, ignore that.
Attachment #8846076 - Attachment is obsolete: true
Comment on attachment 8846077 [details] [review] [treeherder] wlach:1342495 > mozilla:master oh autolander...
Attachment #8846077 - Attachment is obsolete: true
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: