-
Notifications
You must be signed in to change notification settings - Fork 126
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
DEVPROD-9923: remove Evergreen client on MacOS task hosts #8263
DEVPROD-9923: remove Evergreen client on MacOS task hosts #8263
Conversation
model/distro/distro.go
Outdated
func (d *Distro) IsWindows() bool { | ||
// XXX: if this is-windows check is updated, make sure to also update | ||
// public/static/js/spawned_hosts.js as well | ||
return strings.Contains(d.Arch, "windows") | ||
} | ||
|
||
// IsWindows returns whether or not the distro's hosts run on Linux. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: IsLinux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, fixed.
|
||
require.NoError(t, m.removeMacOSClient()) | ||
_, err = os.Stat(m.clientPath) | ||
if runtime.GOOS == "darwin" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly tangential but our MacOS variant is inactive. Should we enable it for the sake of affirming these sorts of tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, I activated it.
DEVPROD-9923
Description
The MacOS hosts have recently had trouble deploying new agent binaries. The suspected issue is that some of the MacOS hosts have SIP enabled, and those hosts are SIGKILL'ing the binary if it has some issue (such as running with CGO enabled or running an Evergreen binary that hasn't been signed by Apple). This problem persists even if a new version is downloaded that fixes the original issue - the binary still gets SIGKILL'd after redownloading a valid Evergreen agent to the file path. The workaround we found (that was found long ago during an identical outage) was to
rm
the binary, which seemed to fix the issue.Testing
Documentation
N/A