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
{{ message }}
Repository navigation
test_concurrent_futures.test_deadlock fails with env changed: sys.stderr was modified on s390x RHEL8 Refleaks 3.x #109832
Activity
vstinner commentedon Sep 25, 2023
I suppose that sys.stderr was modified by test_error_at_task_unpickle() or by test_error_during_result_unpickle_in_result_handler().
I tried to reproduce the failure with:
I suppose that the bug only triggers if the system load is high.
vstinner commentedon Sep 25, 2023
I reproduced the issue after 4 min 48 sec.
Terminal 1:
Terminal 2:
vstinner commentedon Sep 26, 2023
Error on GHA macOS: https://github.com/python/cpython/actions/runs/6306288599/job/17121190375?pr=109871
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr
gh-109832: concurrent.futures test_deadlock restores sys.stderr (#109887
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr (…
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr (…
[3.11] gh-109832: concurrent.futures test_deadlock restores sys.stderr (
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr (…
[3.12] gh-109832: concurrent.futures test_deadlock restores sys.stderr (
pythongh-109832: concurrent.futures test_deadlock restores sys.stderr (…