Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 402603007: Get sheriff-o-matic data from auto-sheriff.appspot.com. (Closed)

Created:
6 years, 5 months ago by ojan
Modified:
6 years, 5 months ago
CC:
abarth-chromium, blink-reviews, Dirk Pranke, eseidel, esprehn, leviw_travelin_and_unemployed, michaelpg, szager1
Project:
blink
Visibility:
Public.

Description

Get sheriff-o-matic data from auto-sheriff.appspot.com. This moves the logic of which tests are failing and their regression ranges to the server. This makes the tool much faster to load. Having it on the server makes it so that multiple tools can use this data. Also, the data on the server has all the data we need for non-layout test steps, so extending sheriff-o-matic will be very easy once we have this in place. NOTRY=true R=abarth@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178597

Patch Set 1 #

Patch Set 2 : Add RevisionLog model object #

Patch Set 3 : remove config.js change #

Patch Set 4 : rebase to https://codereview.chromium.org/404463003 #

Patch Set 5 : remove duplicate copyright header #

Patch Set 6 : update and delete old code #

Total comments: 15

Patch Set 7 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -2605 lines) Patch
M Tools/GardeningServer/model/ct-commit.html View 1 2 3 4 5 6 2 chunks +12 lines, -2 lines 0 comments Download
M Tools/GardeningServer/model/ct-commit-log.html View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M Tools/GardeningServer/model/ct-commit-mock.html View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/run-unittests.html View 1 2 3 4 5 6 1 chunk +0 lines, -7 lines 0 comments Download
D Tools/GardeningServer/scripts/base.js View 1 2 3 4 5 1 chunk +0 lines, -55 lines 0 comments Download
D Tools/GardeningServer/scripts/builders.js View 1 2 3 4 5 1 chunk +0 lines, -128 lines 0 comments Download
D Tools/GardeningServer/scripts/builders_unittests.js View 1 2 3 4 5 1 chunk +0 lines, -844 lines 0 comments Download
M Tools/GardeningServer/scripts/config.js View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
D Tools/GardeningServer/scripts/model.js View 1 2 3 4 5 1 chunk +0 lines, -162 lines 0 comments Download
D Tools/GardeningServer/scripts/model_unittests.js View 1 2 3 4 5 1 chunk +0 lines, -208 lines 0 comments Download
M Tools/GardeningServer/scripts/results.js View 1 2 3 4 5 5 chunks +1 line, -284 lines 0 comments Download
M Tools/GardeningServer/scripts/results_unittests.js View 1 2 3 4 5 4 chunks +0 lines, -397 lines 0 comments Download
D Tools/GardeningServer/scripts/svn-log.js View 1 2 3 4 5 1 chunk +0 lines, -145 lines 0 comments Download
D Tools/GardeningServer/scripts/svn-log_unittests.js View 1 2 3 4 5 1 chunk +0 lines, -292 lines 0 comments Download
M Tools/GardeningServer/ui/ct-builder-grid.html View 1 2 3 4 5 6 1 chunk +4 lines, -7 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit.html View 1 2 3 4 5 6 2 chunks +2 lines, -10 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit-tests.html View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-analyzer.html View 1 2 3 4 1 chunk +63 lines, -30 lines 0 comments Download
M Tools/GardeningServer/ui/ct-sheriff-o-matic.html View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M Tools/GardeningServer/ui/ct-unexpected-failures.html View 1 2 3 4 5 6 4 chunks +2 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
ojan
This isn't ready. It needs all the TODO(ojan) fixed, tests and probably some other assorted ...
6 years, 5 months ago (2014-07-18 02:17:37 UTC) #1
ojan
Eric commented that this is a lot of code...that's because I felt like I needed ...
6 years, 5 months ago (2014-07-18 21:30:28 UTC) #2
ojan
Rebased to https://codereview.chromium.org/404463003. But, I can't test it at the moment because auto-sheriff.appspot is down. ...
6 years, 5 months ago (2014-07-19 02:18:41 UTC) #3
eseidel
auto-sheriff is back (and updating now), sorry for the outage. On Fri, Jul 18, 2014 ...
6 years, 5 months ago (2014-07-20 05:57:35 UTC) #4
eseidel
Sorry. Still down. Will fix in AM. On Sat, Jul 19, 2014 at 10:57 PM, ...
6 years, 5 months ago (2014-07-20 07:25:57 UTC) #5
eseidel
Finally actually fixed. I'll work on getting it into src.chromium.org this week. On Sun, Jul ...
6 years, 5 months ago (2014-07-20 19:38:47 UTC) #6
ojan
This is now ready for review. Still depends on https://codereview.chromium.org/404463003 though. This patch looks huge ...
6 years, 5 months ago (2014-07-21 00:44:57 UTC) #7
abarth-chromium
This looks like a great start. There are still a bunch of things to polish, ...
6 years, 5 months ago (2014-07-21 06:44:18 UTC) #8
ojan
https://codereview.chromium.org/402603007/diff/100001/Tools/GardeningServer/model/ct-commit.html File Tools/GardeningServer/model/ct-commit.html (right): https://codereview.chromium.org/402603007/diff/100001/Tools/GardeningServer/model/ct-commit.html#newcode16 Tools/GardeningServer/model/ct-commit.html:16: CTCommit.prototype.url = function() { I really dislike getters. They ...
6 years, 5 months ago (2014-07-21 22:46:14 UTC) #9
ojan
Committed patchset #7 manually as r178597 (tree was closed).
6 years, 5 months ago (2014-07-21 22:46:16 UTC) #10
eseidel
The reason I added test_name:type instead of making it a dict was that if I ...
6 years, 5 months ago (2014-07-21 23:04:09 UTC) #11
ojan
6 years, 5 months ago (2014-07-21 23:06:24 UTC) #12
Message was sent while issue was closed.
On 2014/07/21 at 23:04:09, eseidel wrote:
> The reason I added test_name:type instead of making it a dict was that if I
made it a dict I had to solve the name != key problem.  Right now I use
test_name (really "reason") as the key when grouping failures.  I can separate
those two.  But I'd have to answer the qeustion of if type was part of the key
or not.  I embedded it in the name, thus embedding it in the key and punted on
that problem for now.

Punting is totally fine for now. FWIW, I think the desired behavior is to use
just the test name as the key when grouping failures.

Powered by Google App Engine
This is Rietveld 408576698