Mozci

Mozci is an object oriented library aimed at making it easier to analyze pushes and tasks in Mozilla’s CI system. Basic usage involves instantiating a Push object then accessing the attributes and calling the functions to retrieve the desired data of this push. For example:

from mozci.push import Push

push = Push("79041cab0cc2", branch="autoland")
print("\n".join([t.label for t in push.tasks if t.failed])

The above snippet prints the failed tasks for a given push. Mozci uses data from a variety of sources, including Active Data, hg.mozilla.org and decision task artifacts.

See the API docs for more details.

Indices and tables