Otavio Rodolfo Piske created CAMEL-20792:
--------------------------------------------
Summary: camel-jpa: upgrade to OpenJPA 4 breaks the tests
Key: CAMEL-20792
URL: https://issues.apache.org/jira/browse/CAMEL-20792
Project: Camel
Issue Type: Task
Components: camel-jpa
Affects Versions: 4.7.0
Reporter: Otavio Rodolfo Piske
Upgrading to OpenJPA 4 causes the tests on camel-jpa to fail and break the
build with:
{code:java}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on
project camel-jpa:
[ERROR]
[ERROR] Please refer to
/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/surefire-reports
for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump,
[date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or
System.exit called?
[ERROR] Command was /bin/sh -c cd
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa'
&& '/usr/local/asfpackages/java/adoptium-jdk-17.0.7+7/bin/java'
'-XX:+ExitOnOutOfMemoryError' '-XX:+HeapDumpOnOutOfMemoryError'
'-javaagent:/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/openjpa-4.0.0.jar'
'-Xmx3G' '-jar'
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/surefire/surefirebooter-20240521023522260_873.jar'
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/surefire'
'2024-05-21T01-03-36_016-jvmRun3' 'surefire-20240521023522260_871tmp'
'surefire_225-20240521023522260_872tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The
forked VM terminated without properly saying goodbye. VM crash or System.exit
called?
[ERROR] Command was /bin/sh -c cd
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa'
&& '/usr/local/asfpackages/java/adoptium-jdk-17.0.7+7/bin/java'
'-XX:+ExitOnOutOfMemoryError' '-XX:+HeapDumpOnOutOfMemoryError'
'-javaagent:/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/openjpa-4.0.0.jar'
'-Xmx3G' '-jar'
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/surefire/surefirebooter-20240521023522260_873.jar'
'/home/jenkins/jenkins-agent/workspace/l_Camel_Core_Build_and_test_main/components/camel-jpa/target/surefire'
'2024-05-21T01-03-36_016-jvmRun3' 'surefire-20240521023522260_871tmp'
'surefire_225-20240521023522260_872tmp'
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 134{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)