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

30 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick ac39ba8218 dashboard, cmd/coordinator: sharded ARM trybot-only builders
This is a quick & hacky version of our eventual sharding plan.  Later
we want to run make.bash once, snapshot it, and then intelligently
schedule all the tests out over N machines (starting with the built
snapshot), giving each the next test to run as they become idle.
And then we want to stitch together all of their output.

But this CL just makes 6 ARM builders, each of which runs make.bash (4
minutes) and then each which runs a statically-configured subset of
the tests. Based on measurements, each should run between 8.2 and 10.6
minutes. We can break up some of the larger test cases later into more
shardable pieces (in particular: "test").

Update golang/go#10029

Change-Id: Ib3e008b61ce6f28d799ae298c8467bf62d89e5d4
Reviewed-on: https://go-review.googlesource.com/10056
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-05-14 22:44:22 +00:00
Brad Fitzpatrick eb52e71587 dashboard, cmd/coordinator: add concept of trybot-only builders
Make all-compiler a trybot-only builder. This will be used for
temporary sharded ARM trybots.

Updates golang/go#10029

Change-Id: I6cc3188887c2f24edef97d0a9354e39553a15896
Reviewed-on: https://go-review.googlesource.com/10051
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-05-14 01:48:52 +00:00
Brad Fitzpatrick bab07187ed dashboard: set linux-arm-arm5 GOARM env correctly to 5 instead of arm5
Change-Id: Ie9a965f328c5cbd5b1c09d63bd1b44c2c1c73f2f
Reviewed-on: https://go-review.googlesource.com/10023
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-05-13 22:31:30 +00:00
Brad Fitzpatrick 1c43756bb2 dashboard: adjust GO_TEST_TIMEOUT_SCALE for linux-arm-arm5
It's slow.

This has been running for a week but I forgot to mail the CL.

Change-Id: Ibe0646e18ffb23eb0b10d9fc0c18864bfba08a44
Reviewed-on: https://go-review.googlesource.com/9853
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-05-11 15:48:34 +00:00
Brad Fitzpatrick f319bb6831 dashboard: add linux-arm and linux-arm-arm5 builders
Change-Id: Ib8997f76bdf7965d34543cbb6221d6bdb25246fa
Reviewed-on: https://go-review.googlesource.com/9840
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-05-07 18:47:37 +00:00
Shenghou Ma ace75faaa6 dashboard: fix typo
Change-Id: If1fa829db594f7d78e19aae4be8c1940b12c6010
Reviewed-on: https://go-review.googlesource.com/9820
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-05-07 02:17:27 +00:00
David Crawshaw eef380f4e8 cmd/coordinator: generate table of builders
To replace the always-out-of-date wiki.

Change-Id: I63d56d4bcf9252e56c833eaa15656b0321ac91dc
Reviewed-on: https://go-review.googlesource.com/9571
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-05-01 11:31:17 +00:00
Brad Fitzpatrick 6bf0fc461b dashboard: give the all-compiler builder much more CPU
Change-Id: I171a39ed1fd874d090e5e1bc37c18a49a886f2ec
Reviewed-on: https://go-review.googlesource.com/9536
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-04-30 18:37:55 +00:00
Brad Fitzpatrick ab7ff8a1a2 dashboard: add all-compile builder
Runs buildall.bash only.

Change-Id: I1a68d54569ccb511d956c5b181e463503353d4d4
Reviewed-on: https://go-review.googlesource.com/9512
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-04-29 21:57:22 +00:00
David Crawshaw 2c91215622 dashboard: iOS rename and add notes from wiki
Updates #10617

Change-Id: I194cf7deba495e27e46d0f77bccdab9ec3fde75b
Reviewed-on: https://go-review.googlesource.com/9490
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-29 15:34:27 +00:00
David Crawshaw e078c6fb52 dashboard: add darwin-arm/arm64 buildlets
Tested by running a local coordinator on the darwin-arm64 builder.

Change-Id: Id38faaa3275d6535b897f3c65df6d01ed9c1847e
Reviewed-on: https://go-review.googlesource.com/9459
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-29 14:29:49 +00:00
David Crawshaw 24c71cedec dashboard: rename darwin-amd64 to darwin-amd64_10_10
Change-Id: Iae0a264d5071462ea877cb12d270f931fcb0ce9e
Reviewed-on: https://go-review.googlesource.com/9405
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-28 16:22:27 +00:00
David Crawshaw 66c36dd35f cmd/coordinator: run builds on reverse buildlets
Also introduces more dev mode manual testing machinary. It is now
possible to start a coordinator and buildlet on a local machine and
hit localhost:8119/dosomework/buildername to rebuild the latest
revision from build.golang.org.

No support for VMs on reverse buildlets yet. That will have to wait
for some future work.

Change-Id: I590a9bc1779add030bde8dbf496eb6814ef57126
Reviewed-on: https://go-review.googlesource.com/9248
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-04-28 13:43:50 +00:00
Brad Fitzpatrick 38c2c75925 dashboard: switch to -v2 of the nacl image
gcloud/GCE had a bug where they won't let me delete the old image, so
we need a new name. They have an open bug about it, but for now we
just work around it.

New Dockerfile is in:
https://go-review.googlesource.com/#/c/7970/

Motivation is this CL:
https://go-review.googlesource.com/#/c/1755/

Change-Id: I55db0cbc13c08863958cb2a63bd07d673b36212e
Reviewed-on: https://go-review.googlesource.com/8061
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-03-25 01:55:23 +00:00
Brad Fitzpatrick 0c0bd36a74 cmd/buildlet/stage0, env/windows: wait for network, don't expire passwords
Also, I rebuilt the Windows image with the 30GB base image. I named it
-v2 during manual testing with gomote, and I'm keeping it like that
now, so update dashboard/builders.go too.

Fixes golang/go#10071

Change-Id: I30029310cbf61fb21ef80063f9822cb90ce843c0
Reviewed-on: https://go-review.googlesource.com/7914
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-22 19:39:23 +00:00
Brad Fitzpatrick 1c6d91617f coordinator: rate-limit GCE calls, put cap on number of VMs at once
Also, make Windows use regular disks for now, since its image is so
large (100 GB) and we only have 2TB of SSD quota.

This is all very conservative and paranoid for now until I figure out
what part of the coordinator was misbehaving.

Change-Id: Icead5c07cf706c2cfc4d1dd66a108649429018ac
Reviewed-on: https://go-review.googlesource.com/7910
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-03-22 03:37:54 +00:00
Brad Fitzpatrick dfe828688e dashboard: add linux-arm-qemu builder (disabled) and adjust plan9 builder
Change-Id: If2b4074f9bc1b44e97897096eb173b42c8323250
Reviewed-on: https://go-review.googlesource.com/6411
Reviewed-by: Salman Aljammaz <salman.aljammaz@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-03-01 18:23:11 +00:00
Brad Fitzpatrick 83455d10f2 dashboard, cmd/coordinator: remove code for Docker-based builds
Everything is in VMs now.

Change-Id: I2fc28207eb84a7971236efa39a4684ec682d315a
Reviewed-on: https://go-review.googlesource.com/5360
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-02-20 05:08:27 +00:00
Brad Fitzpatrick 0e84fc7a92 env: update nacl builders to be VM-based
Be lazy and use sid as a base, instead of trusty.

This replaces my earlier failed attempt: https://golang.org/cl/4960

Fixes golang/go#9879

Change-Id: Ia0a39c99747844b6e34bf7561c01dce49fa3b226
Reviewed-on: https://go-review.googlesource.com/5191
Reviewed-by: Russ Cox <rsc@golang.org>
2015-02-18 22:34:01 +00:00
Brad Fitzpatrick f0728e33ea env: update linux-x86-sid to be a VM
Fixes #9873

Change-Id: I08c501ef52ebde4cdbc48fe45a5342488000c433
Reviewed-on: https://go-review.googlesource.com/4874
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-18 21:53:43 +00:00
Brad Fitzpatrick 4d7595ca91 env: set GOHOSTARCH=386 on linux-386-clang
Otherwise it unnecessarily does:

"Building compilers and Go bootstrap tool for host, linux/amd64"

Change-Id: I051e4fe42030fbf5452372a0a6a42391383d53e3
Reviewed-on: https://go-review.googlesource.com/4871
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-02-14 00:37:21 +00:00
Brad Fitzpatrick a0a155e9a9 env: convert linux-x86-clang to be VM-based
Change-Id: I583d751652dec9176169b4d4705f3813506017e3
Reviewed-on: https://go-review.googlesource.com/4790
Reviewed-by: Minux Ma <minux@golang.org>
2015-02-14 00:20:13 +00:00
Brad Fitzpatrick cc587d4521 build: use buildlet on Windows
Also adds "gomote rmall" command.

Fixes golang/go#8640
Fixes golang/go#9799

Change-Id: I41b62b16df5e855e1367a9cc1c370bb1f928c242
Reviewed-on: https://go-review.googlesource.com/4132
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2015-02-07 21:12:30 +00:00
Andrew Gerrand f83f3e4171 cmd/release: add new program to build releases
The release command will replace misc/makerelease from the main repo.
The contents of makerelease make their way into this program.

Also add GorootFinal and MakeScript methods to dashboard.BuildConfig.

Change-Id: Id20f3f7a85a21f040d8cf47e438d299d57360556
Reviewed-on: https://go-review.googlesource.com/3693
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-02-03 12:00:31 +00:00
Brad Fitzpatrick 50ba0cb8f6 build: convert most Linux builders to be VM-based
We still use Dockerfiles to describe them, but then a new tool
(docker2boot) converts them into VM images suitable for booting on
GCE, running the buildlet like all the other operating systems. Things
are easier if everything acts the same way.

Note that since we're no longer moving around Docker images, the image
size and the layer accumulation cruft no longer matters. We can now
have Dockerfile lines like "RUN rm -rf /usr/share/doc" and it actually
results in a smaller VM image, since we just "docker export" the files
out of it to create the VM image.

This doesn't yet convert the clang, sid, or nacl builders. The
coordinator still runs those under Docker directly. A future change
will convert those to VM images as well.

Change-Id: Iedb136ae3daf888c955eb843bdcc9a638d08f5e9
Reviewed-on: https://go-review.googlesource.com/3341
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-29 11:02:16 +00:00
Bill Thiede 222a9c067a dashboard, env: add FreeBSD 9.3 support.
Differences from 10.1 support:
- Uses gcc in base image, 10.1 uses clang.
- Uses dig in startup diagnostic, 10.1 uses drill.

Fixes #8639

Change-Id: I298bdf7d76c91395ae56606d1e2f0176eb0eb792
Reviewed-on: https://go-review.googlesource.com/3173
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-22 23:27:58 +00:00
Brad Fitzpatrick f6a4a4a788 env: add openbsd-386
Fixes golang/go#8642

Change-Id: Ie27c627aa7c4bcff72449dee080865bd148c65e7
Reviewed-on: https://go-review.googlesource.com/3198
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-22 22:24:36 +00:00
Brad Fitzpatrick 32d0520710 all: add env support, freebsd-386, freebsd-amd64-race, re-enable plan9
Update golang/go#9491
Update golang/go#8639

Change-Id: I1f43c751777f10a6d5870ca9bbb8c2a3430189bf
Reviewed-on: https://go-review.googlesource.com/3170
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-22 01:14:08 +00:00
Brad Fitzpatrick 20d848347d build: get OpenBSD working again with a go1.4 tree
I ran an OpenBSD 1.4.1 build by hand with gomote, ran gomote gettar to
get the built tree, and put it on GCS.

This CL then adds the URL of that Go 1.4 pre-built tree to the OpenBSD
builder's configuration, and modifies the coordinator to tell the
buildlet to pull extract the tarball from that URL to the "go1.4"
directory before the build starts.

Aside: I'm taking advantage of the build repo's new freedom in
depending on outside libraries and using Camlistore's syncutil.Group.

Change-Id: I2d6e416d2220d2d34c630fed50344bf2de4ae710
Reviewed-on: https://go-review.googlesource.com/3114
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-21 23:01:20 +00:00
Andrew Gerrand fa8373a2a0 Update import paths after move from tools repo
Also:
- Move the watcher to cmd/watcher (somehow this was missed earlier).
- Move dashboard package from the repo root to its own directory.
- Update docker build scripts. (Although not yet the version hashes in
  the Dockerfiles; this leaves the docker builds broken, but they were
  already broken after moving the builder to cmd/builder. They'll be
  fixed in a followup CL after this one is submitted.)

Change-Id: I29a9758da1f3c60446e3ce18174c0df26e4d8325
Reviewed-on: https://go-review.googlesource.com/3077
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-01-21 06:37:43 +00:00