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

3621 Коммитов

Автор SHA1 Сообщение Дата
Dmitri Shuralyov fb090ab90f dashboard: fix typo in host-darwin-arm64-12 description
The current releaselet descriptions are good, as recently discussed,
leaving just one typo in the macOS version name to fix up to reduce
confusion.

Change-Id: I60d12dcc67c2bfa4842b081b0c0e950faa50a067
Reviewed-on: https://go-review.googlesource.com/c/build/+/452856
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-22 21:05:50 +00:00
Russ Cox f8d52b9447 cmd/watchflakes/internal/script: add script parser
Needs tests.

Change-Id: Ia970c247ab36239e6e164c708c55ba3119054d9a
Reviewed-on: https://go-review.googlesource.com/c/build/+/432402
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2022-11-19 13:47:08 +00:00
Russ Cox aa81d2ffa4 cmd/watchflakes/internal/cache: very simple file system cache
Needs tests.

Change-Id: Ia03bcdb97220fcfe55125413eea2e3683f12494b
Reviewed-on: https://go-review.googlesource.com/c/build/+/432401
Auto-Submit: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-19 13:35:18 +00:00
Russ Cox 8a103a507a internal/logparser: add build dashboard log parser
Structured buildlet log output would make this easier,
but this works well enough to enable other tooling,
such as automatic flaky test reporting to GitHub.

Change-Id: I9efea12999d55959cd729f94272e27a8ad7a6571
Reviewed-on: https://go-review.googlesource.com/c/build/+/432399
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-11-19 13:27:21 +00:00
Michael Anthony Knyszek 3e9a6d3067 gomote: consistently wrap errors and fix instanceDoesNotExist
This change makes it so that all errors are wrapped and put onto the
error chain. That way, instanceDoesNotExist can consistently identify a
"does not exist" error. This change also removes "statusFromError" which
makes the returned error a little bit less friendly.

Change-Id: I179914bc1f29b5d07868e568d448f37f55f8fad4
Reviewed-on: https://go-review.googlesource.com/c/build/+/451299
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 22:14:13 +00:00
Michael Anthony Knyszek b1fbea83bc gomote: clean up recently added documentation
Change-Id: I66131b0c6594a7f12352eefc5faf2c03394be43e
Reviewed-on: https://go-review.googlesource.com/c/build/+/451298
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-11-18 19:50:29 +00:00
Dmitri Shuralyov eaf7e6d63b cmd/gerritbot: omit optional since when no comments
CL 450315 updated gerritbot to a newer GitHub API client package, where
the optional since parameter is specified as a pointer instead of value.
This gives the caller more control over whether the optional parameter
is sent to GitHub. For better or worse, GitHub doesn't like it when we
ask for all comments since January 1, year 1 UTC. So, stop doing that.

Change-Id: I7593e9a7d03d2f3702549c3dd79ce380f07b73cb
Reviewed-on: https://go-review.googlesource.com/c/build/+/451276
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
2022-11-18 18:51:52 +00:00
Michael Anthony Knyszek b12656fa7d cmd/gomote: add documentation for tips and gomote groups
For golang/go#53956.

Change-Id: I6f7067cc72787edf82f072a904b5cc703752d8ea
Reviewed-on: https://go-review.googlesource.com/c/build/+/418790
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 18:13:13 +00:00
Michael Anthony Knyszek 002ba2877f cmd/gomote: add support for groups to the rm command
For golang/go#53956.

Change-Id: I1224aabae4e80cb0380baaa0d5d7c434c59af61a
Reviewed-on: https://go-review.googlesource.com/c/build/+/418937
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 18:07:58 +00:00
Michael Anthony Knyszek 31fba47178 cmd/gomote: add support for groups to the put command
For golang/go#53956.

Change-Id: I34b0896f4ba6a3b2b5f167e6040d56d54464e28a
Reviewed-on: https://go-review.googlesource.com/c/build/+/418936
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 18:03:32 +00:00
Michael Anthony Knyszek d29d29a645 cmd/gomote: add support for groups to putbootstrap
For golang/go#53956.

Change-Id: I1838c94a12258acc022866adc79c595ebfa2f3ff
Reviewed-on: https://go-review.googlesource.com/c/build/+/418935
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 18:03:31 +00:00
Michael Anthony Knyszek b822d000f5 cmd/gomote: add support for groups to puttar and improve interface
This change adds support for groups to puttar and modifies the CLI to
accept a single source argument that can accept any valid input (go
revision, URL, local file, etc.).

Fixes golang/go#53273.
For golang/go#53956.

Change-Id: I5505f262ea1a3240d26abd5db349285f2449c719
Reviewed-on: https://go-review.googlesource.com/c/build/+/418934
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 18:01:33 +00:00
Michael Anthony Knyszek d261e6880e cmd/gomote: add -until flag to the run command
For golang/go#53956.

Change-Id: If2ff0fc245948c72f992c930127d5d595ac2d868
Reviewed-on: https://go-review.googlesource.com/c/build/+/418894
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 18:01:31 +00:00
Michael Anthony Knyszek c46b371729 cmd/gomote: add -destroy-group flag to destroy
For golang/go#53956.

Change-Id: I4face246e87af18886b0e7d4c200cca41df5e9ad
Reviewed-on: https://go-review.googlesource.com/c/build/+/418787
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 18:01:29 +00:00
Michael Anthony Knyszek 08589fdfef cmd/gomote: make "create" create a new group from GOMOTE_GROUP
For golang/go#53956.

Change-Id: I14b2e094f7c21cab3a08d73911e73644e22d0d7b
Reviewed-on: https://go-review.googlesource.com/c/build/+/418788
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 18:00:06 +00:00
Michael Anthony Knyszek 365723c81f cmd/gomote: add support for groups to ls
For golang/go#53956.

Change-Id: Ie1bef16bab6f52e28f18cd84551b58de4118c28b
Reviewed-on: https://go-review.googlesource.com/c/build/+/418785
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:39 +00:00
Michael Anthony Knyszek ef00ab53a0 cmd/gomote: use doPing instead of direct InstanceAlive requests
Simplifies some code.

For golang/go#53956.

Change-Id: Ie5606fd87a45c4a978b2c1a6b3fb33df4f7013d9
Reviewed-on: https://go-review.googlesource.com/c/build/+/418784
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:37 +00:00
Michael Anthony Knyszek e96dfe678d cmd/gomote: add support for groups to ping
For golang/go#53956.

Change-Id: I3195cf01b56fd090611b065a486b2444863fdbd9
Reviewed-on: https://go-review.googlesource.com/c/build/+/418783
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:36 +00:00
Michael Anthony Knyszek d946c82b3b cmd/gomote: add support for groups to the gettar command
For golang/go#53956.

Change-Id: Ib333ec44fa4d897cc15023e876ced609c9bb9d4d
Reviewed-on: https://go-review.googlesource.com/c/build/+/418782
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 17:58:34 +00:00
Michael Anthony Knyszek 30057972f6 cmd/gomote: add -collect flag to run and refactor output writing
For golang/go#53956.

Change-Id: I13e0c2a3a0d75a7e7bdd072963e158ccb684a3bf
Reviewed-on: https://go-review.googlesource.com/c/build/+/418781
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:33 +00:00
Michael Anthony Knyszek 15431030ba cmd/gomote: add -new-group flag to create
This flag creates a new group for the newly-created instances.

For golang/go#53956.

Change-Id: Ib65a6391a554dbeb1f6f0e44c286ad5b0d221757
Reviewed-on: https://go-review.googlesource.com/c/build/+/418302
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 17:58:32 +00:00
Michael Anthony Knyszek d44332d6af cmd/gomote: add -setup flag to create
For golang/go#53956.

Change-Id: I75b3e4301b9749fda9d0ee117c38dd5c6b86e934
Reviewed-on: https://go-review.googlesource.com/c/build/+/418301
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:30 +00:00
Michael Anthony Knyszek 5f25536c93 cmd/gomote: factor out run into doRun
For golang/go#53956.

Change-Id: Ibb56ecf86b69de640a42ec9877e45ee621974849
Reviewed-on: https://go-review.googlesource.com/c/build/+/418300
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:58:29 +00:00
Michael Anthony Knyszek 61c6ab4510 cmd/gomote: add -count flag to create
For golang/go#53956.

Change-Id: I98feeeed0e17260e9795361c8db5177c6191bda6
Reviewed-on: https://go-review.googlesource.com/c/build/+/418299
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 17:58:27 +00:00
Michael Anthony Knyszek 3f360c93c4 cmd/gomote: add support for groups to run
For golang/go#53956.

Change-Id: If14205b113775cfe3c7d95bbfee382ce4219a018
Reviewed-on: https://go-review.googlesource.com/c/build/+/418297
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 17:39:21 +00:00
Michael Anthony Knyszek c3df5bac28 cmd/gomote: add support for groups to push
For golang/go#53956.

Change-Id: Iefb4fdcdcbdd7f119d5083c2b4e7cfa7c278c4fe
Reviewed-on: https://go-review.googlesource.com/c/build/+/418296
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:38:04 +00:00
Michael Anthony Knyszek 0a72f40bac cmd/gomote: add support for groups to list
For golang/go#53956.

Change-Id: Ie4f2d1e75a410c9b6acb0ec7a848b285789dddb0
Reviewed-on: https://go-review.googlesource.com/c/build/+/418295
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-11-18 17:38:03 +00:00
Michael Anthony Knyszek 1b202d17d9 cmd/gomote: add support for groups to destroy
For golang/go#53956.

Change-Id: I0239d4de773d9e6cc1a505efbb5aba2e62170e3d
Reviewed-on: https://go-review.googlesource.com/c/build/+/418275
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 17:38:01 +00:00
Michael Anthony Knyszek add26022c5 cmd/gomote: add support for groups to create
For golang/go#53956.

Change-Id: Icaf1e9dc845812d7989f14802a2f950da2d365ff
Reviewed-on: https://go-review.googlesource.com/c/build/+/418274
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-11-18 17:19:35 +00:00
Heschi Kreinick ca79eba305 internal/task: target US business hours for security releases
We got feedback on the previous security release that we should be more
precise about the timing of the release. This reflects our current goal;
we can consider tightening the window as our automation improves.

Change-Id: Ia5db5b880471b107bf97ca225408b296735fef84
Reviewed-on: https://go-review.googlesource.com/c/build/+/452015
Run-TryBot: Heschi Kreinick <heschi@google.com>
Auto-Submit: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-11-18 17:16:44 +00:00
Michael Anthony Knyszek f0acaeb428 cmd/gomote: add groups
This change adds the concept of gomote groups into the CLI, where the
user may manage one or more gomotes with a shorter set of commands.

The gomote command manages the necessary state for each group. This
change adds the group subcommand which allows for creating and
destroying groups, and also adds global group tracking across all
the other subcommands.

For now, this CL does essentially nothing other than add groups to the
CLI. The groups are effectively non-functional as all subcommands fail
when there's an active group specified. Follow-up CLs will
incrementally enable group support across these subcommands.

For golang/go#53956.

Change-Id: I4d4d7c4f8aebfe8640fd68a9c6f8ec1211693efd
Reviewed-on: https://go-review.googlesource.com/c/build/+/418154
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-18 17:16:41 +00:00
Michael Anthony Knyszek 1954702aff perf: update docs with influx testing instructions
Change-Id: Iea024f4eb20167df03f114fd3a26bd291e7d128d
Reviewed-on: https://go-review.googlesource.com/c/build/+/450895
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-11-16 23:07:30 +00:00
M Hickford 2f9ee95792 cmd/gerritbot: make sure to update when draft status changes
Updates golang/go#30244

Change-Id: I670d4444ffbe29a079fb4a933e74c34c7c5de026
GitHub-Last-Rev: 565d01c29b
GitHub-Pull-Request: golang/build#48
Reviewed-on: https://go-review.googlesource.com/c/build/+/451075
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Hickford <hickford@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-11-16 21:38:05 +00:00
M Hickford db5a468c99 cmd/gerritbot: set Gerrit WIP when GitHub PR is draft
When uploading a new patch set to Gerrit, set the Gerrit CL WIP bit
to be the same as the GitHub Pull Request draft bit.

Fixes golang/go#30244.

Change-Id: I29ce3bc51e0ef2ee8012c0ad2547ff2dd0c56912
GitHub-Last-Rev: 512da4985f
GitHub-Pull-Request: golang/build#47
Reviewed-on: https://go-review.googlesource.com/c/build/+/450315
Reviewed-by: Matt Hickford <matt.hickford@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Matthew Hickford <hickford@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-15 21:09:12 +00:00
Carlos Amedee e1e518fdab dashboard, cmd/racebuild: promote NetBSD 9.3 as the primary builder version
This change removed the known issue from the NetBSD 9.3 builders.
It also promotes 9.3 to be the primary version of NetBSD used in the
build infrastructure.

Updates golang/go#54773

Change-Id: If8b8aa89edb9ed8be564149ea728715b4a7b1085
Reviewed-on: https://go-review.googlesource.com/c/build/+/450715
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
2022-11-15 19:39:35 +00:00
Carlos Amedee 036509dbe4 dashboard: add NetBSD 9.3 builders
This adds the 9.3 builders created by running the make file and
manually uploading and creating the VM images.

Updates golang/go#54773

Change-Id: I0826b1fea1c486ec7cb34abad539672bddc39bb7
Reviewed-on: https://go-review.googlesource.com/c/build/+/450235
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2022-11-14 21:32:49 +00:00
Meng Zhuo 8d726c8538 dashboard: drop known issue for freebsd-riscv64
The FreeBSD riscv64 builder passed all tests after CL432756 merged.
We can drop known issue now.

For golang/go#53466

Change-Id: Ia9f63b2eb780fbb39fbaf684045b7f8b46101a93
Reviewed-on: https://go-review.googlesource.com/c/build/+/443496
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Goutnik <dgoutnik@gmail.com>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-11-14 07:51:54 +00:00
Roland Shoemaker 8c11e57205 cmd/securitybot: support testing subrepo branches
The internal go repository uses special branches for changes to the
golang.org/x repositories, this change adds support for testing them.

Fixes golang/go#56446

Change-Id: I01adb148f0efd8eab9686dac2defb59ec61e0373
Reviewed-on: https://go-review.googlesource.com/c/build/+/447037
Run-TryBot: Roland Shoemaker <roland@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-12 01:02:44 +00:00
Michael Anthony Knyszek 2b1fc2c7db dashboard: add linux-amd64-longtest-race builder
This builder runs the longtest test with the race detector turned on to
identify races in -short=false tests.

Fixes golang/go#54630.

Change-Id: I6fabaa43522a4294f3a23e98ae0f436d4cc153d8
Reviewed-on: https://go-review.googlesource.com/c/build/+/449196
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-10 22:18:23 +00:00
Alex Rakoczy 1b7bff9e7a env/linux-x86-sid: add cloudbuild configuration
Also, update to the latest tag rather than one from 2019. This is in
preparation for changing the host config to use a specific image tag
instead of baking the image tag into every docker image.

This change will allow us to keep a separate 'cloudbuild' tag from the
tag used for the main bulder. This tag can be updated weekly, allowing
us to run a second builder in parallel to determine when we want to
update to a newer image.

For golang/go#56673

Change-Id: I906a95b447949deba0b108b3009c440aa5c31171
Reviewed-on: https://go-review.googlesource.com/c/build/+/449037
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jenny Rakoczy <jenny@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2022-11-09 22:54:02 +00:00
Michael Pratt 51dd3a2cfa env/darwin/aws: switch dedicated hosts to auto-placement
This is simpler: rather than manually selecting a host to launch on, AWS
just picks any matching host.

For golang/go#55355.

Change-Id: Iede85ad69530dd31faf8ebed43710328ffaf9c00
Reviewed-on: https://go-review.googlesource.com/c/build/+/449195
Run-TryBot: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2022-11-09 21:31:23 +00:00
Heschi Kreinick 3029cba179 internal/task: final touches on x/ repo tagging
Tagging has now run to completion and I'm comfortable turning it loose.
Remove the approval requirement and send CLs to specified reviewers so
that it can be run as a scheduled workflow.

For golang/go#48523.

Change-Id: I2411a2680b09f877b8f4e5905ed51ae2e9ef2bdd
Reviewed-on: https://go-review.googlesource.com/c/build/+/449038
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Jenny Rakoczy <jenny@golang.org>
Auto-Submit: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-09 20:32:05 +00:00
Heschi Kreinick 7459da6f71 dashboard/builders: add KI on linux-amd64-perf
The perf builder is broken on the tools repo. Add a KI for it.

Updates golang/go#53538.

Change-Id: I31873ac336a7fe681a2e1356768fd011ebcfe2b9
Reviewed-on: https://go-review.googlesource.com/c/build/+/449036
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Auto-Submit: Heschi Kreinick <heschi@google.com>
2022-11-09 18:31:33 +00:00
Michael Pratt 6b76bcd2fd env/darwin: minor updates for macOS 13
For golang/go#55355.

Change-Id: I6b674d3efb94c567920a6445f801237a4fb88b22
Reviewed-on: https://go-review.googlesource.com/c/build/+/448436
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2022-11-09 18:29:15 +00:00
Russ Cox 749806b5bf internal/diff: copy from main repo
This avoids needing to execute a subprocess for diff,
and it gives more control over the header, so that the
output can say `diff want have`.

Update the tests using the old internal/diff for the new API.

Ran go get golang.org/x/tools@latest && go mod tidy
to add the x/tools dependency for the test's use of txtar.
Looks like x/tools was already in the indirect dep graph at v0.1.12,
but pruned modules graphs meant that its dependencies
hadn't propagated up, so leaving it at v0.1.12 would have
caused other deps changes too (like moving goldmark up to v1.4.13).
It seemed clearer, if we will get churn either way, to bump
x/tools to its most recent tag.

Change-Id: Iabfb692c7916a6bde316d5caf81de052f147e54e
Reviewed-on: https://go-review.googlesource.com/c/build/+/432398
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-11-09 13:43:21 +00:00
Michael Pratt 21c2f9d695 dashboard: add darwin 13 (Ventura) amd64 builders on AWS
For golang/go#48945.
For golang/go#55355.

Change-Id: Ic8f346995024c69a3a8f2b91681e4ff90280f2c6
Reviewed-on: https://go-review.googlesource.com/c/build/+/448435
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-07 20:54:40 +00:00
Dmitri Shuralyov 3a838dba28 internal/relui: wait for all files in uploadArtifacts
CL 429275 and CL 429536 have hidden partially-written files from the
release test. I think a remaining race was that uploadArtifacts only
waits for the main artifact file, and uploadArtifact copies that one
first. So it was possible for fakeCDNLoad to periodically copy all the
main files but not yet one of the .sha256 files, and the test release
workflow would complete too early, before fakeCDNLoad finished its work.

This race is very unlikely to happen in production since everything
else takes longer. Still, we consider the .sha256 metadata file as
non-optional, so modify uploadArtifacts to wait for all files to be
made available before considering its job as done.

Fixes golang/go#55178. (Third time's the charm, right?)
Updates golang/go#53972.

Change-Id: Id470da1fb94ba91b292c63a53e34705b30ba8d66
Reviewed-on: https://go-review.googlesource.com/c/build/+/448135
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@google.com>
2022-11-07 19:27:30 +00:00
Dung Le d781efd199 internal/relui: extend VersionTasks feature to automate goimports stdlib regeneration
Add a new task in addSingleReleaseWorkflow that creates the stdlib regeneration CL for each Go release using func CreateUpdateStdlibIndexCL in VersionTasks.
CreateUpdateStdlibIndexCL fetches the latest go binaries, downloads the latest version of tools repo, and submit a CL whose diff is created by regenerating stdlib with `go generate ./internal/imports`.

For golang/go#54377.

Change-Id: I3d95a88def984dd677d49f38587bed298b3aeaea
Reviewed-on: https://go-review.googlesource.com/c/build/+/442157
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Dylan Le <dungtuanle@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-07 19:15:35 +00:00
Benny Siegert 24869ebaaa env/netbsd-*: update builder VMs to latest NetBSD-9
The packages are taken from the 2022Q2 branch. These are built for
the 9.0 release, as is usual upstream, but all 9.x releases are binary
compatible.

There are a few other refactorings in this CL to make future maintenance
simpler.

Update golang/go#54773

Change-Id: I38a8eab1aabd9985771ac83da2e435e490b7e4b4
Reviewed-on: https://go-review.googlesource.com/c/build/+/428415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-11-07 10:40:18 +00:00
Dmitri Shuralyov 8006383948 internal/relui: remove old signing path
Delete unused code.

For golang/go#53632.

Change-Id: Ie52e0e067bccb9d363f3b89600bd7fc8521ff332
Reviewed-on: https://go-review.googlesource.com/c/build/+/447276
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2022-11-04 20:23:51 +00:00