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

2604 Коммитов

Автор SHA1 Сообщение Дата
Baokun Lee a4cf489a79 dashboard: add a new wsl builder to improve service availability
For golang/go#17365

Change-Id: Icf776550e3f17d86bf0f74d5598912fe1a18cb50
Reviewed-on: https://go-review.googlesource.com/c/build/+/278874
Run-TryBot: Baokun Lee <bk@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Meng Zhuo <mzh@golangcn.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Trust: Bryan C. Mills <bcmills@google.com>
2021-01-08 02:31:59 +00:00
Dmitri Shuralyov 0a4bf693f6 dashboard: shard openbsd-amd64-68 TryBot also
The goal in CL 279512 was to reduce numTryTestHelpers from 5 to 4,
but it unintentionally set the field only in the 386 builder, not
the amd64 one. This caused the amd64 OpenBSD TryBot to get very
slow (20-25 minutes), making it very much a bottleneck for overall
TryBot completion time.

Also stop explicitly setting some fields in openbsd-amd64-62
builder that have no effect by now, to simplify configuration.

For golang/go#17104.
Updates golang/go#35712.

Change-Id: I22823e4848cab65f11bde2a1cc70527929d0792d
Reviewed-on: https://go-review.googlesource.com/c/build/+/279723
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-12-23 19:58:56 +00:00
Dmitri Shuralyov 7d700e0041 dashboard: pick 4 TryBot helpers for -longtest SlowBots
Based on the data we have so far, 4 helpers seems like a good number
to pick. It provides a balance between resource use and diminishing
returns. We may need to adjust it as future work for issue 42661,
but a first step will be to reduce overhead in accessing historical
build timing data.

Fixes golang/go#37439.
Updates golang/go#42661.

Change-Id: I1bfddf85f2dba8b42dc7b8f8749bbf45b614e93d
Reviewed-on: https://go-review.googlesource.com/c/build/+/279513
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-12-23 17:06:05 +00:00
Dmitri Shuralyov 01e47d9e24 dashboard: promote OpenBSD 6.8 builders to be default
The known issue with OpenBSD 6.8 builders appears to be resolved
via CL 278732 and CL 279134. Promote them to the primary OpenBSD
post-submit builders and TryBots.

Having test coverage from OpenBSD 6.8 and 6.4 builders gives us
us more confidence that Go works on supported OpenBSD versions
(which are 6.8 and 6.7 at this time, per past policy decision
in https://golang.org/issue/15227#issuecomment-293319876).

Reduce numTryTestHelpers from 5 to 4 based on some data from
golang.org/issue/37439 showing that going from 3 to 5 helpers
doesn't make a significant difference. We can adjust further
if we learn that OpenBSD TryBots become the bottleneck.

Fixes golang/go#35712.
For golang/go#42542.
For golang/go#42064.
Updates golang/go#42426.

Change-Id: Id2fa4be7c3161f89752c1428146846fe06ca63db
Reviewed-on: https://go-review.googlesource.com/c/build/+/279512
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-23 17:04:46 +00:00
Austin Clements 8088608fd6 dashboard: add linux-amd64-regabi builder
This adds a builder for the GOEXPERIMENT=regabi configuration of the
compiler. We'll want this builder until we enable regabi by default.

Updates golang/go#40724.

Change-Id: Ib1c7ae1e914116dd8a4440db8ee46d6af3ed1ad6
Reviewed-on: https://go-review.googlesource.com/c/build/+/279673
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-22 18:09:53 +00:00
Dmitri Shuralyov 12bad41154 maintner/maintnerd/maintapi: use project~numericId ID type in goFindTryWork
In rare cases, the project~branch~Change-Id change ID type will not
uniquely identify a Gerrit CL. Switch to the suggested¹ identifier
type project~numericId which can handle those cases.

¹ https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#change-id

Fixes golang/go#43312.

Change-Id: I17b6afecd45fc456cd1a2aec3c727f9b90b5a3ef
Reviewed-on: https://go-review.googlesource.com/c/build/+/279672
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-12-22 16:52:58 +00:00
Dmitri Shuralyov c7c6787ab3 dashboard: update OpenBSD 6.8 images with 009_exit syspatch, take 2
These images were regenerated after the fix in CL 278732.

For golang/go#35712.
Updates golang/go#42542.
Updates golang/go#42426.

Change-Id: Ib9c9dc316e4f68e7fed2cafe5400942a94ba8fd2
Reviewed-on: https://go-review.googlesource.com/c/build/+/279134
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
2020-12-18 06:02:17 +00:00
Joel Sing 1355586135 env/openbsd-amd64: syspatch on first boot
syspatch is currently being invoked at the end of the installation, which
means we're trying to patch the installation ramdisk kernel, rather than the
generic kernel. Instead, invoke syspatch during the first boot of the generic
kernel. Move pkg_add as well, since that is also generally safer to run outside
of the installation.

Update golang/go#35712
Update golang/go#42542

Change-Id: Icbb384816de5859078a0183919626d223fb0060f
Reviewed-on: https://go-review.googlesource.com/c/build/+/278732
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-17 20:07:03 +00:00
Alexander Rakoczy 911ac7df6d dashboard: remove known issue for darwin arm builder
The builder successfully passes all.bash and produces binary releases.

Updates golang/go#42756
Fixes golang/go#39782

Change-Id: I554a1e3541d185958103e11dcc4b2514445d8275
Reviewed-on: https://go-review.googlesource.com/c/build/+/278772
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-12-17 15:52:46 +00:00
Dmitri Shuralyov 4682f4add6 cmd/releasebot, cmd/release: add darwin-arm64 target for Go 1.16
For golang/go#42756.

Change-Id: Ia28fb6878617715fb674ccfad0c5801c8925270b
Reviewed-on: https://go-review.googlesource.com/c/build/+/278436
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-16 23:36:47 +00:00
Joel Sing 75c2a8831e dashboard: remove known issue from openbsd-mips64-jsing builder
The openbsd/mips64 port is now functional and stable.

Fixes golang/go#40995

Change-Id: I959e6ab53777a3e048d89434f60aec365b0900b4
Reviewed-on: https://go-review.googlesource.com/c/build/+/275333
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-12-16 20:55:08 +00:00
Dmitri Shuralyov b0441a6af4 cmd/release: update checkRelocations for Go 1.16
The plan in https://golang.org/issue/40561#issuecomment-731482962
involved updating the linux-amd64 target from Debian Jessie to
Debian Stretch, which in turn comes with a newer version of GCC.

checkRelocations was added in CL 171317 in response to a bad minor
release that was accidentally issued without the intended fix, and
needs to be updated for Go 1.16 and newer releases. It's not clear
if we want to maintain it indefinitely for future Go versions, but
keep it for a bit longer. Add a note to make it clear that it can
be removed as needed in the future.

For golang/go#40561.
Updates golang/go#31293.

Change-Id: I2da419eff6379575eb2648787f0dac6bba07b304
Reviewed-on: https://go-review.googlesource.com/c/build/+/278357
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-12-15 21:38:44 +00:00
Alexander Rakoczy 9ad13bacde dashboard: add new darwin-arm64-11_0-toothrot builder
These builders are run by the Go team. They are non-hermetic.

For golang/go#39782

Change-Id: Ie402faf9a92ff6c667c8da6fc0dac8528331df48
Reviewed-on: https://go-review.googlesource.com/c/build/+/278432
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-12-15 18:54:39 +00:00
Julie Qiu 7ff1f9441a all: add or change GoDoc badge to pkg.go.dev manually
READMEs with a GoDoc badge that were not changed by update-readmes.go
are manually changed.

For golang/go#42251

Change-Id: Iaaa815e4a5f0905cfb20ea62fcb4cf2e75fde991
Reviewed-on: https://go-review.googlesource.com/c/build/+/276033
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-15 04:54:49 +00:00
Julie Qiu a56ae9428e all: add or change GoDoc badge to pkg.go.dev with update-readmes.go
update-readmes.go is updated to add a pkg.go.dev badge instead of a
godoc.org badge.

The GoDoc badge is added or changed in all READMEs by running
update-readmes.go

For golang/go#42251

Change-Id: I0c49df26a6c695f938c98c9a7b26325d991b3cfb
Reviewed-on: https://go-review.googlesource.com/c/build/+/276032
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-15 04:52:31 +00:00
Dmitri Shuralyov fc1f3f8707 dashboard: update OpenBSD 6.8 images with 009_exit syspatch
For golang/go#35712.
Updates golang/go#42542.
Updates golang/go#42426.

Change-Id: Ifbdd025b8d1708e715ba312c438f391e1aeaeff8
Reviewed-on: https://go-review.googlesource.com/c/build/+/277115
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
2020-12-11 05:44:30 +00:00
Ruixin Bao 97266ed6e4 dashboard: change owner for host-linux-s390x
This CL changes the owner for host-linux-s390x as
Michael will be leaving IBM at the end of this week.

See https://groups.google.com/g/golang-dev/c/obUDaYbaxXw.

Change-Id: Ic140743387cff02be7c0471f803c5a30d812d0c3
Reviewed-on: https://go-review.googlesource.com/c/build/+/274512
Reviewed-by: Michael Munday <michael.munday@live.co.uk>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Michael Munday <michael.munday@live.co.uk>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2020-12-10 19:54:34 +00:00
Dmitri Shuralyov 90d5e7c418 cmd/release, dashboard: implement builder plan for Go 1.16
See https://golang.org/issues/40561#issuecomment-731482962
for the plan description and rationale.

Add new builder definitions that are needed for the plan.
Don't rely on generic builder name like "linux-amd64" to
avoid a repeat of golang.org/issue/31293; use a specific
builder name instead.

Remove support and test cases for Go 1.13, it's unsupported
per release policy.

For golang/go#40561.

Change-Id: I070744e15be9f1932d649a27ee7e4599e467553f
Reviewed-on: https://go-review.googlesource.com/c/build/+/276034
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-12-09 04:57:37 +00:00
Julie Qiu 0949104402 README.md: add badge to pkg.go.dev
Change-Id: Ib182f3257938ce7233ed68436bbfb28ddd1053f1
Reviewed-on: https://go-review.googlesource.com/c/build/+/275234
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Julie Qiu <julie@golang.org>
2020-12-07 21:45:17 +00:00
Jason A. Donenfeld b6220de1ad dashboard: expand time scale for windows-arm builder
This builder has very slow I/O and could benefit from some extra time on
a few tests. At the moment, the tests for x/review/git-codereview are
failing with a time out, for example.

Updates golang/go#42925.

Change-Id: I532f4ddd3b9e7fd0a66ea9631b3fa7ce363e05a4
Reviewed-on: https://go-review.googlesource.com/c/build/+/274572
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-01 19:18:38 +00:00
Dmitri Shuralyov 4ab6ffe488 cmd/relnote: use Gerrit API to find RELNOTE markers in inline comments
Also filter out CLs on development or release branches.

Fixes golang/go#41849.

Change-Id: Ie6da4356d5f323dc15bd31b396889bfbf550d30b
Reviewed-on: https://go-review.googlesource.com/c/build/+/272907
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-12-01 17:57:49 +00:00
Dmitri Shuralyov 20e7ccc701 cmd/relnote: use GerritCL.Subject method instead of clSubject function
Apply a trivial code simplification. Tested by re-running relnote, and
its output did not change.

For golang/go#41849.

Change-Id: Ifffebca5ee55d7470f32a2469b4e41d1a1a458d1
Reviewed-on: https://go-review.googlesource.com/c/build/+/272906
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-12-01 17:57:11 +00:00
Jason A. Donenfeld 9bcb083a26 dashboard: remove issue for windows/arm builder
We originally left the issue attached to the builder, before we knew
that it worked. But it appears to be working well, with no shortage of
work to do from farmer.

Fixes golang/go#38607.

Change-Id: I0e654c825a92b64132efbc409b768e5e83967802
Reviewed-on: https://go-review.googlesource.com/c/build/+/273786
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-28 23:31:53 +00:00
Meng Zhuo 2e05377d74 dashboard: add new linux-amd64-wsl builder
Updates golang/go#17365

Change-Id: I90b9c1c8f82ae9164deacea36ff5dafd008eef03
Reviewed-on: https://go-review.googlesource.com/c/build/+/272266
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-11-25 00:46:39 +00:00
Carlos Amedee 302a384228 env/linux-x86-buster, dashboard: add netbase package to the host
This change adds the netbase package to the host. The netbase package
includes several components necessary for TCP/IP based networking.
Network related unit tests were failing on builders using this host
without this package.

Fixes golang/go#42750

Change-Id: Id98d46efac4fe98ecf475035218be181c3d8dec0
Reviewed-on: https://go-review.googlesource.com/c/build/+/272486
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-23 20:09:03 +00:00
Carlos Amedee 81f4b09b18 env/linux-x86-buster: add Debian Buster builder
This change adds a Debian Buster builder.

Fixes golang/go#42410

Change-Id: If11ebe6df3bad88aac40b0a6f841edc5fb3a5b4a
Reviewed-on: https://go-review.googlesource.com/c/build/+/267937
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-23 16:34:01 +00:00
Jason A. Donenfeld 5d75ed716d dashboard: add new Windows ARM builder
This partially reverts CL 229559, while adjusting it to use a new
builder. The builder will be used now for windows/arm and later for
windows/arm64.

Updates golang/go#42604.
Updates golang/go#38607.
Updates golang/go#36439.

Change-Id: I1ab661a6585e64de8196955c077715b32dc732b8
Reviewed-on: https://go-review.googlesource.com/c/build/+/272106
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Alex Brainman <alex.brainman@gmail.com>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-21 08:19:53 +00:00
Carlos Amedee 07fdb09614 dashboard: remove known issue label from linux-arm-aws builder
The linux-arm-aws builder was initially labeled with a known issue
because it was experimental. The builder has been tested and is no
longer considered experimental.

Fixes golang/go#41867
Updates golang/go#40872
Updates golang/go#35628

Change-Id: I61f43f2c2651c26d3f5d4db01b779686ddb6a92b
Reviewed-on: https://go-review.googlesource.com/c/build/+/270517
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-16 21:37:58 +00:00
Ian Lance Taylor 5f1e306b98 cmd/coordinator: add blank line before SlowBot message
Avoids a problem seen on https://golang.org/cl/269799:

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test *exactly* your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.SlowBot builds that ran:

linux-ppc64-buildlet
linux-ppc64le-buildlet

Note that "Slowbot builds" is hidden at the end of the failure message.

Also slightly clean up the code: numFail is the length of a slice, and
can't be negative.

Change-Id: Id9c160dbb7031d75232df54b8662c94b2ce464b6
Reviewed-on: https://go-review.googlesource.com/c/build/+/269919
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-13 16:46:03 +00:00
Dmitri Shuralyov 3a574dada7 dashboard: add OpenBSD 6.8 builders
This change builds on top of CL 268297, using the updated env script
to build OpenBSD 6.8 images, and adding new builders that use them.

This has been tested with cmd/debugnewvm on a recent Go tip commit,
as well as Go 1.15.4 and 1.14.11 commits. It passed, although there
were also some failures seen. Once the builder is added, we'll know
the test results for a wider set of commits, and can decide how to
proceed from there.

Minimize the configuration to a bare minimum. Specifically, remove
MinCPUPlatform since setting it "Intel Skylake" was found not to
have a noticeable effect on the speed of the build compared to the
zero value:

	# With MinCPUPlatform = "Intel Skylake":
	$ time debugnewvm -run-build=openbsd-amd64-68 -rev=go1.15.4
	[...]
	real	17m8.308s

	# With a zero MinCPUPlatform value:
	$ time debugnewvm -run-build=openbsd-amd64-68 -rev=go1.15.4
	[...]
	real	16m28.518s

For golang/go#35712.
Updates golang/go#42426.

Change-Id: I517a85738a034a3a4074488ccecd4408a91a4a07
Reviewed-on: https://go-review.googlesource.com/c/build/+/269577
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-11-12 22:52:38 +00:00
Dmitri Shuralyov 5f7fe5e640 dashboard: only run openbsd-{386,amd64}-62 builders on Go 1.15 and older
For golang/go#42426.

Change-Id: Id8a87ef1952291e06f0076f27ae019bf7ef0e6a2
Reviewed-on: https://go-review.googlesource.com/c/build/+/268880
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-11-12 18:14:56 +00:00
Carlos Amedee fb867d2ec6 internal/cloud: do not use canceled context in rate limiter
When errgroup is used in the rate limiter, a canceled context is
passed to the next method in the interceptor. A context is canceled
once the Wait() method returns. This change uses the same context
throughout the method instead of creating a new one just for the
errgroup.

For golang/go#40950

Change-Id: I64462394298a6b849187c288e5f76e92630572f9
Reviewed-on: https://go-review.googlesource.com/c/build/+/268697
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-11-10 19:07:52 +00:00
Carlos Amedee d72655cc59 env/linux-arm/aws, dashboard: add linux-arm-aws builder
This change adds the linux-arm-aws builder. This builder will be
started on a EC2 instance which will spawn a single instance
of the container. After the builder work is done, the instance will be
destroyed.

Updates golang/go#41867

Change-Id: I09d911c2f99d1dff8fe02feb458457e07e7d0cdd
Reviewed-on: https://go-review.googlesource.com/c/build/+/260797
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-11-09 20:12:59 +00:00
Carlos Amedee 725674f5ab internal/cloud, cmd/coordinator: add a rate limiter for the AWS client
This change adds an optional rate limiter which implements both rate
and resource limits. This change should enable the coordinator to add
additional builders hosted on EC2. This change will reduce the chance
that we encounter one of the limits.

The rate limiter is essential for any calls which mutate cloud
resources. While the EC2 client.DefaultRetryer should be sufficient
enough to handle the non-mutating requests, it would implement a best
practice in having client side rate limiting for those types of requests.

Amazon EC2 throttles requests EC2 API requests
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html

Fixes golang/go#40950

Change-Id: Ib80bcf7c5ab0b0483d5beb11f3581cdb1d0174fe
Reviewed-on: https://go-review.googlesource.com/c/build/+/267901
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-11-09 20:12:48 +00:00
Aaron Bieber a3ef944b51 cmd/racebuild: add OpenBSD platform
As part of CL 237057. The race builder needs to know how to build the
.syso files on OpenBSD.

Updates golang/go#39464.

Change-Id: I71974e924801544be20be44c453bd3bc982443d6
GitHub-Last-Rev: 239f7d2800
GitHub-Pull-Request: golang/build#31
Reviewed-on: https://go-review.googlesource.com/c/build/+/239499
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Joel Sing <joel@sing.id.au>
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Keith Randall <khr@golang.org>
2020-11-09 16:40:11 +00:00
Joel Sing a438e8c8b1 env/openbsd-amd64: create OpenBSD 6.8 builder images
Update the openbsd-{386,amd64} builder script to create OpenBSD 6.8 images.

Updates golang/go#35712

Change-Id: I7b306f7c99c02ae0c2eab57bdf2c463b11aa507f
Reviewed-on: https://go-review.googlesource.com/c/build/+/268297
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-09 16:34:47 +00:00
Dmitri Shuralyov 788b5c202b dashboard: try to speed up pre-submit longtest builders
The longtest builders are currently primarily post-submit builders,
where it's okay for them to be as slow as they need to be in order
to provide additional test coverage. In this context, whether they
take 40 minutes or 50 makes little difference.

The longtest builders are also sometimes requested via SlowBots for
changes that are riskier than usual, or otherwise desire additional
coverage beyond the normal TryBots. They're also always enabled for
CLs to release branches. In such contexts, speeding up SlowBot runs
from 40 minutes to 20 or less would be appreciated and in turn help
people use longtest SlowBots more frequently.

Longtest builders are already configured to use sharded tests.
Configure them to use additional helpers to speed up test execution.
Try out 3, 5, and 9 helpers to see how much it helps before settling.

For golang/go#37439.

Change-Id: I425bc0257b7a54bb32c0eb1719fea7ba3f4fd461
Reviewed-on: https://go-review.googlesource.com/c/build/+/268037
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-11-07 03:55:32 +00:00
Dmitri Shuralyov 82671ab25b maintner/maintnerd/maintapi: adjust heuristic for tip version
The vast majority of the time, when Go 1.X (or Go 1.X.Y) is the latest
supported Go release, non-release branches are used for developing
the next Go 1.(X+1) version and not the same Go 1.X version.

Adjust the imperfect heuristic used to determine the Go version from
the branch name by taking this into account.

Make the output from the TestFindTryWork test easier to read,
as it's expensive to add test coverage for this change elsewhere.

For golang/go#42341.
Fixes golang/go#42377.
Updates golang/go#42376.

Change-Id: I70b21662f2a4c853d14a0928f8bd7361fc6aafd6
Reviewed-on: https://go-review.googlesource.com/c/build/+/267677
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-06 19:08:00 +00:00
Dmitri Shuralyov 4c544cb44e dashboard: promote misc-compile-darwinarm64 builder to a TryBot
Testing shows that misc-compile-darwinarm64 is working as expected
on recent commits. Promote it to a normal misc-compile TryBot now,
with the exception that it needs to run on Go 1.16 and newer only.

Fixes golang/go#42341.

Change-Id: Ib4de19a2ff904fb9de056db5076ac63690eb934c
Reviewed-on: https://go-review.googlesource.com/c/build/+/267123
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2020-11-03 15:58:28 +00:00
Dmitri Shuralyov 78307534f4 dashboard: create misc-compile-darwinarm64 builder
Create the builder as a post-submit builder with a non-zero KnownIssue
value first. Once we know it works well, we'll have the confidence to
be able to safely promote it to a normal TryBot, without the risk of
causing disruption for contributors.

It's different from misc-compile-darwin since it needs to run on recent
Go 1.16 commits only.

For golang/go#42341.

Change-Id: I67170988d7323cb73439755a3961532c668040e7
Reviewed-on: https://go-review.googlesource.com/c/build/+/267105
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-11-02 21:19:38 +00:00
Carlos Amedee 8c83150e7c dashboard, env/linux-arm64/aws: update EC2 ami search query
This change updates which source ami is used as a base for the
creation of the linux-arm64-aws builder. Packer will now search for
the latest version of the arm64 Debian image to use as the source ami.

For golang/go#36841

Change-Id: I036dbaf7ee65d4e7028cd6a0cdf6710bf898fdd2
Reviewed-on: https://go-review.googlesource.com/c/build/+/266697
Trust: Carlos Amedee <carlos@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-11-02 15:39:13 +00:00
Elias Naur 3b7f115009 env/corellium: update Corellium builder setup scripts
Corellium recently wiped the existing virtual iPhone and Android
builders because of a cloud provider switch. This change reflects
the updates to the setup scripts matching newer Corellium software.

Bump the expected builders numbers to reflect the increased capacity.

Change-Id: I93196dd22b81e66cb2cad82b1ef3dcff64e852d8
Reviewed-on: https://go-review.googlesource.com/c/build/+/266377
Run-TryBot: Elias Naur <mail@eliasnaur.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Elias Naur <mail@eliasnaur.com>
2020-10-30 07:44:11 +00:00
Dmitri Shuralyov d43b1a5812 dashboard: add nocgo SlowBot alias
Fixes golang/go#42105.

Change-Id: Ia36035e0e86a585d2a1ec5baac451c7219dbda79
Reviewed-on: https://go-review.googlesource.com/c/build/+/264634
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2020-10-24 04:29:12 +00:00
Dmitri Shuralyov aaee236924 devapp/owners: remove mikioh entries
We have not had successful contact with mikioh since April, 2019.
Remove owner entries so that we're not continuously CCing an account
that has become unresponsive. We can reinstate them in the seemingly
unlikely event of a reappearance.

Move up secondary owners to primary where available.

Change-Id: I1e1ff324601e866ce6d34179bf03dfc4826e6508
Reviewed-on: https://go-review.googlesource.com/c/build/+/264758
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-10-24 00:11:51 +00:00
Dmitri Shuralyov c15e927532 dashboard: skip ios-amd64 SlowBot alias
It's known there is no builder for it yet.
Skip it so that TestSlowBotAliases passes.

For golang/go#42177.
Updates golang/go#42100.

Change-Id: I5f1a6b17e6aa4b57cbdea44f2eeb1d4817e5f67f
Reviewed-on: https://go-review.googlesource.com/c/build/+/264738
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2020-10-23 22:34:56 +00:00
Dmitri Shuralyov 1a4bcd60cd cmd/coordinator: use corresponding Go for x repo release branch with suffix
When a golang.org/x repo release branch is being tested, the intention
is to test it with the same Go version where it will be used, rather
than the latest Go version in development plus prior releases of Go.

The previous equality check was very strict and did not work for
golang.org/x release branches with a dash-separated suffix. We have
a need for such release branches occasionally and want them to work.

Fixes golang/go#42127.

Change-Id: I934b540f83a2b8c616e3d3a5477fb3c471aa595b
Reviewed-on: https://go-review.googlesource.com/c/build/+/264203
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-10-22 17:07:56 +00:00
Filippo Valsorda 247680342f devapp/owners: restore bradfitz's Primary for crypto/acme/autocert
See https://go-review.googlesource.com/c/build/+/257999/3/devapp/owners/table.go#108

Change-Id: I0e23e6ac723f40a8486f719401e4ee3fcc0e627b
Reviewed-on: https://go-review.googlesource.com/c/build/+/262917
Trust: Filippo Valsorda <filippo@golang.org>
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2020-10-19 18:36:14 +00:00
Joel Sing 8ea6a2c531 dashboard: add linux-riscv64-jsing builder (reverse)
Also use this as the riscv64 slowbot, since linux-riscv64-unleashed has
been MIA for quite some time.

For golang/go#27532

Change-Id: I01309a66b96d4c35dbc9d1e08f55f5357b0acba0
Reviewed-on: https://go-review.googlesource.com/c/build/+/257917
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-10-16 17:11:56 +00:00
Joel Sing 18a54c6475 dashboard: add openbsd-mips64-jsing builder (reverse)
Update golang/go#40995

Change-Id: Ie733438ab1823d65109e684a6a5e3098cdfdb252
Reviewed-on: https://go-review.googlesource.com/c/build/+/250118
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-10-16 16:50:01 +00:00
Joel Sing b91348ec7a dashboard: add openbsd-arm64-jsing builder (reverse)
Update golang/go#31656
Fixes golang/go#34035

Change-Id: I7e3d20be148ad5111efeb78702352da14274938e
Reviewed-on: https://go-review.googlesource.com/c/build/+/250117
Trust: Joel Sing <joel@sing.id.au>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-10-16 16:40:23 +00:00