test.test_socket.RDSTest.testPeek hangs indefinitely in docker container
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
Bug report
Bug description:
Execution of test_socket.RDSTest.testPeek hangs indefinitely in docker container for Python 3.12.10.
Reproduced on ArchLinux, Docker version 28.2.2, official images Ubuntu 18:04 and Ubuntu 24:04.
Steps:
- Install necessary packages for compilation.
- Download https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz
- Do 'configure', 'make'. then execute
./python -m test test_socket -m test.test_socket.RDSTest.testPeek -v
The test is stuck. There is no error output, just 'testPeek (test.test_socket.RDSTest.testPeek) ...'.
Strace shows that the process waits for an answer from socket.
If you interrupt and rerun the same test - it completes without issues.
Seems to be the same issue as in https://github.com/python/cpython/issues/79428.
CPython versions tested on:
3.13.5
Operating systems tested on:
Linux
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在回報的 Docker/Linux 環境中,使用 ./python -m test test_socket -m test.test_socket.RDSTest.testPeek -v 重現掛起問題。從 test.test_socket.RDSTest.testPeek 開始,並將其行為與 issue #79428 進行比較;完成的標準是測試在第一次執行時能可靠地完成,而不會無限期等待。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- networking, testing-qa
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100