aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ross (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARIES-925) Out of memory error in Apache Aries build.
Date Tue, 02 Oct 2012 21:39:07 GMT

     [ https://issues.apache.org/jira/browse/ARIES-925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Ross resolved ARIES-925.
-----------------------------

    Resolution: Fixed

Several builds and a couple of weeks have passed without a recurrence.
                
> Out of memory error in Apache Aries build.
> ------------------------------------------
>
>                 Key: ARIES-925
>                 URL: https://issues.apache.org/jira/browse/ARIES-925
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>            Reporter: John Ross
>            Assignee: John Ross
>
> Every so often, an OOM error will occur during the Subsystem build in the Apache build
environment. This causes the Aries build to fail.
> java.lang.OutOfMemoryError: Java heap space
> 		 at java.util.Arrays.copyOf(Arrays.java:2882)
> 		 at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
> 		 at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515)
> 		 at java.lang.StringBuffer.append(StringBuffer.java:306)
> 		 at java.io.StringWriter.write(StringWriter.java:77)
> 		 at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1129)
> 		 at org.apache.commons.io.IOUtils.copy(IOUtils.java:1104)
> 		 at org.apache.commons.io.IOUtils.copy(IOUtils.java:1050)
> 		 at org.apache.commons.io.IOUtils.copy(IOUtils.java:1075)
> 		 at org.apache.commons.io.IOUtils.toString(IOUtils.java:382)
> 		 at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1103)
> 		 at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1120)
> 		 at hudson.tasks.junit.SuiteResult.<init>(SuiteResult.java:195)
> 		 at hudson.tasks.junit.SuiteResult.parseSuite(SuiteResult.java:130)
> 		 at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:115)
> 		 at hudson.tasks.junit.TestResult.parse(TestResult.java:227)
> 		 at hudson.tasks.junit.TestResult.parse(TestResult.java:163)
> 		 at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:141)
> 		 at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:155)
> 		 at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:310)
> 		 at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170)
> 		 at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 		 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 		 at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
> 		 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 		 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 		 at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> When this condition occurs, many of the subsystem itests have unusually long execution
times and fail.
> Running org.apache.aries.subsystem.itests.FeatureTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 850.841 sec
> Running org.apache.aries.subsystem.itests.OptionalDependenciesTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.537 sec
> Running org.apache.aries.subsystem.itests.ProvisionPolicyTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.089 sec
> Running org.apache.aries.subsystem.itests.ApplicationTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.62 sec
> Running org.apache.aries.subsystem.itests.HelloWorldTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 18.687 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.itests.AutostartTest
> Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 130.261 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.itests.DependencyLifeCycleTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.84 sec
> Running org.apache.aries.subsystem.itests.RootSubsystemTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 142.499 sec
> Running org.apache.aries.subsystem.itests.CompositeTest
> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 77.371 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.itests.BasicTest
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 54.755 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.itests.DynamicImportTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.393 sec
> Running org.apache.aries.subsystem.itests.InstallTest
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.499 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.itests.NoRequirementFilterTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.05 sec
> Running org.apache.aries.subsystem.itests.BlueprintTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.572 sec
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4BTest
> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 71.278 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E1Test
> Tests run: 10, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 178.338 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest
> Tests run: 4, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 74.682 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4ATest
> Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 71.003 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E2Test
> Tests run: 9, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 159.498 sec <<<
FAILURE!
> Running org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4DTest
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.689 sec
> This issue appears to be caused by files not being properly closed during test execution.
> Tests in error: 
>   testHello [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.itests.HelloWorldTest):
/tmp/paxexam_runner_hudson/hello.esa (Too many open files)
>   testAutostartChildUnscoped [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.itests.AutostartTest):
/tmp/paxexam_runner_hudson/feature.a.esa (Too many open files)
>   testImportPackage [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.itests.CompositeTest):
An error occurred trying to read the bundle
>   testEmptySubsystem [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.itests.BasicTest):
/tmp/paxexam_runner_hudson/emptySubsystem.esa (Too many open files)
>   testReturnExistingSubsystemWithSameLocation [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.itests.InstallTest):
/tmp/paxexam_runner_hudson/feature3.esa (Too many open files)
>   verifyBundleDWiredToBundleA [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4BTest):
sdt_bundle.a.jar (Too many open files)
>   verifyBundlesAandBInstalledIntoRootSubsystem [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E1Test):
sdt_bundle.a.jar (Too many open files)
>   FourE1b_App_Comp [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E1Test):
sdt_bundle.a.jar (Too many open files)
>   FourE1b_App_Feature [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E1Test):
sdt_bundle.a.jar (Too many open files)
>   FourE1b_Comp_Feature [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E1Test):
org.apache.aries.util.IORuntimeException: IOException in IDirectory.getFSRoot
>   verifyBundleEWiredToCapability_yFromBundleB [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest):
sdt_bundle.a.jar (Too many open files)
>   verifyNoUnexpectedBundlesProvisioned [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4CTest):
sdt_bundle.a.jar (Too many open files)
>   verifyBundleEWiredToCapability_yFromBundleB [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4ATest):
sdt_bundle.a.jar (Too many open files)
>   test4E2A_where_S2isAFeature [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E2Test):
sdt_bundle.a.jar (Too many open files)
>   FourE2b_App_App [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E2Test):
sdt_bundle.a.jar (Too many open files)
>   FourE2b_App_Feature [equinox\/3.8.0.V20120529-1548](org.apache.aries.subsystem.ctt.itests.SubsystemDependency_4E2Test):
sdt_bundle.a.jar (Too many open files)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message