Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2612

Cassandra tests fork and crash maven in Java 1.8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.22.0
    • Component/s: cassandra-adapter
    • Labels:
      None
    • Environment:

      OpenJDK 1.8

      Description

      Cassandra tests appear to be forking and crashing maven as of  https://github.com/apache/calcite/commit/bd0e140026c409aa932cebf0e1fe223ab3a5319a

      [INFO] -------------------------------------------------------
      [INFO] T E S T S
      [INFO] -------------------------------------------------------
      2018-10-04 13:55:12 [pool-2-thread-1] ERROR o.a.cassandra.service.StartupChecks - cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local JMX service.
      [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 1. See FAQ web page and the dump file /home/apilloud/calcite/cassandra/target/surefire-reports/2018-10-04T13-49-53_586-jvmRun1.dumpstream
      [INFO] 
      [INFO] Results:
      [INFO] 
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Calcite ............................................ SUCCESS [ 2.369 s]
      [INFO] Calcite Linq4j ..................................... SUCCESS [ 23.280 s]
      [INFO] Calcite Core ....................................... SUCCESS [04:56 min]
      [INFO] Calcite Babel ...................................... SUCCESS [ 5.472 s]
      [INFO] Calcite Cassandra .................................. FAILURE [ 6.769 s]
      [INFO] Calcite Druid ...................................... SKIPPED
      [INFO] Calcite Elasticsearch .............................. SKIPPED
      [INFO] Calcite Examples ................................... SKIPPED
      [INFO] Calcite Example CSV ................................ SKIPPED
      [INFO] Calcite Example Function ........................... SKIPPED
      [INFO] Calcite File ....................................... SKIPPED
      [INFO] Calcite Geode ...................................... SKIPPED
      [INFO] Calcite MongoDB .................................... SKIPPED
      [INFO] Calcite Pig ........................................ SKIPPED
      [INFO] Calcite Piglet ..................................... SKIPPED
      [INFO] Calcite Plus ....................................... SKIPPED
      [INFO] Calcite Server ..................................... SKIPPED
      [INFO] Calcite Spark ...................................... SKIPPED
      [INFO] Calcite Splunk ..................................... SKIPPED
      [INFO] Calcite Ubenchmark ................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 05:34 min
      [INFO] Finished at: 2018-10-04T13:55:17-07:00
      [INFO] Final Memory: 72M/974M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project calcite-cassandra: There are test failures.
      [ERROR] 
      [ERROR] Please refer to /home/apilloud/calcite/cassandra/target/surefire-reports for the individual test results.
      [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
      [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
      [ERROR] Command was /bin/sh -c cd /home/apilloud/calcite/cassandra && java -Xmx1536m -jar /home/apilloud/calcite/cassandra/target/surefire/surefirebooter2335040866535881101.jar /home/apilloud/calcite/cassandra/target/surefire 2018-10-04T13-49-53_586-jvmRun1 surefire5656092402505825682tmp surefire_38865239179641475436tmp
      [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/apilloud/calcite/cassandra && java -Xmx1536m -jar /home/apilloud/calcite/cassandra/target/surefire/surefirebooter2335040866535881101.jar /home/apilloud/calcite/cassandra/target/surefire 2018-10-04T13-49-53_586-jvmRun1 surefire5656092402505825682tmp surefire_38865239179641475436tmp
      [ERROR] Error occurred in starting fork, check output in log
      [ERROR] Process Exit Code: 134
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:671)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:533)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:278)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:244)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1149)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:978)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:854)
      [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
      [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
      [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
      [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
      [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
      [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
      [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
      [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      [ERROR] 
      [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/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :calcite-cassandra
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apilloud Andrew Pilloud
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: