[CI] MakeMaker dependency inspection exceeds Unix timeout
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
src/main/perl/lib/CPAN/FindDependencies/MakeMaker.pmから始めて、$process_timeoutがどのように選択され、PerlOnJava::Process::run_processに渡されるかを調べてください。unit/zz_perlonjava_process.t、特にテスト11を読み、UbuntuとWindowsでMakeMakerの抽出テストを実行してください。負荷の高いLinux CIでも通常の起動を可能にする一方で、本当にハングした子プロセスは引き続きタイムアウトする、上限のあるタイムアウトが実現したら完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Perl
- スター
- 67
- フォーク
- 9
- 平均マージ
- 6時間 45分
- マージ済み PR(30日)
- 104
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
area:runtime documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
area:ownership area:performance area:runtime bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
fglock/PerlOnJava#2232 ·
メンテナーはふだん 1 日以内に返信
-
area:backend area:cpan-port area:runtime bug
難易度 4/5 3〜5日 初心者へのやさしさ 72/100
fglock/PerlOnJava#2231 ·
メンテナーはふだん 1 日以内に返信
-
area:parser area:runtime area:unicode bug
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
fglock/PerlOnJava#2228 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:runtime bug
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
fglock/PerlOnJava#2227 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
[doc] perlsub wrongly says that `"sub { ... }" creates a new subroutine each time it is executed'オープンdocumentation Needs Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
docs(api): /api/v3/external_sources spec is missing lc and section_title対応中かも @subhwastaken が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
openfoodfacts/openfoodfacts-server#15626 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 67/100
LMS-Community/slimserver#1742 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
brucemiller/LaTeXML#2894 ·