Buildbot/Talos: Difference between revisions
No edit summary |
(Add an actual section on running tests so that you don't have to hunt through the text looking for a link) |
||
| Line 13: | Line 13: | ||
== Talos Tests == | == Talos Tests == | ||
Information about each test is available in [[Buildbot/Talos/Tests]] or by using the command line switch: ''talos --print-tests'' | Information about each test is available in [[Buildbot/Talos/Tests]] or by using the command line switch: ''talos --print-tests'' | ||
== Running Talos Tests == | |||
[[Buildbot/Talos/Running|See the page on running Talos tests]]. | |||
== Lifecycle of a Performance Test, from push to graph server == | == Lifecycle of a Performance Test, from push to graph server == | ||
Revision as of 13:34, 9 July 2014
Talos
Talos is a python performance testing framework that is usable on Windows, Mac and Linux. Talos is our versatile performance testing framework we use at Mozilla. It was created to serve as a test runner for the existing performance tests that Mozilla was running back in 2007 as well as providing an extensible framework for new tests as they were created.
So, why Talos? Talos is the bronze automaton of Greek myth. Talos protected the island of Crete, throwing giant boulders at unwary seamen. He's also purported to have heated himself glowing hot and then embraced his enemies. Basically, he was awesome.
Talos code lives at http://hg.mozilla.org/build/talos
Talos Tests
Information about each test is available in Buildbot/Talos/Tests or by using the command line switch: talos --print-tests
Running Talos Tests
See the page on running Talos tests.
Lifecycle of a Performance Test, from push to graph server
- Buildbot schedules Talos jobs
- Buildbot runs a talos job on a slave when one is available
- Buildbot downloads the build and talos.zip (found in talos.json)
- Buildbot configures the test and runs it
- After the test is completed the data is uploaded to the Graph Server (and to Datazilla)
- a link to the Graph Server data (ex. tp5) is posted in the log file
- TBPL displays a green (all OK) status and has a link to the graph server
- 13 pushes later, analyze_talos.py is ran which compares your push to the previous 12 pushes and next 12 pushes to look for a regression
- if a regression is found, it will be posted on dev.tree-management
Links
Signal From Noise
The Signal from Noise project is an effort to increase the fidelity of regression detection for performance tests.
Adding a new test
To create a new test you ideally need a webpage(s) that performs the test(s) desired. The results can be a simple alert.
Once you've got that, just talk to the a*team (jhammel or jmaher) and they will handle the majority of the steps required.
Bugs
- Talos bugs are filed under Testing/Talos, such as requests for new tests or repairs to the talos code itself.
- Graph server bugs are filed under Webtools/Graph server.
- Datazilla bugs are filed under Datazilla.
- Talos machine maintenance bugs are filed under mozilla.org/Release Engineering, such as bugs having to do with the hardware that talos is run on or requests to run extra talos tests against a given build.
Subpages
- Definition of tests
- How to use Talos profiling.
- How to Run Talos, and how it is run in production.
- How to run Talos on Mobile/Fennec/Android#talos mobile
- Internals of Talos
- Buildbot/Talos/Counters : Talos counters and auxiliary data (STUB)
- Where the data is stored and how it is calculated
- Specifics of the Data Format
- History and other uses of Talos
Blog posts about Talos
- https://blog.mozilla.org/nfroyd/2012/09/19/looking-at-talos-differently/
- https://blog.mozilla.org/nfroyd/2012/10/05/looking-at-talos-differently-part-2/
- http://armenzg.blogspot.com/2011/12/taloszip-talosjson-and-you.html
- http://ask.mozilla.org/question/45/how-can-i-know-if-my-push-to-try-regresses-talos-results/
- http://limpet.net/mbrubeck/2013/11/10/improving-regression-detection.html
