Closed
Bug 1159594
Opened 10 years ago
Closed 10 years ago
Enable B and Gij test suite for TV on Treeherder
Categories
(Taskcluster :: General, defect)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rickychien, Assigned: chens)
References
Details
Attachments
(1 file)
As title described, to protect TV features to break our code base, Gaia integration test should be enabled by default for supporting stability.
Since build process of TV is different from original phone build, we have to pass different ENV parameters while trying a tv build.
I don't know what treeherder would look like after enabling TV tests. Do you guys have any ideas about it?
Thanks!
Flags: needinfo?(coop)
Comment 1•10 years ago
|
||
Passing the buck to sheriffs and a-team who can answer your treeherder questions better than I.
Component: General Automation → Treeherder
Flags: needinfo?(coop)
Product: Release Engineering → Tree Management
QA Contact: catlee
Version: unspecified → ---
Comment 2•10 years ago
|
||
James Lal's (jlal@mozilla.com) FirefoxOS automation team is probably the best first point of contact, as they've made other Gaia/B2G stuff submit to treeherder.
Comment 3•10 years ago
|
||
CC'ing James here
Updated•10 years ago
|
Component: Treeherder → TaskCluster
Product: Tree Management → Testing
Version: --- → unspecified
Comment 4•10 years ago
|
||
Moved to Taskcluster, treeherder doesn't schedule tests
Reporter | ||
Comment 5•10 years ago
|
||
Hi James, do you know how a-team can help us enable new B and Gij test suite on treeherder? Thanks!
Flags: needinfo?(jlal)
Reporter | ||
Comment 6•10 years ago
|
||
Hi Aus, could you provide some suggestions here thanks!
Flags: needinfo?(jlal) → needinfo?(aus)
Comment 7•10 years ago
|
||
B tests should be simple. Add a new build test for the TV target or, simply change the environment and call the correct make target you wish to test. This is probably the test file you want to add your test to right here:
Gij test run as it currently exists is defined here (https://github.com/mozilla-b2g/gaia/blob/master/tests/taskcluster/tasks/marionette_js_tests.yml).
The best way to get your own run of the test suite with the correct environment would be to copy the existing Gij definition file and use it as the base for the TV Gij suite. The filename is important, you need it later, maybe something like marionette_js_tv_tests.yml.
You will want to edit the name and description, add your environment variables under "env:" and change the treeherder groupSymbol used (maybe something like TVGij... or whatever you think is appropriate.
Last thing, edit this file here: https://github.com/mozilla-b2g/gaia/blob/master/tests/taskcluster/tasks.yml and add a section like this:
marionette_js_tv_tests:
chunks: 30
Make sure there's an empty line before and after the content. The filename you chose previously when copying marionette_js_tests.yml is what you use *without* the .yml part.
I'm happy to review your changes once you have a patch (pull requests / gaia-try will work to test all this too, btw)
Flags: needinfo?(aus)
Comment 8•10 years ago
|
||
FTR- If your adding a new suite to gaia and it's green feel free to land without a R? from us if needed. This means you are owners of the suite (which is great :)) but if something needs to be turned off for some reason we will get a hold of you.
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Aus, could you review this patch on tasks.yml and marionette_js_tv_tests.yml? thanks.
Attachment #8607400 -
Flags: review?(aus)
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Ricky, John, could you take a look on it and give some feedback? this patch add test options to gaia integration test and run on gij-tv test suites.
Attachment #8607400 -
Flags: feedback?(ricky060709)
Attachment #8607400 -
Flags: feedback?(im)
Comment 12•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Looks good to me for those integration tests. Thanks.
Attachment #8607400 -
Flags: feedback?(im) → feedback+
Reporter | ||
Comment 13•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
f+ for the patch.
I'm glad to see TC team's great work. Gaia developers could interact with these test suites straightforwardly without submitting any mozharness patch. I can see GijTV is running on treeherder now!! \o/
Attachment #8607400 -
Flags: feedback?(ricky060709)
Attachment #8607400 -
Flags: feedback?(im)
Attachment #8607400 -
Flags: feedback+
Reporter | ||
Updated•10 years ago
|
Attachment #8607400 -
Flags: feedback?(im) → feedback+
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → chens
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•10 years ago
|
||
Currently tv don't have much tests to run on so removed chunks option in marionette_js_tv_tests task, we could add chunks back when tv tests grow.
One more thing to notice, currently chunks are divided and sorted by test files[1], that means tv tests will still sit in the same chunk even we increased number of chunks, we may need proper way to fix it in the future.
[1]: https://github.com/mozilla-b2g/gaia/blob/master/bin/gaia-marionette#L65-L67
Comment 15•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Overall this looks good but I have some questions and comments in the GitHub PR :) You can set the review flag again once we're ready to have another look.
Attachment #8607400 -
Flags: review?(aus) → feedback+
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Aus, I've answered those question and would you like to review again? thanks!
Attachment #8607400 -
Flags: review?(aus)
Comment 17•10 years ago
|
||
Comment on attachment 8607400 [details] [review]
[gaia] shamenchens:Bug1159594-EnableTvTestSuite > mozilla-b2g:master
Looks good! Thanks for taking the time to answer my questions. It was very helpful. :)
Attachment #8607400 -
Flags: review?(aus) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 18•10 years ago
|
||
Autolander could not locate a review from a user within the suggested reviewer list. Either the patch author or the reviewer should be in the suggested reviewer list.
Assignee | ||
Comment 19•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Component: TaskCluster → General
Product: Testing → Taskcluster
Target Milestone: --- → mozilla41
Version: unspecified → Trunk
Comment 20•10 years ago
|
||
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.
Description
•