-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Flaky test test_asyncio_repl_is_ok
in test_repl
#119909
Comments
test_asyncio_repl_is_ok
test_asyncio_repl_is_ok
in test_repl
Maybe @ambv or @pablogsal has a clue? |
It's look related to the 2237946 |
The REPL fails to start because of stdin is not a tty:
I'm fixing that case to revert to the classic REPL in this scenario. |
I will need a better way to reproduce this. Inside So to see the exception bubble up as in the failing test, this must be a combination of this code running from a secondary daemon thread at interpreter shutdown. |
test_asyncio_repl_is_ok is flaky. Thanks to parona for spotting the bug. Bug: python/cpython#119909 Signed-off-by: Sam James <[email protected]>
Can we skip it for now? I've seen it very often when when I running the test suite in "hunt refleaks" mode |
When _enter_buffered_busy hangs, I also get a different error message if stdin is not a TTY:
@ambv added |
(cherry picked from commit 1143894) Co-authored-by: Kirill Podoprigora <[email protected]>
Fixed by change 1143894: I can no longer reproduce the bug. |
The test fails because the running the asyncio repl exits with:
I'm not sure if this is just a flaky test (i.e,
_enter_buffered_busy
failures are expected), or if it's a bug in the underlying repl.The exit code
-6
means the process crashes due to anabort()
, I think.Example: https://github.com/python/cpython/actions/runs/9331095550/job/25685390386?pr=119908
Test Output
Linked PRs
NameError
inasyncio
REPL #121341NameError
inasyncio
REPL (GH-121341) #121447The text was updated successfully, but these errors were encountered: