aboutsummaryrefslogtreecommitdiff
path: root/generate-waterfall-reports.py
AgeCommit message (Collapse)Author
2017-08-03[toolchain-utils] update script to generate waterfall reports.Caroline Tice
This CL updates the script that generates the toolchain team daily waterfall reports: It adds an --email option, to specify an alternate person to receive the report; it removes the waterfall builders we no longer care about; and it doesn't attempt to update report data when the URL file is inaccessible. This is part of the work to make these run automatically every day. BUG=chromium:749962 TEST=Ran script in my directory and it worked. Change-Id: Iaf7c763ee8b7e3f6d32fd617cf511713dcd892ce Reviewed-on: https://chromium-review.googlesource.com/599005 Commit-Ready: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org>
2017-05-25Remove toolchain_tests from the report.Luis A. Lozano
We don't use that suite anymore. So, remove it from the report. It was causing an exception. BUG=None TEST=Generated report without any issues. Change-Id: Ie1c42b47a53e4d6e8a2665fdfba91d8d2ac963dc Reviewed-on: https://chromium-review.googlesource.com/511866 Commit-Ready: Luis Lozano <llozano@chromium.org> Tested-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org>
2017-04-08[toolchain-utils] Fix remaining lint errors in toolchain-utils.Caroline Tice
In addition to fixing the lint errors, this also fixes the Python formatting issues (ran tc_pyformat on nearly all the files). BUG=chromium:570450 TEST=Ran all crosperf & bisect tool unit tests. Ran afe_lock_machine.py (check machine status) Ran full crosperf test (octane, speedometer, BootPerf) on alex. Change-Id: Ic86f9192801ac67769f3de30f1c5f0d203ce0831 Reviewed-on: https://chromium-review.googlesource.com/471886 Commit-Ready: Caroline Tice <cmtice@chromium.org> Tested-by: Caroline Tice <cmtice@chromium.org> Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
2016-12-15toolchain-utils: Enable to print waterfall summary by date.Yunlian Jiang
BUG=chromium:674727 TEST=the '--date' option is added. Change-Id: Ia28faa8fd41145fbb27b79065518eb68da654f90 Reviewed-on: https://chrome-internal-review.googlesource.com/311924 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2016-12-15Remove local references to cmtice files.Manoj Gupta
Previous change to script left references to test directories in personal location. BUG=None TEST=No error when fetching files Change-Id: I33347a0fc2a09ccb66ae2e8a4b229f5adaf29aaf Reviewed-on: https://chrome-internal-review.googlesource.com/311869 Commit-Ready: Manoj Gupta <manojgupta@google.com> Tested-by: Manoj Gupta <manojgupta@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2016-12-15Add argument options to waterfall summary report.Caroline Tice
Now there are options to generate just the main waterfall report, or just the rotating builders report, with or without the failures section; or just the failures report section. There's also the option to NOT update the data files (makes it easier to re-run reports). Also, replaces the llvm rotating builder with the llvm-next rotating builder. BUG=chromium:673833 TEST=Tested in my directory. Change-Id: If784758112c36c3d18c4b292f9229b53b047848c Reviewed-on: https://chrome-internal-review.googlesource.com/311775 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2016-12-14Check for prodacess before running waterfall summary report.Manoj Gupta
Check if prodaccess has not expired. If it is expired, error out and ask to run prodacess. BUG=chromium:674218 TEST=Locally tested Change-Id: I20129c69c17956ed6edda57949ea49546c9b1d85 Reviewed-on: https://chrome-internal-review.googlesource.com/312040 Commit-Ready: Manoj Gupta <manojgupta@google.com> Tested-by: Manoj Gupta <manojgupta@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2016-12-06generate-waterfall-reports: use full path to sendgmr.Rahul Chaudhry
Use the sendgmr binary from x20. The user running the script may not have (and does not need to have) sendgmr installed on the local workstation. BUG=None TEST='Email sent by the script arrived in Inbox' Change-Id: Ie642dea6317bdd3d5517ef4a383c8bae7b496f15 Reviewed-on: https://chrome-internal-review.googlesource.com/310215 Commit-Ready: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
2016-12-01[toolchain-utils] Update waterfall report (email, archive, pruning).Caroline Tice
The CL udpates the waterfall summary report script to: 1). Send an email containing the reports to whoever ran the script; 2). Copy the generated reports to /google/data/rw/users/mo/mobiletc-prebuild/waterfall-reports so everyone on the team can see all the reports; 3). Prunes failures that are older than 7 days from the failure dictionary. BUG=None TEST=Tested in my own directory. Change-Id: I624f2f6f7575bd1095969282e8cdcec4558b9191 Reviewed-on: https://chrome-internal-review.googlesource.com/308300 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2016-11-29[toolchain-utils] Add test suite colors to waterfall report.Caroline Tice
This CL updates the daily waterfall summary report with the color of each test suite (green = all passed, red = something failed, orange = all passed, with some retries). BUG=None TEST=Tested generating the reports in my own tree. Change-Id: I4747ec505a8991e638667ba9744e2572a85c0c4e Reviewed-on: https://chrome-internal-review.googlesource.com/307858 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>
2016-11-22[toolchain-utils] Add new script for generating waterfall reports.Caroline Tice
There are still things that should be done to improve this, but the basic script is working now. BUG=chromium:649175 TEST=Tested extensively in my account. Change-Id: I4b0e833d635047293b74b7971a1b5d3f2676b440 Reviewed-on: https://chrome-internal-review.googlesource.com/305905 Commit-Ready: Caroline Tice <cmtice@google.com> Tested-by: Caroline Tice <cmtice@google.com> Reviewed-by: Yunlian Jiang <yunlian@google.com>