-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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_queue
times out
#115258
Comments
test_queue
timed out on Windows free-threading build (x86)test_queue
timed out on Windows free-threading build
Looks related to #104750 |
Since our workflow does not allow over-riding CI failure from unrelated test failures, I think test_queue.PyPriorityQueueTest.test_shutdown_all_methods_in_many_threads should be skipped until fixed. |
Shall we just revert gh-104750? It seems I merged it prematurely, see #104750 (comment). |
…104750)" Reason for the revert: python#115258 test_queue timed out on Windows free-threading build. The PR author had mentioned this in python#104750 (comment) but I forgot about it and merged anyway. This reverts commit b2d9d13.
If someone wants to volunteer to create an alternative PR that just disables that test (ideally only when Windows and free-threading are detected) that would be even better. |
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows free-threaded CI. This skips the test on that platform and configuration until we figure out the root cause.
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows free-threaded CI. This skips the test on that platform and configuration until we figure out the root cause.
I'll look into this on Monday. Here's a PR that temporarily skips this test on the free-threaded WIndows build, if we prefer that over reverting the PR: #115269 |
It looks like the test also sometimes times out on the default Windows build. In this job it timed out after 10 minutes, was re-run, and then passed: https://github.com/python/cpython/actions/runs/7859086848/job/21444802020?pr=115269 |
Oh, then just skip these tests on Windows. |
test_queue
timed out on Windows free-threading buildtest_queue
timed out on Windows ~~free-threading~~ build
test_queue
timed out on Windows ~~free-threading~~ buildtest_queue
timed out on Windows build
test_queue
timed out on Windows buildtest_queue
times out on Windows build
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows CI. This skips the test on Windows until we figure out the root cause.
I'll now commandeer this issue to track fixes to the offending tests. Hopefully @EpicWink has some ideas. |
going to remove the free-threading label since the current theory is that this isn't free-threading specific. |
We're seeing timeouts for |
Okay, just disable those two tests for all platforms. (I'm not in a position to do it myself right now.) |
test_queue
times out on Windows buildtest_queue
times out
Done in #115361 |
The "test_shutdown_all_methods_in_many_threads" test times out on the Windows CI. This skips the test on Windows until we figure out the root cause.
What's the status? The tests are skipped for 1 month. If nobody knows how to fix it, I would like to suggest to revert the change which introduced the unstable tests. |
Funny you should ask. There is a fix by the original authors (gh-115940), it just requires review and some validation. I don't want to rush things. Could you maybe review that PR? |
This reinstates `test_shutdown_immediate_all_methods_in_many_threads` and improves `test_shutdown_all_methods_in_many_threads`.
The updated tests have been pushed. |
…on#115940) This reinstates `test_shutdown_immediate_all_methods_in_many_threads` and improves `test_shutdown_all_methods_in_many_threads`.
…on#115940) This reinstates `test_shutdown_immediate_all_methods_in_many_threads` and improves `test_shutdown_all_methods_in_many_threads`.
…on#115940) This reinstates `test_shutdown_immediate_all_methods_in_many_threads` and improves `test_shutdown_all_methods_in_many_threads`.
Bug report
Bug description:
See https://github.com/python/cpython/actions/runs/7856342409/job/21439020143?pr=115257 for more details.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
queue
tests on all platforms #115361The text was updated successfully, but these errors were encountered: