maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Surefire dead vm, how to debug?
Date Mon, 11 Jul 2016 12:02:28 GMT
can you attach surefire.log from mvn test e.g.
mvn -X -e test | tee surefire.log

?
Martin 
______________________________________________ 



> From: bimargulies@gmail.com
> Date: Sun, 10 Jul 2016 07:46:34 -0400
> Subject: Re: Surefire dead vm, how to debug?
> To: users@maven.apache.org
> 
> Same failure with 2.19.1. No parallelism configured.
> 
>  <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-surefire-plugin</artifactId>
>                     <version>2.19.1</version>
>                     <configuration>
>                         <argLine>-Xmx8G -XX:+UseConcMarkSweepGC
> -Djava.io.tmpdir=${project.build.directory}</argLine>
>                     </configuration>
>                 </plugin>
> 
> 
> 
> On Sun, Jul 10, 2016 at 7:41 AM, Martin Gainty <mgainty@hotmail.com> wrote:
> >
> >
> >> From: bimargulies@gmail.com
> >> Date: Sun, 10 Jul 2016 07:34:53 -0400
> >> Subject: Surefire dead vm, how to debug?
> >> To: users@maven.apache.org
> >>
> >> My build stops with this message just after printing the surefire
> >> summary for the module in question, so none of my test cases called
> >> 'exit'. There are no hotspot dumps.
> >>
> >> What's the diagnostic process?
> > MG>possible parallel test execution config bug..can you share surefire configuration?
> > http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
> >>
> >> [ERROR] Failed to execute goal
> >> org.apache.maven.plugins:maven-surefire-plugin:2.19:test
> >> (default-test) on project relax-ore-core: Execution default-test of
> >> goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed:
> >> The forked VM terminated without properly saying goodbye. VM crash or
> >> System.exit called?
> >> [ERROR] Command was /bin/sh -c cd /Users/benson/x/relax-ore/core &&
> >> /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre/bin/java
> >> -Xmx8G -XX:+UseConcMarkSweepGC
> >> -Djava.io.tmpdir=/Users/benson/x/relax-ore/core/target -jar
> >> /Users/benson/x/relax-ore/core/target/surefire/surefirebooter3368801762081916190.jar
> >> /Users/benson/x/relax-ore/core/target/surefire/surefire3112822568238339351tmp
> >> /Users/benson/x/relax-ore/core/target/surefire/surefire_67539786626460885470tmp
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message