You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_readline fails randomly on aarc64 RHEL8 buildbots (3.9, 3.10 and 3.x).
In some builds, test_readline fails but then pass when re-run in verbose mode. Example: https://buildbot.python.org/all/#/builders/41/builds/148
0:02:56 load avg: 2.79 Re-running test_readline in verbose mode (matching: test_auto_history_disabled)
test_auto_history_disabled (test.test_readline.TestReadline) ... ok
I ran the test manually on the buildbot worker. Sometimes, the test process gets the EIO error even before getting the 2 newline bytes (b"\r\n"). I wrote PR 27813 to simply not expect the newline character.
Adding flush=True to the print("History length:", readline.get_current_history_length()) call in the Python script doesn't fix the issue.