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

2557 Коммитов

Автор SHA1 Сообщение Дата
Carlos Amedee 8050efcc26 dashboard: add amd64 FreeBSD 11.4 and 12.2 builders
This change adds builders for amd64 FreeBSD 11.4 and 12.2. These
builders are labeled with a known issue until they have been tested.
They will not be used in trybots until the known issue label has been removed.

Updates golang/go#44431

Change-Id: I902f2f6bd887135bf247feb1be0e0fd49f732614
Reviewed-on: https://go-review.googlesource.com/c/build/+/311869
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>
2021-04-22 21:39:09 +00:00
Yuval Pavel Zholkover 64e6bcd2b8 env/freebsd-amd64: add FreeBSD 11.4, 12.1, 12.2 images
Update the expect script to work with with the SeaBIOS built-in VGA
serial console emulation instead of sgabios.
Tested on Ubuntu 20.4.

Updates golang/go#44431

Change-Id: I4f7f1972092416f1d6d54ec7e16d100aeeeaf25f
Reviewed-on: https://go-review.googlesource.com/c/build/+/279392
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-04-22 21:38:39 +00:00
Roland Shoemaker 4600b17185 repos,devapp/owners: add vulndb
Change-Id: Ie61903ff9ad07c284b2cc16a809654313598d913
Reviewed-on: https://go-review.googlesource.com/c/build/+/312369
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2021-04-21 22:11:43 +00:00
Filippo Valsorda e175a9eec4 cmd/coordinator: correctly set happy TryBots threads as resolved
Unresolved false was being omitted because false is the zero value.

Change-Id: I4b164b27e28d10d10fc192ec86c9d41046a00dfc
Reviewed-on: https://go-review.googlesource.com/c/build/+/311469
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-04-19 18:18:31 +00:00
Filippo Valsorda c328b2763b cmd/coordinator: post TryBot status as PatchSet comments
It's nice to have a thread for the results because it starts unresolved,
it gets marked resolved automatically if TryBots are happy, and it can
be used to discuss the failure.

Dropped the duplicate check on the beginning message because it's useful
to know the TryBots have started again when dropping TryBotResult.

Updates golang/go#39828

Change-Id: I66e8edec6dee10e8e1df2d2a6b501774ef373496
Reviewed-on: https://go-review.googlesource.com/c/build/+/310015
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Trust: Filippo Valsorda <filippo@golang.org>
2021-04-16 10:46:40 +00:00
Filippo Valsorda d5606d50ef cmd/coordinator: tag TryBot comments on Gerrit as autogenerated
This will only show the latest one in the web UI unless "Show all
entries" is checked.

Also added the status link to the in progress failure notification, as
the previous one won't be as accessible.

Fixes golang/go#39828

Change-Id: I9d81006ac3822a9dc0201637bbb0ce1bae860cc7
Reviewed-on: https://go-review.googlesource.com/c/build/+/310011
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-04-16 10:46:00 +00:00
Rebecca Stambler 43d580498f cmd/gopherbot: only milestone new vscode-go issues as Untriaged
Transferred issues are getting categorized as part of this set and
returning errors when the milestone is applied, causing GitHub to rate
limit Gopherbot. Only try to milestone newly created issues as a result.

And re-enable that task now that the number of transferred issues should
be lower.

For golang/go#40640

Change-Id: I7e772d1bcda46e982f0f375481108ff10c064ae9
Reviewed-on: https://go-review.googlesource.com/c/build/+/309069
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-04-09 22:09:59 +00:00
David du Colombier be0d734bef cmd/buildlet: use plan9LogWriter only on GCE
plan9LogWriter was added to truncate log writes
to 128 bytes to work around an issue with
GCE serial port.

This change enables plan9LogWriter only on GCE,
so the log writes aren't truncated when running
in other environments.

Change-Id: I4c5dcb27e5daa8e68f2a1e1abfce96d709d50a0f
Reviewed-on: https://go-review.googlesource.com/c/build/+/225697
Run-TryBot: David du Colombier <0intro@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: David du Colombier <0intro@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-04-09 16:27:26 +00:00
Dmitri Shuralyov da7dfab41b cmd/gopherbot: add more deleted issues to deletedIssues map
A good amount of time has passed since the deletedIssues map was last
updated, and the "freeze old issues" task was needlessly making 34 API
calls to freeze issues that are gone. After this change, that task is
making 0 API calls (whenever there aren't existing issues to freeze).

Some gardening tasks were converted to be more general and run on more
issue trackers in CL 233377, so update the deletedIssues map to track
the repo ID in addition to the issue number.

For golang/go#28320.
Updates golang/go#22635.
Updates golang/go#44406.
Updates golang/go#39008.

Change-Id: I3b477bf717f7d97676e9ef950214a3598ec3abd2
Reviewed-on: https://go-review.googlesource.com/c/build/+/308790
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-04-09 15:34:01 +00:00
Dmitri Shuralyov 1981e83dbe cmd/gopherbot: disable "set vscode-go milestones" task
The maintner data model doesn't expose when an issue gets transferred
from one repo to another (that's golang.org/issue/37370), so GopherBot
currently doesn't skip transferred issues when processing them.

There turns out to be many transferred issues in the vscode-go repo,
causing gopherbot to take too many repetitive actions as reported in
golang.org/issue/45461. Skip the task by default until this is handled
better to avoid depleting the GitHub quota way too quickly.

For golang/go#45461.

Change-Id: I404c94b342f9a870f159d3cadef6cfa2a9979d2d
Reviewed-on: https://go-review.googlesource.com/c/build/+/308789
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>
2021-04-09 15:33:49 +00:00
Rebecca Stambler 2bdcdb7774 cmd/gopherbot: configure all vscode-go issues to be marked Untriaged
For the purposes of improving issue triage, it's helpful to add all of
the new issues in the vscode-go repo to Untriaged. Add a gopherbot task
that does this.

Change-Id: I9484c6fd4cc8388cba5f9bf629b77b3a5dda29cf
Reviewed-on: https://go-review.googlesource.com/c/build/+/308350
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-04-08 22:22:43 +00:00
Carlos Amedee 83a8520724 cmd/makemac: add changes to enable a migration to a new cluster
This change was initiated by the need to migrate the darwin cluster
hosted on MacStadium over to an entirely new cluster. The changes
contained in this change are:
- Configure makemac to work with new cluster configurations.
- Enable the use of the new versioning used by macOS as of version
  11.0.
- Begin enabling the addition of arm64 macOS instances into the VMWare
  cluster. While the feature has not been released it seemed prudent
  to make these changes along with the other changes being made.

Fixes golang/go#45088

Change-Id: I1f46871c16046ccc289059f96dc69c0fd66a5175
Reviewed-on: https://go-review.googlesource.com/c/build/+/308489
Trust: Carlos Amedee <carlos@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-04-08 19:28:33 +00:00
David du Colombier 9d7112183d dashboard: rename plan9-amd64-9front builder to plan9-386-0intro
The builder name was misleading, because plan9-amd64-9front
hasn't been running 9front anymore since 2016, but is running
the 9k kernel from Bell Labs.

Change-Id: I6929583b784d076a86b818649c64b821a538ed1c
Reviewed-on: https://go-review.googlesource.com/c/build/+/307409
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
Trust: David du Colombier <0intro@gmail.com>
Run-TryBot: Carlos Amedee <carlos@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-04-08 18:43:24 +00:00
Carlos Amedee c77133fe43 dashboard: remove known issue from darwin-amd64-11_0 builder
This change removes the known issue from the darwin-amd64-11_0 builder.

Fixes golang/go#40762

Change-Id: I9914c8153abf3b9078579e8829374ee09f84e6e3
Reviewed-on: https://go-review.googlesource.com/c/build/+/307822
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>
2021-04-07 15:12:33 +00:00
Carlos Amedee b7678aa03c dashboard: reconfigure host counts for darwin amd64 builders
This change updates the desired host counts for darwin amd64 hosts.
The numbers require changing because:
- Migration to the new cluster with diffrent counts for amd64
machines.
- The addition of macOS 11.0 builders.

Updates golang/go#40762

Change-Id: I4a0dfcc8bd812ede38acbb98c0b317e03059b525
Reviewed-on: https://go-review.googlesource.com/c/build/+/307474
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>
2021-04-06 16:45:07 +00:00
Carlos Amedee 741e4d97c4 cmd/coordinator: update the count for amd64 Mac Hosts
This change updates the number of Mac hosts that are expected to
connect to the coordinator. There is now a distinction between there
being a amd64 and arm64 Mac hosts. We have reduced the count of amd64
hosts to 8 and have been adding arm64 Macs.

Updates golang/go#45088

Change-Id: I97de966c8398ceb0e5cb31d6bbe688de69efc4a5
Reviewed-on: https://go-review.googlesource.com/c/build/+/307731
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>
2021-04-06 16:45:00 +00:00
Carlos Amedee a286c0a6ae cmd/buildlet: add support for new macOS versioning
With the release of macOS 11.0 (Big Sur), the hostname for hosts need
to accomodate multiple architectures. The operating system version is
now noted in the major portion instead of the minor portion of the
version. This change creates the appropriate hostname in the buildlet.

Updates golang/go#40762
Updates golang/go#45088

Change-Id: I943f0c481442a892bb5793283c527b8400a5be9c
Reviewed-on: https://go-review.googlesource.com/c/build/+/293829
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>
2021-04-06 14:55:02 +00:00
Tim King 9713714eeb devapp/owners: add taking, guodongli, and zpavlinovic as owner of analysis
Change-Id: I05b5f1e93548295d3e465d999922563fa99e682d
Reviewed-on: https://go-review.googlesource.com/c/build/+/304969
Run-TryBot: Tim King <taking@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
2021-04-02 20:34:45 +00:00
Carlos Amedee 34b0d64690 dashboard: add linux-arm64-aws to set of trybots
This change adds linux-arm64-aws to the set of trybots. It also
removes linux-arm and linux-arm64 from the list of builds attempted in
the misc-compile-linuxarm builder.

Updates golang/go#36170
Fixes golang/go#45065

Change-Id: If25fed08e35b2a91c9c9dbbf31701ff5464dc913
Reviewed-on: https://go-review.googlesource.com/c/build/+/303232
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>
2021-04-02 18:36:04 +00:00
Carlos Amedee c1822c7b41 dashboard: add linux-arm-aws to trybots
This change adds linux-arm-aws to the set of trybots. The related
changes include:
- Renaming the linux-arm builder to linux-arm-scaleway.
- Adding slowbot aliases which use linux-arm-aws as the default
  builder for linux-arm builds.

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

Change-Id: Ib49f50e03fc4f766015fdd78080b804c2784a398
Reviewed-on: https://go-review.googlesource.com/c/build/+/303230
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>
2021-04-02 18:05:39 +00:00
Dmitri Shuralyov 77019952e4 cmd/coordinator: add health check for M1 Mac minis
Make the health dashboard more useful by displaying
the status of the darwin/arm64 reverse builders.

For golang/go#39782.
For golang/go#45336.

Change-Id: I3536d5716b048722fe36e905b182a0a4972b9bc3
Reviewed-on: https://go-review.googlesource.com/c/build/+/306649
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>
2021-04-01 17:12:46 +00:00
David Chase f0fb7081e5 dashboard: add windows- and darwin- amd64-regabi builders
This adds a builder for the GOEXPERIMENT=regabi configuration of the
compiler. We'll want this builder until we enable regabi by default.

Update comments and buildsRepo test, since it's now merged with master.

Updates golang/go#40724.

Change-Id: I424ca7bf6243e6b4660f4ec54c248a1813b3a83d
Reviewed-on: https://go-review.googlesource.com/c/build/+/305849
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2021-03-31 19:32:14 +00:00
Dmitri Shuralyov 305e1e3d7f cmd/releasebot, cmd/release: add 2 more longtest test-only targets
Add support for a linux-386-longtest test-only target. This is the
third longtest builder that we have.

Both linux-{386,amd64}-longtest targets are passing on master
for future Go 1.17 releases, as well as release-branch.go1.16
and release-branch.go1.15 now that CL 288818 is cherry-picked
(see backport issues golang/go#45240 and golang/go#45239).

Start including them in the release process by default, so that we
have more automated test coverage and more information available
during the upcoming releases, and in turn can use it to improve
the releases and the release process further.

Fixes golang/go#29252.

Change-Id: I9740c9ce5cae73a3ed9fe320219f1044f5fdcc9a
Reviewed-on: https://go-review.googlesource.com/c/build/+/304949
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-03-29 21:17:11 +00:00
Damien Neil ca461c2399 internal/gophers: add GitHub username mapping for dneil
Change-Id: I1989a6cb1ec2a9c848077e5f7352d7cb07d5d183
Reviewed-on: https://go-review.googlesource.com/c/build/+/304809
Trust: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2021-03-25 19:55:41 +00:00
Dmitri Shuralyov d7600ec889 cmd/coordinator: add health check for GitHub API quota
In recent times, it has been observed that the GitHub API rate limit
quota of 5000 requests per hour is being occasionally exceeded.

It should be very helpful to have a graph that tracks remaining rate
limit over time to better understand the current state and how much
effect future code changes have on improving it.

Also add a health check to coordinator's health section that prints
a warning when the GitHub rate limit is known to be exceeded. This
can help when observing GopherBot or GerritBot problems: we'll be
able to tell if they're likely caused by GitHub rate limit issues
or if the cause must be something else.

For golang/go#44406.

Change-Id: Id75d70129a75292a6d3f9c722636a8b740ca05a1
Reviewed-on: https://go-review.googlesource.com/c/build/+/303670
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>
2021-03-23 17:00:01 +00:00
Dmitri Shuralyov bbf6dcb0b3 cmd/coordinator: migrate to OpenCensus for metrics
Replace low-level Stackdriver monitoring API usage for OpenCensus
with a Stackdriver exporter. To benefit local development, expose
metrics at an /metrics endpoint (to be picked up with Prometheus).

This makes it much easier to add new metrics, to test them locally,
and brings our metrics solution in sync with what's currently in
use in x/playground (see CL 302769). It's expected to be preferable
to migrate to OpenTelemetry in the future when a good migration path
becomes available, and both x/build and x/playground can be updated
at that time.

This CL is based on work in CL 229679 and CL 138522.

For golang/go#26779.
For golang/go#44406.
For golang/go#17104.

Co-authored-by: Alexander Rakoczy <alex@golang.org>
Co-authored-by: Emmanuel T Odeke <emmanuel@orijtech.com>
Change-Id: Iad45730feace471db1668e828b7c9775377be8a9
Reviewed-on: https://go-review.googlesource.com/c/build/+/303669
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>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
2021-03-23 16:59:25 +00:00
Dmitri Shuralyov 61bfccff3e cmd/coordinator: display recent gitmirror failures as warnings
When gitmirror recovers from a recent failure, its status message
begins with "ok; " followed by additional helpful context, instead
of being just "ok".

Start classifying such messages as warnings (yellow) rather than
errors (bright red) to reduce false positives that are reported
at https://farmer.golang.org/#health.

Change-Id: I6fec7330daaec95c6d4b78849100ca54f2a3f34b
Reviewed-on: https://go-review.googlesource.com/c/build/+/302650
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>
2021-03-23 16:59:04 +00:00
Cherry Zhang 9b76b0884b devapp/owners: correct Wasm toolchain path
The toolchain is under go/src.

Change-Id: If2567d7deea63876ab86fde4b7c3316b638e8855
Reviewed-on: https://go-review.googlesource.com/c/build/+/303310
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Cherry Zhang <cherryyz@google.com>
2021-03-19 16:05:28 +00:00
Dmitri Shuralyov 884a8debac cloudfns/wikiwebhook: set GCP_PROJECT env var explicitly
Prior to CL 230637, this cloud function was targeting the Go 1.11
runtime, which implicitly¹ set the GCP_PROJECT environment variable.
That no longer happens with the newer Go runtime², so set the same
variable explicitly, otherwise publishing to the topic fails.

Remove a defer r.Body.Close() line; the http.Request body is closed
by the http.Server, http.Handler does not need to.

Also update the version of pubsub package to the latest. It isn't
needed to fix the problem, but it has already been tested during
debugging, so it's inexpensive to include.

A future enhancement is to factor out the pubsub client creation
to happen once per function instance rather than per invocation³,
and use metadata.ProjectID instead of needing an explicit env var.

¹ https://cloud.google.com/functions/docs/env-var#nodejs_8_python_37_and_go_111
² https://cloud.google.com/functions/docs/env-var#newer_runtimes
³ https://cloud.google.com/functions/docs/concepts/go-runtime#one-time_initialization

Fixes golang/go#44948.

Change-Id: I03fd66c7fb784cef24c5759b45cb7c10ed17ee6a
Reviewed-on: https://go-review.googlesource.com/c/build/+/302549
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-03-18 16:11:36 +00:00
Dmitri Shuralyov ef3d1880f2 cloudfns: fetch secrets from Secret Manager
This makes the deploy into something that can be executed without
the need to seek external context on where the secrets are kept.

It's especially helpful since we deploy cloud functions less
frequently than many other services.

A future change can explore removing secrets from the environment,
preferring to have the cloud function access secrets directly from
Secret Manager.

Updates golang/go#37171.

Change-Id: I1b1468c6f02d45b764f65396027d9bdca69ac5e4
Reviewed-on: https://go-review.googlesource.com/c/build/+/300230
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>
2021-03-18 16:09:22 +00:00
Lynn Boger 3a0fcf7b07 dashboard: increase GO_TEST_TIMEOUT_SCALE for ppc64 builders
This sets the GO_TEST_TIMEOUT_SCALE=2 for ppc64 builders. The
runtime tests have been timing out intermittently on ppc64le
power8; it has happened on ppc64 and ppc64le power9 but
very rarely.

Updates golang/go#44422

Change-Id: I663f3f211a368a59e38fbff9ce43c925c6c7a209
Reviewed-on: https://go-review.googlesource.com/c/build/+/300870
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
2021-03-16 19:04:32 +00:00
Sean Liao aeb22a9cfe devapp/owners: remove x1ddos from owners
Requested in https://golang.org/issue/44894#issuecomment-794582295

Change-Id: I6e0fd23cdd02a39ac58cbdc9171cbf9a6e702aa2
Reviewed-on: https://go-review.googlesource.com/c/build/+/300329
Trust: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-03-16 15:51:57 +00:00
Paul E. Murphy 04924ae61f env/linux-ppc64le/osuosl: increase container ram limits
We are hitting resource limit during the API tests which is causing
consistent failures.

These VM's claim to have 20G ram allocated and run to up to 5 builders.
This will potentially overcommit them, but I suspect some amount of that
usage is shared.

Likewise, remove specific number from ppc64 builders in the
event we need change this number again.

Fixes golang/go#44541

Change-Id: Ifad1aeb9f461d59151d569d878d94d93cb426351
Reviewed-on: https://go-review.googlesource.com/c/build/+/296669
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
2021-03-16 15:24:50 +00:00
Lynn Boger 0364c525d9 dashboard: improve ppc64 slowbot aliases
This improves the selection of slowbot aliases for ppc64.

Updates golang/go#42067

Change-Id: I180fe2f49a1e44c422e64c311e601dd93b07f7a7
Reviewed-on: https://go-review.googlesource.com/c/build/+/301769
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Carlos Amedee <carlos@golang.org>
2021-03-15 17:41:33 +00:00
Dmitri Shuralyov c79c8100c9 all: improve update-readmes.go and regenerate package READMEs
Some of README.md files were initially generated by update-readmes.go,
but later had some additional information appended. Re-running update-
readmes.go blasts away those changes, and requires manually reverting
the deletions. This makes it expensive to re-run update-readmes.go to
add new READMEs or update existing ones.

Solve this problem by adding support for a special "<!-- End of auto-
generated section -->" comment and making update-readmes.go preserve
any content after it.

After this change, re-running update-readmes.go produces a zero diff.

Also set the working directory when using build.Import so that packages
inside nested modules work okay.

Add the missing first word 'Package' to ./internal/datastore/fake doc.

Change-Id: If7ba92a297eebeec8029d48d760acb1daa7f263e
Reviewed-on: https://go-review.googlesource.com/c/build/+/300229
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-03-10 19:07:43 +00:00
Alexander Rakoczy baa7b38160 internal/datastore/fake: use gob encoding
Use gob encoding for the datastore fake, avoiding issues with using
shared memory. Also, add a lock around access to in-memory store.

Moves datastore fake package to internal, as it is not cmd/relui
specific and will be useful elsewhere.

For golang/go#40279

Change-Id: I5ed3211a0899133d7d534cae8d4643ab8d40f75e
Reviewed-on: https://go-review.googlesource.com/c/build/+/291193
Trust: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-03-03 20:43:22 +00:00
Dan Peterson 46abc55258 devapp: update burndown chart to track 1.17 milestone
Change-Id: I28df5ed9a2a013b87a6d5c03ee12869d95ea9d07
Reviewed-on: https://go-review.googlesource.com/c/build/+/295191
Run-TryBot: Dan Peterson <danp@danp.net>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Jeremy Faller <jeremy@golang.org>
2021-03-02 16:09:02 +00:00
Hana 48c890b450 devapps/owners: add new owners for pprof & trace packages
pprof: cherryyz will be the primary owner
trace: mknyszek&prattmic will be the primary owner

The functionality depends on the runtime internal greatly
so it makes more sense that runtime team owns them.

This CL adds go/src/internal/{trace, profile} packages to
the list.

Currently rsc is the primary owner of
"go/src/net/http/pprof". I propose to add cherryyz to the
primary owner because this is the user-facing package
of pprof.

Change-Id: Ib5bcbfddf3b290943569c63e75e3ba57c40e3098
Reviewed-on: https://go-review.googlesource.com/c/build/+/297510
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
2021-03-01 17:16:08 +00:00
Russ Cox db2c93053b cmd/tip: stop using golangorg -index and -play
The flags are gone.

Fixes golang/go#44613.

Change-Id: I78449beab379f70fbfaf951bed009284503e3ad1
Reviewed-on: https://go-review.googlesource.com/c/build/+/296384
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2021-02-25 23:23:54 +00:00
Dmitri Shuralyov 82b1f4cc48 cmd/gerritbot: check for nil *github.Response before accessing
When github.Client.Do returns a non-nil error, the *github.Response
may be nil if a request wasn't even made. Check for that to avoid a
panic.

Fixes golang/go#44438.

Change-Id: I199048213160eb08892ca0c830af09959c5a4ffc
Reviewed-on: https://go-review.googlesource.com/c/build/+/294412
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>
2021-02-23 21:26:50 +00:00
Russ Cox f539cd3e8d all: go fmt ./...
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Not strictly necessary but will avoid spurious changes
as files are edited.

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: I8020e066756b0cfa99ed1cb804b17e127e4151b9
Reviewed-on: https://go-review.googlesource.com/c/build/+/294417
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2021-02-20 03:31:12 +00:00
Dmitri Shuralyov 43ea694a02 dashboard, cmd/release: remove what's unused as of Go 1.16 release
We can drop the 32-bit and 10.11 macOS builders, they're unused.

Remove FreeBSD 11.1 builder, it's unused.
Update freebsd-amd64-race to use the latest available FreeBSD builder.

Simplify build policy and comments, removing anything that mentioned
Go version 1.14 or older, since they're not relevant anymore.

Drop Go 1.14 support from minSupportedMacOSVersion, and add support
for the future Go 1.17 release, which will increase minimum macOS
version requirement to macOS 10.13.

Fixes golang/go#40562.

Change-Id: I7beeec0952a516afe99a5154b22c7f25ceeb3da1
Reviewed-on: https://go-review.googlesource.com/c/build/+/293771
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>
2021-02-19 20:05:37 +00:00
Dmitri Shuralyov 9156cb5e4b cmd/releasebot: add check for "create first minor release milestone" step
The release process now documents the step of creating the first minor
release milestone when issuing a major Go release. That happens before
the 'releasebot -mode=prepare' step.

Add an automated check for this so that we don't need to manually
verify whether it was done or not.

(Future release process improvements may include automatically making
the milestone. That is better suited to be in scope of golang/go#40279.)

Fixes golang/go#44404.

Change-Id: I0ee5ff270ceb66d4dea219aad3c49f77b9d21e2f
Reviewed-on: https://go-review.googlesource.com/c/build/+/294249
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>
2021-02-19 19:59:04 +00:00
Dmitri Shuralyov fc63a04d22 dashboard: mark windows-arm64 as known missing builder
The Go 1.17 tree has started adding the windows/arm64 port.

Change-Id: Id9557160704688feea3667d5b18b0a37371aa0cd
Reviewed-on: https://go-review.googlesource.com/c/build/+/293772
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>
2021-02-19 19:58:17 +00:00
Dmitri Shuralyov dc2c694133 cmd/coordinator: use Request.Context in handleLogs
CloseNotify has been deprecated in favor of Request.Context.
Start using the newer API to avoid the panic when CloseNotify
gets called too late.

Fixes golang/go#44244.

Change-Id: I1f01c2d42cf6735d1161b977b62a7d982e8a61ea
Reviewed-on: https://go-review.googlesource.com/c/build/+/291769
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>
2021-02-17 23:02:41 +00:00
Carlos Amedee d576fd36a7 dashboard: add macOS 11.0 Big Sur builder
This change adds macOS 11.0 Big Sur builder to the dashboard. It will
not spawn an instance on the older MacStadium cluster which we are
migrating away from. It will be marked with a known issue until until
we have migrated away from the old cluster and makemac has been
updated to process the new macOS versioning convention.

Updates golang/go#40762
Updates golang/go#40757
Updates golang/go#40761

Change-Id: I24ce615a2c0c55dd75beed4f821119d4058ad8af
Reviewed-on: https://go-review.googlesource.com/c/build/+/288192
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>
2021-02-17 21:11:37 +00:00
Alexander Rakoczy 49e08c2303 cmd/relui: add datastore support
This change replaces the file storage layer with Google Cloud Datastore.
It adds a fake implementation of the datastore client, supporting only
the features we use so far.

Slightly simplifies Workflow configuration.

Updates golang/go#40279

Change-Id: I55228f6540fbcdf5f803203ff7309232cebf6a20
Reviewed-on: https://go-review.googlesource.com/c/build/+/275237
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2021-02-11 02:22:59 +00:00
Dmitri Shuralyov a3221ddfcc cmd/tip: remove ability to serve talks.golang.org
The tip server is primarily about serving tip.golang.org, and it does
today. There was also a time it was used to serve talks.golang.org
with an auto-deploy feature, but that ability has degraded over time
and is currently unused.

After some investigation of our options, we made a decision in issue
golang.org/issue/36825 to remove this broken and unused functionality
in favor of x/talks' own simpler App Engine deployment. If needed,
this can all be brought back and restored as part of future work,
but it's better to delete code and a misleading README until then.

Fixes golang/go#36825.
Updates golang/go#38120.

Change-Id: I5fbca48dea13e871cd04e23b36c8d3acd2f8fef5
Reviewed-on: https://go-review.googlesource.com/c/build/+/290529
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>
2021-02-08 21:42:36 +00:00
Dmitri Shuralyov 96687b60ac repos: remove unused Repo.UsePkgGoDev
UsePkgGoDev was added in CL 234677 to aid with a gradual migration
on golang.org. That redirection has been completed as of CL 275195,
and UsePkgGoDev is no longer meaningful nor used. Remove it, since
it's allowed per x/build's compatibilty policy, to keep things tidy.

Updates golang/go#36106.
Updates golang/go#39150.

Change-Id: If3f9bed7f215a7c572a2d7a9f25b3184a1e5362a
Reviewed-on: https://go-review.googlesource.com/c/build/+/289700
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>
2021-02-04 21:19:48 +00:00
Dmitri Shuralyov cd15c8b811 repos: don't mirror to an archived GitHub repository
The github.com/golang/gddo repository was archived on GitHub as part
of redirecting godoc.org requests to pkg.go.dev¹, to make it more
visible that it doesn't accept new contributions. Mirroring to an
archived repository on GitHub fails with an error, so don't try to.

¹ https://blog.golang.org/godoc.org-redirect

Change-Id: I648bccf8edc6f034eaa2ea3b2ced6c505473c22c
Reviewed-on: https://go-review.googlesource.com/c/build/+/289699
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>
2021-02-04 21:19:10 +00:00