-
Notifications
You must be signed in to change notification settings - Fork 17.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
os: failure in TestProcessAlreadyDone on freebsd,netbsd,openbsd #67926
Comments
Oh, I missed that Wait doesn't use I think this would fail on Linux without pidfd as well. I guess we don't have any Linux builders with old enough kernels to cover non-pidfd. |
@prattmic PTAL. I think that Or, if the assumption is right and we want to tidy up the API, we should add code converting BTW there's a test very similar to |
An idea, perhaps we can test non-pidfd functionality on linux, too; let me take a look. |
I guess the easiest path forward is to remove the test case (as it has a wrong assumption for general case, and the specific case (when the assumption is right) is already tested by |
Oops, I assumed that text was I think for this release we should change the For next release, I do think we should consider changing all of the ECHILD cases to ErrProcessDone, as I agree it is cleaner. |
...wrapped in Yes you're probably right. Meaning, (and I was hoping I just found a way to find out if pidfd is used) |
Thanks, you saved me a round of CL review. :)
It isn't the cleanest, but given the way os is structured now, if you do the equivalent of pidfdWorks, then you know pidfd will always be used. |
Change https://go.dev/cl/591816 mentions this issue: |
Go version
last commit as of now (beaf7f3)
Output of
go env
in your module/workspace:What did you do?
A test case added by recently merged CL 588675 is consistently failing on FreeBSD, OpenBSD, NetBSD.
What did you see happen?
What did you expect to see?
passing test
The text was updated successfully, but these errors were encountered: