-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build,x/pkgsite: enable tests of x/pkgsite in build.golang.org #59347
Comments
CC @golang/release Should this issue be moved to x/build? |
There are probably two parts: (1) configure |
@hyangah Would you like us to help with the x/build part of this issue? Otherwise most of the work here is to ensure x/pkgsite tests will be passing after a builder is running. |
@dmitshur Yes, please. We will track down broken tests and builds once they appear in the builder. |
Change https://go.dev/cl/506875 mentions this issue: |
Updates golang/go#59347 Change-Id: I7760607a57b5073730ec3627f15ddde2cc15d244 Reviewed-on: https://go-review.googlesource.com/c/build/+/506875 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org>
The coordinator has been deployed. x/pkgsite are running. |
It's also running in LUCI, finding 636 passing tests and 7 failing tests on Windows. |
Change https://go.dev/cl/506977 mentions this issue: |
Specify test vuln db data in a platform-independent way. This CL fixes a path that led to runtime panic shown in https://build.golang.org/log/eecc6c289819b502bc5449a6af26610092d24a07 And adds comments to clarify Client.byIDs - its return value can contain nil values if there are no matching osv entries in the DB. Updates golang/go#59347 Change-Id: I10a6be8bb1e0bef4f8be204c47591bf20a3480f3 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/506977 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Tatiana Bradley <tatianabradley@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
One problem to solve is the Trybot-Result label. Currently, this is still set by Kokoro. We should probably do one of the following:
|
We've created the label. |
Kokoro is updated to write to the new label. Submit requirements were not modified, so we still only need the TryBots to succeed in order to submit. How do folks feel about that? Should we continue to require that Kokoro CI pass before submitting? |
Looks like it's working: https://go.dev/cl/509695 (which could use a +1...) I think we should require kokoro-CI for submission though, since so many tests do not run on TryBots: https://go.dev/cl/509476 |
What's left to do here? |
Looks like
|
Sounds like it's done from the release team's perspective, marking as such. |
The tests now pass on all platforms they run on, except for android but only at Go 1.20. Go 1.21 has the benefit of https://go.dev/cl/472096 which fixed issues with GOROOT installation on the device. But Go 1.20 doesn't so it can't find the I think we should just disable the pkgsite tests on Go 1.20 and then mark this as done. |
Change https://go.dev/cl/524947 mentions this issue: |
The pkgsite tests need CL 472096, released in 1.21 to run properly. Don't run them on 1.20 and earlier. For golang/go#59347 For golang/go#61209 Change-Id: I32ba9652401db3b1fb9f23c9777e4514332abaef Reviewed-on: https://go-review.googlesource.com/c/build/+/524947 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
cmd/pkgsite
works for go documentation browsing on users machines and replaces the traditional godoc.Include x/pkgsite to build.golang.org and enable relevant tests in platforms users will use to run cmd/pkgsite.
Subtasks
The text was updated successfully, but these errors were encountered: