This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_pty.test_openpty() failed on x86 Gentoo Installed with X 3.x: unexpected success
Type: Stage: resolved
Components: Tests Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2020-11-25 15:27 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (4)
msg381837 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-11-25 15:27
x86 Gentoo Installed with X 3.x:
https://buildbot.python.org/all/#/builders/464/builds/445

0:05:51 load avg: 4.73 [104/425/1] test_pty failed -- running: test_unparse (1 min 3 sec)

test_fork (test.test_pty.PtyTest) ... calling pty.fork()
Waiting for child (3734) to finish.
Child (3734) exited with code 4 (status 1024).
ok

test_master_read (test.test_pty.PtyTest) ... Calling pty.openpty()
Got master_fd '3', slave_fd '4'
Closing slave_fd
Reading from master_fd
ok

test_openpty (test.test_pty.PtyTest) ... Setting pty.STDIN_FILENO window size
Calling pty.openpty()
Got master_fd '3', slave_fd '4'
Writing to slave_fd
Writing chunked output
unexpected success

test__copy_eof_on_all (test.test_pty.SmallPtyTests)
Test the empty read EOF case on both master_fd and stdin. ... ok

test__copy_to_each (test.test_pty.SmallPtyTests)
Test the normal data case on both master_fd and stdin. ... ok

----------------------------------------------------------------------

Ran 5 tests in 0.054s

FAILED (unexpected successes=1)
test test_pty failed
msg381838 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-11-25 15:28
Same issue on x86 Gentoo Non-Debug with X 3.x:
https://buildbot.python.org/all/#builders/58/builds/442
msg381841 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-11-25 15:30
Regression related to bpo-41818:
https://github.com/python/cpython/commit/c13d89955d9a2942c6355d6839d7096323244136
msg381949 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-11-27 13:49
https://buildbot.python.org/all/#/builders/464 is back to green.
History
Date User Action Args
2022-04-11 14:59:38adminsetgithub: 86629
2020-11-27 13:49:25vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg381949

stage: resolved
2020-11-25 15:30:07vstinnersetmessages: + msg381841
2020-11-25 15:28:27vstinnersetmessages: + msg381838
2020-11-25 15:27:02vstinnercreate