Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-432

openjdk 8 has a bug that prevents surefire from working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.4, 1.6.0
    • None
    • None

    Description

      It looks like the problem is https://bugs.openjdk.java.net/browse/JDK-8030046. It looks like:

      [ERROR] Caused by: 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 /root/orc/java/shims && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx2048m -jar /root/orc/java/shims/target/surefire/surefirebooter4015168140687556977.jar /root/orc/java/shims/target/surefire 2018-11-02T12-32-24_319-jvmRun1 surefire8218006047690391850tmp surefire_04160000529152079754tmp
      

      The surefire-reports/*.dumpstream looks like:

      Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
      

      and we can work around the problem by changing the surefire configuration:

      +          <useSystemClassLoader>false</useSystemClassLoader>
      

      Attachments

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: