Flaky test: test_stalled_download_cancel_is_bounded_and_partial_file_is_removed times out on Windows CI
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 88/100
Línea de trabajo
Lee tests/browser/test_profiles.py::test_stalled_download_cancel_is_bounded_and_partial_file_is_removed y el timeout externo de asyncio.wait_for. Aumenta ese límite a unos segundos y mantén sin cambios los timeouts internos parcheados. El objetivo es que la prueba siga comprobando que la cancelación está acotada y que se elimina el archivo parcial, sin agotar el tiempo de espera en un runner de Windows con carga elevada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
tests/browser/test_profiles.py::test_stalled_download_cancel_is_bounded_and_partial_file_is_removed failed once on Windows CI with TimeoutError and passed on a re-run of the same commit.
Where: PR for fix/304-paused-run-resume, run 39003130590 attempt 1, Engine tests (windows-latest): 1 failed, 2457 passed in 19:47.
What failed: the outer asyncio.wait_for(svc._save_download(StalledDownload()), timeout=0.5) expired before _save_download raised the expected BrowserError("Browser cancellation failed: timed out after 0.01 seconds").
Likely cause: the test patches DOWNLOAD_MAX_DURATION_S and DOWNLOAD_CANCEL_TIMEOUT_S to 0.01 s, then allows only 0.5 s of wall clock for the save, the cancel attempt and removing the partial file. On a loaded Windows runner (-n auto) event-loop scheduling plus file I/O can take longer than half a second. The same family of download tests has timed out before on Windows (tests/browser/test_live_browser.py::test_download_is_saved_and_reported, runs 38597971996 and 38572264730).
Possible fix: raise the outer guard to a few seconds (it only exists to stop a hang; the inner 0.01 s limits are what the test checks).
Until fixed it is marked @pytest.mark.flaky(reruns=2), and CI's rerun summary lists it whenever it needs a rerun.
- Lenguaje dominante
- Python
- Estrellas
- 702
- Forks
- 113
- Merge medio
- 5 h 8 min
- PR fusionados (30 d)
- 171
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de existence-master/Sentient
-
area: channels enhancement good first issue priority: P2 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
existence-master/Sentient#457 ·
Los mantenedores suelen responder en 1 día
-
area: desktop bug good first issue priority: P2 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
existence-master/Sentient#454 ·
Los mantenedores suelen responder en 1 día
-
area: desktop bug priority: P2 size: S
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
existence-master/Sentient#440 ·
Los mantenedores suelen responder en 1 día
-
area: desktop bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
existence-master/Sentient#426 ·
Los mantenedores suelen responder en 1 día
-
area: memory bug flaky
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
existence-master/Sentient#422 ·
Los mantenedores suelen responder en 1 día
Todos los issues de existence-master/Sentient
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SwiftKickMobile/skai#84 ·
-
Lychee link check failedAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jxxghp/MoviePilot#7070 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
flop-labs/technocore-chat#997 ·
Los mantenedores suelen responder en 1 día
-
tunneld on Windows: Wi-Fi devices are not discovered because uvicorn runs on a ProactorEventLoopAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
doronz88/pymobiledevice3#2051 ·
Los mantenedores suelen responder en 1 día