-
Notifications
You must be signed in to change notification settings - Fork 18k
x/build/env/freebsd-amd64: doesn't handle reboot and/or termination requests #72030
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
Comments
Change https://go.dev/cl/660756 mentions this issue: |
Change https://go.dev/cl/660977 mentions this issue: |
Change https://go.dev/cl/660976 mentions this issue: |
Change https://go.dev/cl/660975 mentions this issue: |
For golang/go#72030. Change-Id: Ied0eea6b149867c4b102207436cfd41973ab6a91 Reviewed-on: https://go-review.googlesource.com/c/build/+/660975 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Change https://go.dev/cl/661535 mentions this issue: |
For golang/go#72030. Change-Id: Id084d31ef87ac3a23fd7ea7153672af4b0d3d4b8 Reviewed-on: https://go-review.googlesource.com/c/build/+/660976 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
For golang/go#72030. Change-Id: I9e8fd0894d8b6dbb24cd68dba11410981152fdf1 Reviewed-on: https://go-review.googlesource.com/c/build/+/660756 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
One of Swarming Bot requirements is to have passwordless sudo reboot enabled. While here, also install unzip for x/build/cmd/racebuild, and nano for some interactive debugging convenience. For golang/go#72030. Change-Id: Ie842a234a61347ee9820ff57ef2a44b050f7367e Reviewed-on: https://go-review.googlesource.com/c/build/+/661535 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
FreeBSD 14.2 builders are working okay, so make them the new default. Keep a minimal number of FreeBSD 14.1 builders (in main Go repo only) with a known issue to make it easier to test out any further changes. For golang/go#72030. Change-Id: Iaa40052ed71d54631f3f6a5b70e90988c7626fef Reviewed-on: https://go-review.googlesource.com/c/build/+/660977 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
A swarming bot may trigger a reboot or shutdown of a bot running in GCE, a process that involves /sbin/shutdown. See relevant Swarming Bot documentation here:
https://chromium.googlesource.com/infra/luci/luci-py/+/master/appengine/swarming/doc/Bot.md
This seems not to work for freebsd/amd64 builders in GCE. For example, a recent bot had the following history of tasks:
Notably, the bot kept going rather than being terminated.
This process seems to work for openbsd/amd64 builders in GCE.
The difference might be that in the openbsd case the swarming user is given access to execute /sbin/shutdown (here), while the freebsd image might not have taken that or some equivalent measure. There might also be more to it.
CC @golang/release, @golang/freebsd.
The text was updated successfully, but these errors were encountered: