-
Notifications
You must be signed in to change notification settings - Fork 0
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
epoll patch #13
epoll patch #13
Conversation
Here are test results:
|
Hmm. I only see the |
See #17 for test results without this PR. I'm going to run tests with again this PR because I remember Python tests were unreliable for me in past... For |
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.
This patch needs to turn off HAVE_EPOLL
and this version doesn't.
Perhaps it would work to guard the epoll_create* checks in something that will skip them if HAVE_SYS_EPOLL_H
or some such is not defined?
Problem didn't reproduce when I tried it again
Current HEAD + epoll patch:
Both
|
When I re-run using |
I re-run the same several times and it usually pass, but sometimes fail. Could you please try the same on your end few times? |
BTW, the failure varies. This time it is
|
I reported the |
Cherry-picked to my branch; I updated the commit description to be less vague. This is likely not the best place to track test flakes. |
Perfect. Thank you. |
FYI, this was due to an upstream bug when python is built with expat 2.6.0 or later: python/cpython#115164; I didn't see the bug when my build machine had expat 2.5.0 installed.
I'll pull in the upstream patch (which disables the chunking versions of the test that failed). |
Nice finding. Thank you! |
I propose this wording for the epoll patch (feel free to improve/fix if you think it is needed).
Also the patch itself is much cleaner this way. I kicked build & test to make sure it really works as expected.