Clean up pytest files in /tmp after test runs
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- devops, testing-qa
Línea de trabajo
The payload names no file in the repository. Start with the Makefile test target and the pytest setup, then check where pytest writes its /tmp/pytest-of-<user> directories. The issue lists three options (an rm after tests, tmpreaper, or a larger /tmp) and no decision has been made, so agree on an approach with maintainers first. Done means a test run leaves no pytest temp directories behind, or the chosen cleanup is documented and works.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Currently, tests (using pytest) can leave files around in /tmp (~ 800 MiB per pytest directory) which can then lead to /tmp completely running out of space since it is only 4 GiB in total:
jvperrin@supernova:~$ sudo du -sh /tmp/* | sort -h | tail -n 2
872M /tmp/pytest-of-gleeb
2.6G /tmp/pytest-of-dkessler
This has happened several times before, but we should have a better solution than just temporarily cleaning out space again (for instance running a rm of the relevant directory in the Makefile after running tests, or running tmpreaper on these directories periodically).
Additionally, increasing the size of /tmp on supernova would help, but given the size of these pytest outputs (~ 800 MiB per directory), that wouldn't help that much.
- Lenguaje dominante
- Python
- Estrellas
- 46
- Forks
- 106
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin 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 ocf/ocfweb
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 58/100
-
fix lab stats pageQuizá libre de nuevo @kafu-densha la tomó hace 94 días y no hay ningún pull request abierto. Abierto
-
use nix to buildAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Todos los issues de ocf/ocfweb
Issues similares
-
bug(mcp): handle malformed and partial reranker responses safelyPosiblemente ocupada @KamilEjaz890 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kubeflow/docs-agent#301 ·
Los mantenedores suelen responder en 4 días
-
Update the demo docsAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
pulp/pulp_workflow#78 ·
-
Invalid syntax in sshtunnelAbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
pgadmin-org/pgadmin4#10797 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
gcivil-nyu-org/team5-mon-fall26#132 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
gcivil-nyu-org/team4-mon-fall26#291 ·
Los mantenedores suelen responder en 1 día