-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove wrong cgroups assert #72372
Remove wrong cgroups assert #72372
Conversation
When detecting the current cgroup version on Linux, checked and debug builds assert when the filesystem type of /sys/fs/cgroup is neither TMPFS_MAGIC nor CGROUP2_SUPER_MAGIC. This change removes the assert and considers it as "no cgroup support". Release builds already have this behavior. Close dotnet#62960
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.
Thanks!
Could you also fix up the third fork of this file here?
|
Ah, I have forgotten that nativeaot had one too. |
@dotnet/dnceng The test legs finished running already, but the build analysis shows a page saying that once the tests complete, the analysis will be there. Is that a known issue? I have restarted a leg before, so it might be related. |
@janvorli Build analysis suffered an outage that was fixed around 3:10 PM PT. As far as I understand, the analysis will be lost for builds completed while the outage was ongoing. |
There are two libraries tests that keep failing on Windows in the legs of this CI. I've tried to restart the tests, but they still failed. Since my change is in purely Unix code, I'm merging it. |
When detecting the current cgroup version on Linux, checked and
debug builds assert when the filesystem type of /sys/fs/cgroup is
neither TMPFS_MAGIC nor CGROUP2_SUPER_MAGIC. This change removes
the assert and considers it as "no cgroup support". This is the case
e.g. in chroot environment.
Release builds already have this behavior.
Close #62960