Measure PFQ success rate |
||||||||
Issue descriptionIn order to define a PFQ CodeYellow SLO based on PFQ success rate, we need to measure the success rate. I would like to measure the success rate of each individual builder, and of the PFQ master. I think that the SLO should include an average value for the individual builders, and one for the master, e.g. individual builders have a 99% success rate and the master has a 90% success rate.
,
Mar 7 2016
,
Mar 8 2016
In chromite: bin/summarize_build_stats - Looks at the recent performance of different master build types, and summarizes. (also, looks at annotations) bin/build_time_stats - Can be configured to look at various configs, examine their timings or pass/fail rate. A lot of changes lately, this tool is evolving. Both of these are backed by the same mysql database -- cidb. In principle you could build any service you like that queries it. Or, you could extend these scripts.
,
Mar 10 2016
,
Mar 10 2016
,
Mar 11 2016
,
Apr 20 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/chromite/+/bf26542044d0cebf40bd74de663692df9ad5ca91 commit bf26542044d0cebf40bd74de663692df9ad5ca91 Author: Steven Bennetts <stevenjb@chromium.org> Date: Sat Mar 12 01:27:44 2016 Add '--report success' to build_time_stats to generate success rate stats. BUG= chromium:592790 TEST=TBD Change-Id: I734809ed93e4a6f0cc0e2dff0452fcc9808b733a Reviewed-on: https://chromium-review.googlesource.com/332621 Commit-Ready: Steven Bennetts <stevenjb@chromium.org> Tested-by: Steven Bennetts <stevenjb@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> [modify] https://crrev.com/bf26542044d0cebf40bd74de663692df9ad5ca91/lib/build_time_stats.py [modify] https://crrev.com/bf26542044d0cebf40bd74de663692df9ad5ca91/scripts/build_time_stats.py
,
May 2 2016
Example build_time_stats command: ~/chromeos/chromite $ ./bin/build_time_stats --cred-dir ~/Work/prod_cidb_readonly --build-type chrome-pfq --report success --log-level warning --start-date 2016-04-25 --end-date 2016-05-01 --csv > apr_25.csv Stats are being tracked here: https://docs.google.com/spreadsheets/d/1JnEQNEFhnBhncv_COqLC5hQC9Ge9oMjww5Xv-7mzIks/edit#gid=0
,
May 23 2016
Bulk verified |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by steve...@chromium.org
, Mar 7 2016