[CI] MakeMaker dependency inspection exceeds Unix timeout
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 72/100
Direção de pesquisa
Comece em src/main/perl/lib/CPAN/FindDependencies/MakeMaker.pm e inspecione como $process_timeout é selecionado e passado para PerlOnJava::Process::run_process. Leia unit/zz_perlonjava_process.t, especialmente o teste 11, e execute o teste de extração do MakeMaker no Ubuntu e no Windows. O trabalho estará concluído quando um timeout limitado permitir a inicialização normal em uma CI Linux sobrecarregada, enquanto um processo filho realmente travado continuar atingindo o timeout.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Perl
- Estrelas
- 67
- Forks
- 9
- Merge médio
- 6h 45min
- PRs com merge (30d)
- 104
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
area:runtime documentation enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
area:ownership area:performance area:runtime bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
fglock/PerlOnJava#2232 ·
Mantenedores costumam responder em até 1 dia
-
area:backend area:cpan-port area:runtime bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 72/100
fglock/PerlOnJava#2231 ·
Mantenedores costumam responder em até 1 dia
-
area:parser area:runtime area:unicode bug
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 38/100
fglock/PerlOnJava#2228 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port area:runtime bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 70/100
fglock/PerlOnJava#2227 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'Abertadocumentation Needs Triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
Mantenedores costumam responder em até 1 dia
-
docs(api): /api/v3/external_sources spec is missing lc and section_titleTalvez já em andamento @subhwastaken assumiu hoje. Aberta
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 82/100
openfoodfacts/openfoodfacts-server#15626 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 67/100
LMS-Community/slimserver#1742 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
brucemiller/LaTeXML#2894 ·