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

2101 Коммитов

Автор SHA1 Сообщение Дата
Bryan C. Mills 485f930f5c dashboard: extend aix-ppc64 skip to the website repo
Updates golang/go#31567

Change-Id: Ia8d996a70166c4395393f4674af87ad755104fe1
Reviewed-on: https://go-review.googlesource.com/c/build/+/192335
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-08-29 19:39:45 +00:00
Bryan C. Mills c753c2191f dashboard: set GO111MODULE=on for x/perf
CL 191378 removed some +build appengine tags from
./analysis/appengine, so those packages now require
GO111MODULE=on in order to resolve the dependency
on google.golang.org/appengine.

Fixes golang/go#33952

Change-Id: I20c9ba3f42d488265726fda9b1c790e48a1433b3
Reviewed-on: https://go-review.googlesource.com/c/build/+/192333
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-08-29 18:34:59 +00:00
Bryan C. Mills 5a2c61194f dashboard: disable failing repos on misconfigured builders
Updates golang/go#32836
Updates golang/go#31567
Updates golang/go#11811

Change-Id: I5443b61cf7732abf906ce2e93eca5408579a55c8
Reviewed-on: https://go-review.googlesource.com/c/build/+/192327
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-29 17:00:10 +00:00
Dmitri Shuralyov 1d8bd4886b dashboard: disable outbound network restriction on builders
Issue golang.org/issue/30612 implemented a restriction on outbound
network access to help catch unintended uses of internet in tests.

We're currently relying on GOPROXY=https://proxy.golang.org for running
tests in module mode in Go 1.13+, but proxy.golang.org can serve some
module zip files by 302 redirecting to other URLs. Those URLs may not
be accessible due to this builder network restriction.

Disable the outbound network restriction as the first step to return
builders to a working state. The next step will be implement a long
term solution, then we can re-enable the network restriction again.

Updates golang/go#33928
Updates golang/go#30612

Change-Id: I1a87b8d107df8806753117fc60a3e795e1e1b182
Reviewed-on: https://go-review.googlesource.com/c/build/+/192317
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-29 16:37:17 +00:00
Dmitri Shuralyov bb0f224bf2 dashboard: disable x/website tests on Android builders
They don't have filesystem access implemented, nor can they compile
Go code (as currently done in golangorg tests).

x/website is sufficiently tested on many other architectures, and
it's more of an internal repository without plans to support mobile.

Fixes golang/go#33935

Change-Id: I6e3d06a72aeb865b9532fcf2dc699d8f180c0c2e
Reviewed-on: https://go-review.googlesource.com/c/build/+/192318
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-08-29 16:33:40 +00:00
Andrew Bonventre 119dac0a79 app/appengine: update app.yaml and README.md to account for service
This app is now running as a service called "build" instead of
on a named version in the default service. Update the app.yaml and
deployment instructions to account for this.

Change-Id: I5d68128e89bad6782982380b2012300a492ddb34
Reviewed-on: https://go-review.googlesource.com/c/build/+/191975
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-28 15:38:20 +00:00
Andrew Bonventre 23c82c2d02 Revert "app: update App Engine runtime to go111"
This reverts commit CL 190902.

Reason for revert: it breaks deploys due to filesystem changes in go111

Change-Id: Ic357050da2707be1c53d79af6f0062ff4feaffbb
Reviewed-on: https://go-review.googlesource.com/c/build/+/191974
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-27 21:20:29 +00:00
Alex Vaghin 3d6cc48658 devapp/owners: add x1ddos and brad to crypto/acme
Filippo suggested I add myself (x1ddos) in
https://github.com/golang/go/issues/21081#issuecomment-503757333

Brad for crypto/acme/autocert.

Change-Id: Ia14a3da50d20e15ff086c05b2a81ee81b149603f
Reviewed-on: https://go-review.googlesource.com/c/build/+/189398
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-08-27 19:22:42 +00:00
Alexander Rakoczy 2fe64f7aba dashboard: require at least Go 1.13 for darwin-386 builder
release-branch.go1.12 has failures for darwin-386-10_14, which are fixed
in Go 1.13. darwin-386 is not a first-class port and on a deprecated
architecture for macOS, and can be skipped on older branches.

Fixes golang/go#33756

Change-Id: I5f2e95fe9515978a85b986787d8126655f849629
Reviewed-on: https://go-review.googlesource.com/c/build/+/191878
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-08-27 15:04:20 +00:00
Dmitri Shuralyov 83da5c54f1 cmd/releasebot: don't reuse staging directories between runs
We don't want any files in the release staging directory from a
previous releasebot run to have a chance to influence a future run.
Start using a temporary directory inside <work>/release-staging to
prevent that from happening.

I considered cleaning the <work>/release-staging directory, but relying
on new temporary directories instead of os.RemoveAll seems safer. Users
can clean their go-releasebot-work directory themselves if they wish.

Change-Id: I2ca38267559aa356992faf7cbec9441c102aba45
Reviewed-on: https://go-review.googlesource.com/c/build/+/191166
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-22 18:25:23 +00:00
Dmitri Shuralyov 0d3a435684 cmd/releasebot: make problems with release easier to see
If the build releases step fails, stop there, instead of proceeding
or printing misleading next steps. Those next steps apply only after
the build releases step succeeds.

Also add a sentence at the end of the GitHub comment posted on the
release issue when there was a problem, so it's easier to see.

Fixes golang/go#33764
Updates golang/go#33760

Change-Id: Ice9ef155cd64173a2f48f96efc809634628d9165
Reviewed-on: https://go-review.googlesource.com/c/build/+/191162
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-21 22:05:12 +00:00
Dmitri Shuralyov 673ce34b0f cmd/releasebot, cmd/release: use releasebot work dir for staging releases
Using a directory inside the system temporary directory for staging
releases can be problematic, because os.Rename may fail to move the
file if /tmp is mounted on a filesystem that is different from where
the releasebot work directory is.

Use $HOME/go-releasebot-work/goX.Y.Z/release-staging as the staging
directory instead.

Change-Id: I74f5f6ace1c0df154a1de989e825f67e808d3c34
Reviewed-on: https://go-review.googlesource.com/c/build/+/191159
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-21 18:33:30 +00:00
Dmitri Shuralyov 6225d660dc cmd/release: create release archive after make.bash and before all.bash
Binary releases need to build Go and include binaries such as bin/go,
bin/gofmt, and others. Previously, this was accomplished by running
all.bash script for some GOOS/GOARCH pairs, and make.bash for others
where it wasn't viable to run tests as part of the release process.

This change makes the release process more consistent by always
packaging the release archive file after running make.bash. We still
run all.bash in situations where it was previously run, but we do so
after the release file has already been created. This avoids the
risk of any changes to GOROOT that may occur as part of all.bash
(including changing file permissions to be read-only) being included
in the final release file.

Add a step to check that files in the buildlet's $WORKDIR/go and
$WORKDIR/go/bin directories have expected permissions before
creating the release file.

Fixes golang/go#33537
Updates golang/go#30316

Change-Id: I7d40716dba656a8aca711377f2995df4880166c5
Reviewed-on: https://go-review.googlesource.com/c/build/+/189537
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-08-21 16:40:51 +00:00
Dmitri Shuralyov 3eb1372480 cmd/gitmirror: replace batched git push mirroring with a single git push
In 2016, there were problems with git mirroring being slow and flaky,
as described in golang/go#16388. In order to resolve that problem,
CL 25110 added a custom mirroring implementation that effectively
split up the work done by a single git push -f --mirror dest command
into smaller batches of work. It was noted in the commit message and
updated documentation of CL 127315 that it may no longer be needed in
newer versions of git, and that the problem seemed to affect the HTTPS
transport, not so much the SSH transport.

By now, the following conditions are different:

• It's 2019.
• We're using a newer version of git.
• We're using the SSH transport (which may or may not be better than
  the HTTPS transport).
• We are mirroring only the refs/heads/* and refs/tags/* namespaces,
  not refs/changes/* which contains an order of magnitude more refs.

As a result, it should be possible to revert to a simple mirroring
implementation that uses a single git push -f --mirror dest command.
This removes complexity in our code, leveraging the git binary to do
more for us (at the expense of relinquishing tighter control and
ability to do things differently if we start encountering problems).
It resolves the issue of deleted refs not being deleted from mirrors
(golang/go#23099) without having to add even more complexity.

Debian 10 (buster) is the current stable release of Debian.
Start using it, since it comes with a newer version of git
(git version 2.20.1, compared to git version 2.11.0 in Debian 9),
which we want in hopes of git being better capable of pushing
a large number of refs without problems.

If we run into problems again, we might have to add some of the
complexity back, but hopefully that won't happen. Remove the old
and unused code since it's easy to get it back from VCS history.

Fixes golang/go#23099
Fixes golang/go#29560
Updates golang/go#16388

Change-Id: Id63419a5e4df5a87d7c9dc4be4e7e38a4849b3df
Reviewed-on: https://go-review.googlesource.com/c/build/+/190897
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-20 21:57:39 +00:00
Andrew Bonventre 06ec23726f app: update App Engine runtime to go111
Starting October 1, App Engine will not allow apps using the 1.9
runtime to be deployed.

More information can be found at
https://cloud.google.com/appengine/docs/standard/go111/go-differences

Change-Id: I522830c1bd47a32944d7caa9a5c913996fe328c1
Reviewed-on: https://go-review.googlesource.com/c/build/+/190902
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-08-20 19:11:53 +00:00
Dmitri Shuralyov 4aad9e5b4c cmd/gitmirror: prune refs that no longer exist on origin
Use the --prune flag when running git fetch origin commands
to delete remote-tracking refs in the local repositories.
This prevents branches and tags that have been deleted on
the origin server from reappearing in the GitHub mirrors.

It will take more work to get refs automatically deleted from
the mirror repositories, because the current Repo.push uses
a custom implementation rather than git push -f --mirror dest,
and it doesn't take the need to delete refs into account yet.

See https://git-scm.com/docs/git-fetch#Documentation/git-fetch.txt---prune
for information on the --prune flag. The --prune-tags flag isn't
needed because the local repositories are cloned with --mirror.

Updates golang/go#23099

Change-Id: I762b2d1365287d5dac40236310713c3df15d59d8
Reviewed-on: https://go-review.googlesource.com/c/build/+/190879
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-08-20 00:28:46 +00:00
Dmitri Shuralyov ca4e888c58 cmd/gitmirror: replace Github with GitHub
Make the spelling more consistent.

See https://github.com/about for the canonical GitHub spelling.

Change-Id: I011a302657a1ad468263468369c3ed0eae4ac38f
Reviewed-on: https://go-review.googlesource.com/c/build/+/190878
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2019-08-19 21:09:46 +00:00
Dmitri Shuralyov f0d9f776ba cmd/releasebot: don't mention release status issue in security release mode
There is no public release status issue in security release mode,
because we want to avoid the risk of leaking sensitive test failures.

Don't write the release status issue title to stdout, because that
makes it seem like there might be a public issue, which can be
worrisome to see when doing a security release.

Change-Id: Ice9b3fe1067a8d68cf8d22cd944a3b92a3abb606
Reviewed-on: https://go-review.googlesource.com/c/build/+/190801
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-19 17:20:10 +00:00
Rebecca Stambler 6cacbcd195 cmd/gopherbot: add a Gopherbot comment requesting more gopls information
Since we can't add another GitHub issue template specifically for gopls,
have Gopherbot add a comment requesting more information. For now, the
comment just links to the Troubleshooting wiki page, but we can make it
more sophisticated if necessary.

Change-Id: Iec7e5f8347caa6132416df305bbd7f2c1db45eef
Reviewed-on: https://go-review.googlesource.com/c/build/+/190401
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-08-16 20:10:24 +00:00
Dmitri Shuralyov ded33d37d0 cmd/release: embed releaselet.go source code statically
Previously, the release binary dynamically looked for the releaselet.go
source code. It first checked in the current working directory, and
then used the go/build package to find the location of source code of
golang.org/x/build/cmd/release package on disk.

The release binary is not generally executed by hand, rather it is used
internally by releasebot command. That makes it hard to know in advance
where the current working directory for release will be (that directory
is $HOME/go-releasebot-work/<release> that releasebot creates itself).

Further, with the proliferation of module mode, it's no longer viable
to be able to find the location of a package by its import path via
go/build.Import. As a result, there's now a higher risk of cmd/release
not finding, or finding a wrong version of releaselet.go.

Change the release binary to instead statically embed the releaselet.go
source code as a constant string, in a static.go file that is generated
via a go:generate directive.

Add a test to ensure the embedded copy of releaselet.go doesn't get out
of sync.

The embedding approach was loosely based on approach taken in package
golang.org/x/tools/godoc/static, but it was simplified for the smaller
needs of cmd/release (i.e., embedding a single text file). We rely on
fmt's %q verb to do the escaping, which has the risk of changing between
Go versions, but it's unlikely to happen often to warrant worrying yet.

Fixes golang/go#33443

Change-Id: Ie7a9481c33a7d9668d696d3827e5681b07b37094
Reviewed-on: https://go-review.googlesource.com/c/build/+/189817
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2019-08-12 17:55:33 +00:00
Alex Vaghin 65ec7a26da internal/gophers: add non-corp account of x1ddos
I don't have corp laptop with me all the times
but still want to hack on some Go code and send people Gerrit CLs.

You can verify the email belongs to the same github account
of mine: https://github.com/x1ddos.

Change-Id: Idfe43d22b0183f27f5803a1ab3cc90cb6c859dac
Reviewed-on: https://go-review.googlesource.com/c/build/+/189399
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-08-09 18:21:11 +00:00
Katie Hockman 6c426a97b4 owners: add matloob as secondary owner for tools
Change-Id: Ic277de82ba18b6bc3b652328a141c1bd4604323b
Reviewed-on: https://go-review.googlesource.com/c/build/+/188058
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2019-08-08 20:30:19 +00:00
Alexander Rakoczy a2aaac0666 cmd/makemac: use new MacStadium datastore
MacStadium is migrating off the current datastore. As part of the
transition, we copied our base images to the new storage, adding _nfs as
the suffix. The new images were snapshotted to allow for copy on write.

New base image names were suffixed with _nfs to accommodate the
migration. The new storage device was named GGLGLN-A-001-STV1 by
MacStadium.

Updated vmware-notes.txt to include manual instructions for a test run
of this latest change. The VM started and successfully connected to the
coordinator.

Updates golang/go#33155

Change-Id: I69976ebc6faa4f95a0aefd4d2e4c8d6a5bcf8a0f
Reviewed-on: https://go-review.googlesource.com/c/build/+/188219
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-08-06 14:48:52 +00:00
Katie Hockman db014ec7fd owners: add owners for io and strings packages
Change-Id: I388a2404eeb14591c86452c4c64e401691ee384e
Reviewed-on: https://go-review.googlesource.com/c/build/+/188377
Reviewed-by: Robert Griesemer <gri@golang.org>
2019-08-01 14:49:30 +00:00
Dmitri Shuralyov ebc4ca1cfa cmd/coordinator: add health item for tip.golang.org
This change adds health monitoring for the tip.golang.org website
to farmer.golang.org#health, so we can know when there's an issue
with it without having to manually check it separately from every
other item already monitored at farmer.golang.org#health.

This is possible now that golang/go#32949 is resolved and
the _tipstatus page reports currently ongoing errors only.

Tested by running coordinator locally in dev mode.

Fixes golang/go#15266
Updates golang/go#32949

Change-Id: I3680a916e4b45336df837c72ac7bc555d37f3a9b
Reviewed-on: https://go-review.googlesource.com/c/build/+/185981
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-07-15 12:07:30 +00:00
Andrew Bonventre 82d2f7506d cmd/rmplaysnippet: account for local datastore host env var
If DATASTORE_EMULATOR_HOST is set, datastore.NewClient will use
it to connect to a locally-running datastore instance. Clear it
before creating the client and set a 30-second timeout on the
context so that the process doesn't appear to hang indefinitely
when the env var is set.

Change-Id: I605ee699a55f4537c174a5667c92044936f10d74
Reviewed-on: https://go-review.googlesource.com/c/build/+/185142
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-07-12 17:07:44 +00:00
Dmitri Shuralyov 30c0e6b89e cmd/tip: clear error when process starts successfully
We want the error to represent an ongoing problem. It's less useful
to constantly show the last error; we have logs for that.

This will help make the _tipstatus output more readable for humans,
and more friendly to being monitored by farmer.golang.org#health.

Updates golang/go#15266
Fixes golang/go#32949

Change-Id: I20e5f180209c54b31e81e29bd45af0e2d205d3cc
Reviewed-on: https://go-review.googlesource.com/c/build/+/185139
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-07-09 00:19:53 +00:00
Dmitri Shuralyov 7e427ad569 cmd/tip: improve precondition checking, less ambiguous arguments
Check that the required repository HEAD revisions are present before
attempting to clone said repositories.

Use '--' to separate paths and make git invocations less ambiguous.

Updates golang/go#32949

Change-Id: Ie0c771c38a047d674fea5a74318ed396fd03c7ce
Reviewed-on: https://go-review.googlesource.com/c/build/+/185138
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-07-09 00:19:32 +00:00
Benny Siegert 0fd1ffd8bb env/netbsd-amd64: update to NetBSD 8.1
NetBSD 8.1 is a bugfix release on the stable (8) branch and has
a number of recommended updates and fixes.

Updates golang/go#31858

Change-Id: Id0f4a2180af1f84486aa6bc1c4406c5e8d5a0cb3
Reviewed-on: https://go-review.googlesource.com/c/build/+/185217
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-07-08 14:55:51 +00:00
Dmitri Shuralyov 25c4be9e2e cmd/gitmirror: change Gerrit API URL to include "-review"
Using "https://go.googlesource.com" without "-review" as the Gerrit API
URL no longer works. Use "https://go-review.googlesource.com" instead.
This is the canonical Gerrit API URL for the Go project, and it's
already being used in many other places in x/build.

Return and handle errors from gerritMetaMap. Make it so gitmirror treats
an error from gerritMetaMap on startup as fatal, otherwise it would have
started in an incorrect state. While running, skip transient errors from
gerritMetaMap as before, but also log them when they happen.

Remove unneeded trailing slashes from the Gerrit API URLs in packages
maintner/maintnerd and maintner/maintnerd/maintapi for consistency.
This is a no-op as the gerrit client library used to trim them anyway.

Fixes golang/go#32931

Change-Id: Icc20b798946d6317ee89533691f92b1f4d1564f0
Reviewed-on: https://go-review.googlesource.com/c/build/+/184922
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-07-04 02:39:44 +00:00
Alexander Rakoczy a473c253f8 maintner/maintnerd: improve API documentation
Rearrange the maintner API documentation, and reflect the guarantee of
at least two Go releases on success.

Updates golang/go#32606

Change-Id: I90d5017f280254cc6482e747ffc1534f8a51bc20
Reviewed-on: https://go-review.googlesource.com/c/build/+/182981
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-07-03 18:53:32 +00:00
kawakami 54405f243e devapp: make it easier to see only release-blocker issues
Fixes #32418

Change-Id: I834858b76c08c1946fa897a011b25ea381619dba
Reviewed-on: https://go-review.googlesource.com/c/build/+/182217
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-06-26 17:58:40 +00:00
Dmitri Shuralyov b8243eba38 cmd/gopherbot: don't fight over NeedsDecision removal
This is a followup to CL 180925 to prevent gopherbot from fighting
people (too much) if they decide to override gopherbot's behavior
and re-add the NeedsDecision label. It's done by adding a check for
whether gopherbot has already taken the action and avoid repeating
it if so.

Since this action is removing a label, we can't just check for any
"labeled" event, as those are likely to happen for other reasons.
So add a more precise check for whether gopherbot has previously
removed the "NeedsDecision" label from the target issue.

Updates golang/go#31788
Updates golang/go#21312

Change-Id: Iaf4dd69a5bfd637694995ee60869f94362110a7d
Reviewed-on: https://go-review.googlesource.com/c/build/+/183624
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-06-24 18:26:30 +00:00
Tai 1b388d270f cmd/gopherbot: remove NeedsDecision label on proposals
Fixes golang/go#31788

Change-Id: I775f706a154f3584c24b1bd2f4925cbc293f8740
Reviewed-on: https://go-review.googlesource.com/c/build/+/180925
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-06-24 15:15:09 +00:00
Tobias Klauser 01b32fab87 app/appengine: correctly align subheading2 in subrepo tables
Currently, the subheading2 cells in the subrepo tables are shifted by
one to the left due to the additional cell for the Go commit. There are
4 fixed <th> cells while there are 5 <td> cells (subrepo commit, Go
commit, user, time and description).

Make the first <th> have a colspan of 2 in case of the subrepo table so
the subheading2 cells align correctly.

Change-Id: I1ca7157cecf6530cff5883154f367684b0695081
Reviewed-on: https://go-review.googlesource.com/c/build/+/183217
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-06-21 17:00:42 +00:00
Dmitri Shuralyov c7084d3a2d cmd/makemac: check slice length in isFileSystemReadOnly before access
This is a followup to CL 181217 to address a minor code review comment.
Check the slice length before access, to prevent a possible panic on
unexpected input.

Also improve error string to not end with punctuation, per style guide
entry at golang.org/s/style#error-strings.

Change-Id: I220f6744396740b0e7f92705367be56c83ee23da
Reviewed-on: https://go-review.googlesource.com/c/build/+/182337
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-06-16 20:12:42 +00:00
Dmitri Shuralyov 2f0768f8d8 cmd/coordinator: add missing Sprintf arguments in gitMirrorErrors
This is a followup to CL 179877 that adds missing arguments to
a fmt.Sprintf call.

Also change the if condition to ensure the regexp had exactly 3
matches as expected. That makes it more clear there won't be
a panic when accessing matches.

Change-Id: Ibf57d87565c8297cd68dd9a63b4dc709bce613de
Reviewed-on: https://go-review.googlesource.com/c/build/+/182017
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-06-13 16:47:17 +00:00
Brad Fitzpatrick a3d123a17c cmd/makemac, cmd/coordinator: export warnings/error from makemac to coordinator
This adds information on warnings & errors to makemac's JSON status
handler that is then parsed by the coordinator's health checking code,
which already polls this JSON endpoint.

Updates golang/go#32449
Updates golang/go#15760

Change-Id: I69bea7b07c184d1f62a358bc317376aa97018230
Reviewed-on: https://go-review.googlesource.com/c/build/+/181217
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-06-10 00:30:23 +00:00
Brad Fitzpatrick 4c1c063a24 cmd/coordinator: add health item for gitmirror
Change-Id: I2e58f30a635bad22df8d7ec0d7b4e515c471aa05
Reviewed-on: https://go-review.googlesource.com/c/build/+/179877
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-06-10 00:29:57 +00:00
Tobias Klauser c2ec9e4196 dashboard: build only default repos on aix
Exclude x/mobile, x/exp, and x/term from builds on aix.

Change-Id: I09881c4bf7267ee2c8bef56bad21a346e85152f0
Reviewed-on: https://go-review.googlesource.com/c/build/+/180437
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-06-06 19:31:22 +00:00
Tobias Klauser 6c34d49dff dashboard: require at least Go 1.13 for illumos builder
Support for GOOS=illumos was added in CL 174457 which will be part of Go 1.13

Change-Id: I11c5b646c6f8147185526c58b6357d8a0e607187
Reviewed-on: https://go-review.googlesource.com/c/build/+/180157
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-06-04 15:43:14 +00:00
Brad Fitzpatrick 2759dfe1c1 cmd/coordinator: HTML escape another URL
This was missed from CL 179657.

Change-Id: I7e3966c1cd02f347b0f3ce96c13951b86a6a2b9b
Reviewed-on: https://go-review.googlesource.com/c/build/+/179697
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 22:13:31 +00:00
Brad Fitzpatrick b5be17b51e cmd/coordinator: link to trybot failure URL log more prominently
Fixes golang/go#10312 (4+ years later)

Change-Id: Iffd2e4e3a2182d9c1adfd69900f941d973f86e43
Reviewed-on: https://go-review.googlesource.com/c/build/+/179657
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 20:58:21 +00:00
Brad Fitzpatrick 5fe0489405 cmd/retrybuilds: add flag to retry builds based on a substring
For years I've been rebuilding retrybuilds with a locally-edited
flakyPhrases list whenever I wanted to do one-off retries. This
finally makes it a first-class mode.

Change-Id: Ibc3101ecf3af3cdc33b9f3d8f46e65eea1161213
Reviewed-on: https://go-review.googlesource.com/c/build/+/179619
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 17:16:52 +00:00
Brad Fitzpatrick 9ed24406de dashboard: update illumos $PATH to include gcc
This fixes errors such as:
https://build.golang.org/log/b870c4ed812edba58cf7a35718672d1424f9fd8a

Updates golang/go#32308

Change-Id: I231b9662c556b2b0044d5a88c61e8c6231f2df86
Reviewed-on: https://go-review.googlesource.com/c/build/+/179618
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 16:45:07 +00:00
Brad Fitzpatrick 99064e5ce3 all: add illumos/amd64 builder on Joyent
Fixes golang/go#32308

Change-Id: I6934c7de4bf2e73b0f816cd512765b6152e4b170
Reviewed-on: https://go-review.googlesource.com/c/build/+/179418
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 16:23:46 +00:00
Brad Fitzpatrick ef18dab217 cmd/coordinator: add missing code from CL 179419
I flubbed my git in CL 179419. This was supposed to be included.

Also updates some logging after watching it spam during testing.

Updates golang/go#21305

Change-Id: Icbf32a064d8725c46ffddd422938bd8ff208c829
Reviewed-on: https://go-review.googlesource.com/c/build/+/179617
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 16:23:36 +00:00
Brad Fitzpatrick 6d4f61914a cmd/coordinator/buildongce: move to cmd/gcpinit
And delete an old, unused field from the dashboard package.

Change-Id: Ib3472c30d6a436c80d91d63d4136d8524c2bd093
Reviewed-on: https://go-review.googlesource.com/c/build/+/179420
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2019-05-30 15:56:19 +00:00
Brad Fitzpatrick f01878d6f1 cmd/coordinator: make basepin disk creation automatic
Fixes golang/go#21305

Change-Id: I40f2ebf1bed234bbac7c7ef200ed5a4bafe35fee
Reviewed-on: https://go-review.googlesource.com/c/build/+/179419
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-05-30 15:54:40 +00:00
Brad Fitzpatrick f7a4c98e3f cmd/gopherbot: add manual mode to dump who needs access
Updates golang/go#19572

Change-Id: Ied3fc5f9e4c72eec5a65151f4d44f57119109367
Reviewed-on: https://go-review.googlesource.com/c/build/+/178702
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-05-30 15:43:32 +00:00