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 2756193002: Script finding the build bot group for a given shard. (Closed)

Created:
3 years, 9 months ago by eernst
Modified:
3 years, 9 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org, floitsch
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Script finding the build bot group for a given shard. Helping to solve a silly little problem that I've experienced many times: If you learn that there is a problem with a buildbot shard like 'dart2js-linux-drt-2-2-be' it may not be obvious that it should be found on the buildbot status page (go/darto) in the group 'chrome'. I didn't really know any other way than hovering the mouse over a few dozen areas on that web page, hoping that one of them showed that shard name as a tool tip. This CL adds a small script, 'bin/shard2group.dart' to the 'gardening' package, which will find the group from any given (partial) shard name. For instance: > dart bin/shard2group.dart noopt [16:00] vm-precomp(1): vm-noopt-simarm64-mac-be vm-precomp-dev(1): vm-noopt-simarm64-mac-dev vm-precomp-stable(1): vm-noopt-simarm64-mac-stable The number indicates the placement of this shard in the group. The script 'bin/create_shard_groups.dart' transforms the source code for the buildbot web page to the source code for a Dart part file which provides 'bin/shard2group.dart' with the concrete data on the build bots and their shards. R=johnniwinther@google.com Committed: https://github.com/dart-lang/sdk/commit/4181dbee1ea276b3000cab8eb1ec0b2fd985f2ef

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+597 lines, -0 lines) Patch
A tools/gardening/bin/create_shard_groups.dart View 1 chunk +99 lines, -0 lines 0 comments Download
A tools/gardening/bin/shard2group.dart View 1 chunk +33 lines, -0 lines 0 comments Download
A tools/gardening/lib/src/shard_data.dart View 1 chunk +465 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
eernst
Adding a small tool to gardening.
3 years, 9 months ago (2017-03-17 15:04:45 UTC) #2
Johnni Winther
lgtm
3 years, 9 months ago (2017-03-17 15:16:27 UTC) #3
eernst
3 years, 9 months ago (2017-03-17 15:19:29 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
4181dbee1ea276b3000cab8eb1ec0b2fd985f2ef (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698