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

Issue 475943002: Add time and state to builder revision data (Closed)

Created:
6 years, 4 months ago by leviw_travelin_and_unemployed
Modified:
6 years, 4 months ago
CC:
chromium-reviews, Elly Fong-Jones
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Project:
infra
Visibility:
Public.

Description

Add time and state to builder revision data This patch is intended to make it possible to add alerts to sheriff-o-matic for offline and hung bots. Prevoiusly, we'd only output the latest revision information for each bot. This patch also adds a state (offline, idle, or running) and last update time (last completed run if offline, or last started step if running). Committed: https://chromium.googlesource.com/infra/infra/+/afc42290655d4fe804e3466a6875f1111d339025

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add tests and address comments #

Total comments: 6

Patch Set 3 : Fix a couple style issues and address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -9 lines) Patch
M infra/tools/builder_alerts/__main__.py View 3 chunks +4 lines, -4 lines 0 comments Download
M infra/tools/builder_alerts/buildbot.py View 1 2 2 chunks +18 lines, -5 lines 0 comments Download
M infra/tools/builder_alerts/test/buildbot_test.py View 1 2 1 chunk +262 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
leviw_travelin_and_unemployed
This pushes the builder revisions down into another level, so it breaks all consumers of ...
6 years, 4 months ago (2014-08-14 22:35:59 UTC) #1
ojan
eseidel should give this a quick look to make sure it fits in his mental ...
6 years, 4 months ago (2014-08-14 22:47:19 UTC) #2
eseidel
I don't think the latest builder info really needs to be part of builder_alerts at ...
6 years, 4 months ago (2014-08-14 23:01:26 UTC) #3
eseidel
Please add something resembling a test. :) python test.py at the root of the infra ...
6 years, 4 months ago (2014-08-14 23:02:10 UTC) #4
leviw_travelin_and_unemployed
On 2014/08/14 at 23:02:10, eseidel wrote: > Please add something resembling a test. :) > ...
6 years, 4 months ago (2014-08-14 23:48:22 UTC) #5
leviw_travelin_and_unemployed
ptal
6 years, 4 months ago (2014-08-18 16:28:16 UTC) #6
eseidel
please test the None/0 case, but otherwise lgtm https://codereview.chromium.org/475943002/diff/20001/infra/tools/builder_alerts/buildbot.py File infra/tools/builder_alerts/buildbot.py (right): https://codereview.chromium.org/475943002/diff/20001/infra/tools/builder_alerts/buildbot.py#newcode182 infra/tools/builder_alerts/buildbot.py:182: last_update ...
6 years, 4 months ago (2014-08-18 16:35:43 UTC) #7
leviw_travelin_and_unemployed
TY! https://codereview.chromium.org/475943002/diff/20001/infra/tools/builder_alerts/buildbot.py File infra/tools/builder_alerts/buildbot.py (right): https://codereview.chromium.org/475943002/diff/20001/infra/tools/builder_alerts/buildbot.py#newcode182 infra/tools/builder_alerts/buildbot.py:182: last_update = float(0) On 2014/08/18 16:35:43, eseidel wrote: ...
6 years, 4 months ago (2014-08-18 18:39:03 UTC) #8
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 4 months ago (2014-08-18 18:50:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/475943002/40001
6 years, 4 months ago (2014-08-18 18:51:00 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 18:51:12 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (40001) as afc42290655d4fe804e3466a6875f1111d339025

Powered by Google App Engine
This is Rietveld 408576698