allure-framework / allure-framework/allure-python
ran testcases by multi-threads, then allure raised /usr/local/lib/python3.9/site-packages/allure_commons/reporter.py:33: KeyError
未关闭
bug
theme:core
theme:pytest
- 主要语言
- Python
- 星标
- 814
- 派生
- 260
- PR 合并指标
- 30 天内没有已合并 PR
描述
i ran testcases by multi-threads, then allure raised the error.

```python
version:
python: 3.9.13
allure: 2.14.0
allure-pytest: 2.10.0
pytest: 7.1.2
```
贡献指南
调研方向
在多个线程中运行测试时,使用报告中所述的 Python、Allure、allure-pytest 和 pytest 版本复现该失败。首先检查 /usr/local/lib/python3.9/site-packages/allure_commons/reporter.py 的第 33 行,并使用附带的 traceback 确定缺失的键。完成的标准是相同的多线程运行在没有 KeyError 的情况下完成,并且现有的 reporting 行为保持不变。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- testing
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100