-
-
Notifications
You must be signed in to change notification settings - Fork 30.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
test_pty: test_openpty() timed out after 3h 20min on aarch64 RHEL8 Refleaks 3.x: #110673
Labels
tests
Tests in the Lib/test dir
Comments
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 11, 2023
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY. Let's check if this assumption is correct.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 11, 2023
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY.
vstinner
added a commit
that referenced
this issue
Oct 11, 2023
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 11, 2023
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY. (cherry picked from commit b4e8049) Co-authored-by: Victor Stinner <vstinner@python.org>
This was referenced Oct 11, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 11, 2023
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY. (cherry picked from commit b4e8049) Co-authored-by: Victor Stinner <vstinner@python.org>
I only saw that bug once. I added For now, I close the issue. |
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is os.write(fd, data) guaranteed to write all bytes of data? Or can it write only some (first) bytes of data?
Extract of the test:
with:
aarch64 RHEL8 Refleaks 3.x:
build: https://buildbot.python.org/all/#/builders/551/builds/883
cc @serhiy-storchaka
Linked PRs
The text was updated successfully, but these errors were encountered: