pytest-dev / pytest-dev/execnet
non-deterministic test_channel test failure
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 102
- 派生
- 47
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
On Guix, building using Python 3.11.4 and the following dependencies:
python-hatch-vcs@0.5.0 python-hatchling@1.27.0 python-pytest-bootstrap@8.4.1
I encountered:
FAILED testing/test_channel.py::TestChannelBasicBehaviour::test_channel_passing_over_channel[main_thread_only-popen] - execnet.gateway_base.RemoteError: Traceback (most recent call last):
File "/gnu/store/n9wcfy3gx8gk3dd2s4xgc5119ylykcha-python-execnet-2.1.1/lib/python3.11/site-packages/execnet/gateway_base.py", line 1291, in executetask
exec(co, loc)
File "<remote exec>", line 2, in <module>
AssertionError
= 1 failed, 465 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning in 59.96s =
This was under high load, and it seems difficult to retrigger that same failure (I've just built the package/ran the test suite for 5 times without the problem being triggered).
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 testing/test_channel.py 和 TestChannelBasicBehaviour::test_channel_passing_over_channel 开始,重点关注 main_thread_only-popen 情况及其远程 AssertionError。在高负载下重现该故障并检查 channel 传递行为;当测试在所报告的环境中不再出现非确定性失败时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- distributed-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100