x/build,os/signal: TestDetectNohup and TestNohup fail on replacement darwin LUCI builders #63875
Labels
Builders
x/build issues (builders, bots, dashboards)
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
At present, LUCI is using temporary loaner Macs for darwin builders. They are getting replaced with macOS VMs. On the new bots, the
os/signal
TestDetectNohup
andTestNohup
fail like so:I ran into this before, but did not really understand what was going on.
I believe that this is related to the way the swarming bot is running under
launchd
on the new bots. This same failure can be reproduced using a similar service:/Library/LaunchDaemons/test.plist
:/tmp/test.sh
:I believe this is related to the Execution Context of different types of
launchd
services. My working theory is thatnohup
wants to move into the "Background" bootstrap namespace, but this type of service does not have a "Background" bootstrap namespace.I believe this should work OK using either a "pre-login launchd agent" or "per-user launchd agent" (I believe that the existing loaner Macs use the latter), but I have not had much luck reliably converting to one of those service types so far. Since this is a fairly minor problem, I am simply documenting for now to unblock the rest of this migration.
The text was updated successfully, but these errors were encountered: