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

Open
#697 7 comments 0 reactions 0 assignees View on GitHub
bug theme:core theme:pytest
Dominant language
Python
Stars
814
Forks
260
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the reported Python, Allure, allure-pytest, and pytest versions while running tests in multiple threads. Start by inspecting /usr/local/lib/python3.9/site-packages/allure_commons/reporter.py at line 33 and use the attached traceback to identify the missing key. Done means the same multithreaded run completes without the KeyError and existing reporting behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.