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

2101 Коммитов

Автор SHA1 Сообщение Дата
Brad Fitzpatrick 72d4803bf3 go.mod: update past go-cmp's checkptr fix
To fix our race build.

Updates google/go-cmp#167

Change-Id: I8d57cb4b7e0244f7d0944717b2e472afdfec218d
Reviewed-on: https://go-review.googlesource.com/c/build/+/203880
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-28 18:03:08 +00:00
Rebecca Stambler b0cde52dd8 cmd/coordinator: add TRY=x/foo syntax for testing subrepos
This change adds support for user-invoked TryBots through the new TRY=
syntax. If the user comments TRY=x/foo on a CL to the Go repository, the
linux-amd64 builder will run at head for that repository.

Updates golang/go#34348

Change-Id: I0e7f470329866969586057501034385596e5caa0
Reviewed-on: https://go-review.googlesource.com/c/build/+/203677
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-28 17:20:33 +00:00
Brad Fitzpatrick c212a3a641 dashboard: stop checking whether the branch/rev supports js/wasm for js/wasm
It's supported it for ages. We no longer support or build branches
that didn't have js/wasm support.

See https://github.com/golang/go/issues/35170#issuecomment-546737010

Updates golang/go#35170 (still need a maintner fix, ideally)

Change-Id: If5489dd266dea9a3a48bbc29f83528c0f939d23b
Reviewed-on: https://go-review.googlesource.com/c/build/+/203757
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-28 15:41:39 +00:00
Joel Sing 23861f9900 dashboard: add openbsd-arm-jsing builder
This will allow the openbsd-arm builder to be migrated to a buildlet.

Change-Id: If38788daf2d1e7f237ebdcce384a098e08bffb0b
Reviewed-on: https://go-review.googlesource.com/c/build/+/192598
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-28 03:35:06 +00:00
Tobias Klauser c0a862ac00 dashboard: only build tip on freebsd-arm64-dmgk builder
Updates golang/go#24715

Change-Id: I9f1aeac0d3b5f625e0f68b6bad17445a41a87b22
Reviewed-on: https://go-review.googlesource.com/c/build/+/203420
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-26 07:03:53 +00:00
Tobias Klauser ebf7c18e41 dashboard: add SlowBot alias for freebsd-arm64-dmgk
This should fix TestSlowBotAliases on tip.

Updates golang/go#24715
Updates golang/go#34501

Change-Id: I80f99a5c24ef0860717605816a753fe6625aff17
Reviewed-on: https://go-review.googlesource.com/c/build/+/203421
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-25 20:01:54 +00:00
Brad Fitzpatrick 34578470c8 buildlet, cmd/coordinator: stop using legacy Request.Cancel for cancellation
Maybe this will solve the golang/go#28365 problems. But at least it
gets us into codepaths that are known & trusted, and removes use of
deprecated API.

Also, add more logging to help debug golang/go#28365.

Updates golang/go#28365

Change-Id: Ibff2b03fd82573cbeedbbc22d12c30ae1a3c3aa0
Reviewed-on: https://go-review.googlesource.com/c/build/+/203217
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-24 19:35:26 +00:00
Brad Fitzpatrick bb675a0337 env/js-wasm: update to Node.js v13.0
I'm hoping the V8 bump gets us past some tests that were too slow
before.

Updates golang/go#31282 (slow x/text/unicode/norm)

Change-Id: I80bdded59c0148c4d3f277acc82c5cac7a339666
Reviewed-on: https://go-review.googlesource.com/c/build/+/202641
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-24 16:03:32 +00:00
Brad Fitzpatrick f4570bbdcb cmd/makemac: report error if filesystem is read-only
Fixes golang/go#32449

Change-Id: I35d059778ab96ef4d57236aaccb41698314d6fac
Reviewed-on: https://go-review.googlesource.com/c/build/+/202822
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-24 15:57:58 +00:00
Dmitri Shuralyov 5ac7036ae8 cmd/gitmirror: add 10 minute timeout to git fetch
The Repo.fetch method tries to execute "git fetch" up to 3 times with
linear back-off. We don't expect the git fetch process to take more
than a few minutes unless something is very wrong. At that point,
it's better to abort and try again. So, add a 10 minute timeout.

This should help prevent fetch from being stuck and never retrying.

Fixes golang/go#35124

Change-Id: Ic06a552378f8bff1bea314288a3637548663a3ef
Reviewed-on: https://go-review.googlesource.com/c/build/+/203057
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-24 15:25:45 +00:00
Dmitri Goutnik 39f3d49936 dashboard: add FreeBSD arm64 builder
Updates golang/go#24715

Change-Id: I8eb3f6372d69718b6f453e5415cdf16aa00ccae6
Reviewed-on: https://go-review.googlesource.com/c/build/+/198597
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-22 17:42:34 +00:00
Rebecca Stambler 6e39db66ef cmd/gopherbot: make sure gopls is in the title prefix before labeling
There have been a few instances of people reporting cmd/go issues with
gopls as an example binary that they tried to install. This leads to
issues being labeled as gopls issues, even if they are not.

Change-Id: Iead43281c4b12bebc8748057d4af7131d61d1681
Reviewed-on: https://go-review.googlesource.com/c/build/+/202297
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-21 21:29:37 +00:00
Brad Fitzpatrick 70a7cc8956 dashboard: add windows and 32-bit longtest builders
Fixes golang/go#29641
Fixes golang/go#26529

Change-Id: I5ab3aa443276ab36b866d7fabc1d78a82b34cb64
Reviewed-on: https://go-review.googlesource.com/c/build/+/202479
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-21 17:18:41 +00:00
Brad Fitzpatrick b01e49293f cmd/coordinator: fix health checking of ppc64 machines
Fixes golang/go#34990
Updates golang/go#21189

Change-Id: I7f546564dd5149de6915dc631cafe3164e0e7a70
Reviewed-on: https://go-review.googlesource.com/c/build/+/202017
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-21 15:33:02 +00:00
Brad Fitzpatrick 92a45e45f1 cmd/coordinator: include command output in timeout failures
Fixes golang/go#34576

Change-Id: I77d85c311612bdbdcff665051659c2609a0af760
Reviewed-on: https://go-review.googlesource.com/c/build/+/202477
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-21 15:32:37 +00:00
Brad Fitzpatrick 5877195c83 dashboard: update Dragonfly tip policy for ABI change, add release builder
From https://github.com/golang/go/issues/34958#issuecomment-543852995 :

> Go's DragonFly support policy is that we support the latest stable
> release primarily, but also try to keep DragonFly master passing, in
> prep for it to become the latest stable release.
>
> But that does mean we need one more builder at the moment.

Updates golang/go#34958
Updates golang/go#23060

Change-Id: I84be7c64eac593dee2252c397f9529deea13605a
Reviewed-on: https://go-review.googlesource.com/c/build/+/202478
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-21 15:32:29 +00:00
Brad Fitzpatrick 4ef0deba65 env/crosscompile: update the three cross compile envs from Jessie to Buster
The earlier fix to remove IN_KUBERNETES in buildlet/stage0/stage0.go
in CL 201739 caused Kubernetes-based cross compilation builds on fail
to start up because I forgot to rebuild & push those container images.

But when I went to re-push them, I found they're too old (Debian
Jessie) and don't build anymore. So update them to Debian Buster.

While I'm here, remove the Debian release name from their image name,
as this won't be the last time we need to upgrade them. Unlike real
builders, the OS release isn't the point of these containers, as they
don't run tests. They exist only to do builds, so the OS isn't
interesting or worth calling out.

Updates golang/go#34956

Change-Id: Iee4691a821421b161a9333b4441f83ff45d1ffec
Reviewed-on: https://go-review.googlesource.com/c/build/+/202021
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-19 04:31:59 +00:00
Brad Fitzpatrick ad7af46dd4 dashboard, cmd/coordinator: move cross compilation config into dashboard package
The dashboard package has been gradually absorbing all configuration,
keeping cmd/coordinator only about mechanics. But we'd missed this
cross compilation bit in earlier cleanups.

Move it, and add some tests & docs while I'm at it.

Also, disable the linux-arm-nativemake builder by default. It's
redundant with linux-arm. They used to be more different when we
always cross compiled for linux-arm, but I guess that got disabled at
some point. At this poin it serves no purpose except as an opt-in
slowbot if the user really wants to run make.bash on scaleway.

Change-Id: Iac683ccf4d30214330480f9db39f131263b1bf8a
Reviewed-on: https://go-review.googlesource.com/c/build/+/202020
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-19 04:07:55 +00:00
Brad Fitzpatrick a5b0e78f4f dashboard: update linux-arm-arm5 owner
Updates golang/go#34973

Change-Id: Ic38075e5c1e248a3081be396b63470b3cd5bcc45
Reviewed-on: https://go-review.googlesource.com/c/build/+/202019
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-18 18:11:55 +00:00
Joshua M. Clulow f377c61833 cmd/buildlet: handle read-only directories in work area
Fixes golang/go#34980

Change-Id: I9d87e2267529212efc370ca6a858452eb829b5bb
Reviewed-on: https://go-review.googlesource.com/c/build/+/201917
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-18 17:32:14 +00:00
Brad Fitzpatrick aab85040a6 cmd/coordinator: add SlowBots support, opt-in to different slow trybots
This parses TRY= comments to opt-in to slower/difference trybots.

This needs some docs/UI work yet.

Updates golang/go#34501

Change-Id: I13a835520d7ac341bc86139b0a2118235bc83e60
Reviewed-on: https://go-review.googlesource.com/c/build/+/201338
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-18 14:56:48 +00:00
Brad Fitzpatrick c53d4ba783 all: update linux-ppc64le builders
Fixes golang/go#21189
Updates golang/go#21260
Updates golang/go#34830 (ppc64 big endian remains)

Change-Id: I7ff38edb519bf4f34cd05bb795b6a41f72b10640
Reviewed-on: https://go-review.googlesource.com/c/build/+/201637
Reviewed-by: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-17 22:31:03 +00:00
Joshua M. Clulow a022e90a42 dashboard: add interim illumos builder
While the work to make illumos a first class GCE guest is completed, use
this interim zone provided by an illumos community member to run illumos
builds.

Updates golang/go#15581

Change-Id: I1784847e5407894d01ce0aadf489b38d7e5c1924
Reviewed-on: https://go-review.googlesource.com/c/build/+/201597
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-17 22:18:47 +00:00
Meng Zhuo 68cf80d0b8 cmd/racebuild: add linux/arm64
Change-Id: Ieaac19bca46410a2d4f9648278a6307236d69e1e
Reviewed-on: https://go-review.googlesource.com/c/build/+/198397
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-17 21:59:17 +00:00
Brad Fitzpatrick f24504d3b6 all: remove use old, overloaded of IN_KUBERNETES
Fixes golang/go#34956

Change-Id: Ie6f521eee5995102d6dc13f92ecca6601a68661b
Reviewed-on: https://go-review.googlesource.com/c/build/+/201739
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-17 19:02:58 +00:00
Rebecca Stambler 0dcb7edcc2 cmd/gopherbot: check if bug opened by a known contributor before labeling
This change prevents GopherBot from adding a helpful comment on bugs
opened by known contributors.

Change-Id: Ibda3523d5a90e05f1eaf1be61ce555645f14e26f
Reviewed-on: https://go-review.googlesource.com/c/build/+/200762
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-16 18:45:32 +00:00
Brad Fitzpatrick fb99c762cb env/linux-arm64: add netbase for the /etc/services file
The /etc/services file used to be elsewhere in Jessie. When we
upgraded to Buster we lost it and now need the netbase package.
We've had to do this for other builders we upgraded from Jessie but
I forgot.

Updates golang/go#34905

Change-Id: I24c4271839cc2c4a9556f88d7347b031bd3a29bb
Reviewed-on: https://go-review.googlesource.com/c/build/+/201459
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-16 16:25:40 +00:00
Brad Fitzpatrick e7b8bbcf25 maintner/maintnerd: return TRY= comment directives in Run-TryBot votes
For slowbots support.

Updates golang/go#34501

Change-Id: I6f8a8b187c3ce4531498f106d62e29e1d1f421d8
Reviewed-on: https://go-review.googlesource.com/c/build/+/201204
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-10-16 02:45:01 +00:00
Brad Fitzpatrick 4e9e211aa5 cmd/release: don't include a godoc shortcut in Windows installer
Fixes golang/go#34892

Change-Id: I9dc14575677c3a4d75a12556896dbed340d442cc
Reviewed-on: https://go-review.googlesource.com/c/build/+/201201
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-15 17:05:57 +00:00
Brad Fitzpatrick 09c7190c6c dashboard: update darwin-amd64-race to macOS 10.14
Fixes golang/go#34920

Change-Id: I57056baf5ea40804305ec91e05ec3b3c055bec9c
Reviewed-on: https://go-review.googlesource.com/c/build/+/201199
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-15 16:02:36 +00:00
Brad Fitzpatrick b568f66b62 env/linux-arm64: update container image from Debian Jessie to Buster
Fixes golang/go#34905

Change-Id: Ib467d31b158b5ad3f4f993959fdf1a25ac91b8b1
Reviewed-on: https://go-review.googlesource.com/c/build/+/201080
Reviewed-by: Keith Randall <khr@golang.org>
2019-10-15 05:22:45 +00:00
Brad Fitzpatrick 9c8585c63f env/linux-ppc64{,le}/osuosl: update NOTES
Add details of 3 new big VMs: POWER8 (le), POWER9 (le), and POWER8 (be).

Still not configured, but we have them provisioned.

Updates golang/go#34830
Updates golang/go#21189
Updates golang/go#21260

Change-Id: If648e9966485062cda8131caf2ac5f87ab839fc5
Reviewed-on: https://go-review.googlesource.com/c/build/+/200820
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-15 03:55:19 +00:00
Quinten Yearsley e43bf47e32 gerrit: correct the field name for commit message in RevisionInfo
The actual field returned by Gerrit in practice is called
CommitWithFooters:
https://gerrit.googlesource.com/gerrit/+/b2ce0c1008bb2755b999f45bbf4c81b8bb3aaaaf/java/com/google/gerrit/extensions/common/RevisionInfo.java

The field was apparently called "message with footers" here because of
out-of-date or inaccurate documentation; docs updated in
https://gerrit-review.googlesource.com/c/gerrit/+/227372.

Change-Id: I03c6ecda9eb49f12250c044d16f10b78c56c3925
Reviewed-on: https://go-review.googlesource.com/c/build/+/181340
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-14 22:22:43 +00:00
Emmanuel T Odeke d96739412d revdial: remove redundant error return condition
Change-Id: Ic5e32b36d1b0dfd4c2524ed5b3aa0a3eef3b2e18
Reviewed-on: https://go-review.googlesource.com/c/build/+/111265
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-14 21:59:30 +00:00
Tobias Klauser cbdd89b904 dashboard: enable builds for golang.org/x/term
After CL 200681 the golang.org/x/term package contains some code to
build/test.

Change-Id: I209792073c1ceeb1093d121e1a01b95ae2c35644
Reviewed-on: https://go-review.googlesource.com/c/build/+/200869
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-14 15:52:41 +00:00
Brad Fitzpatrick 90670e123a dashboard: disable nacl builders for the dev.link branch
Updates golang/go#30439

Change-Id: Ic2548709c4a55c2c8b29a4f074bcb3df8292a7c3
Reviewed-on: https://go-review.googlesource.com/c/build/+/200765
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-11 19:13:00 +00:00
Brad Fitzpatrick 85c334c0a8 env/linux-ppc64le/osuosl: update NOTES
One of the little ppc64le VMs was lost in the upgrade, and we got one
new beefy one.

Updates golang/go#34830
Updates golang/go#21189
Updates golang/go#21260

Change-Id: I4488d106c5c146c6e55d2d3528913f5507b9d57b
Reviewed-on: https://go-review.googlesource.com/c/build/+/200757
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-11 17:18:28 +00:00
Brad Fitzpatrick e1f196422c cmd/coordinator: make gomote proxy 502 error include detail
Go 1.11 added ReverseProxy.ErrorHandler; use it to make the
httputil.ReverseProxy failures print the underlying error back to the
(trusted) client. (Normally the client isn't necessarily trusted
enough to get the full info)

Also, log more to stderr where we can search for it.

Updates golang/go#28365

Change-Id: Iac2d863b159f24fda2e0e6e1f7374ed05434d3e4
Reviewed-on: https://go-review.googlesource.com/c/build/+/200738
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-11 16:47:41 +00:00
Andrew Bonventre a3b43586c3 cloudfns: add issueswebhook to store issue events in GCS
To do historical analysis, it is helpful to have a corpus of
events data from GitHub. Store all GitHub events in a GCS
bucket until golang/go#29396 is fixed.

Updates golang/go#29396

Change-Id: Ia0172db93e019a8d6ab4ccf6e195f3a3e15583bd
Reviewed-on: https://go-review.googlesource.com/c/build/+/199638
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-10 20:44:41 +00:00
Carlos Eduardo Seo a07c53d8a3 dashboard: fix ssh username for ppc64le-power9 builder
Updates golang/go#34739

Change-Id: I6499ff6a0e1885fad3a5f5ba7c1fa4e0113e716c
Reviewed-on: https://go-review.googlesource.com/c/build/+/200398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-10 20:17:00 +00:00
Brad Fitzpatrick ed99f86950 dashboard: re-enable js/wasm test dir tests
They were removed to make the build faster but they've let a few
bugs slip by now.

Re-enable.

The 10 test shards adds 812 seconds of test time. Over 5 machines,
that's 162.4 seconds each. Add another test shard to bring it down
more.

js-wasm trybots are currently at ~350 seconds, so we have some budget
to get a bit slower and still be under 5 minutes.

Updates golang/go#34768

Change-Id: Ic40c226d26e873227510e644756b0cc969151186
Reviewed-on: https://go-review.googlesource.com/c/build/+/200477
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-10 19:25:12 +00:00
Brad Fitzpatrick 4c6d3ea0ad dashboard: fix ssh username for ppc64 builders
Updates golang/go#34739

Change-Id: I9e9bcf66a4e3939a68178b344672a1bab2698bb4
Reviewed-on: https://go-review.googlesource.com/c/build/+/200377
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-10 17:48:47 +00:00
Brad Fitzpatrick b61ecd0449 dashboard, cmd/coordinator: remove Joyent builders
Joyent.com is shutting down their public cloud, so we no longer
have our GOOS=solaris or GOOS=illumos builders there.

Maybe somebody will find a new place to run them. Or maybe the ports
will be abandoned. We'll see.

Updates golang/go#15581

Change-Id: I0590227ce61b6b298b6aa4554e5e3bc9e4c464b5
Reviewed-on: https://go-review.googlesource.com/c/build/+/200219
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-10 15:48:32 +00:00
Andrew Bonventre 8b8ef91793 devapp: add more tags to reviews dashboard
Adds tags for trybot results, release milestones of issues the CL
is referencing, and Code-Review: -1.

Fixes golang/go#30576

Change-Id: Idcfe31a3953619218a2e1c9b75f80813dd4158ef
Reviewed-on: https://go-review.googlesource.com/c/build/+/199646
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-10-09 22:36:22 +00:00
Andrew Bonventre 1389a95585 devapp: add stats page plus some minor cleanup
+ Adds a stats page that shows open CLs over time
+ Adds a command-line flag to reload templates on each request
+ Breaks some repeated code into some shared logic
+ Some minor cleanup to adhere to best practices

Change-Id: I2d84a1e5c77c7e9131c758d69e4a9bf9a9d815f4
Reviewed-on: https://go-review.googlesource.com/c/build/+/199637
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-10-09 22:36:12 +00:00
Dmitri Shuralyov 817d966b7e app/appengine: hide release-branch-only builders when viewing master branch
This is a follow-up to CL 199800. That change started to consider more
builders as active to allow release-branch-only builders to run.

However, it also made those builders show up as new empty columns when
viewing builds for the master branch. There are quite a few old FreeBSD
builders that only run on release-branch.go1.12, and it's too disruptive
to have them appear everywhere. So, hide them when viewing the master
branch of Go repo in the UI.

There can be more UI improvements to be made, and this can become too
much of a whack-a-mole to address them one by one. The scope of this CL
is to fix the most disruptive high priority problem for now. Further
improvements will happen later, with merging of app/appengine and
cmd/coordinator codebases in mind.

Updates golang/go#34738
Updates golang/go#34744

Change-Id: I3df75f8b2bbd5f6fe8097c181ee8a1b1b4354dc9
Reviewed-on: https://go-review.googlesource.com/c/build/+/199878
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-08 18:56:58 +00:00
Dmitri Shuralyov 76fd6b5837 dashboard: catch potential pitfall in TestBuilderConfig
Previously, it was possible to accidentally try to specify the
branch name for the Go repository by writing something like:

	{b("nacl-386", "go@go1.13"), none},

That looks like it would test the right thing,
but in reality it would be equivalent to:

	{b("nacl-386@master", "go"), none},

Because the branch of the builder always overwrites the branch
of the "go" repository.

This is not intuitive and easy to miss when reviewing or reading
the code.

Add a check that detects and panics on this b() API pitfall,
so that it is not accidentally introduced in the future, and
so that code readers don't need to spend time verifying that
none of the existing test cases have fallen victim to it.

Updates golang/go#34738

Change-Id: Id2986e88c0e3585eaa7b45f33de97e1902847305
Reviewed-on: https://go-review.googlesource.com/c/build/+/199817
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-10-08 17:24:45 +00:00
Dmitri Shuralyov 67e2d13fc2 app/appengine: don't exclude release-branch-only builders
The filtering of builders in commitBuilders was too strict,
causing post-submit builders that are configured to run on
release-branches only to not get included in the list of
builders.

This change makes the following builders no longer skipped:

	darwin-amd64-10_10
	freebsd-386-10_3
	freebsd-386-10_4
	freebsd-386-11_1
	freebsd-amd64-10_3
	freebsd-amd64-10_4
	freebsd-amd64-11_1
	nacl-386
	nacl-amd64p32

We may need to adjust the build.golang.org UI after to avoid
including unhelpful columns, but this is a first step to get
nacl builders to run on release branches again.

Updates golang/go#34738
Updates golang/go#34744

Change-Id: Iaf2b93aedd5f44b48b9a63b57f12549fe50b1637
Reviewed-on: https://go-review.googlesource.com/c/build/+/199800
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-08 16:37:09 +00:00
Colin Nelson 099b676f69 gcslog: fix bucket improperly set
Now use gl.bucketName as opposed to the passed "bucketName".

Change-Id: Idb405798e90d7a3815b542642e8d6e248c9890be
Reviewed-on: https://go-review.googlesource.com/c/build/+/199237
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-10-07 22:31:30 +00:00
Gergely Brautigam c41ee31c2e maintner: increase test coverage for github.go and maintner.go
This change set increases the coverage around Event parsing and handling in github.go.

Fixes golang/go#30122

Change-Id: Id0349be892ba14820bdbe2132ed4acd092902f84
GitHub-Last-Rev: cc57f3d073
GitHub-Pull-Request: golang/build#16
Reviewed-on: https://go-review.googlesource.com/c/build/+/157437
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-10-02 16:22:21 +00:00