Error running default-test on craftbukkit

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Environment:
    • org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test

      Spigot 1.12.2 won't compile due to following error.

      [INFO] T E S T S [0/1777]
      [INFO] ------------------------------------------------------- 
      [INFO] 
      [INFO] Results: 
      [INFO] 
      [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 
      [INFO] 
      [INFO] ------------------------------------------------------------------------ 
      [INFO] BUILD FAILURE 
      [INFO] ------------------------------------------------------------------------ 
      [INFO] Total time: 35.146 s 
      [INFO] Finished at: 2017-11-19T08:49:49Z 
      [INFO] Final Memory: 25M/394M 
      [INFO] ------------------------------------------------------------------------ 
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project craftbukkit: There are test failures.
      [ERROR] 
      [ERROR] Please refer to /opt/mc/tmp/CraftBukkit/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 /opt/mc/tmp/CraftBukkit/target/test-server && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /opt/mc/tmp/CraftBukkit/target/surefire/surefirebooter1519744312389919326.jar /opt/mc/tmp/CraftBukkit/target/surefire 2017-11-19T08-49-4
      6_847-jvmRun1 surefire2132729321245872578tmp surefire_06589118608475547260tmp 
      [ERROR] Error occurred in starting fork, check output in log 
      [ERROR] Process Exit Code: 1 
      [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 /opt/mc/tmp/CraftBukkit/target/test-server && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /opt/mc/tmp/CraftBukkit/target/surefire/surefirebooter1519744312389919326.jar /opt/mc/tmp/CraftBukkit/target/surefire 2017-11-19T08-49-4
      6_847-jvmRun1 surefire2132729321245872578tmp surefire_06589118608475547260tmp 
      [ERROR] Error occurred in starting fork, check output in log 
      [ERROR] Process Exit Code: 1 
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:686) 
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:535)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:280)
      [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) 
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1124) 
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:954)
      [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:832)
      [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
      Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, /opt/mc/tmp/apache-maven-3.5.0/bin/mvn, clean, install]
       at org.spigotmc.builder.Builder.runProcess0(Builder.java:637)
       at org.spigotmc.builder.Builder.runProcess(Builder.java:595)
       at org.spigotmc.builder.Builder.main(Builder.java:471)
       at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:23)
      

            Assignee:
            Unassigned
            Reporter:
            pluhmen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: