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

Issue 1812163002: Add log and link aliasing to BuildBot. (Closed)

Created:
4 years, 9 months ago by dnj
Modified:
4 years, 9 months ago
Reviewers:
estaab, Nico, iannucci
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Add log and link aliasing to BuildBot. This adds support for log/url aliases to BuildBot, and augments the annotation engine to extract aliases from specially-formatted STEP_LINK commands. BuildBot will now associate and render a log/url's alias alongside it in the build view. The BuildBot annotation parser will identify STEP_LINK of the form "alias-->orig", and add it as an alias for "orig" called "alias" instead of as a separate URL link. The template and BuildBot changes are intended to be backwards-compatible with currently-running BuildBot instances to allow for master restarts to pick this up gradually. A master that hasn't restarted will render alias annotations as just more links (e.g., "alias-->orig"), should aliases be emitted to that master before it has been restarted. BUG=chromium:595946 TEST=local - First up a custom waterfall / recipe engine, ran, looks decent. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299396

Patch Set 1 #

Total comments: 5

Patch Set 2 : Update unit tests. #

Patch Set 3 : Unused variable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -22 lines) Patch
M masters/master.chromium.perf.fyi/templates/build.html View 1 chunk +18 lines, -4 lines 0 comments Download
M masters/master.chromium/templates/build.html View 1 chunk +16 lines, -2 lines 0 comments Download
M masters/master.chromiumos/templates/build.html View 1 chunk +16 lines, -2 lines 0 comments Download
M masters/master.tryserver.blink/templates/build.html View 1 chunk +16 lines, -2 lines 0 comments Download
M masters/master.tryserver.chromium.linux/templates/build.html View 1 chunk +17 lines, -3 lines 0 comments Download
M masters/master.tryserver.chromium.perf/templates/build.html View 1 chunk +17 lines, -3 lines 0 comments Download
M scripts/master/chromium_step.py View 1 2 chunks +14 lines, -2 lines 0 comments Download
M scripts/master/unittests/annotator_test.py View 1 2 4 chunks +20 lines, -1 line 0 comments Download
M third_party/buildbot_8_4p1/buildbot/status/buildstep.py View 3 chunks +16 lines, -1 line 0 comments Download
M third_party/buildbot_8_4p1/buildbot/status/web/build.py View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/buildbot_8_4p1/buildbot/status/web/templates/build.html View 1 chunk +16 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
dnj
PTAL https://codereview.chromium.org/1812163002/diff/1/masters/master.chromium.perf.fyi/templates/build.html File masters/master.chromium.perf.fyi/templates/build.html (right): https://codereview.chromium.org/1812163002/diff/1/masters/master.chromium.perf.fyi/templates/build.html#newcode156 masters/master.chromium.perf.fyi/templates/build.html:156: {% if s.aliases %} This should protect existing ...
4 years, 9 months ago (2016-03-18 01:52:46 UTC) #2
dnj
Oh also please pay attention to the templates. I think I got them all but, ...
4 years, 9 months ago (2016-03-18 01:53:07 UTC) #3
dnj
On 2016/03/18 01:53:07, dnj wrote: > Oh also please pay attention to the templates. I ...
4 years, 9 months ago (2016-03-18 01:59:37 UTC) #4
iannucci
lgtm
4 years, 9 months ago (2016-03-18 22:21:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812163002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812163002/1
4 years, 9 months ago (2016-03-18 22:41:46 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Build%20Presubmit/builds/3227)
4 years, 9 months ago (2016-03-18 22:49:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812163002/20001
4 years, 9 months ago (2016-03-18 22:56:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812163002/40001
4 years, 9 months ago (2016-03-18 23:01:06 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=299396
4 years, 9 months ago (2016-03-18 23:05:02 UTC) #18
Nico
I see somewhat frequent "step interrupted"s on https://build.chromium.org/p/tryserver.chromium.win/builders/win_clang_x64_dbg/ with stacks looking like so: Traceback (most ...
4 years, 9 months ago (2016-03-21 18:40:42 UTC) #20
dnj
4 years, 9 months ago (2016-03-21 18:56:47 UTC) #21
Message was sent while issue was closed.
> That has this file on the stack, and this file was changed 2 days ago (and
> wasn't before that for months) -- do you think that's related?

Looking at the stack trace, I don't think it's related.

This patch landed at 16:05, but the master wasn't restarted at 18:20 on the
18th. In the meantime, build #221, which started at 16:03, is exhibiting these
symptoms:
https://build.chromium.org/p/tryserver.chromium.win/builders/win_clang_x64_db...

Powered by Google App Engine
This is Rietveld 408576698