Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Latest commit

 

History

History
59 lines (41 loc) · 1.53 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.53 KB

clouseau

Tool to find out some clues after crashes in using data from Socorro, Bugzilla and mercurial.

Results on Firefox code are tracked in a meta bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1396527

Build Status codecov.io

Setup

Install the prerequisites via pip:

sudo pip install -r requirements.txt

Usage

stats

Get crash rates for a given channel.

python -m clouseau.stats -s 2016-05-01 -e 2016-05-07 -c beta -f csv -o /tmp/fx_beta_data.csv

DLL & Addon versions

Get versions of DLLs and addons for a set of crashes.

python -m clouseau.dll_addon_versions -S "JS::Heap<T>::~Heap<T>" -m "roboform.dll" -a "{22119944-ED35-4ab1-910B-E619EA06A115}" -V 47.0 47.0.1 48.0 48.0.1 48.0.2

Graphics critical errors

Get frequency of the different possible graphics critical errors.

python -m clouseau.gfx_critical_errors -c release

For a particular signature:

python -m clouseau.gfx_critical_errors -S "nvd3dum.dll | CD3DDDIDX10::Colorfill" -c release

Running tests

Install test prerequisites via pip:

sudo pip install -r test-requirements.txt

Run tests:

coverage run --source=clouseau -m unittest discover tests/

Credentials

Copy the file config.ini-TEMPLATE into config.ini and fill the token entries.