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

6 Коммитов

Автор SHA1 Сообщение Дата
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
Brad Fitzpatrick 667d180de2 revdial: fix ABBA deadlock
Fixes golang/go#12816

Change-Id: I0fade5937a138459fbdeb00695c07028c6b8060b
Reviewed-on: https://go-review.googlesource.com/15530
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-10-07 20:17:31 +00:00
Brad Fitzpatrick 72f3eae620 revdial, cmd/coordinator: notice when buildlet TCP conns go away immediately
Previously it wasn't noticing their death until the next health check.

Take advantage of that the revdial is always blocked in a Read, so it
will see a TCP shutdown in the case of normal shutdowns. (health checks
will still catch disappearing machines)

Change-Id: I9a7f60a38b3acaf02057b2da9e0cbc91d328f651
Reviewed-on: https://go-review.googlesource.com/14736
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-09-18 02:03:18 +00:00
Brad Fitzpatrick 30d52a20ad revdial: fix Lock-after-Lock bug, where server EOF wouldn't unblock conns
If the server's conn stopped reading, we acquired a Lock twice
(blocking forever) and never killing all the active connections on it.

Add test.

Probably fixes golang/go#12666

Change-Id: I4ff670a55e8d92e6e2ebe14a94137d6f15f3768e
Reviewed-on: https://go-review.googlesource.com/14700
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-17 20:03:31 +00:00
Brad Fitzpatrick 8d3449a70f revdial: docs
Change-Id: I1b948a83503689979bec1a9ee7982c4107e7e6e1
Reviewed-on: https://go-review.googlesource.com/14589
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-16 04:05:10 +00:00
Brad Fitzpatrick 1f0d8f287c all: tons of builder work
* reverse buildlet rework (multiplexed TCP connections, instead
  of a hacky reverse roundtripper)

* scaleway ARM image improvements

* parallel gzip implementation, which makes things ~8x faster on
  Scaleway.

* merge watcher into the coordinator, for easier deployments

Change-Id: I55d769f982e6583b261435309faa1f718a15fde1
Reviewed-on: https://go-review.googlesource.com/12665
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-09-15 08:28:33 +00:00