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
changed the title [-]``test_queue`` timed out on Windows free-threading build (x86)[/-][+]``test_queue`` timed out on Windows free-threading build[/+]on Feb 10, 2024
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.
If you want to just revert the offending PR, gh-115265 is a full revert (it's currently marinating in CI).
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.
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.
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?
Activity
terryjreedy commentedon Feb 10, 2024
This has blocked CI from passing for a least one PR, #115250 (now rerunning), but not for another, #115253.
[-]``test_queue`` timed out on Windows free-threading build (x86)[/-][+]``test_queue`` timed out on Windows free-threading build[/+]Eclips4 commentedon Feb 10, 2024
Also seems this issue is not specific to x86, another one fail on x64: #115232
Eclips4 commentedon Feb 10, 2024
Looks related to #104750
terryjreedy commentedon Feb 10, 2024
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.
gvanrossum commentedon Feb 10, 2024
Shall we just revert gh-104750? It seems I merged it prematurely, see #104750 (comment).
Revert "pythongh-96471: Add shutdown() method to queue.Queue (python#…
gvanrossum commentedon Feb 10, 2024
If you want to just revert the offending PR, gh-115265 is a full revert (it's currently marinating in CI).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.
pythongh-115258: Temporarily disable test on free-threaded Windows build
pythongh-115258: Temporarily disable test on free-threaded Windows build
15 remaining items
pythongh-115258: Temporarily skip test on all platforms
Eclips4 commentedon Feb 12, 2024
Done in #115361
gh-115258: Temporarily skip some `queue` tests on all platforms (#115361
pythongh-115258: Temporarily disable test on Windows (python#115269)
pythongh-115258: Temporarily skip some `queue` tests on all platforms (…
WIP: fix threading queue shutdown all-methods-many-threads test (pyth…
WIP: fix threading queue shutdown all-methods-many-threads test (pyth…
vstinner commentedon Mar 14, 2024
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.
gvanrossum commentedon Mar 14, 2024
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?
gh-115258: Fix hanging tests for threading queue shutdown (#115940)
gvanrossum commentedon Mar 18, 2024
The updated tests have been pushed.
pythongh-115258: Fix hanging tests for threading queue shutdown (pyth…
pythongh-115258: Fix hanging tests for threading queue shutdown (pyth…
pythongh-115258: Fix hanging tests for threading queue shutdown (pyth…