classification_finite_simple_groups cannot be evaluated: restore stack limit and vm.max_map_count
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 72/100
Línea de trabajo
Empieza en scripts/fetch_dependency_caches.py, donde la restauración de leantar establece RLIMIT_STACK en 64 MiB; súbelo al menos a 1 GiB o al límite máximo cuando no haya límite, y luego vuelve a ejecutar prepare_ci_dependencies.py y fetch_dependency_caches --restore contra los artefactos Certificates.Kernel.* listados para confirmar que se descomprimen. Decide por separado si el flujo de trabajo de ubuntu-24.04 debe establecer vm.max_map_count mediante sysctl o si la documentación del problema debe advertir a quienes envían que importar CFSG.Statement supera el valor predeterminado. Hecho significa una restauración limpia y lake test con la configuración previous-stable, o un requisito documentado donde el runner no se pueda cambiar.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
While preparing a submission for classification_finite_simple_groups on the previous-stable configuration (Lean v4.35.0; lean-eval main at bcc14246; cfsg 965a0775, TauCeti 1f9b4414, Mathlib 07406378), we found two problems that, as far as we can tell, stop any submission to this problem from being evaluated. We followed the CI steps: prepare_toolchain.py previous-stable --apply, prepare_ci_dependencies.py, fetch_dependency_caches --restore, then lake test (comparator with NanoDa) in the workspace with the submission overlaid.
1. scripts/fetch_dependency_caches.py: 64 MiB stack is too small for some cfsg artifacts
The restore step raises RLIMIT_STACK to 64 MiB for leantar. With that limit, leantar exits with 139 (SIGSEGV) while unpacking 9 Certificates.Kernel.* artifacts, so the restore fails after its retries:
Certificates.Kernel.SporSch.PairJ3.FormsTextCertificates.Kernel.Co1B.Acts0Certificates.Kernel.Sporadic.OddCore.SuzCertCertificates.Kernel.Sporadic.Fi22.Ext2073Certificates.Kernel.Sporadic.OddCore.HND4Certificates.Kernel.Misc.Perm.J2C3CCertificates.Kernel.HeLoc.SevenDataCertificates.Kernel.Misc.RuFive.TextCertificates.Kernel.D43.HexG
When we unpacked the same .ltar files by hand, 8 of them needed 256 MiB of stack, and Certificates.Kernel.SporSch.PairJ3.FormsText needed 1 GiB. With a 4 GiB soft limit the restore completed. Raising the limit in the script to at least 1 GiB (or to the hard limit when it is unlimited) should fix this.
For scale, the import closure of CFSG.Statement is about 227k cfsg modules. The restored cfsg/.lake is about 201 GB, and the package tree is about 213 GB in 3.8 million files. That may also matter for runner disk and time budgets.
2. Importing CFSG.Statement fails under the default vm.max_map_count
After a complete restore, lake test fails while building Submission. The error is:
error: Submission.lean:1:0: failed to read file '.../cfsg/.lake/build/lib/lean/CFSG/LocalAnalysis/.../*.olean.private'
error: build failed
We measured the following:
- Memory is not the cause. The build fails the same way at 16 CPU / 32 GiB (peak 28.3 GB) and at 62 CPU / 240 GiB (peak 17.9 GB).
- A plain
lake env leanon a file that only importsCFSG.Statementfails when the process reaches 1,048,142 memory mappings. At that point it has only 11–14 open file descriptors. vm.max_map_countis 1,048,576 on our machines. This is the Ubuntu 24.04 default, and the CI workflows also useubuntu-24.04.
So importing CFSG.Statement (and with it this problem's statement) seems to need vm.max_map_count well above 1.05M. A submitter cannot change this setting; it has to be raised on the runner, e.g. sysctl -w vm.max_map_count=4194304. If that is not possible, a note on the problem might save other submitters the long restore.
We have not submitted anything for this problem. The gorenstein_walter workspace on the same configuration restores and evaluates fine (about 1.7k cfsg modules).
- Lenguaje dominante
- Lean
- Estrellas
- 52
- Forks
- 46
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 16
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 leanprover/lean-eval
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
leanprover/lean-eval#663 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
leanprover/lean-eval#659 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
leanprover/lean-eval#655 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
leanprover/lean-eval#642 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
leanprover/lean-eval#634 ·
Los mantenedores suelen responder en 1 día
Todos los issues de leanprover/lean-eval
Issues similares
-
fix: production-image scan fails on base-image CVEs (libzstd, libssl)Posiblemente ocupada @Kravalg la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
VilnaCRM-Org/notification-service#41 ·
Los mantenedores suelen responder en 4 días
-
agentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
opencollective/opencollective-frontend#12789 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Looking for author Outdated content
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
strapi/community-content#1707 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ossf/oss-crs#548 · 1 comentario ·
Los mantenedores suelen responder en 1 día