test.test_socket.RDSTest.testPeek hangs indefinitely in docker container
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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