Embedded Maven 4.0.0-rc-6 hangs inside a Surefire forked JVM
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- build-system, testing
調査の方向性
Start with EmbeddedMavenExecutor and ExecutorHelper.forMavenInstallation(..., Mode.AUTO), then reproduce Maven 4.0.0-rc-6 inside a Surefire or Failsafe forked JVM. Capture a thread dump from the hang and compare the embedded path with Mode.FORKED and the passing Maven versions. Done means the embedded execution no longer hangs and the affected integration-test scenarios pass.
索引モデルが issue の本文から書いたものです。
説明
Affected version
1.0.0 with Maven 4.0.0-rc-6
Bug description
EmbeddedMavenExecutor never returns when it runs Maven 4.0.0-rc-6 inside a Surefire or Failsafe forked test JVM. The same code with Maven 3.9.16 and 3.10.0-rc-1 completes normally.
Observed on 2026-09-21 in three repositories that moved their integration tests from maven-verifier to maven-executor with ExecutorHelper.forMavenInstallation(mavenHome, Mode.AUTO) (no environment variables set, so AUTO selects embedded):
- apache/maven-remote-resources-plugin#303: the first IT,
ITBadDependencyPoms, starts at 10:15:37 and the job is cancelled at 10:44:27 with no further output (run 35587231620). The same happens on all four4.0.0-rc-6cells (ubuntu and windows, JDK 21 and 25); the3.9.xand3.10.0-rc-1cells pass. - apache/maven-ear-plugin#556 and apache/maven-apache-resources#131: the same four cells, cancelled the same way.
The last lines the embedded Maven 4 prints before the hang are the JLine native-access warnings from org.jline.nativ.JLineNativeLoader (A restricted method in java.lang.System has been called ... Use --enable-native-access=ALL-UNNAMED), then nothing.
maven-verifier 2.0.0-M1 never embedded Maven 4 (its Embedded3xLauncher fails on MavenCling and falls back to forking), so these suites were green on Maven 4 before only because they forked. The three PRs now use Mode.FORKED, which passes.
Not established: whether the hang is in MavenCling's terminal setup when there is no console (the JLine warning is the last output), or in the executor's stream handling for Maven 4. A thread dump from a hung run would answer it; I can add one if useful.
- 主要言語
- Java
- スター
- 5
- フォーク
- 2
- 平均マージ
- 4時間 22分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/maven-executor のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
apache/maven-executor#46 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
apache/maven-executor#50 ·
-
enhancement priority:major
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
apache/maven-executor#49 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
apache/maven-executor#48 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
apache/maven-executor#45 ·
apache/maven-executor の issue をすべて見る
似ている issue
-
TerminalRow.mSpaceUsed (short) overflows on terminals wider than 1023 columns, crashing setCharオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
termux/termux-app#5340 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
apache/rocketmq-dashboard#5110 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
TS2502 in shipped .d.ts: `compileHighlightConfig` parameter shadows the de-aliased `Query` typeオープンbug javascript
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信