Skip to content
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_pyrepl is taking 1 hour on refleaks buildbots #121988

Closed
colesbury opened this issue Jul 18, 2024 · 3 comments
Closed

test_pyrepl is taking 1 hour on refleaks buildbots #121988

colesbury opened this issue Jul 18, 2024 · 3 comments
Labels
tests Tests in the Lib/test dir topic-repl Related to the interactive shell

Comments

@colesbury
Copy link
Contributor

colesbury commented Jul 18, 2024

Looks like it started with ac07451 (cc @AlexWaygood).

https://buildbot.python.org/#/builders/259/builds/1189
https://buildbot.python.org/#/builders/1226/builds/2261

The last time this occurred (#121605) was because:

  1. The refleaks buildbots run with a really long value for SHORT_TIMEOUT
  2. run_repl was hanging until the timeout expired

Linked PRs

@colesbury colesbury added tests Tests in the Lib/test dir topic-repl Related to the interactive shell labels Jul 18, 2024
@colesbury
Copy link
Contributor Author

Oh, probably the same thing with exit vs exit()

colesbury added a commit to colesbury/cpython that referenced this issue Jul 18, 2024
Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
colesbury added a commit to colesbury/cpython that referenced this issue Jul 18, 2024
Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
colesbury added a commit to colesbury/cpython that referenced this issue Jul 18, 2024
Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
colesbury added a commit to colesbury/cpython that referenced this issue Jul 19, 2024
pablogsal pushed a commit that referenced this issue Jul 20, 2024
Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 20, 2024
…-121990)

Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
(cherry picked from commit a09e215)

Co-authored-by: Sam Gross <[email protected]>
pablogsal pushed a commit that referenced this issue Jul 20, 2024
…) (#122064)

gh-121988: Fix test hang when pyrepl is not available (GH-121990)

Also explicitly fail the test if we timeout while waiting for output so
that this failure mode is caught earlier.
(cherry picked from commit a09e215)

Co-authored-by: Sam Gross <[email protected]>
@nineteendo
Copy link
Contributor

Is this fully fixed?

@colesbury
Copy link
Contributor Author

Yes, it's fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir topic-repl Related to the interactive shell
Projects
None yet
Development

No branches or pull requests

2 participants