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

759 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick a6cb7e420a cmd/release: also release ppc64le binaries
Updates golang/go#17193

Change-Id: Ibd882cca4c19b4ba4cdd58f43476a149a3eb6a28
Reviewed-on: https://go-review.googlesource.com/33299
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-11-17 19:00:21 +00:00
Brad Fitzpatrick 98922e1041 dashboard: don't test-compile mips32 yet
Change-Id: Id24f8dce9fcadb91747a97d6db17c90bd61ecbb4
Reviewed-on: https://go-review.googlesource.com/33155
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-11-12 00:35:34 +00:00
Brad Fitzpatrick 01647ecae6 dashboard: set GOARCH and GOHOSTARCH explicitly for mips builders
They're running the 32-bit versions on 64-bit hardware.

Change-Id: I365aa2b77cd729484d49aaefed12737c657abed8
Reviewed-on: https://go-review.googlesource.com/33010
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2016-11-09 20:10:23 +00:00
Brad Fitzpatrick 0e765f5afd dashboard: change mips GOROOT_BOOTSTRAP by request of Brendan Kirby
Change-Id: If8478e9f1b6ef65f5253f5f3faf0f50eaf527ce5
Reviewed-on: https://go-review.googlesource.com/32680
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2016-11-03 23:31:31 +00:00
Brad Fitzpatrick 31e2bfaaaf all: add linux-mips{,64}{,le} builders
Change-Id: I28814c70872cce57f05120073a7d653a6879841c
Reviewed-on: https://go-review.googlesource.com/32675
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-11-03 23:12:47 +00:00
Brad Fitzpatrick bafd82606f cmd/coordinator: don't push Gerrit-internal refs to github
Change-Id: Ie7b0d97e6450be2e31a61bd2f3556060c07d7255
Reviewed-on: https://go-review.googlesource.com/32315
Reviewed-by: Russ Cox <rsc@golang.org>
2016-11-03 16:50:19 +00:00
Jonathan Amsterdam 136f83273e all: update to new cloud datastore key functions
Also use iterator.Done instead of datastore.Done.

Change-Id: I3948ade043ff9bbe5c4eb0abc1e51963f740b608
Reviewed-on: https://go-review.googlesource.com/32445
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-10-31 19:46:45 +00:00
Dmitry Vyukov 61ddc41c62 cmd/racebuild: destroy temp instances after use
Change-Id: Iea4aa0aa4977a78df08918c96bb9c7753f4cc872
Reviewed-on: https://go-review.googlesource.com/32161
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-29 01:32:00 +00:00
Brad Fitzpatrick 9a45b14cf9 build: stop testing release-branch.go1.5
Normal Go policy is to support the past two released Go version, which
is currently Go 1.6 and Go 1.7.

Change-Id: I8db9495582d40e82ceb4ccf52ea22ec3969f6ae5
Reviewed-on: https://go-review.googlesource.com/31767
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-10-24 20:22:21 +00:00
Jess Frazelle 780ed11593 env: add gfortran-multilib to linux builder for 386
Updates golang/go#17502

Change-Id: Iacfad86b981b23c87d8b2387105985c33ad2bcfc
Reviewed-on: https://go-review.googlesource.com/31431
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-18 18:38:00 +00:00
Brad Fitzpatrick 5cdbabd0ad dashboard: update plan9 VM image
This version adds a TCP "close" message:

    http://9legacy.org/9legacy/patch/9-tcp-close.diff

Updates golang/go#15464

Change-Id: I4866858338db4b408fd180b5d89560aa86049adc
Reviewed-on: https://go-review.googlesource.com/31327
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-18 13:28:04 +00:00
David du Colombier 4cced27c31 env: update Plan 9 image
This new Plan 9 image implements a "close" message in the TCP
connection control file. The "close" message is analogous to
the "hangup" message, but closes the TCP connection gracefully,
using a FIN message instead of a RST.

Change-Id: Id5652ca399d38d78e6f5616a43b2ba88a8a4c7e7
Reviewed-on: https://go-review.googlesource.com/31272
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-18 10:20:27 +00:00
Brad Fitzpatrick c87bb98f3f dashboard: Update name of Docker image for Kubernetes builder.
The Makefile used to create the Docker image used by the Kubernetes builder
creates an image with a different name than the dashboard expects. This
change updates the dashboard to pull the image created by the Makefile.

Change-Id: Idcf8f5867d9995205c6c8482a7e8bfa1b63d9551
Reviewed-on: https://go-review.googlesource.com/28416
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-12 15:00:12 +00:00
Jess Frazelle 4ec90df133 env: add gfortran for linux builders
Fix golang/go#14488

Change-Id: I29f77eafcf34963cc05fc956dc6265eaae9718d2
Reviewed-on: https://go-review.googlesource.com/30710
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-07 20:04:50 +00:00
Brad Fitzpatrick 2fce518f8e cmd/coordinator: log per-span info to datastore also
Updates golang/go#12669

Change-Id: Ic7dcc9876557abdb13cd2e6024eb98cdff97c9bb
Reviewed-on: https://go-review.googlesource.com/30631
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2016-10-07 00:56:04 +00:00
Brad Fitzpatrick 7f2ab87678 cmd/buildlet: fix logic error when looking up build keys
Introduced in earlier refactoring.

Change-Id: I6a0943f7808837b9a21ca52b53b77d6cb06b7fed
Reviewed-on: https://go-review.googlesource.com/30598
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-06 20:38:18 +00:00
Brad Fitzpatrick f8a3106eb2 all: add ppc64 (big endian) builders
Change-Id: I0fddda33179555a50b6f03dcff13338544b742c3
Reviewed-on: https://go-review.googlesource.com/30599
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-06 20:37:48 +00:00
Russ Cox 44209b0bd3 cmd/cl: now working on Go 1.8
Change-Id: I5dd5128746e1ebe19ec47dd4360ba7bea6dda76e
Reviewed-on: https://go-review.googlesource.com/19610
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-05 19:09:29 +00:00
Brad Fitzpatrick 46ecb43b4e cmd/coordinator: cross-compile ARM build on Kubernetes
Saves 4.5 minutes or so by using fast x86 machines to build the ARM
build instead of running make.bash on Scaleway ARM machines.

We still run the tests on ARM, and have a separate builder only
running make.bash on ARM (see prior golang.org/cl/29670)

Fixes golang/go#17105
Updates golang/go#17104

Change-Id: I1cb7b0e5b1cc8b644195f262328884ed3aff120a
Reviewed-on: https://go-review.googlesource.com/29677
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-30 00:00:42 +00:00
Quentin Smith 5a057a2375 devapp: add per-release issue tracker dashboard
This imports https://swtch.com/tmp/dash.html and makes it render for any
release. Initially, the only graph is the # of open issues by milestone
over the course of the release.

The dashboard is not currently tracking label history, which is needed
to draw the second graph on that page.

Change-Id: I9bd031f8709701b304e18208ae3c972bdfe3b276
Reviewed-on: https://go-review.googlesource.com/30012
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-29 16:09:41 +00:00
Quentin Smith a64934fa56 devapp: add median close time per create time plot
Also implements ymin, ymax for log scale.

Change-Id: I872184bb5b3dbaee685c068bc3381e075fecf146
Reviewed-on: https://go-review.googlesource.com/29530
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-28 18:11:19 +00:00
Quentin Smith ab6f30a7ec cmd/perfrun: command to run automated benchmarks
perfrun fetches the latest N successful builds from the dashboard and
runs their go1 benchmarks, saving logs on disk

This is the start of a daemon that will automatically run the benchmarks
for every successful build and archive the logs to Cloud Storage.

Change-Id: I5dfd715788919abaf22f71a206f2682eceeaadcc
Reviewed-on: https://go-review.googlesource.com/29399
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-27 22:08:51 +00:00
Brad Fitzpatrick e4d08a5aad cmd/gomote, buildenv, buildlet: move config code to common places
Split off from Quentin's https://golang.org/cl/29399

Change-Id: I4578f8f485e97d6b9844fb12e84779167755752e
Reviewed-on: https://go-review.googlesource.com/29858
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-27 18:47:08 +00:00
Quentin Smith d037c181fe buildenv, cmd/coordinator: make DashBase a property of the Environment
Change-Id: I6621cfaf12541f9910255048edd49301a1b2deba
Reviewed-on: https://go-review.googlesource.com/29398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-26 16:47:25 +00:00
Jess Frazelle adda3456a7 build/env: change armhf builder from stretch to jessie
The far superior linux distro of champions.

Updates golang/go#17105

Change-Id: I5ea0cd2361753f61bb74bf3d4dea6c181f1427fa
Reviewed-on: https://go-review.googlesource.com/29687
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-24 00:26:42 +00:00
Jess Frazelle c727f25d9b build/env: add cross compile toolchain for armhf
Moved arm to armel, if anyone wants that in the future.

Change-Id: I57db5c8dff12c02cd2ceb4bd657d5fa63040985c
Reviewed-on: https://go-review.googlesource.com/29684
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-23 22:46:30 +00:00
Jess Frazelle a0418082eb build/env: add linux-libc-dev to provide asm/erro.h
Change-Id: I08d918d9bda6186f8eac52468e9d915fe5805e29
Reviewed-on: https://go-review.googlesource.com/29682
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-23 22:18:18 +00:00
Jess Frazelle 47e0d583cb build/env: cleanup COPY in cross-compile builders
Change-Id: I2b680b65a47f3932762279626e2e03fd6552ad92
Reviewed-on: https://go-review.googlesource.com/29680
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-23 21:38:58 +00:00
Jess Frazelle 56d60b94d1 build/env: add Dockerfile for cross-compiling from x86 to arm
Moved cross-compile builders to env/crosscompile

Tested it works:

$ readelf --headers go/bin/go
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0xc3a80
  Start of program headers:          52 (bytes into file)
  Start of section headers:          276 (bytes into file)
  Flags:                             0x5000002, has entry point, Version5 EABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         7
  Size of section headers:           40 (bytes)
  Number of section headers:         23
  Section header string table index: 7

Change-Id: I3db71fa954575c29bb0a12a07c9bf84c4c96d88e
Reviewed-on: https://go-review.googlesource.com/29679
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-23 21:32:27 +00:00
Brad Fitzpatrick f787cecbe4 cmd/coordinator: fix the /builders page, add Host info
Change-Id: I8828d62918e29c732592d82f49c48a8c3442c7f3
Reviewed-on: https://go-review.googlesource.com/29674
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-23 16:50:55 +00:00
Evan Brown f60fa40016 cmd/coordinator: Remove Stackdriver metrics plumbing
This change removes the code that puts Kubernetes cluster metrics to
Stackdriver. These metrics were replaced by built-in CPU % metrics
and are no longer used.

Change-Id: I8cbd92bbb00ef323f008b20fd66b0fffd160f260
Reviewed-on: https://go-review.googlesource.com/29673
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-23 00:13:25 +00:00
Brad Fitzpatrick e37005bca7 dashboard: add a make.bash-only builder on real ARM hardware
This is a new builder in prep for the change to the "linux-arm"
builder where the GOARCH=arm make.bash will be cross-compiled from a
Kubernetes container on fast hardware.

Updates golang/go#17105 (cross-compile ARM builders' make.bash)
Updates golang/go#17104 (5 minute trybots)

Change-Id: Icfd2644d77639f731151abe54839322960418254
Reviewed-on: https://go-review.googlesource.com/29670
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-23 00:09:05 +00:00
Brad Fitzpatrick 5566fc6d96 cmd/buildlet: fix a forgotten rename from buildlet type to host type
I missed this in the great rename between patchsets 6 and 7:

https://go-review.googlesource.com/#/c/29551/6..7

Change-Id: Id34d36805519a7baa2ab1ea96f616ee1705994b0
Reviewed-on: https://go-review.googlesource.com/29671
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-22 23:51:48 +00:00
Brad Fitzpatrick 328c9b8918 all: split builder config into builder & host configs
Our builders are named of the form "GOOS-GOARCH" or
"GOOS-GOARCH-suffix".

Over time we've grown many builders. This CL doesn't change
that. Builders continue to be named and operate as before.

Previously the build configuration file (dashboard/builders.go) made
each builder type ("linux-amd64-race", etc) define how to create a
host running a buildlet of that type, even though many builders had
identical host configs. For example, these builders all share the same
host type (a Kubernetes container):

   linux-amd64
   linux-amd64-race
   linux-386
   linux-386-387

And these are the same host type (a GCE VM):

   windows-amd64-gce
   windows-amd64-race
   windows-386-gce

This CL creates a new concept of a "hostType" which defines how
the buildlet is created (Kube, GCE, Reverse, and how), and then each
builder itself references a host type.

Users never see the hostType. (except perhaps in gomote list output)
But they at least never need to care about them.

Reverse buildlets now can only be one hostType at a time, which
simplifies things. We were no longer using multiple roles per machine
once moving to VMs for OS X.

gomote continues to operate as it did previously but its underlying
protocol changed and clients will need to be updated. As a new
feature, gomote now has a new flag to let you reuse a buildlet host
connection for different builder rules if they share the same
underlying host type. But users can ignore that.

This CL is a long-standing TODO (previously attempted and aborted) and
will make many things easier and faster, including the linux-arm
cross-compilation effort, and keeping pre-warmed buildlets of VM types
ready to go.

Updates golang/go#17104

Change-Id: Iad8387f48680424a8441e878a2f4762bf79ea4d2
Reviewed-on: https://go-review.googlesource.com/29551
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-22 23:13:34 +00:00
Brad Fitzpatrick 6d82497599 cmd/coordinator: support skipping redundant tests on try runs
Also, don't start obtaining test sharding buildlets early if they're
reverse buildlets. Reverse buildlets are either immediately available,
or they're not. No point monopolizing them earlier than needed.

Updates golang/go#17104

Change-Id: If5a0bbd0c59b55750adfeeaa8d0f81cdbcc8ad48
Reviewed-on: https://go-review.googlesource.com/29473
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-21 18:37:49 +00:00
Brad Fitzpatrick 9c8f13dfbe cmd/coordinator: don't check for 'go tool dist'
It's been there for the past two releases. We can assume it's present.

Change-Id: I94ac107d4c52ea823d42a63ced571ff4c81532a2
Reviewed-on: https://go-review.googlesource.com/29471
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-21 16:52:52 +00:00
Brad Fitzpatrick 06060a8e52 cmd/makemac: change name of datastore
We're now on flash instead of spinning disks, which means
our datastore name changes of course.

Change-Id: I74d4d7d4c79d69024bd316319ede85ec45564f50
Reviewed-on: https://go-review.googlesource.com/29235
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-20 20:37:36 +00:00
Brad Fitzpatrick 1328235222 pargzip: remove Writer.UseSystemGzip
Go's gzip is faster than using a child process nowadays.

Also, this wasn't safe on Windows. The Windows buildlets hadn't been
deployed in over a year. When I deployed a new version (which included
the pargzip package), they started failing to gzip snapshots, breaking
test sharding. Trybots succeeded, but only after ~970 seconds, running
all the tests on the original make.bat machine.

Change-Id: I1d144b82e40285fee0b3019a27ee0ce2f3844d5a
Reviewed-on: https://go-review.googlesource.com/29432
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-20 14:39:44 +00:00
Brad Fitzpatrick dd0c8ee6ac cmd/buildlet: don't log one line per untarred file
Some builders (OpenBSD, FreeBSD, Plan9 at least?) have their buildlet
process's stdout/stderr hooked up to their serial console.

The log line for each untarred Go1.4 + Go src tarball going to the
serial console added just shy of 1 minute (!!) to the build time.  Now
it takes 3 seconds. (Or 12 seconds before change to use an async+noatime
filesystem on the BSDs)

Updates golang/go#17104

Change-Id: I1e6f00bcca955ead26b279a79729e50319384593
Reviewed-on: https://go-review.googlesource.com/29430
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-20 06:20:32 +00:00
Brad Fitzpatrick 885124e67e cmd/buildlet: remount OpenBSD & FreeBSD filesystems on boot
OpenBSD is deployed and tested. FreeBSD has only been tested by hand,
but this CL doesn't fail the buildlet if the remount fails. It only
logs either way.

Updates golang/go#17104

Change-Id: Ia9662b42ae8305ad9eaa4292c94fa3194cc26b11
Reviewed-on: https://go-review.googlesource.com/29238
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2016-09-15 23:21:59 +00:00
Brad Fitzpatrick 122739b1e9 cmd/coordinator: update the timing hints table a bit
If the coordinator has a better guess as to how long various tests
take, then it can do better critical path scheduling and reduce the
overall time the sharded tests take to complete.

This table still needs to die and be based on recent empirical data,
but at least it's more accurate now, after a long delay in being
updated.

Update is from https://github.com/golang/go/issues/17104#issuecomment-247123458

Updates golang/go#17104

Change-Id: I115aad23fbdb0cde1b196e71a4131fbe36480cc0
Reviewed-on: https://go-review.googlesource.com/29167
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-09-14 21:47:16 +00:00
Brad Fitzpatrick 94d01414bb cmd/coordinator, dashboard: remove some trybots, shard others wider
I'm aiming to have trybot runs finish in under 5 minutes.

This CL removes openbsd-386-gce58 and freebsd-386-gce101 from the trybot set.

openbsd-386-gce58 is the slowest builder. It has an average speed of
722 seconds (and 95 percentile of 923 seconds) over the past week, and
that's sharded over 4 machines. Too slow. It's not worth the resources
to keep it as a trybot. It hasn't caught any interesting bugs. This
builder will still run, but not as a pre-submit trybot.

freebsd-386-gce101 is not slow, but we're removing it to shift its
resources to shard other builders wider.

The coordinator now supports varying the build sharding width based on
whether a build is for a trybot or not. This CL defines separate
numbers for each, sharding builds wider as needed for some trybots.

freebsd-amd64-gce101 goes from 4 to 5 machines in try runs, and down
to 3 when not in try runs.

linux-amd64-race gets one more machine during try runs, and one fewer
in regular runs.

linux-arm goes from 7 machines always, to 3 or 8, depending on whether
it's a try run.

openbsd-amd64-58 goes from 4 to 3 or 6.

windows-amd64-gce goes from 4 to 2 or 6.

windows-amd64-race goes from 4 to 2 or 6.

darwin-amd64-10_11 goes from 3 to 3 or 4.

I'll see how these do over the next few days and readjust as needed.

Also in this CL: fix the constants for the expected duration of
make.bash, which impact when we schedule the creation of test sharding
helper buildlets. We were creating them too early before, wasting
resources.

Change-Id: I38a9b24841e196f1eb668de058c49af8c1d1c64f
Reviewed-on: https://go-review.googlesource.com/29116
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-14 15:53:45 +00:00
Brad Fitzpatrick 0caf7b4d78 cmd/buildstats: add new buildstats command for analyzing builds
Currently this tool just syncs build data from Datastore to Bigquery.

It'll do more later.

Updates golang/go#12669

Change-Id: Ic544cf112ea8699c86943c32f8887d31c81daf79
Reviewed-on: https://go-review.googlesource.com/29112
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-14 15:46:44 +00:00
Quentin Smith ee5416da7c devapp: add documentation for /stats and /stats/svg
Now that the stats dashboard is (mostly) working, link it from the
homepage.

Change-Id: I5fa1c2f241151d809c2d9a6cf8f664dda14cf8b3
Reviewed-on: https://go-review.googlesource.com/28975
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:53:02 +00:00
Quentin Smith 5936fd2fc1 devapp: allow plots of issues by release
Change-Id: Ief3aa379d2a535a3210b088a4841f1c88eadc641
Reviewed-on: https://go-review.googlesource.com/28974
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:53:00 +00:00
Quentin Smith a4e54186e3 devapp: graph closed issues
Change-Id: I7123845146af835c97b7cbc4eb5ac30985beb121
Reviewed-on: https://go-review.googlesource.com/28973
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-12 21:52:56 +00:00
Joel Sing 52f85a408c env/openbsd-amd64: update the openbsd build script to work with 6.0
Also ensure that expect exits non-zero on timeout.

Updates issue golang/go#16951

Change-Id: I7d182e4b9226b23a2c319f6fc2f849d34ec0b271
Reviewed-on: https://go-review.googlesource.com/28791
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-09 16:34:34 +00:00
Brad Fitzpatrick 7e04d807df cmd/coordinator: fix bug in gomote reverse proxying
ReverseProxy.ServeHTTP expects a server *http.Request.

The gomote proxy in the coordinator was making a client *http.Request
(which has different semantics for ContentLength depending on whether
it's client or server) and that was confusing the ReverseProxy code.

Set the next (server) request's ContentLength explicitly to the
original incoming Request.ContentLength. It was zero before, which
used to be safely okay, but not safe as of
https://go-review.googlesource.com/28412

Change-Id: I96d5c2b992d223372f9a01d268d3a419ccdc0d95
Reviewed-on: https://go-review.googlesource.com/28751
Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-09-08 00:47:22 +00:00
Chris Broadfoot a485648640 app/build: make the favicon smaller
The favicon is hotlinked from golang.org/favicon.ico, which is now
larger.

Resize it to 16x16.

Fixes golang/go#17022.

Change-Id: Id74eb3bd8c855a042d033664359f04089d7857ff
Reviewed-on: https://go-review.googlesource.com/28770
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-08 00:43:54 +00:00
Brad Fitzpatrick 005df3ea93 cmd/makemac: add start of command/package to create OS X builder VMs
Currently it's just a package main. It might split in two later. It
might stop shelling out to govc and use the underlying API directly
too, but it's hairy.

Easier to work like this for now.

Updates golang/go#9495

Change-Id: I0d2e19abcb5114ab7fe2e2c543d14e50897d4cbb
Reviewed-on: https://go-review.googlesource.com/28584
Reviewed-by: Quentin Smith <quentin@golang.org>
2016-09-07 23:53:04 +00:00