allure-framework / allure-framework/allure-python

Phantom <lambda> teardown entries with unknown status when using pytest 9.1+

Abierto
#918 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
814
Forks
260
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Description

When using `allure-pytest` (2.15.3 or 2.16.0) with `pytest >= 9.1.0`, every fixture produces a phantom `::` afterStage entry in the Allure report with `unknown` status. These entries are not real teardown failures — they are internal pytest finalizers that allure wraps but are never invoked through allure's wrapper.

Image

Versions
- pytest: 9.1.1
- allure-pytest: 2.16.0
- Python: 3.12
Works correctly with pytest <= 9.0.x.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the report with allure-pytest 2.15.3 or 2.16.0 and pytest 9.1.1, then compare it with pytest 9.0.x. Trace the allure-pytest fixture teardown integration implicated by the issue; done means reports no longer contain phantom :: afterStage entries with unknown status.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
testing
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
58/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.