[ 
https://issues.apache.org/jira/browse/CAMEL-24469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-24469.
---------------------------------
    Resolution: Fixed

Fixed via https://github.com/apache/camel/pull/25678 (merged to camel-4.22.x). 
Strips -SNAPSHOT from the plugin firstVersion in PluginHelper.versionCheck so a 
SNAPSHOT build is not rejected against a plugin whose firstVersion is the same 
SNAPSHOT release, which crashed the surefire fork running PluginHelperTest.

_Claude Code on behalf of davsclaus_

> Crashed tests: org.apache.camel.dsl.jbang.core.common.PluginHelperTest on 
> 4.22.x branch
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24469
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24469
>             Project: Camel
>          Issue Type: Test
>          Components: camel-jbang
>    Affects Versions: 4.22.0
>            Reporter: Aurélien Pupier
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.22.1
>
>
> {noformat}
> Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The 
> forked VM terminated without properly saying goodbye. VM crash or System.exit 
> called?    
> Command was /bin/sh -c cd 
> '/home/jenkins/jenkins-agent/workspace/Core_Build_and_test_camel-4.22.x/dsl/camel-jbang/camel-jbang-core'
>  && '/usr/local/asfpackages/java/adoptium-jdk-17.0.12+7/bin/java' 
> '-XX:+EnableDynamicAgentLoading' '-XX:+ExitOnOutOfMemoryError' 
> '-XX:+HeapDumpOnOutOfMemoryError' '-jar' 
> '/home/jenkins/jenkins-agent/workspace/Core_Build_and_test_camel-4.22.x/dsl/camel-jbang/camel-jbang-core/target/surefire/surefirebooter-20260825050909418_2578.jar'
>  
> '/home/jenkins/jenkins-agent/workspace/Core_Build_and_test_camel-4.22.x/dsl/camel-jbang/camel-jbang-core/target/surefire'
>  '2026-08-25T01-56-56_415-jvmRun2' 'surefire-20260825050909418_2576tmp' 
> 'surefire_704-20260825050909418_2577tmp'
> Error occurred in starting fork, check output in log
> Process Exit Code: 1
> Crashed tests:
> org.apache.camel.dsl.jbang.core.common.PluginHelperTest
>     at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork 
> (ForkStarter.java:643)
>     at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.lambda$runSuitesForkPerTestSet$7
>  (ForkStarter.java:401)
>     at java.util.concurrent.FutureTask.run (FutureTask.java:264)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1136)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:635)
>     at java.lang.Thread.run (Thread.java:840)
> {noformat}
> for instance
> https://ci-builds.apache.org/job/Camel/job/Camel%20Core%20(Build%20and%20test)/job/camel-4.22.x/3/cloudbees-pipeline-explorer/?filter=123&line=452314
> but it is failing on all combinations



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to