[CI] MakeMaker dependency inspection exceeds Unix timeout
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 72/100
Direzione di ricerca
Inizia da src/main/perl/lib/CPAN/FindDependencies/MakeMaker.pm e controlla come viene selezionato $process_timeout e passato a PerlOnJava::Process::run_process. Leggi unit/zz_perlonjava_process.t, in particolare il test 11, ed esegui il test di estrazione MakeMaker su Ubuntu e Windows. Il lavoro è completato quando un timeout limitato consente un avvio normale su una CI Linux sotto carico, mentre un processo figlio effettivamente bloccato continua ad andare in timeout.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Perl
- Stelle
- 67
- Fork
- 9
- Merge medio
- 6h 45m
- PR unite (30g)
- 104
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di fglock/PerlOnJava
-
area:runtime documentation enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
fglock/PerlOnJava#1579 ·
I maintainer di solito rispondono entro 1 giorno
-
area:ownership area:performance area:runtime bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
fglock/PerlOnJava#2232 ·
I maintainer di solito rispondono entro 1 giorno
-
area:backend area:cpan-port area:runtime bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 72/100
fglock/PerlOnJava#2231 ·
I maintainer di solito rispondono entro 1 giorno
-
area:parser area:runtime area:unicode bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
fglock/PerlOnJava#2228 ·
I maintainer di solito rispondono entro 1 giorno
-
area:cpan-port area:runtime bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
fglock/PerlOnJava#2227 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di fglock/PerlOnJava
Issue simili
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'Apertadocumentation Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
I maintainer di solito rispondono entro 1 giorno
-
docs(api): /api/v3/external_sources spec is missing lc and section_titleForse già presa @subhwastaken l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
openfoodfacts/openfoodfacts-server#15626 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 67/100
LMS-Community/slimserver#1742 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
brucemiller/LaTeXML#2894 ·