[infinispan-issues] [JBoss JIRA] (ISPN-4308) ISPN testsuite fails randomly with OOM, HEAP size

Vitalii Chepeliuk (JIRA) issues at jboss.org
Wed May 21 07:56:57 EDT 2014


Vitalii Chepeliuk created ISPN-4308:
---------------------------------------

             Summary: ISPN testsuite fails randomly with OOM, HEAP size
                 Key: ISPN-4308
                 URL: https://issues.jboss.org/browse/ISPN-4308
             Project: Infinispan
          Issue Type: Bug
          Components: Build process
    Affects Versions: 7.0.0.Alpha4, 7.0.0.Alpha2, 7.0.0.Alpha1
         Environment: All
            Reporter: Vitalii Chepeliuk
            Assignee: Mircea Markus
            Priority: Critical


When running ISPN testsuite following error is randomly ocurred
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-core: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: There was an error in the forked process
[ERROR] java.lang.OutOfMemoryError: Java heap space
[ERROR] at java.io.BufferedWriter.<init>(BufferedWriter.java:116)
[ERROR] at java.io.BufferedWriter.<init>(BufferedWriter.java:99)
[ERROR] at org.testng.internal.Utils.writeFile(Utils.java:190)
[ERROR] at org.testng.internal.Utils.writeFile(Utils.java:165)
[ERROR] at org.testng.internal.Utils.appendToFile(Utils.java:142)
[ERROR] at org.testng.reporters.SuiteHTMLReporter.generateMethodsChronologically(SuiteHTMLReporter.java:442)
[ERROR] at org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:72)
[ERROR] at org.testng.TestNG.generateReports(TestNG.java:1089)
[ERROR] at org.testng.TestNG.run(TestNG.java:1048)
[ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
[ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:189)
[ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:105)
[ERROR] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:619)
[ERROR] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
[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.
{noformat} 

Problem is in surefire plugin as it does not inherit JAVA_OPTS or MAVEN_OPTS. 
Heap settings should be set through argLine in maven-surefire-plugin. 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list