pytest-xdist slave fail on Interrupted system call
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
gateway_base.Unserializer.load から始め、特に報告で特定されている stream.read(1) の呼び出しを確認し、そこで IOError がどのように処理されているかを調べてください。可能であれば pytest-xdist の slave の失敗を再現してください。デシリアライズ中の Interrupted system call によって receiver パスが中断されず、通常のメッセージ処理が継続すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
- Bitbucket: https://bitbucket.org/hpk42/execnet/issue/6
- Originally reported by: @memedough
- Originally created at: 2012-04-14T03:00:30.080
Hi,
I get IOError Interrupted system call in pytest-xdist slave. Don't know why, can't see signal anywhere but fail
creating slavegateway on <__main__.Popen2IO instance at 0x20fa2d8>
RECEIVERTHREAD: starting to run
received <Message.CHANNEL_EXEC channelid=1 len=285>
received <Message.CHANNEL_DATA channelid=1 len=123>
execution starts[1]: "\nimport os\npath, nice, env = channel.receive()\
execution finished
sent <Message.CHANNEL_CLOSE channelid=1 >
1 sent channel close message
received <Message.CHANNEL_EXEC channelid=3 len=210>
1 channel.__del__
execution starts[3]: '\nimport sys, os\nchannel.send(dict(\n executa
sent <Message.CHANNEL_DATA channelid=3 len=295>
execution finished
sent <Message.CHANNEL_CLOSE channelid=3 >
3 sent channel close message
received <Message.CHANNEL_EXEC channelid=5 len=5308>
3 channel.__del__
execution starts[5]: '"""\n This module is executed in remote subpro
received <Message.CHANNEL_DATA channelid=5 len=1492>
RECEIVERTHREAD Traceback (most recent call last):
File "<string>", line 622, in _thread_receiver
File "<string>", line 802, in load
File "<string>", line 86, in read
IOError: [Errno 4] Interrupted system call
RECEIVERTHREAD entering finalization
RECEIVERTHREAD leaving finalization
sent <Message.CHANNEL_DATA channelid=5 len=451>
sent <Message.CHANNEL_DATA channelid=5 ('collectionstart', {})>
sent <Message.CHANNEL_DATA channelid=5 len=115>
sent <Message.CHANNEL_DATA channelid=5 len=163>
sent <Message.CHANNEL_DATA channelid=5 len=244>
sent <Message.CHANNEL_DATA channelid=5 len=53>
gateway_base.Unserializer.load(self) can be made work by retry if get IOError with errno == 4
while True:
opcode = self.stream.read(1) # Retry this if IOError raised here
if not opcode:
raise EOFError
- 主要言語
- Python
- スター
- 102
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pytest-dev/execnet のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
pytest-dev/execnet#429 · コメント 1 件 ·
-
IPv6 support オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
pytest-dev/execnet#384 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
pytest-dev/execnet#374 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
pytest-dev/execnet#306 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
pytest-dev/execnet#279 · リアクション 1 件 ·
pytest-dev/execnet の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
learningequality/ricecooker#747 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
run-llama/llama_index#23199 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
KhronosGroup/glTF-Blender-IO#2769 ·