Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20792

camel-jpa: upgrade to OpenJPA 4 breaks the tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.7.0
    • camel-jpa
    • None
    • Unknown

    Description

      Upgrading to OpenJPA 4 causes the tests on camel-jpa to fail and break the build with:

      [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

      Attachments

        Issue Links

          Activity

            People

              Federico Mariani Federico Mariani
              orpiske Otavio Rodolfo Piske
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: