Pankraz76 opened a new issue, #2463:
URL: https://github.com/apache/maven/issues/2463
### Affected version
head
### Bug description
```console
[INFO] --- surefire:3.5.2:test (default-test) @ maven-executor ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.maven.cling.executor.impl.ToolboxToolTest
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 1, Time elapsed:
31.88 s -- in org.apache.maven.cling.executor.impl.ToolboxToolTest
[INFO] Running org.apache.maven.cling.executor.forked.ForkedMavenExecutorTest
[ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
48.02 s <<< FAILURE! -- in
org.apache.maven.cling.executor.forked.ForkedMavenExecutorTest
[ERROR]
org.apache.maven.cling.executor.forked.ForkedMavenExecutorTest.version -- Time
elapsed: 0.729 s <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <4.0.0-rc-4-SNAPSHOT> but
was: <unknown>
at
org.apache.maven.cling.executor.MavenExecutorTestSupport.version(MavenExecutorTestSupport.java:127)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
[INFO] Running
org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutorTest
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
17.84 s -- in org.apache.maven.cling.executor.embedded.EmbeddedMavenExecutorTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] ForkedMavenExecutorTest>MavenExecutorTestSupport.version:127
expected: <4.0.0-rc-4-SNAPSHOT> but was: <unknown>
[INFO]
[ERROR] Tests run: 54, Failures: 1, Errors: 0, Skipped: 1
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven 4.0.0-rc-4-SNAPSHOT:
[INFO]
[INFO] Apache Maven ....................................... SUCCESS [ 14.200
s]
[INFO] Maven 4 API ........................................ SUCCESS [ 0.148
s]
[INFO] Maven 4 API :: Meta annotations .................... SUCCESS [ 1.954
s]
[INFO] Maven 4 API :: Dependency Injection ................ SUCCESS [ 1.649
s]
[INFO] Maven 4 API :: XML ................................. SUCCESS [ 1.529
s]
[INFO] Maven 4 API :: Model ............................... SUCCESS [ 3.698
s]
[INFO] Maven 4 API :: Plugin .............................. SUCCESS [ 2.627
s]
[INFO] Maven 4 API :: Settings ............................ SUCCESS [ 2.067
s]
[INFO] Maven 4 API :: Toolchain ........................... SUCCESS [ 0.449
s]
[INFO] Maven 4 API :: Repository Metadata ................. SUCCESS [ 0.480
s]
[INFO] Maven 4 API :: Core ................................ SUCCESS [ 9.612
s]
[INFO] Maven 4 API :: SPI ................................. SUCCESS [ 0.443
s]
[INFO] Maven 4 API :: CLI ................................. SUCCESS [ 1.429
s]
[INFO] Maven 4 Implementation Modules ..................... SUCCESS [ 0.120
s]
[INFO] Maven 4 XML Implementation ......................... SUCCESS [ 3.779
s]
[INFO] Maven 4 Model Support .............................. SUCCESS [ 45.982
s]
[INFO] Maven 4 Dependency Injection ....................... SUCCESS [ 2.818
s]
[INFO] Maven 4 API Implementation ......................... SUCCESS [ 17.766
s]
[INFO] Maven 4 JLine integration .......................... SUCCESS [ 0.442
s]
[INFO] Maven 4 Logging .................................... SUCCESS [ 2.017
s]
[INFO] Maven Compatibility Modules ........................ SUCCESS [ 0.086
s]
[INFO] Maven Artifact ..................................... SUCCESS [ 3.724
s]
[INFO] Maven Model ........................................ SUCCESS [ 6.658
s]
[INFO] Maven Builder Support (deprecated) ................. SUCCESS [ 1.707
s]
[INFO] Maven Model Builder (deprecated) ................... SUCCESS [ 7.072
s]
[INFO] Maven 3 Plugin API ................................. SUCCESS [ 2.089
s]
[INFO] Maven Repository Metadata Model .................... SUCCESS [ 1.836
s]
[INFO] Maven Settings ..................................... SUCCESS [ 7.229
s]
[INFO] Maven Toolchain Model .............................. SUCCESS [ 0.630
s]
[INFO] Maven Toolchain Builder (deprecated) ............... SUCCESS [ 3.185
s]
[INFO] Maven 4 Core ....................................... SUCCESS [ 37.179
s]
[INFO] Maven Settings Builder (deprecated) ................ SUCCESS [ 2.161
s]
[INFO] Maven Artifact Resolver Provider (deprecated) ...... SUCCESS [ 5.832
s]
[INFO] Maven Compat (deprecated) .......................... SUCCESS [ 19.564
s]
[INFO] Maven 4 CLI ........................................ SUCCESS [ 47.876
s]
[INFO] Maven Plugin Testing Mechanism ..................... SUCCESS [ 4.697
s]
[INFO] Maven Embedder (deprecated) ........................ SUCCESS [ 7.758
s]
[INFO] Apache Maven Distribution .......................... SUCCESS [ 7.746
s]
[INFO] Maven 4 Executor ................................... FAILURE [01:40
min]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 06:21 min
[INFO] Finished at: 2025-06-09T22:06:16+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.5.2:test (default-test) on
project maven-executor: There are test failures.
[ERROR]
[ERROR] See
/Users/vincent.potucek/IdeaProjects/maven/impl/maven-executor/target/surefire-reports
for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and
[date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <args> -rf :maven-executor
➜ maven git:(res-invoker-lookup) ✗ uname -a
Darwin localhost 22.6.0 Darwin Kernel Version 22.6.0: Thu Apr 24 20:25:14
PDT 2025; root:xnu-8796.141.3.712.2~1/RELEASE_X86_64 x86_64
➜ maven git:(res-invoker-lookup) ✗
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]