Граф коммитов

997 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick 65ce2dd68d dashboard: restore darwin-386 buidler
Fixes golang/go#17009

Change-Id: Ia9008bcb7b47b7671c158c1a00afc4e765805e4e
Reviewed-on: https://go-review.googlesource.com/41617
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-24 23:06:23 +00:00
Brad Fitzpatrick 4f5eef0322 cmd/coordinator: make linux-amd64-racecompile rebuild std/cmd with -c=128
Updates golang/go#19962

Change-Id: I8b938a39b33d4e6b9b8dc5bc0802da95e889ee46
Reviewed-on: https://go-review.googlesource.com/41613
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2017-04-24 21:43:25 +00:00
Brad Fitzpatrick 97a4f81784 dashboard: retire windows-amd64-gce builder, replace with windows-amd64-2008
The windows-amd64-2008 is the same OS as windows-amd64-gce but is an
auto-generated image.

TODO: 386 auto-generated Windows builders, and then maybe we'll move
TryBots to Windows Server 2016. One step at a time. This should be a
no-op.  I verified performance is the same.

Updates golang/go#17513

Change-Id: I34984db14b87d03771e15465978b1687df6895f7
Reviewed-on: https://go-review.googlesource.com/41611
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-24 20:35:01 +00:00
Brad Fitzpatrick da19ce050f cmd/coordinator, cmd/buildstats: start of using logs to schedule tests
We've been logging event spans to datastore for years, but I'd lost
this CL and just found it back. This does two things: syncs the
datastore logs to BigQuery, and starts to use the from-BigQuery timing
info in the coordinator for scheduling sharded tests.

The plan was to have a job occasionally do a BigQuery query and write
out the results to a CSV file on GCS. The code to read that CSV file
is in this CL, but that code path is disabled, so this CL should be a
no-op.

A future change will periodically do the query and write the CSV file,
and then we can start using the new code path and remove the static
map of expected test durations.

Updates golang/go#12669

Change-Id: Ibe5b41d6a3009c2ade8ab728fa1cad646788e621
Reviewed-on: https://go-review.googlesource.com/30716
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-24 15:37:51 +00:00
Brad Fitzpatrick 02f4f0b2fd cmd/buildstats: update after BigQuery package changes
Change-Id: Id357269887892312451d445184ce24062edb6285
Reviewed-on: https://go-review.googlesource.com/41498
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-24 00:03:07 +00:00
Brad Fitzpatrick bfca87f98f dashboard, cmd/coordinator: add -racecompile builder
Change-Id: Idc5756f82081de6b5dfd17036f2bfc9cf11c5659
Reviewed-on: https://go-review.googlesource.com/41414
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
2017-04-22 16:07:10 +00:00
Brad Fitzpatrick acd9ecfc7a dashboard: add configs for new windows 2008, 2012, 2016 builders
See also: https://golang.org/cl/41142

Updates golang/go#17513

Change-Id: Ie743ae4604e65892e28423ed0af008450b647197
Reviewed-on: https://go-review.googlesource.com/41393
Reviewed-by: Jeff Johnson <jrjohnson@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2017-04-21 23:29:29 +00:00
Quentin Smith 0d86378958 cmd/coordinator: run benchmarks on try work
Benchmarks are treated as unit tests and distributed to the test
helpers, which allows them to fit in our 5m trybot budget.

Currently we only run the go1 and x/benchmarks. Running package
benchmarks is a TODO.

This feature is disabled by default, and is enabled by the
"farmer-run-bench" project attribute.

Updates golang/go#19178
Updates golang/go#19871

Change-Id: I9c3a14da60c3662e7e2cb4e71953060915cc4364
Reviewed-on: https://go-review.googlesource.com/38306
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-21 21:46:22 +00:00
Quentin Smith 825e158757 cmd/coordinator: fix sanity check
Change-Id: I2ba47f767f8213687b49e057a24d078c4512a5a2
Reviewed-on: https://go-review.googlesource.com/41373
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-21 21:32:37 +00:00
Kevin Burke 6ce140accf maintner: fix another panic
You can trigger this by creating a Corpus and only adding Gerrit
repositories to it. These call parseGithubRefs, but c.github.repos
is never initialized, so that function panics when you try to get
c.github.repos.

I'm a little worried I've triggered two of these recently; maybe it's
worth it to initialize the data structures earlier instead of
lazy-loading them.

Change-Id: I8f80c0947d320aef0dd9391586c306460ac77eea
Reviewed-on: https://go-review.googlesource.com/41305
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-21 17:29:33 +00:00
Kevin Burke eb48cb90eb maintner: shorten log message about comments
We print the entire reponse from Github when we log messages about how
many comments were found, which seems unnecessary - the most useful
bit of information is the number of comments found. Also print the
issue number we're fetching comments for.

Change-Id: I5eca0ea1e4ea737642a535b61a8dd65838b44773
Reviewed-on: https://go-review.googlesource.com/41301
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-21 17:29:13 +00:00
Kevin Burke 022bf90f00 maintner: fix un-initialized github panic
Previously processGithubIssueMutation called initGithub, but
processGithubMutation did not, so if your on-disk mutation file had
a GithubMutation before a GithubIssueMutation, c.github would be nil
and Initialize() would panic.

Call initGithub from processGithubMutation and add a test to protect
against regressions.

Change-Id: Ie706fa04cb8ea87c2e0259dbee024c0005f0523f
Reviewed-on: https://go-review.googlesource.com/41298
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-21 05:53:41 +00:00
shawnps a98587f60c cmd/buildlet: remove unused reverseModeBuildKey var
Change-Id: I774651dc1769352f11cf13d15c3f5a8a11a537e3
Reviewed-on: https://go-review.googlesource.com/34975
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-20 22:23:13 +00:00
shawnps dfe24b2756 cmd/builder: remove unused constants, vars, and function
Change-Id: I50d79135e6f686c3095a45793352dfae1cdadc71
Reviewed-on: https://go-review.googlesource.com/34972
Reviewed-by: Dan Peterson <dpiddy@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-20 21:00:46 +00:00
Jess Frazelle 30f6724414 maintner/maintnerd: change Dockerfile to FROM scratch
Before:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/maintnerd     786MB

After:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/maintnerd     8.85MB

Updates golang/go#18817
Updates golang/go#19866

Change-Id: Ibfdadbaf043e44b26d5807c1da45746e934a7dce
Reviewed-on: https://go-review.googlesource.com/40572
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-04-20 20:34:59 +00:00
Brad Fitzpatrick 6c1beccd3b cmd/coordinator: support limiting number of builds at once
Change-Id: Icd0054f2b943abf2e8a15c32d358ff06541f75f7
Reviewed-on: https://go-review.googlesource.com/41130
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-19 21:22:20 +00:00
Brad Fitzpatrick d168efcd9e cmd/buildlet/stage0: add untar mode
The new untar package will be shared by the buildlet later.

Change-Id: I7a33bf46e5cb6b7e5abd59613bb943039c84aa08
Reviewed-on: https://go-review.googlesource.com/41131
Reviewed-by: Jeff Johnson <jrjohnson@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-19 21:16:09 +00:00
Sarah Adams cd62929b50 env/linux-arm64/linaro: update for new builder
Change-Id: I272831718d04885ddb0d9a0198691c4cedd9b3dc
Reviewed-on: https://go-review.googlesource.com/40690
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-19 18:18:46 +00:00
Brad Fitzpatrick 021a49dc4f cmd/gopherbot: table-ify gopherbot tasks, start of daemon mode
Change-Id: I147a806c00e4c0de66b4ae490d838d7a3ac42daf
Reviewed-on: https://go-review.googlesource.com/40971
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-18 21:54:19 +00:00
Brad Fitzpatrick 1eecef36c8 cmd/gopherbot: mention gerrit CLs on Github (cl2issue port)
This adds indexing of Github mentions to maintner, then adds gopherbot
functionality to say "CL https://golang.org/cl/NNNN mentions this issue."
on Github when a Gerrit CL references it.

Also the start of the cherry-pick milestone bot which needs the same
Github issue reference tracking. But that part's only barely started
and still disabled.

Fixes golang/go#18818
Updates golang/go#19776

Change-Id: Ie5f7f6845317a7c39cc36d7397c7539bf99c3f92
Reviewed-on: https://go-review.googlesource.com/39352
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-18 05:39:29 +00:00
Brad Fitzpatrick bce074b887 gerrit: switch to use std context package, require Go 1.7+
This ends support for Go 1.6.

Change-Id: If7765a15add556a5a7a881b24b1a38d96ff10841
Reviewed-on: https://go-review.googlesource.com/40938
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-18 05:16:09 +00:00
Kevin Burke 481d0dc16f devapp: initial support for App Engine Flex
devapp now supports 3 modes of operation:

- App Engine Standard. This supports Go 1.6 and requires a modified
  local go-github to continue working. This app is built with the
  "appengine" build tag.

- App Engine Flex. This builds Go 1.8 in a Docker container, using the
  build tag "appenginevm", and works with the Google Cloud platform.

- Normal. This uses an in-memory datastore, and does not
  support user login/logout.

To get this working I copied appengine.go to noappengine.go and
modified the calls until they were working. You can view a running app
at https://devapp-161505.appspot.com.

Change-Id: I8ea018e63baf2dafb44150f7eee419e09065ba2c
Reviewed-on: https://go-review.googlesource.com/38161
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-18 05:15:52 +00:00
Jess Frazelle 929071285f cmd/{coordinator,pubsubhelper}: rename Makefile stage0 -> build0
Change-Id: I3ec52c384b662b2f8d5dd20eb94f440ed6a79c80
Reviewed-on: https://go-review.googlesource.com/40932
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-17 19:01:50 +00:00
Jess Frazelle 95533a5ac7 cmd/gitmirror: cleanup and optimize dockerfile
Before:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/gitmirror     1.32GB

After:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/gitmirror     208MB

Updates golang/go#18817

Change-Id: I633fbbde2c5bba52535a8cfefdcb1f0532c45c06
Reviewed-on: https://go-review.googlesource.com/40571
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-04-17 18:53:13 +00:00
Jess Frazelle 0ab98b3bec cmd/coordinator: change Dockerfile to FROM scratch
Before:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/coordinator   895MB

After:
REPOSITORY                            SIZE
gcr.io/go-dashboard-dev/coordinator   20.5MB

Updates golang/go#18817

Change-Id: I144923fcd85aab5f1aaaa3f012143bac45f5086b
Reviewed-on: https://go-review.googlesource.com/40570
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-04-17 18:43:00 +00:00
Jess Frazelle 91d8933a2f cmd/pubsubhelper: change Dockerfile to FROM scratch
Before:
REPOSITORY                             SIZE
gcr.io/go-dashboard-dev/pubsubhelper   834MB

After:
REPOSITORY                             SIZE
gcr.io/go-dashboard-dev/pubsubhelper   12.3MB

Updates golang/go#18817

Change-Id: Ibf1f33a04043c0defddd7fe6b8d0455092044ac0
Reviewed-on: https://go-review.googlesource.com/40574
Reviewed-by: Kevin Burke <kev@inburke.com>
2017-04-17 18:41:56 +00:00
Brad Fitzpatrick b8a13cafd8 maintner: move record reading and formatting code to its own package
It's starting to pollute the package, and seems separable. I also plan
to use it more from elsewhere in upcoming CLs.

Updates golang/go#19866

Change-Id: I7b2add37f74ed42c2f78939924f19d8322179823
Reviewed-on: https://go-review.googlesource.com/40868
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-17 04:19:14 +00:00
Kevin Burke 63ff9b3403 cmd/coordinator: make durations more human-friendly
Previously we printed duration to seven decimal points after the
second, which isn't helpful or necessary to determine how long a
build took. Instead, round the duration to the nearest tenth of a
second (if the build took more than 10 seconds), the nearest hundredth
of a second (if it took 1-10 seconds), or the nearest tenth of a
millisecond (if it took less than a second), which should be more than
enough precision and is much easier to read.

Change-Id: I1c29d4a81335bf9ee3cddda0a341d3f321e82f6b
Reviewed-on: https://go-review.googlesource.com/40855
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-16 04:09:35 +00:00
Kevin Burke f2cd214fae all: fix vet errors
Replace oauth2.NoContext (deprecated) with context.Background(),
which has been available for two consecutive releases.

Add more cloud.google.com/go packages to the cmd/coordinator
Dockerfile to fix an error building cmd/coordinator. A dependency is
not present in master of cloud.google.com/go, but was present in the
older revision, and was not getting checked out correctly during the
"go get" step. In addition, we were failing to fetch dependencies for
some packages that coordinator depends on. I added instructions for
hopefully doing this more systematically in the future.

Fix the gitmirror Dockerfile which has the same problem.

Change-Id: Id6c2220482350a686b87742ec7915c457a689e52
Reviewed-on: https://go-review.googlesource.com/40852
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-15 23:42:12 +00:00
Kevin Burke eebd280ca5 env: fix Makefile typos
Change-Id: I0629392c698204dad4e466c86d392d05bc613868
Reviewed-on: https://go-review.googlesource.com/40851
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-15 15:49:28 +00:00
Jess Frazelle be06759c64 dashboard/builders: add github handles
Adds an initial set of github handles for builder owners and displays a link in
coordinator if set.

Updates golang/go#19848

Change-Id: I85aa98a48b8a094482b22021b32b465af5313bbe
Reviewed-on: https://go-review.googlesource.com/40654
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-13 20:17:24 +00:00
Brad Fitzpatrick 71514ffb3c cmd/buildlet/stage0: support upcoming host-linux-arm64-linaro host type
host-linux-arm64-linaro is identical to host-linux-arm64-packet, at
least for now.

And remove the old arm64-linaro support. We took down those machines
and are reimaging them.

Change-Id: Ieef462debc9356aadd828863561cc161fd10d8d1
Reviewed-on: https://go-review.googlesource.com/40653
Reviewed-by: Sarah Adams <shadams@google.com>
2017-04-13 20:02:54 +00:00
Jess Frazelle fb6ffc9c0e env/linux-x86-clang: fix missing clang binaries
Fixes golang/go#19960

Change-Id: I403a07256ef268f067f8b0999551d641b73f47c4
Reviewed-on: https://go-review.googlesource.com/40576
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-13 16:46:42 +00:00
Brad Fitzpatrick b911fb9692 dashboard, cmd/coordinator: clean up snapshot code, add snapshot opt-out
The snapshot code had an old workaround that's no longer relevant. Remove it.

Also, add a BuildConfig.SkipSnapshot bool, and use it for the slow
mips builders.

Fixes golang/go#19953

Change-Id: I114bb0a524184eaaae5be4715ce63f6adc519c2e
Reviewed-on: https://go-review.googlesource.com/40505
Reviewed-by: Sarah Adams <shadams@google.com>
2017-04-13 16:27:06 +00:00
Sarah Adams dd4e52309e cmd/rundockerbuildlet: add missing continue after failed docker rm
Change-Id: I69e4a2312d81e01e46f6509443904d49453b6d4e
Reviewed-on: https://go-review.googlesource.com/40504
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-13 02:09:24 +00:00
Brad Fitzpatrick 18840f87f0 dashboard: add sanity check
Because almost all the BuildConfig methods indirectly call AllScript,
add in a little defense against accident creation of BuildConfig zero
values (of the value type, not nil pointers). This can happen by doing
a lookup in a map[string]dashboard.BuildConfig and then calling a
method on it. We should probably move everything to pointer values of
BuildConfig. There aren't many value types remaining.

This paranoia isn't a result of any bug yet, but rather than the result
of discussion on CL 40477.

Change-Id: Ic273d4de28ac8930b56bc232bf77a9ba39f99fad
Reviewed-on: https://go-review.googlesource.com/40497
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 21:43:33 +00:00
Sarah Adams 55adb7fbd5 all: readability tweaks
Change-Id: Icf00e395e7ab52beb8c0f1b57110d84b491bc337
Reviewed-on: https://go-review.googlesource.com/40477
Reviewed-by: Herbie Ong <herbie@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 21:01:14 +00:00
Jess Frazelle 72c36e30f0 maintner/maintnerd: Add Dockerfile and Makefile
Adds a Dockerfile and Makefile so maintnerd can be deployed to GKE.

Updates golang/go#19866

Change-Id: I83d8d409c2acab3022c2b74516157d32515fe28b
Reviewed-on: https://go-review.googlesource.com/40478
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 20:24:34 +00:00
Brad Fitzpatrick 5b0ec29935 env: use gcloud docker -- push
The '--' separating gcloud commands from docker commands will become
mandatory soon, and this quiets gcloud spam warning about.

Change-Id: I6ddec79c5f1fe28135a5e7a20c616536e4ddab98
Reviewed-on: https://go-review.googlesource.com/40475
Reviewed-by: Jessica Frazelle <me@jessfraz.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 18:28:40 +00:00
Jess Frazelle 69f55335a0 env/linux-x86-clang: convert from GCE VM to Kubernetes
Optimized image to be smaller as well.

Before:
REPOSITORY                    TAG                 IMAGE ID            CREATED              SIZE
go-builders/linux-x86-clang   latest              b08175ba2529        About a minute ago   1.01GB

After:
REPOSITORY                    TAG                 IMAGE ID            CREATED              SIZE
go-builders/linux-x86-clang   latest              1545f177bd2f        About a minute ago   543MB

Change-Id: I3e0d6007aed3231215feb653e2a11f29a01a5e45
Reviewed-on: https://go-review.googlesource.com/40472
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 18:20:33 +00:00
Jess Frazelle dba6dddc73 env/linux-x86-nacl: optimize image size
Cleanup and optimize Dockerfiles for making images smaller.

Before:
REPOSITORY                    TAG                 IMAGE ID            CREATED              SIZE
go-builders/linux-x86-nacl    latest              c814d8cff592        3 seconds ago        1.16GB

After:
REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE
go-builders/linux-x86-nacl    latest              5cf064519947        5 seconds ago       726MB

Change-Id: Ie61ddfad53df9dd0e6971532c92f59f18953171a
Reviewed-on: https://go-review.googlesource.com/40473
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 18:20:08 +00:00
Brad Fitzpatrick 5eb74b19b7 cmd/coordinator: add missing skipBuild check
The NetBSD builders were supposed to all be skipped by
buildRev.skipBuild, but there was another code path generating work
(the bootstrap-a-new-builder-column code) that wasn't using skipBuild,
which meant when the NetBSD column totally disappeared (as we wanted),
the builder tried to bring it back to life, doing a bunch of hanging
builds.

Change-Id: I976016a485e241b46f9cf8bb8b371e1038bb5f8c
Reviewed-on: https://go-review.googlesource.com/40470
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 17:20:03 +00:00
Jess Frazelle 00733c0d2b env/linux-x86-{sid,std-kube}: optimize image size
Cleanup and optimize Dockerfiles for making images smaller.

Before:
REPOSITORY                       TAG                 IMAGE ID            CREATED             SIZE
go-builders/linux-x86-sid        latest              9b9e88b7655c        55 seconds ago      1.12GB
go-builders/linux-x86-std-kube   latest              91a5a7a8cb1f        8 seconds ago       986MB

After:
REPOSITORY                       TAG                 IMAGE ID            CREATED             SIZE
go-builders/linux-x86-sid        latest              aab9e758925e        7 seconds ago       731MB
go-builders/linux-x86-std-kube   latest              8309123c2745        2 minutes ago       577MB

Change-Id: I613896faf0d298448995952d265b1729cd03392c
Reviewed-on: https://go-review.googlesource.com/40409
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 15:54:25 +00:00
Brad Fitzpatrick 171a17dca8 env/linux-x86-sid: convert from GCE VM to Kubernetes
And update it. What we used to call "sid" was probably ancient.

Change-Id: I76c1aad60eb655513119eaad0550ba5e0df3e9c5
Reviewed-on: https://go-review.googlesource.com/40399
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 02:12:33 +00:00
Brad Fitzpatrick 49f2395976 all: cleanup. update README, delete old stuff
The watcher is dead. It was renamed to gitmirror, but its
"watcher-world" environment is no longer relevant, since it's deployed
as a Kubernetes container now.

And the linux-x86-std VM configuration is old. We only use
linux-x86-std-kube on Kubernetes now.

Remove some gccgo stuff too, since that bitrot ages ago.

Change-Id: I74038961dee818b70a5e33c949a64a210bb1abb7
Reviewed-on: https://go-review.googlesource.com/40398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 01:44:01 +00:00
Brad Fitzpatrick 97bf1fbe10 cmd/coordinator: break up status into active vs pending builds
Currently all builds start and think they're running, but most are
just fighting over a mutex to grab a builder. That will be fixed, but
in the meantime it's nice to see what's actually working vs what's
waiting on e.g. arm5 hardware which won't be available for hours.

This is a baby step towards more monitoring. Currently this is just HTML
output, but the same data could be exported via JSON or something else later
for graphing.

Updates golang/go#19178 (add a buildlet scheduler)
Updates golang/go#15760 (monitor everything)

Change-Id: I36e16ea0919afe8023fe7fedd981f2e857f0d6df
Reviewed-on: https://go-review.googlesource.com/40397
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 01:22:14 +00:00
Brad Fitzpatrick c328d04b2e all: misc cleanup, docs, actually add Alpine builder
-- move policy of which builders are trybots out of coordinator
   and into dashboard/builders.go.

-- move some GCE-specific code from coordinator.go to gce.go.

-- rename an old "watcher" reference to "gitmirror"

-- add some docs

-- actually add the Alpine builder, missing from https://golang.org/cl/33890

Fixes golang/go#17891

Change-Id: Ia63671ca09aec322ed57b3663e0ac5042cdc56f2
Reviewed-on: https://go-review.googlesource.com/40395
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-12 00:39:11 +00:00
Brad Fitzpatrick 20b85ed4fc all: add linux-arm64-packet builders
The server has 96 cores and 128 GB of RAM, so run 20 builders on it.

This adds the Dockerfile each builder runs in, and the machinery to
run 20 copies of the Docker container.

Also reduce some logspam in the buildlet's shutdown.

(The dashboard/builders.go entry for this builder was added previously
 in https://golang.org/cl/39851)

Fixes golang/go#19929

Change-Id: I8537eee52c002dc9efcadcfb7e78b3a5db07ae44
Reviewed-on: https://go-review.googlesource.com/40392
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-11 23:39:43 +00:00
Jess Frazelle 5c1740d89a env: add alpine linux builder
Adds flag to upload to build binary statically.

Updates golang/go#17891

Change-Id: If19b2e2cf9a84fa2b4cc6fdf55d8add5b54abff7
Reviewed-on: https://go-review.googlesource.com/33890
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-11 22:20:54 +00:00
Quentin Smith d668f06a86 cmd/coordinator: fix potential deadlock in getStatus
Map iteration is random, so it's possible for two simultaneous calls
to getStatus to deadlock due to the use of defer to unlock.

Change-Id: Ib2c0b4122bd5ea17fde5e4c60da1a853a12ed2fd
Reviewed-on: https://go-review.googlesource.com/40301
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-04-11 21:06:05 +00:00