Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » JGit Build Failure by maven(maven clean install failing/JAVA 8/maven-3.6.3)
JGit Build Failure by maven [message #1828444] Tue, 09 June 2020 16:08 Go to next message
Eclipse UserFriend
Hi Team,

I'm getting below error when i tried to build using maven. Please help

I have followed steps in,
EGit/Contributor Guide
https://wiki.eclipse.org/EGit/Contributor_Guide#Obtaining_Sources

Maven home: E:\apache-maven-3.6.3-bin\apache-maven-3.6.3\bin\..
Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_251\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JGit - Parent 5.9.0-SNAPSHOT:
[INFO]
[INFO] JGit - Parent ...................................... SUCCESS [  6.744 s]
[INFO] JGit - Core ........................................ SUCCESS [02:29 min]
[INFO] JGit - Ant Tasks ................................... SUCCESS [ 17.850 s]
[INFO] JGit - Archive Formats ............................. SUCCESS [ 19.345 s]
[INFO] JGit - AWT User Interface .......................... SUCCESS [ 18.955 s]
[INFO] JGit - BouncyCastle-based GPG support .............. SUCCESS [ 17.087 s]
[INFO] JGit - Apache httpclient based HTTP support ........ SUCCESS [ 26.594 s]
[INFO] JGit - HTTP Server ................................. SUCCESS [ 33.729 s]
[INFO] JGit - Apache sshd-based SSH support ............... SUCCESS [ 47.794 s]
[INFO] JGit - JSch-based SSH support ...................... SUCCESS [ 23.261 s]
[INFO] JGit - Large File Storage .......................... SUCCESS [ 58.864 s]
[INFO] JGit - Large File Storage Server ................... SUCCESS [ 21.301 s]
[INFO] JGit - Command Line Interface ...................... SKIPPED
[INFO] JGit - JUnit Utility Classes ....................... SUCCESS [ 46.615 s]
[INFO] JGit - JUnit Http Utility Classes .................. SUCCESS [ 27.267 s]
[INFO] JGit - JUnit Ssh Utility Classes ................... SUCCESS [ 27.265 s]
[INFO] JGit - Core Tests .................................. SKIPPED
[INFO] JGit - Ant Tasks Tests ............................. FAILURE [ 11.093 s]
[INFO] JGit - BouncyCastle GPG Tests ...................... SKIPPED
[INFO] JGit - HTTP Tests .................................. SKIPPED
[INFO] JGit - Command Line Interface Tests ................ SKIPPED
[INFO] JGit - Large File Storage Tests .................... SKIPPED
[INFO] JGit - LFS Server Tests ............................ SKIPPED
[INFO] JGit - Apache sshd SSH Tests ....................... SKIPPED
[INFO] JGit - JSch sshd SSH Tests ......................... SKIPPED
[INFO] JGit - Test Coverage ............................... SKIPPED
[INFO] JGit - JMH based benchmarks ........................ SUCCESS [ 44.814 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:39 min (Wall Clock)
[INFO] Finished at: 2020-06-10T01:20:27+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) on project org.eclipse.jgit.ant.test: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\TEST\Desktop\Software Dev\Egit\JGit\org.eclipse.jgit.ant.test\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] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_251\jre\bin\java" "-javaagent:C:\\Users\\TEST\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\Users\\TEST\\Desktop\\Software Dev\\Egit\\JGit\\org.eclipse.jgit.ant.test\\target\\jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*" -Xmx512m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\TEST\Desktop\Software Dev\Egit\JGit\org.eclipse.jgit.ant.test\target -jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550\surefirebooter7767926527830200393.jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550 2020-06-10T01-16-36_465-jvmRun1 surefire7735903063223940939tmp surefire_06037002352336655269tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_251\jre\bin\java" "-javaagent:C:\\Users\\TEST\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\Users\\TEST\\Desktop\\Software Dev\\Egit\\JGit\\org.eclipse.jgit.ant.test\\target\\jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*" -Xmx512m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\TEST\Desktop\Software Dev\Egit\JGit\org.eclipse.jgit.ant.test\target -jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550\surefirebooter7767926527830200393.jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550 2020-06-10T01-16-36_465-jvmRun1 surefire7735903063223940939tmp surefire_06037002352336655269tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:513)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:385)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:300)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:249)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1217)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1063)
[ERROR]         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:889)
[ERROR]         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
[ERROR]         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
[ERROR]         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
[ERROR]         at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:190)
[ERROR]         at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:186)
[ERROR]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[ERROR]         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[ERROR]         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[ERROR]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[ERROR]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[ERROR]         at java.lang.Thread.run(Thread.java:748)
[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 cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_251\jre\bin\java" "-javaagent:C:\\Users\\TEST\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-runtime.jar=destfile=C:\\Users\\TEST\\Desktop\\Software Dev\\Egit\\JGit\\org.eclipse.jgit.ant.test\\target\\jacoco.exec,append=true,includes=org.eclipse.jgit.*,excludes=**/*Test*.*" -Xmx512m -Dfile.encoding=UTF-8 -Djava.io.tmpdir=C:\Users\TEST\Desktop\Software Dev\Egit\JGit\org.eclipse.jgit.ant.test\target -jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550\surefirebooter7767926527830200393.jar C:\Users\TEST\AppData\Local\Temp\surefire6503476596099915550 2020-06-10T01-16-36_465-jvmRun1 surefire7735903063223940939tmp surefire_06037002352336655269tmp"
[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:690)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:118)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:374)
[ERROR]         at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:350)
[ERROR]         ... 4 more
[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 <args> -rf :org.eclipse.jgit.ant.test
Re: JGit Build Failure by maven [message #1828450 is a reply to message #1828444] Wed, 10 June 2020 02:57 Go to previous messageGo to next message
Eclipse UserFriend
I wonder if it's related to this part of the launch:
C:\\Users\\TEST\\Desktop\\Software Dev\\
I.e., perhaps that space in "Software Dev" is problematic and is causing the argument to be split in one or more of the places it appears. Using spaces in folder names is kind of asking for running into corner case problems...
Re: JGit Build Failure by maven [message #1828454 is a reply to message #1828444] Wed, 10 June 2020 03:17 Go to previous messageGo to next message
Eclipse UserFriend
- this works here (on Mac)
- try to rerun with additional option -T 1 to switch off parallel execution
- try to rerun with options -X -e to get more log output from Maven
Re: JGit Build Failure by maven [message #1828491 is a reply to message #1828450] Wed, 10 June 2020 12:00 Go to previous message
Eclipse UserFriend
Thanks Ed! This removing space from Software Dev, resolved my issue.
Previous Topic:Abstract File IO using Path instead of File
Next Topic:Invasion of context menu by Team, Compare With, ...
Goto Forum:
  


Current Time: Sun Jul 13 02:29:05 EDT 2025

Powered by FUDForum. Page generated in 0.05602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top