-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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_concurrent_futures.test_shutdown: AssertionError: b'' != b'apple' #112542
Comments
CC: @vstinner |
Sadly, the failure is not new:
My analysis: #109047 (comment) Do you want to work on a fix? I fixed the new RuntimeError variant in #109810 |
Sure, I would like to work on a fix. |
This just started happening today on Devuan Linux (Linux josiah 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux). It did not happen yesterday, from yesterday's pull from main. It did not happen on today's build on Fedora 37. |
The test now fails on the Windows 11 Refleaks 3.12 buildbot: https://buildbot.python.org/all/#/builders/1103. |
It happened again on GitHub: https://github.com/python/cpython/actions/runs/7723607693/job/21054076387 |
That's a Windows x64 build. Apparently, the issue is specific to Windows. |
Sorry, I wrote too quickly. The race condition was seen on FreeBSD and Linux as well, but it's really hard to reproduce. |
This happens reliably in the free-threaded build with The order of operations is:
If (2) happens quickly enough, then we get This is closely related to:
|
#116677 should address this as well as a number of other related issues. |
|
Bug report
Bug description:
Bug report
Bug description:
Configuration:
Test Output: (full-test-output.txt)
Environment:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
The text was updated successfully, but these errors were encountered: