-
Notifications
You must be signed in to change notification settings - Fork 27
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
PR: Add test that terminate causes EOFError #213
Conversation
Okay, this caught a bug where we were using |
Okay, I think what happened is f105bcc removed the ability to detect EOF passively using a |
Note to self: we need to use |
I think |
Thanks @blink1073 for tracking this, what happens if pytest is ran with |
I tried that, and running |
Well, it isn't pytest... |
Maybe getting access into any CI worker via RDP may give us more information: https://github.com/spyder-ide/pywinpty/blob/b499f20711879bee8b0edcf00919fc78f09e51bc/.github/workflows/windows_build.yml#L55 You need an NGROK account to update this token https://github.com/spyder-ide/pywinpty/blob/b499f20711879bee8b0edcf00919fc78f09e51bc/.github/workflows/windows_build.yml#L64 |
I don't have the bandwidth to debug ConPTY, my only aim is to get terminado working with WinPTY again. |
You could skip the tests for conpty entirely and see if it passes |
Yep, I did that and all tests pass with |
You could set |
My vote would be to skip the specific stalling |
Okay, ready for review. Once this is merged I'll kick the dependabot PRs, and open an issue tracking the ConPTY regression. |
@blink1073, could you squash your testing commits and leave the ones that actually implemented the changes necessary for terminado? Thanks! |
try with sigterm try with sigkill too update tests add loop test add explicit EOF another attempt cleanup try again don't skip the test skip control tests for now use new event loop reinstate control tests fix handling of event loop follow docs try skipping the loop test try conpty only remove more winpty see if removing the extra read works try without extra write and no loop test back to original code try winpty only timeout after 15 minutes try with conpty only remove eof handling try without capture run pytest directly pin pytest fix shell quoting use 10 minute timeout
fix backend parameter add another skip add another skip revert changes to test running remove pytest pin
Done! |
Thanks @blink1073, I'll draft a new release once I merge the dependency PRs |
Thanks! And also thank you for your hard work on solving this problem! |
Needed for jupyter/terminado#142