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

1499 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick c7ddb54745 dashboard: add more misc-compile trybots
s390x notably was missing. Also add the mobile ones.

Change-Id: Id6be52b73fac897980d4e94ac5c5b07027f5b4e7
Reviewed-on: https://go-review.googlesource.com/114315
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-24 14:52:01 +00:00
Brad Fitzpatrick d2ccb7b8ac cmd/gopherbot: support milestoning neglected issues to Unplanned
The new "kicktrain" mode is disabled by default and needs to be run
by hand with --only-run=kicktrain so we can use this in the future.

I just used this to move 132 Go 1.11 issues to Unplanned.

Change-Id: Id6d9d2065fc6970ed14151fe368d3ae5ccaf9957
Reviewed-on: https://go-review.googlesource.com/114011
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-05-24 14:51:28 +00:00
Brad Fitzpatrick c8d18b7b8d env, buildlet/stage0, xb: build stage0 hermetically, add xb docker support
We used to build the buildlet/stage0 binary once, upload it to GCS,
and then future Docker builds of environments would slurp it down back
off the network (unversioned) and back that copy into its image
forever.

Now the buildlet/stage0 binary gets hermetically built as part of
env/*/Dockerfiles and GCS uploads/downloads aren't involved.

While we're at it, move more docker logic out of Makefiles and into
xb, including things like building dependent images (stage0) and
verifying the versions of dependent layers (e.g. that "golang:1.10" is
Go 1.10.2, and not Go 1.10 or Go 1.10.1).

Change-Id: I2a08d951b9fa8143fb3aee3ec7c2cc78d216962e
Reviewed-on: https://go-review.googlesource.com/113135
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-21 17:49:41 +00:00
Andrew Bonventre 69b0ecb046 cmd/buzzkill: add binary to delete snippets from play.golang.org
We usually do this manually via the GCP Datastore console. Provide
a binary to do it more easily.

Change-Id: I30dca595a4f81781bcb63ed8b09365b09961efcc
Reviewed-on: https://go-review.googlesource.com/113718
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-20 17:07:54 +00:00
Brad Fitzpatrick 69bc54ff23 internal/gophers: update Ians
Change-Id: I59f5ca331070cc3164549657f8f071f7e7db0bd4
Reviewed-on: https://go-review.googlesource.com/113537
Reviewed-by: Ian Gudger <igudger@google.com>
2018-05-17 18:03:42 +00:00
Jeff Johnson 7ed0dbd3e1 env/windows: add visual studio tools to image
This change downloads/extracts the Visual Studio Build Tools to C:\godep\vs

Verified by running C:\godep\vs\VC\Tools\MSVC\14.14.26428\bin\Hostx64\x86\cl.exe

Related: golang/go#20982

Change-Id: I9dcb4afc0971317ff39381f089867a08c402974a
Reviewed-on: https://go-review.googlesource.com/112036
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-17 17:01:52 +00:00
Brad Fitzpatrick 1d5048ea05 devapp: also hide open reviews with the tag "wait-release"
Updates golang/go#24836

Change-Id: I7b739a54dec374d60e66bf083cd41c1879500ed3
Reviewed-on: https://go-review.googlesource.com/113536
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-17 16:59:59 +00:00
Brad Fitzpatrick 65a9d983c5 dashboard: add "longtest" builder to run all tests, without -short mode
Fixes golang/go#12508

Change-Id: I62e1e296f10c7622c1967a5530c4b0e07c136dfd
Reviewed-on: https://go-review.googlesource.com/113436
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-16 20:07:29 +00:00
Dmitri Shuralyov e8fa6c444f devapp/owners, internal/gophers: update Dmitri's email, add to x/build/.../maintserve
My primary (preferred) email has changed,
and it's also my Gerrit email now.

Change-Id: I82bb5bb48a99ae12a646eec1a2ab08966199d62d
Reviewed-on: https://go-review.googlesource.com/112995
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-16 01:27:41 +00:00
Lonnie Liu 191ab29b99 vcs-test/vcweb: fix build breakage
Caused by coreos imports.

Change-Id: I273e95c5f1c76a6f87015c6b920a58c193ae8daf
GitHub-Last-Rev: 7e56aa2808
GitHub-Pull-Request: golang/build#5
Reviewed-on: https://go-review.googlesource.com/112815
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-14 20:59:43 +00:00
Brad Fitzpatrick ade28624f2 dashboard, env: add Debian Stretch builder, rename Jessie builder
Updates golang/go#25386

Change-Id: I65e3dda63e5ea86fa94480e3305556b73afe121a
Reviewed-on: https://go-review.googlesource.com/113059
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-14 18:22:59 +00:00
Dmitri Shuralyov f691756a24 devapp/owners: remove net/lex
net/lex has been merged into net/http in golang/net@cbb82b59bc,
and bradfitz is already the primary for that.

Updates golang/go#23908.

Change-Id: Icf5eca0751829e26d1951ec6c0eb2d22348695e9
Reviewed-on: https://go-review.googlesource.com/112996
Reviewed-by: Matt Layher <mdlayher@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Matt Layher <mdlayher@gmail.com>
2018-05-13 15:33:37 +00:00
Bryan C. Mills 94deb14bfb cmd/racebuild: install Git and GCC on the Windows builder
Note that compiler-rt/lib/tsan/go/build.bat has been broken since
https://reviews.llvm.org/D28596 (git commit
6ef4606343358c8f0365f7741b5033c42fbabb0e), so we have to use an older
version until it can be fixed.

compiler-rt commit ae08a22cc215448aa3ad5a6fb099f6df77e9fa01 is the
most recent one that builds, but it fails tests (golang/go#22687).

Updates golang/go#24354.
Updates golang/go#22687.

Change-Id: I36ba47fc955111143707224068e687168dbda4ff
Reviewed-on: https://go-review.googlesource.com/112895
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:49:31 +00:00
Bryan C. Mills 763dc24586 cmd/racebuild: add linux/ppc64le
Updates golang/go#19273.
Updates golang/go#24354.
Updates golang/go#23731.

Change-Id: Iad8870b265e7e3b56b5219d3367ccef70dcc0679
Reviewed-on: https://go-review.googlesource.com/112881
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:31:49 +00:00
Bryan C. Mills 573e35cfde cmd/racebuild: add netbsd/amd64
Updates golang/go#24354.
Updates golang/go#19273.
Updates golang/go#24322.

Change-Id: Ia67fde51d7698ca94d86c4697fd153a551a8ceee
Reviewed-on: https://go-review.googlesource.com/112880
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:31:39 +00:00
Bryan C. Mills fd4e4b63d9 cmd/racebuild: update darwin to use 10.12
Updates golang/go#24354.

Change-Id: Id9b409d019a79d9d3901df1f55ef69a5405e3351
Reviewed-on: https://go-review.googlesource.com/112879
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:31:34 +00:00
Bryan C. Mills ea056f3c87 cmd/racebuild: destroy in-flight gomotes on interrupt
Updates golang/go#24354.

Change-Id: I8db0dd81a669b1e75fc82295292d2d57d1c1935b
Reviewed-on: https://go-review.googlesource.com/112878
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:31:26 +00:00
Bryan C. Mills 329130d5c4 cmd/racebuild: stream stderr from gomote when building a single platform
Updates golang/go#24354.

Change-Id: I3953f3863b722691ff9ee17b764ef7258ca89f48
Reviewed-on: https://go-review.googlesource.com/112877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:31:07 +00:00
Bryan C. Mills d1518ba491 cmd/racebuild: simplify debugging
Print output directly to the racebuild log instead of separate log
files per builder.

Cancel all builders at the first error: if there is something wrong
with the Go or compiler-rt commit, it's probably wrong globally.

Add a --platforms flag to attempt only a subset of builds: that way,
we can update only a subset (e.g., to work around OS-specific bugs) or
iterate on a single failing platform without attempting all the other
platforms at the same time.

Sanity-check the platforms table at init to ensure that there are no
duplicates for the same OS/arch combination.

Updates golang/go#24354.

Change-Id: Ic4d4ab32ca6cc13a150c9bbfcc2e5fbd3742d704
Reviewed-on: https://go-review.googlesource.com/112876
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:30:37 +00:00
Bryan C. Mills 7bb4e0b802 cmd/racebuild: clarify LLVM revision in usage comment
LLVM uses Subversion for their primary repository, so one might expect
that the rev passed to racebuild would be a Subversion revision
number. It is actually a git commit hash.

Updates golang/go#24354.

Change-Id: I8528f4f80477e256d889e3bbc98de6309f449c1c
Reviewed-on: https://go-review.googlesource.com/112875
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 22:11:06 +00:00
Brad Fitzpatrick 4b011fe7b6 env/js-wasm, dashboard: add start of a js-wasm builder
Updates golang/go#18892

Change-Id: I4b16afe8f0ce74f6ecd022f8bca14ada94ab308f
Reviewed-on: https://go-review.googlesource.com/112736
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-11 14:44:38 +00:00
Brad Fitzpatrick 6ae8750e84 all: use Container-Optimized VMs instead of Kubernetes for buildlet containers
Fixes golang/go#25108

Change-Id: I084669b52b699700ed26a7fdd890d9205a8b9dc9
Reviewed-on: https://go-review.googlesource.com/111267
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-11 03:29:07 +00:00
Brad Fitzpatrick 2d3a6f76cb cmd/buildlet: detect a noexec tmpfs /workdir on Linux and remount it exec
Google's Container-Optimized Linux's konlet container start-up program
creates any requested tmpfs mounts as noexec. That doesn't work for
doing builds in, so remount it as executable.

This is required to run builds on COS instead of GKE.

Updates golang/go#25108

Change-Id: I9b719caf9180a03bafefa5b3b4b47ee43b9e5c1c
Reviewed-on: https://go-review.googlesource.com/112715
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-10 20:09:03 +00:00
Yury Smolsky d99851b7e1 devapp/owners: add a few roles of mine
x/tools/cmd/godoc and x/playground. I add myself as secondary to both
of them since I cannot do +2 votes, but I would like to participate in
reviews with the best of my knowledge.

Change-Id: Iedeb9320b6f76c67a9d15eb8f6f8956e4d2e2957
Reviewed-on: https://go-review.googlesource.com/112695
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-10 19:47:32 +00:00
Andrew Bonventre 4eddb88e48 devapp: gzip HTTP responses
Change-Id: I5aa9064a75e24f2b981e180a099ed7f6fde362d1
Reviewed-on: https://go-review.googlesource.com/112619
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-10 17:44:44 +00:00
Andrew Bonventre 6ec5059a80 devapp/owners: add /owners/ landing page
This page shows all entries with instructions on how to edit them.
It replaces the GET API that only allowed for matching a single
path in favor of using the POST endpoint for all requests.

Change-Id: I38e46d2ce01419fd030a743c669a9ffc482aeadd
Reviewed-on: https://go-review.googlesource.com/112617
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-10 17:43:25 +00:00
Andrew Bonventre 5a39ce29c1 devapp/owners: add POST endpoint for multiple paths
Change-Id: Ib9d5247d7e234e27103107006ca6f8b63617c51b
Reviewed-on: https://go-review.googlesource.com/112195
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-09 20:30:12 +00:00
Elias Naur a0203ea652 devapp/owners: add hyangah as secondary for the mobile repository
Change-Id: I5406d9b9bc1bac1a37306345ff79ba9159982703
Reviewed-on: https://go-review.googlesource.com/112396
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-09 15:57:04 +00:00
Bryan C. Mills 83328816d2 env/netbsd-*: add "clean" target to Makefiles
Change-Id: I83ad7028387215f82a403d8c188a66e6a2cb813f
Reviewed-on: https://go-review.googlesource.com/111075
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-09 15:23:59 +00:00
Elias Naur 03bbd1b511 devapp/owners: add eliasnaur to the mobile primary contact list
Change-Id: I4335adcba7be7a65003daa3f50e7eaee3280253d
Reviewed-on: https://go-review.googlesource.com/112395
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-09 15:11:33 +00:00
Brad Fitzpatrick e6f02a5d40 internal/buildgo: add new Client type, move MakeBasepin code from buildongce
* adds new buildgo.Client type to hold primarily a
  buildenv.Environment and a google.Credentials

* starts to unify, document, and otherwise clean up
  how we look up authentication info.

* use the new buildgo.Client type in the "buildongce"
  (poorly named) cluster bootstrap tool.

* moves the "basepin" creation code from buildongce into
  a new method on buildgo.Client, for later use in the
  coordinator for golang/go#21305

Change-Id: I976b60c992bf67589e7f85fc5a9133f8cbb32e70
Reviewed-on: https://go-review.googlesource.com/112162
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-08 21:12:55 +00:00
Agniva De Sarker ce6ebe2d15 devapp/owners: add agnivade to x/tools/cmd/godoc
Change-Id: I17cdb18b994e513394a90fade7a2929b4f55bc82
Reviewed-on: https://go-review.googlesource.com/112175
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-08 17:41:18 +00:00
Brad Fitzpatrick 5e39b3d9fe cmd/xb: add new safety command to double-check state of deployment commands
Updates golang/go#25283

Change-Id: Ic8a3c03d803a561d836d24737eb0baaa965172e3
Reviewed-on: https://go-review.googlesource.com/112035
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-08 16:47:14 +00:00
Daniel Martí 6d5f93fa5a devapp/owners: add a few roles of mine
cmd/doc, cmd/vet, text/template/..., and x/tools/cmd/stringer. As a
secondary for now, as I generally don't +2 CLs, and most of them already
have owners.

Change-Id: Ib2163cc605995c71515a3e7873b7225981f53041
Reviewed-on: https://go-review.googlesource.com/112076
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-08 14:55:53 +00:00
Alberto Donizetti 2021e17eae env/linux-x86-sid: add QEMU
Install qemu-user on the sid x86 builders to enable the QEMU user-mode
emulation tests added in CL 111477.

Change-Id: I28be452a843b7526b7d452b085e6fbfeb3a19ae7
Reviewed-on: https://go-review.googlesource.com/112077
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-08 14:50:01 +00:00
Josh Bleecher Snyder c0451d92a8 devapp/owners: update josharian's roles
Note that I duplicated the contents of math to math/rand,
in order to be able to add myself to math/rand without math.

I have generally moved myself out of Primary into Secondary,
because I sometimes disappear without warning for non-trivial lengths of time.

I also saw lots of places where I thought the table was missing other folks,
but I was unsure about the appropriateness of making changes on their behalf.

Change-Id: Ie826f9909870d780dec51d0c825304025cb65219
Reviewed-on: https://go-review.googlesource.com/111915
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-07 22:24:14 +00:00
Dmitri Shuralyov 72c2bfa63b maintner: fix sort in GitHub.ForeachRepo
Previously, the ids[i].Owner < ids[i].Owner condition would never
be true due to the typo.

Found with staticcheck tool by Dominik Honnef.

Change-Id: Ia067e68909c7f30968c927d4bfa68ca5f7653959
Reviewed-on: https://go-review.googlesource.com/111878
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-07 19:52:38 +00:00
Andrew Bonventre bd0d9b9fbb devapp/owners: seed ownership entries from golang.org/s/owners
Change-Id: If82cd3ee37265908006347e5ef3dbdeaa10d495d
Reviewed-on: https://go-review.googlesource.com/111295
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-07 19:27:57 +00:00
Dmitri Shuralyov 3848b4733c maintner: set GitHubComment.Updated to UTC when cmut.Updated is non-nil
This change fixes a copy-paste mistake from CL 38137, where the wrong
time variable was set to UTC when cmut.Updated is non-nil.

Change-Id: I4dc62abf9b70b52b700e3b6b688fa8adbc502d98
Reviewed-on: https://go-review.googlesource.com/111645
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-06 15:32:44 +00:00
Brad Fitzpatrick 23fc7515b0 buildlet: remove support for preemptible VMs we haven't used in a long time
Change-Id: I867c4b491327962410768291f8656665c2399e7b
Reviewed-on: https://go-review.googlesource.com/111641
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-05 17:19:19 +00:00
Brad Fitzpatrick a23395d5bb buildenv: add our GCP project numbers in addition to their named IDs
Updates golang/go#25108

Change-Id: I5a82a4b26407158cf24d770a887759f8335d6441
Reviewed-on: https://go-review.googlesource.com/111640
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-05 16:55:26 +00:00
Brad Fitzpatrick 14d99737ae all: rename Kube to Container and IsGCE to IsVM
Once containers run on COS instead of Kubernetes, one name (Kube*) is
wrong and the other (GCE) is ambiguous. So rename them now to be more
specific.

No behavior changes. Just renaming in this step, to reduce size of
next CL.

Updates golang/go#25108

Change-Id: Ib09eb682ef74acbbf6ed50b46074f834ef5e0c0b
Reviewed-on: https://go-review.googlesource.com/111639
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-05 16:50:07 +00:00
Brad Fitzpatrick dc1f665c06 internal/gophers: remove Alan dup
Change-Id: I903c744c49aa9ce7822caee3ad87c90a19d2bb61
Reviewed-on: https://go-review.googlesource.com/111260
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-04 18:44:34 +00:00
Brad Fitzpatrick 4d7c49a9d9 cmd/release: clean up .exe~ files on Windows
Fixes golang/go#23894

Change-Id: I11a644492431974b5422ee99881e89536dda8037
Reviewed-on: https://go-review.googlesource.com/111518
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-04 18:42:02 +00:00
Brad Fitzpatrick 9929a3fe2b all: move to using the oauth2/google.Credentials type, add buildenv accessor
This removes some duplication of scopes and how to get the
TokenSource and which credentials to use.

And update the coordinator deps, since its rev of
golang.org/x/oauth2/google was too old to have the new type.

I want to clean this up more, but I need to make some changes to to
the oauth2/google package first. More later.

Change-Id: Ic2799ec2ec62f67c65de6380b373fe915a43003e
Reviewed-on: https://go-review.googlesource.com/111266
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-04 17:04:37 +00:00
Brad Fitzpatrick af5f19c135 dashboard: fix two typos in comments
Change-Id: Id11d08e511b1dce0f107cd1faf404a5a37fed895
Reviewed-on: https://go-review.googlesource.com/111262
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-04 16:36:26 +00:00
Andrew 8c46052de7 devapp: log error if encoding owners response fails
Includes changes mistakenly omitted from 110996

Change-Id: I3e3da2590120f810d0413606c77cc0afa76029a9
Reviewed-on: https://go-review.googlesource.com/111115
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2018-05-02 22:30:05 +00:00
Andrew Bonventre 728cad7784 devapp: add /owners/ endpoint
The current logic returns the entry with the deepest path matched
to the given resource. Entries have Primary and Secondary fields
for indicating who should be in the Reviewer and CC fields in a
code review, respectively.

Change-Id: Icf315f7964326a2549146f2b0558de80749f0b5e
Reviewed-on: https://go-review.googlesource.com/110996
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-02 22:26:43 +00:00
Benny Siegert ff392962e3 env: update netbsd builders to 8.0_RC1
This updates both the 386 and the amd64 builder to the latest
NetBSD 8 release candidate, using the current versions of anita
(1.44) and pkgsrc packages (2018Q1).

Tested: ran both resulting images on GCE with buildlets.

Also added clang packages for use in golang/go#24354.

Change-Id: I00812f2ec315bca68fdfec14a6db1200d4f80d32
Reviewed-on: https://go-review.googlesource.com/109035
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2018-05-02 18:27:21 +00:00
Bryan C. Mills e0f5a8ae4e dashboard: update netbsd builders to 8.0RC1
Rename the 8branch builders from “8branch” to “8_0” (in keeping with
the version suffixes for FreeBSD and Darwin), and fix an apparent typo
in the 386 SSHUsername field.

Updates golang/go#25206.
Updates golang/go#25109.

Change-Id: I6053c8de17dcb3c7ff32da05c51902ac4bcc45fe
Reviewed-on: https://go-review.googlesource.com/110626
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-02 18:25:07 +00:00