python / python/cpython

test_sendfile_close_peer_in_the_middle_of_receiving fails on ppc64le

オープン
#122,910 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

type-bug
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Bug report

Bug description:

When running the test suite for Python 3.12 on ppc64le architecture, this test fails (it passes perfectly well on other architectures):

[ 6080s] FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.EPollEventLoopTests.test_sendfile_close_peer_in_the_middle_of_receiving)
[ 6080s] ----------------------------------------------------------------------
[ 6080s] Traceback (most recent call last):
[ 6080s]   File "/home/abuild/rpmbuild/BUILD/Python-3.12.5/Lib/test/test_asyncio/test_sendfile.py", line 466, in test_sendfile_close_peer_in_the_middle_of_receiving
[ 6080s]     with self.assertRaises(ConnectionError):
[ 6080s] AssertionError: ConnectionError not raised

Complete build log

CPython versions tested on:

3.12

Operating systems tested on:

Linux

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Lib/test/test_asyncio/test_sendfile.py、特に 466 行目の test_sendfile_close_peer_in_the_middle_of_receiving から始め、提供された build log をコンテキストとして使用して Linux ppc64le で失敗を再現してください。他のアーキテクチャでのテストの動作と比較します; ppc64le でテストが期待どおり確実に ConnectionError を発生させ、他のプラットフォームでリグレッションを起こさなければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
networking, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。