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

未关闭
#697 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug theme:core theme:pytest
主要语言
Python
星标
814
派生
260
PR 合并指标
30 天内没有已合并 PR

描述

i ran testcases by multi-threads, then allure raised the error.
![image](https://user-images.githubusercontent.com/59531058/195267867-bddd6a54-e744-47fe-ae70-2067d0840682.png)
```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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。