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
This problem is probabilistic. I run Python3 all test cases on OBS. In recent months, there have been about three times that the test cases hang on probabilistically. The current version with problems is 3.10.2, this problem has also appeared in 3.10.0 and 3.9.9.
The problem occurred again on these two days. There are a lot of errors after forcibly interrupting the task.Please refer to the attachment for details. It has appeared on the arm architecture machine several times recently. python3_build.log
We are not seeing this issue in our CI systems or buildbots that I'm aware of. Without an ability to reproduce it and confirm that an issue exists on the main branch so we can gather diagnostic data, I lean towards closing this issue as not reproduceable / not planned.
As for a fix, time.sleep(0) is bad a code smell. It doesn't do anything deterministic. So it can't solve a problem, only shift the probability of one happening by maybe triggering the OS to switch tasks or a for different Python thread to get the GIL. The underlying problem, if one exists, would still exist.
(I don't actually doubt that there are such issues in the multiprocessing and concurrent.futures test suites or even within multiprocessing itself, just that they're extremely hard to find and debug at this point)
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: