It was also a good exercise for students to have to read and ask questions about what was not clear and give lots to read about the project.
I want to share this and another project definition in case it is useful for others.
----------------------------------
We want to rewrite SETA to be easy to deploy through Heroku and to support TaskCluster (our new continuous integration system) [0].
Please read carefully this document before starting to ask questions. There is high interest in this project and it is burdensome to have to re-explain it to every new prospective student.
Main mentor: armenzg (#ateam)
Co-mentor: jmaher (#ateam)
Please read jmaher’s blog post carefully [1] before reading anymore.
Now that you have read jmaher’s blog post, I will briefly go into some specifics.
SETA reduces the number of jobs that get scheduled on a developer’s push.
A job is every single letter you see on Treeherder. For every developer’s push there is a number of these jobs scheduled.
On every push, Buildbot [6] decides what to schedule depending on the data that it fetched from SETA [7].
The purpose of this project is two-fold:
- Write SETA as an independent project that is:
- maintainable
- more reliable
- automatically deployed through Heroku app
- Support TaskCluster, our new CI (continuous integration system)
NOTE: The current code of SETA [2] lives within a repository called ouija.
Ouija does the following for SETA:
- It has a cronjob which kicks in every 12 hours to scrape information about jobs from every push
- It takes the information about jobs (which it grabs from Treeherder) into a database
SETA then goes a queries the database to determine which jobs should be scheduled. SETA chooses jobs that are good at reporting issues introduced by developers. SETA has its own set of tables and adds the data there for quick reference.
Involved pieces for this project:
- Get familiar with deploying apps and using databases in Heroku
- Host SETA in Heroku instead of http://alertmanager.allizom.org/seta.html
- Teach SETA about TaskCluster
- Change the gecko decision task to reliably use SETA [5][6]
- If the SETA service is not available we should fall back to run all tasks/jobs
- Document how SETA works and auto-deployments of docs and Heroku
- Write automatically generated documentation
- Add auto-deployments to Heroku and readthedocs
- Add tests for SETA
- Add tox/travis support for tests and flake8
- Re-write SETA using ActiveData [3] instead of using data collected by Ouija
- Make the current CI (Buildbot) use the new SETA Heroku service
- Create SETA data for per test information instead of per job information (stretch goal)
- On Treeherder we have jobs that contain tests
- Tests re-order between those different chunks
- We want to run jobs at a per-directory level or per-manifest
- Add priorities into SETA data (stretch goal)
- Priority 1 gets every time
- Priority 2 gets triggered on Y push
[8] http://alertmanager.allizom.org/seta.html
This work by Zambrano Gasparnian, Armen is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
No comments:
Post a Comment