Re: Building TomEE, openejb-core, crashed test: org.apache.openejb.assembler.DeployerEjbTest

2018-11-25 Thread Romain Manni-Bucau
Hi Ferdi,

surefire got some "hiccup" in last versions, maybe try 3.0.0-M1 or or
2.22.1 which should work, if not the output dump can help sometimes to
identify if it is a memory issue or (more likely) another one.

Romain Manni-Bucau
@rmannibucau  |  Blog
 | Old Blog
 | Github  |
LinkedIn  | Book



Le lun. 26 nov. 2018 à 08:25, Ferdi  a écrit :

> Hi,
>
> I've got the latest master from github and was trying to run `mvn clean
> install`, but I've got this error:
>
> [ERROR] Crashed tests:
> [ERROR] org.apache.openejb.assembler.DeployerEjbTest
> [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_161\jre\bin\java"
> -javaagent:C:\Users\Ferdi_S672\Documents\Personal\Projects\tomee\container\openejb-core/target/openejb-javaagent-8.0.0-SNAPSHOT.jar
>
> -Dopenejb.classloader.forced-skip=org.apache.openejb.jee.,org.apache.openejb.api.
>
> -Dopenejb.classloader.forced-load=org.apache.openejb -enableassertions
> -Dopenejb.descriptors.output.folder=./dump/
> -Dorg.apache.activemq.SERIALIZABLE_PACKAGES=org,java -jar
> C:\Users\FERDI_~1\AppData\Local\Temp\surefire925326680556375235\surefirebooter1103379934330427088.jar
>
> C:\Users\Ferdi_S672\AppData\Local\Temp\surefire925326680556375235
> 2018-11-26T14-39-15_252-jvmRun1 surefire1842635169862471047tmp
> surefire_521382701203330047466tmp"
> [ERROR] Process Exit Code: 0
> [ERROR] Crashed tests:
> [ERROR] org.apache.openejb.assembler.DeployerEjbTest
>
> The rest is in this gist:
> 
>
> Has anyone found / seen this before? I've tried:
>
> 1. -Xmx1024m -XX:MaxPermSize=256m
> 2. -Xmx2048m -XX:MaxPermSize=512m
> 3. Change Surefire to 2.22
>
> My computer has 16 GB RAM, and plenty of space available during the run.
>


Building TomEE, openejb-core, crashed test: org.apache.openejb.assembler.DeployerEjbTest

2018-11-25 Thread Ferdi

Hi,

I've got the latest master from github and was trying to run `mvn clean 
install`, but I've got this error:


[ERROR] Crashed tests:
[ERROR] org.apache.openejb.assembler.DeployerEjbTest
[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_161\jre\bin\java" 
-javaagent:C:\Users\Ferdi_S672\Documents\Personal\Projects\tomee\container\openejb-core/target/openejb-javaagent-8.0.0-SNAPSHOT.jar 
-Dopenejb.classloader.forced-skip=org.apache.openejb.jee.,org.apache.openejb.api. 
-Dopenejb.classloader.forced-load=org.apache.openejb -enableassertions 
-Dopenejb.descriptors.output.folder=./dump/ 
-Dorg.apache.activemq.SERIALIZABLE_PACKAGES=org,java -jar 
C:\Users\FERDI_~1\AppData\Local\Temp\surefire925326680556375235\surefirebooter1103379934330427088.jar 
C:\Users\Ferdi_S672\AppData\Local\Temp\surefire925326680556375235 
2018-11-26T14-39-15_252-jvmRun1 surefire1842635169862471047tmp 
surefire_521382701203330047466tmp"

[ERROR] Process Exit Code: 0
[ERROR] Crashed tests:
[ERROR] org.apache.openejb.assembler.DeployerEjbTest

The rest is in this gist: 



Has anyone found / seen this before? I've tried:

1. -Xmx1024m -XX:MaxPermSize=256m
2. -Xmx2048m -XX:MaxPermSize=512m
3. Change Surefire to 2.22

My computer has 16 GB RAM, and plenty of space available during the run.