Closed
Bug 909735
(Ouija)
Opened 11 years ago
Closed 7 years ago
Develop Ouija, a utility for failure rate analysis
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: dminor, Assigned: gbrown)
References
Details
Some initial work has put together Ouija (currently located at http://54.215.155.53/) a utility for failure rate analysis. To start with, we're interested in tracking failures by product, by test type, and by individual test machines.
The repository is located at: https://github.com/dminor/ouija
Comment 1•11 years ago
|
||
The script at https://github.com/dminor/ouija/blob/master/src/updatedb.py hasn't be an chance been running heavily against production TBPL the last few weeks? Just wondering if it was the cause of bug 897903, which has been causing issues with sheriffs using TBPL... :-s
Reporter | ||
Comment 2•11 years ago
|
||
Ed, I've been running it once a week to get data for my Wednesday testing meeting, typically just to grab logs from mozilla-central. If all of the problems occur around 10 AM EST, then you can blame me.
Comment 3•11 years ago
|
||
Ah once a week is ok - I didn't know if we were running it on a 5 min cron or something :-)
Reporter | ||
Comment 4•11 years ago
|
||
More seriously, do you forsee problems if I were to set a cron job to run daily to grab the previous day's data? Right now I'm running weekly to grab the previous week's data, so it shouldn't be that much worse.
Comment 5•11 years ago
|
||
No that should be fine :-)
Comment 6•11 years ago
|
||
would there be a concern with running this update script more frequently? say every 4 hours? Once a day is adequate, 5 minutes would be awesome, but overkill.
Comment 7•11 years ago
|
||
Roughly how many calls to getRevisionBuilds.php does it do on each run?
Comment 8•11 years ago
|
||
Also, is there a reason we can't host this somewhere and give it direct access to the TBPL DB, to save having to poll and store somewhere else?
Reporter | ||
Comment 9•11 years ago
|
||
Since we're calculating summary data for around a week's worth of commits, I think it ends up being less of a burden on tbpl to poll and store elsewhere rather than fetching the required data every time we generate a page.
I could be wrong about that, considering we are polling data for every platform, but only presenting data for android2.2 and android4.0 at the moment.
jmaher may have other ideas, but I was thinking we would just drop data older than a month or two to prevent excessive storage.
Comment 10•11 years ago
|
||
We could still cache the data Ouija (or even an additional TBPL table), and just run the query every N hours :-)
Comment 11•11 years ago
|
||
(Accessing the DB directly would avoid a query with lots of joins x every push x every tree for the last N days)
Comment 12•11 years ago
|
||
I think hosting it and accessing the tbpl db would be great. For now, a daily cron job would have limited impact and allow us to develop queries and useful views on the data.
I can easily see us looking at weekly trends over a quarter or previous 12 week window. having data >6 months old, not really useful. This is intended to point out current trends in automation, not necessarily historical trends.
Maybe when tree-herder is released we could talk about adding some of these features into it. I really like the idea of having something that doesn't require VPN access and somebody can hack locally. This is a really easy project to onboard with!
Comment 13•11 years ago
|
||
Sounds good to me :-)
(And as for treeherder, much of the features I understand Ouija to offer, are either already on the cards, or at the least we've incorporated them into the design spec for schema etc).
Updated•10 years ago
|
Alias: Ouija
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•