[CI] MakeMaker dependency inspection exceeds Unix timeout
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 src/main/perl/lib/CPAN/FindDependencies/MakeMaker.pm e inspecciona cómo se selecciona $process_timeout y se pasa a PerlOnJava::Process::run_process. Lee unit/zz_perlonjava_process.t, especialmente la prueba 11, y ejecuta la prueba de extracción de MakeMaker en Ubuntu y Windows. El trabajo estará terminado cuando un tiempo de espera limitado permita un inicio normal en una CI de Linux con carga, mientras que un proceso hijo realmente bloqueado siga agotando el tiempo de espera.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The Ubuntu CI run for PR #2229 failed unit/zz_perlonjava_process.t test 11, MakeMaker dependency extraction uses the shared process service. The test's CPAN::FindDependencies::MakeMaker::getreqs_from_mm child exceeded its deadline while running a generated Makefile.PL.
Root cause
src/main/perl/lib/CPAN/FindDependencies/MakeMaker.pm sets $process_timeout to 10 seconds on non-Windows platforms and 60 seconds on Windows. It invokes [ $^X, 'Makefile.PL' ] through PerlOnJava::Process::run_process. Under PerlOnJava, $^X starts another JVM; cold startup and ExtUtils::MakeMaker initialization can exceed the 10-second Unix deadline on a loaded CI runner. The test then receives the string Makefile.PL didn't finish in a reasonable time instead of the expected prerequisite hash.
Evidence
- Ubuntu CI for PR #2229, run 46352999616, job 141630544101:
unit/zz_perlonjava_process.tfailed after 31.446 seconds; TAP tests 1–10 passed and test 11 failed. The failure output identifiesMakefile.PL didn't finish in a reasonable time. - The CI job took 40m17s overall, while
nice -n 19 makepassed locally on the same PR commit. - The current master implementation still has the 10-second non-Windows timeout.
- Commit
4990f9b74onperf/issue-1846-method-paritychanged this timeout to 120 seconds after a CI report that the child JVM exceeded the former 10-second deadline. That change is not present on master.
Follow-up
Choose and document a bounded startup allowance that works on loaded Linux CI runners, retain timeout coverage for genuinely hung children, and validate the MakeMaker extraction test on Ubuntu and Windows. Do not skip the test or remove its timeout.
- Lenguaje dominante
- Perl
- Estrellas
- 67
- Forks
- 9
- Merge medio
- 6 h 45 min
- PR fusionados (30 d)
- 104
Preparar el entorno
- Incluye un Dockerfile o un 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 fglock/PerlOnJava
-
area:runtime documentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fglock/PerlOnJava#1579 ·
Los mantenedores suelen responder en 1 día
-
area:ownership area:performance area:runtime bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
fglock/PerlOnJava#2232 ·
Los mantenedores suelen responder en 1 día
-
area:backend area:cpan-port area:runtime bug
Dificultad 4/5 3-5 días Aptitud para principiantes 72/100
fglock/PerlOnJava#2231 ·
Los mantenedores suelen responder en 1 día
-
area:parser area:runtime area:unicode bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
fglock/PerlOnJava#2228 ·
Los mantenedores suelen responder en 1 día
-
area:cpan-port area:runtime bug
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
fglock/PerlOnJava#2227 ·
Los mantenedores suelen responder en 1 día
Todos los issues de fglock/PerlOnJava
Issues similares
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'Abiertodocumentation Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
Los mantenedores suelen responder en 1 día
-
docs(api): /api/v3/external_sources spec is missing lc and section_titlePosiblemente ocupada @subhwastaken la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
openfoodfacts/openfoodfacts-server#15626 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 67/100
LMS-Community/slimserver#1742 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
brucemiller/LaTeXML#2894 ·