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

404 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov 8dd23da8df main.star: unset known issues for plan9/{386,arm} builder types
These builders have reached a point where they're considered added.

Fixes golang/go#63599.
Fixes golang/go#63601.

Change-Id: I37bcd2905b0b39b639828c3e3de9f2d0ebdbc994
Reviewed-on: https://go-review.googlesource.com/c/build/+/608155
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David du Colombier <0intro@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Richard Miller <millerresearch@gmail.com>
2024-11-22 22:12:16 +00:00
Michael Anthony Knyszek f9b5a40724 main.star: remove non-tip ASAN and MSAN builders
Backporting the patches necessary to make these builders pass seem not
worth the effort. The main problem is the patches touch many parts of
std, which results in a lot of conflicts.

Just disable them for now.

For golang/go#70054.

Change-Id: I5a304dbe71b4887d0a59ec2dbc7b1cc6e9129804
Reviewed-on: https://go-review.googlesource.com/c/build/+/627536
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-22 17:25:10 +00:00
Dmitri Shuralyov 02a1869e08 main.star: set gotestjsonbuildtext=1 GODEBUG globally at tip
Two reasons: to buy more time to work on the result_adapter/ResultDB
side (beyond just the bare minimum behavior of not regressing beyond
what we had before), and to test that using a GODEBUG for this works
as we expect. It already uncovered the need to merge multiple GODEBUG
settings that we hadn't run into earlier.

For golang/go#70402.

Change-Id: I9b86f6a5462637eef84f3efca9fc31d11657d756
Reviewed-on: https://go-review.googlesource.com/c/build/+/629375
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2024-11-18 22:01:32 +00:00
Michael Anthony Knyszek 85446f8ffd main.star: add experimental PGO performance builder
Change-Id: Ic15fb573f055424d725f23e33ba613274c2596d6
Reviewed-on: https://go-review.googlesource.com/c/build/+/626717
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-12 22:01:24 +00:00
Michael Anthony Knyszek 871645a3d7 main.star: add linux-arm64 performance builders
This adds new builders that target the new c4a instances in our fleet
for performance testing.

For golang/go#70231.

Change-Id: I924859344f72cfa331bce296f1d646bccb3589e7
Reviewed-on: https://go-review.googlesource.com/c/build/+/625976
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-08 17:56:20 +00:00
Eric Grosse 3ff5c0ce05 main.star: adjust LUCI load at openbsd-ppc64 builder
Try setting GOMAXPROCS. We'll start with 2 to confirm a
clear effect, then may raise it to 4.

For golang/go#70213

Change-Id: Ic5f5e0b99c5e9ead896a465e39286ab161f431c7
Reviewed-on: https://go-review.googlesource.com/c/build/+/625317
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2024-11-06 16:01:03 +00:00
Michael Pratt 79bae2e2d5 main.star: replace -swissmap builder with -noswissmap
Now that GOEXPERIMENT=swissmap is enabled by default, switch to a
-noswissmap builder to ensure the old maps continue to work until the
GOEXPERIMENT is deleted.

For golang/go#54766.

Change-Id: I47cd081cd144740ccb95352b78d3a292b3e2a418
Reviewed-on: https://go-review.googlesource.com/c/build/+/625517
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-11-05 18:08:05 +00:00
Benny Siegert d81e3b6b26 luci-config: remove known issue for netbsd-arm
Part of golang/go#63698.

Change-Id: Ib1c5722aba24095d27c23cb69065a80d4c127dd4
Reviewed-on: https://go-review.googlesource.com/c/build/+/624995
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-11-04 16:04:36 +00:00
Dmitri Shuralyov 35b81aad68 main.star: add netbsd-arm to SLOW_HOSTS
As mentioned in https://go.dev/issue/63698#issuecomment-2450448780,
this might be a good starting point. Can be adjusted later as needed.

For golang/go#63698.

Change-Id: I851852981527e1dcdae18f535f16a37117791ce6
Reviewed-on: https://go-review.googlesource.com/c/build/+/624075
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Auto-Submit: Benny Siegert <bsiegert@gmail.com>
2024-11-01 08:55:18 +00:00
Michael Anthony Knyszek bcad787f11 main.star: add perf_vs_oldest_stable builders
These builders do not run regularly. Their sole purpose is to help look
at performance over longer timeframes, ~1 year, so manually triggering
them is good enough.

Also, fix up the sorting of RUN_MODS.

Change-Id: Ibf49260037dbe4d8316700457f5dbaef8d468499
Reviewed-on: https://go-review.googlesource.com/c/build/+/623297
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-29 21:23:48 +00:00
Dmitri Shuralyov ff3f49c234 main.star: use v7l suffix for netbsd-arm builder
It was updated to target GOARM=7 because it can't work with GOARM=6.

For golang/go#63698.

Change-Id: I164a49d4a2bf6f680e4a980e90f6e2968f1906a7
Reviewed-on: https://go-review.googlesource.com/c/build/+/623015
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-28 23:56:45 +00:00
Michael Anthony Knyszek 0471ede579 main.star: add linux-amd64-asan-clang15 and linux-amd64-msan-clang15
This change adds two new builder types. It depends on
https://chromium-review.googlesource.com/c/infra/infra/+/5967115 to
function.

The goal of this change is to test ASAN and MSAN at a baseline, to make
sure the Go parts work. We recently broke ASAN but didn't notice until
we got feedback from someone else; our internal tests are too
simplistic.

While we're here, sort the RUN_MODS list in the source code.

For golang/go#70054.

Change-Id: Ib515a2c908fbfdc58abf6e9d4c9c7a170bec0499
Reviewed-on: https://go-review.googlesource.com/c/build/+/622322
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-26 03:39:12 +00:00
Michael Anthony Knyszek 05485b80a4 main.star: upgrade linux-arm64 builders to Debian 12 (bookworm)
I tested this with led by picking all the test_only builds for a recent
commit for the regular builder and longtest. All of the builds
succeeded. Also, the clang15 builder's make.bash step now completes.
Yay!

There may still be unexpected breakage since I didn't test every
possible configuration, so I'll keep an eye out.

Change-Id: I7902273594098b027b35fac4c47a51ea70ed07b9
Reviewed-on: https://go-review.googlesource.com/c/build/+/622318
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-10-24 21:12:12 +00:00
Damien Neil 38b963a135 main.star: update wazero version to 1.8.1
Wazero 1.8.1 includes a fix for a bug
(https://github.com/tetratelabs/wazero/issues/2318)
which will cause failures for a pending os package CL.

Change-Id: I5c05cd5344ffd10168fc5e5688c452a22f84bee9
Reviewed-on: https://go-review.googlesource.com/c/build/+/619215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-10-10 16:27:54 +00:00
Michael Anthony Knyszek e51de85835 main.star: add linux-arm64-clang15 builder type
I uploaded the toolchain to CIPD already, so assuming the tests pass it
should just work out of the box.

For golang/go#69763.

Change-Id: I3e4bbbfbb3f674475a0c3f6ec0ad45870e0cc960
Reviewed-on: https://go-review.googlesource.com/c/build/+/617577
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-10-03 17:58:05 +00:00
Michael Anthony Knyszek 8cf61acbf7 main.star: mark freebsd-amd64 high capacity and enable subrepo builders
But, don't remove the known issue just yet. Things definitely still
might be broken.

Also, exclude known-issue builders from presubmit always.

For go.dev/issue/61095.

Change-Id: Iedff5ce9df88dc763dd2a6b3010376cc39d4ad47
Reviewed-on: https://go-review.googlesource.com/c/build/+/617576
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-10-03 14:38:46 +00:00
Dmitri Shuralyov c29a1893e5 main.star: exclude 1.21 x/tools builder from tools-gotip-go-trigger
Looking at the history of the x_tools-go1.21-linux-amd64 post-submit
at https://ci.chromium.org/ui/p/golang/builders/ci/x_tools-go1.21-linux-amd64
makes it apparent that there are two gitiles triggers for it:

  gitiles {
    repo: "https://go.googlesource.com/go"
    refs: "regexp:refs/heads/master"
  }
  gitiles {
    repo: "https://go.googlesource.com/tools"
    refs: "regexp:refs/heads/master"
  }

The later is expected. The former has the wrong branch: it should be
release-branch.go1.21 and not the main branch - it doesn't make sense
to re-run the x_tools-go1.21-linux-amd64 builder whenever there's a
new Go tip commit.

It ended up being automatically populated because we don't have a
release-branch.go1.21 branch trigger, and because I didn't think to
set postsubmit_builders_by_project_and_branch to True in CL 524175.

Since there aren't expected to be new commits on release-branch.go1.21
by now, it should be fine not to have a trigger for that - the x/tools
repo trigger is enough - but do remove triggering from Go tip commits.

Change-Id: Id2c5ff8f52eab507459f1dd7815c80f5bf099417
Reviewed-on: https://go-review.googlesource.com/c/build/+/611944
Reviewed-by: Tim King <taking@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-11 16:44:11 +00:00
Dmitri Shuralyov 4196175e6d main.star: drop x_tools-go1.22-linux-amd64_c2s16-perf_vs_gopls_0_11
As described in https://go.dev/issue/69322#issuecomment-2338994506,
the intent is to only run a gopls perf builder using the latest Go
release branch, not the second latest.

Fixes golang/go#69322.

Change-Id: I8a94344a1ba4fe8aaae7f353c208397c9643be40
Reviewed-on: https://go-review.googlesource.com/c/build/+/611942
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
2024-09-10 17:03:09 +00:00
Dmitri Shuralyov 4cc14e4318 main.star: generate {,INTERNAL_}GO_BRANCHES from {LATEST,SECOND}_GO
I considered refactoring INTERNAL_GO_BRANCHES to be generated from
GO_BRANCHES since there's so much overlap between them, but it seems
to also work well to define moving targets for the two supported major
Go release, and use them in both places.

Generated files are unchanged. The next CL will use LATEST_GO to refer
to only the latest Go release, not the second latest one.

For golang/go#69322.

Change-Id: I4c1850fed49a5552d6aa7afda622f849522389ed
Reviewed-on: https://go-review.googlesource.com/c/build/+/611941
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
2024-09-10 17:03:07 +00:00
Dmitri Shuralyov e4bf000448 main.star: clean up after dropping release-branch.go1.21
Delete code that became dead as of CL 605295. Generated files unchanged.

Change-Id: I8a64311650371c82cd0510c25d91302aba85cb77
Reviewed-on: https://go-review.googlesource.com/c/build/+/609895
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-10 16:55:49 +00:00
Dmitri Shuralyov ebde997db8 main.star: drop 1.19 and 1.20 from TOOLS_GO_BRANCHES
The Go 1.23.0 release is out. This drops many of the special cased
extra branches for x/tools per plan in go.dev/issue/65917, keeping
only go1.21 as a special case for the needs of gopls v0.17.0.

For golang/go#65917.

Change-Id: I2af34126099b58f6445a5198f2b06c654df0ae6d
Reviewed-on: https://go-review.googlesource.com/c/build/+/605000
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-09-06 21:30:21 +00:00
Tim King 9bb6fe585c main.star: enable aliastypeparams builders on presubmit and postsubmit
For golang/go#69121

Change-Id: Ia47ba04ed86cf1785edaddd689c53065f4a83d87
Reviewed-on: https://go-review.googlesource.com/c/build/+/609735
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-09-06 04:34:54 +00:00
Dmitri Shuralyov c97d742081 main.star: make 1.19 and 1.20 TOOLS_GO_BRANCHES trybots optional
We still want to be able to trigger them in the very immediate future,
but they don't need to be included by default and block submission.

For golang/go#65917.

Change-Id: I2d8d0602c631bd7335488c4c473081812fc07dde
Reviewed-on: https://go-review.googlesource.com/c/build/+/610395
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-09-03 21:58:44 +00:00
Dmitri Shuralyov 073c02697c main.star: test x/pkgsite on 1.23 and newer only
Owners of x/pkgsite are setting the go directive to 1.23, so signal
from go1.22 builders is no longer applicable. See CL 609142. Remove
those builders.

Change-Id: I87ee28583fc0412f2aea7d1109f5e01f8e612cda
Reviewed-on: https://go-review.googlesource.com/c/build/+/609279
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2024-09-03 16:58:37 +00:00
Tim King 22bbf71123 main.star: add aliastypeparams builders
For golang/go#69121

Change-Id: Ia3183c1037384ee36b1afe174f70fa9cfda12f86
Reviewed-on: https://go-review.googlesource.com/c/build/+/609375
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-29 19:27:34 +00:00
Michael Anthony Knyszek f73bd4529a main.star: add example, xerrors, and scratch projects
These previously had presubmit, so add them back with presubmit. To
retain the uniformity of our existing policy, we also let them get added
as postsubmit.

We add them as PT.TOOL so that they only run on a small subset of
platforms, but they're probably tested with *way* more configurations
than they need to be. This is generally harmless, though if it becomes a
problem we can prune the builders more aggressively.

Change-Id: I9a8317dd8473e4efa7c917b9b7aa25a089034bb2
Reviewed-on: https://go-review.googlesource.com/c/build/+/608495
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2024-08-26 20:34:18 +00:00
Michael Anthony Knyszek 85123b20d4 main.star: define shadow buckets for security-try
This change defines shadow buckets for security-try so that we can
create and test builds in the security-try pools. Creating builds
requires being part of luci-bot-access, since these pools are
particularly security sensitive.

Change-Id: I0c94148ad6920e5f16927720fcd726bc7d46bba3
Reviewed-on: https://go-review.googlesource.com/c/build/+/607575
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
2024-08-21 19:50:57 +00:00
Dmitri Shuralyov d18ed38f65 main.star: use Go 1.22.6 as bootstrap on tip (Go 1.24 to be)
For golang/go#64751.

Change-Id: I68b42b295f48a57f7016e8d70f068c7cb3548df8
Reviewed-on: https://go-review.googlesource.com/c/build/+/605978
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-08-20 14:34:11 +00:00
Dmitri Shuralyov 0f5339fa08 main.star: drop release-branch.go1.21
The Go 1.23.0 release is out, so 1.22 is the oldest supported release.¹
The previous infrastructure (cmd/coordinator) does this automatically,²
whereas here I authored this CL manually. We'll explore automating it
later on³, possibly with relui generating the CL.

This also prepares to drop the special cased extra branches for x/tools
per plan in go.dev/issue/65917, but does so in the follow up CL so that
it can be submitted slightly later, separately.

¹ https://go.dev/doc/devel/release#policy
² It too used to be manual, until we automated it in go.dev/issue/34097
  in 2019.
³ I said the same thing 6 months ago in CL 562395. That said, we need
  to do a bit more one-off changes here since x/tools is dropping its
  extended Go testing.

For golang/go#65917.

Change-Id: Id5228b484995ded1094aaeb6b747f2f507ed241d
Reviewed-on: https://go-review.googlesource.com/c/build/+/605295
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-14 15:52:26 +00:00
Dmitri Shuralyov 7757f8f26a main.star: regenerate with lucicfg 1.43.12
There is a minor but non-zero diff when generating with
a newer lucicfg. Check it in so that TestValidate passes.

[git-generate]
go generate

Change-Id: Ia6fb390f789b848944967f6ca29b5890e2d36d25
Reviewed-on: https://go-review.googlesource.com/c/build/+/605297
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-14 15:48:05 +00:00
Dmitri Shuralyov 8cb2bf753a main.star: enable linux-amd64-typesalias presubmit for Go 1.23 and tip
This is separated out in a separate CL for a more gradual rollout.

Fixes golang/go#68798.

Change-Id: I6a4c2f1e89ab7c6426a9b5d19e429b68ca61bee4
Reviewed-on: https://go-review.googlesource.com/c/build/+/604336
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-09 20:40:25 +00:00
Dmitri Shuralyov 9e8a03bcc5 main.star: enable linux-amd64-typesalias postsubmit for Go 1.23 and tip
New information in go.dev/issue/68798 shows that having this builder
available for 1.23 and at tip will be helpful, at least in the short
term. Also run it in postsubmit (for 1.23/tip only, where it's meant
to pass), and also in presubmit as of the next CL.

For golang/go#68798.

Change-Id: I72183cc8703b65ecb265e01b18288651a7e64cfb
Reviewed-on: https://go-review.googlesource.com/c/build/+/604335
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-08-09 17:17:49 +00:00
Michael Pratt 6e15c99263 main.star: add linux-amd64-longtest-swissmap builder
This is a longtest so we get more thorough testing, and is post-submit
only.

For golang/go#54766.

Change-Id: Icc948ce7fe8e60e4f4988db07e10a209bc46bff2
Reviewed-on: https://go-review.googlesource.com/c/build/+/602555
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-08-02 14:54:11 +00:00
Dmitri Shuralyov 4a734336f6 main.star: unset known issue for openbsd/ppc64 builder type
The builder has reached a point where it's considered added.

Fixes golang/go#63480.

Change-Id: I82985686fa1ac0f00d46c2b49fd8e2fc187fc5fa
Reviewed-on: https://go-review.googlesource.com/c/build/+/596817
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Eric Grosse <grosse@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2024-08-01 16:09:54 +00:00
Dmitri Shuralyov 7886762278 main.star: mark windows-arm64 host as slower
As of a recent builder change related to its security, this host has
started to take longer to run tests and runs into timeouts. Examples:

- https://ci.chromium.org/b/8740874888365769313
- https://ci.chromium.org/b/8740872183618140241

Mark it as slower to give it more time.

Change-Id: Ib4765683c5102b8d093ae7f7e62610eb1e8732c5
Reviewed-on: https://go-review.googlesource.com/c/build/+/602235
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-07-31 22:34:36 +00:00
Dmitri Shuralyov 0ec9bc3e43 main.star: add a linux/amd64 x/website trybot for release note CLs
Copying the test to the main Go repository requires vendoring x/net/html
as a test-only dependency, which works (prototype in go.dev/cl/600816)
but adds size and requires a copy of the test to be maintained in an
extra place.

Instead, reuse x/website's test by invoking it as a trybot. This is
viable because x/website tests pick up main Go tree content from the
runtime.GOROOT() directory, which is what the trybot ends up using as
its Go version. (Checked in go.dev/cl/601039.)

For golang/go#37047.
Fixes golang/go#68633.

Change-Id: I69cc638c489cbb847e7b46e4af90e0197ddd6695
Reviewed-on: https://go-review.googlesource.com/c/build/+/601656
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-07-29 17:57:25 +00:00
Dmitri Shuralyov 5953629ed4 main.star: mark darwin-amd64 host as slower
We're aware of an issue where the current darwin-amd64 hosts are slower
than we expect, primarily in the context of the darwin-amd64-longtest
builders. Various cmd/go tests often end up failing with a timeout.

As a step in investigating this, mark it as slow so that the longtest
builders have a longer timeout and we can get more information out of
these builders.

For golang/go#65040.

Change-Id: I18fa6fc2ef944d40ad4ad1a96e572d674023f279
Reviewed-on: https://go-review.googlesource.com/c/build/+/600998
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-26 15:56:39 +00:00
Dmitri Shuralyov a2e2a410a0 main.star: remove linux-amd64-typesalias for Go 1.23 onwards
In Go 1.23 onwards, the GODEBUG gotypealias defaults to a value of 1,
so setting gotypesalias=1 in the environment is a no-op.
So constrain the builder to exist only for 1.22 and older.

Change-Id: Ia21995ae3feefe63115c2e7770c5e6e2d918dc98
Reviewed-on: https://go-review.googlesource.com/c/build/+/601177
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-07-26 14:34:02 +00:00
Dmitri Shuralyov 59551da286 main.star: re-enable misccompile builders everywhere but x/oscar
CL 597335 intended to disable the misccompile builder for x/oscar repo.
It did so successfully, stopping the misccompile builder from running
both in pre-submit (by default) and in post-submit in that repository.
That change was unintentionally applied for all other repositories too,
because the second and third booleans in define_for_projects_except set
to False unconditionally.

Undo that, and improve the documentation of make_run_mod to make it
more readable.

Change-Id: I97d91c8056f34f0b1d42f29d98e85a04ca46e00a
Reviewed-on: https://go-review.googlesource.com/c/build/+/601176
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2024-07-26 14:34:00 +00:00
Dmitri Shuralyov d99cab436c main.star: mark aix-ppc64 as fixed capacity
For golang/go#67299.

Change-Id: I76f511338617f6b431c396f048200d25e09dd275
Reviewed-on: https://go-review.googlesource.com/c/build/+/600995
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-07-25 14:58:31 +00:00
Dmitri Shuralyov 7475b5276c main.star: unpin golangbuild version
This reverts the temporary change applied in CL 596815.
By now golangbuild has a workaround added to it in crrev.com/c/5730108.

Tested with:

$ led get-build -real-build 8741505627666329441 \
| sed 's/git_revision:3827b7d23334361675d082c87b226aa09f74f855/latest/' \
| led launch
[I 2024-07-24 19:17:28] getting build definition
[I 2024-07-24 19:17:29] Launching the led job as a real build
[I 2024-07-24 19:17:29] LUCI UI: https://ci.chromium.org/b/8741489447033761169

Fixes golang/go#68310.

Change-Id: I1464fa6fcdaaf9a34a8ddc3100a7bd8654529921
Reviewed-on: https://go-review.googlesource.com/c/build/+/600996
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-07-25 14:57:48 +00:00
Michael Anthony Knyszek 20ef4a9eb4 main.star: sort longtest project+path list
Change-Id: I161a668381be642cd59ef9c46c0447984da70890
Reviewed-on: https://go-review.googlesource.com/c/build/+/600496
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-07-23 19:09:47 +00:00
Michael Anthony Knyszek db1846d0ca main.star: enable longtest builders on x/benchmarks for sweet
It's already annoying to have to ask for longtest builders to run the
end-to-end test for sweet, but the fact that we also forget to run the
Go 1.22 end-to-end test means we get real breakages like
golang/go#68555.

Resolve this once and for all by enabling longtest in presubmit if any
Go file is touched by a CL in the x/benchmarks repository.

Change-Id: Ia76258edf9bc93b88501cd64755beddd39186f06
Reviewed-on: https://go-review.googlesource.com/c/build/+/600495
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-23 18:59:45 +00:00
Joel Sing 27c34b84c2 codereview.cfg: include issuerepo configuration
This way issue references should get tagged correctly.

Change-Id: I1d225101d4e0760e34e6094dd74ad8e38350fa19
Reviewed-on: https://go-review.googlesource.com/c/build/+/598175
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-07-16 18:00:01 +00:00
Joel Sing 93e5ddf9c0 main.star: remove known issue for openbsd-riscv64 luci builder
This builder has been migrated and appears to be running stably.

Updates golang/go#67105

Change-Id: Iaafaf669a290b5fc1fda2deea1ed06b2faf7ec60
Reviewed-on: https://go-review.googlesource.com/c/build/+/598155
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2024-07-16 17:57:35 +00:00
Carlos Amedee a1adb195f9 main.star: add a comma to misccompile run mode
Change-Id: I2b457f0503ee08e95f59ae836ff289f581d4a561
Reviewed-on: https://go-review.googlesource.com/c/build/+/597277
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
Commit-Queue: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-09 19:34:38 +00:00
Carlos Amedee 147f732bb6 main.star: disable misccompile builder for oscar project
The misccompile builders should not run for the oscar project. Oscar
will not compile for various misccompile platforms.

Change-Id: I2f59302004a32b1c1f8451292e427177febdb7ca
Reviewed-on: https://go-review.googlesource.com/c/build/+/597335
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
Auto-Submit: Carlos Amedee <carlos@golang.org>
2024-07-09 17:55:23 +00:00
Carlos Amedee 3b9aaeb9e3 main.star: set go version to 1.23+ for oscar project
This change sets the version of go to 1.23 and above for the oscar
project. The repo makes extensive use of range-over-func.

Change-Id: I62c6516604685f34397ccae61f928ef5c7c4dce1
Reviewed-on: https://go-review.googlesource.com/c/build/+/597175
TryBot-Bypass: Carlos Amedee <carlos@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
2024-07-08 19:37:19 +00:00
Dmitri Shuralyov 9625d60647 main.star: pin golangbuild to version with working command wrapping
As a temporary mitigation for breakage on Windows, pin golangbuild
to a previously working version from 6 days ago:

https://chrome-infra-packages.appspot.com/p/infra/experimental/golangbuild/windows-amd64/+/ado1WRaYZcQUWIK3JLxq-bnoBu3RUQYmnYyAYo3kjfEC

For golang/go#68310.

Change-Id: Iaea2bbec618a85cfec57deba2c761ef4e79a18f9
Reviewed-on: https://go-review.googlesource.com/c/build/+/596815
TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2024-07-04 18:48:49 +00:00
Than McIntosh 67f61f5c4a main.star: mark x/oscar as a PT.TOOLS repository
Add x/oscar as a 'TOOLS' repository.

Change-Id: Ie35d9b63706bc9fcdab3a85cfffd384c613fa2b4
Reviewed-on: https://go-review.googlesource.com/c/build/+/596675
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Than McIntosh <thanm@google.com>
2024-07-03 22:23:00 +00:00