ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: CI builds at Apaches Hudson instance
Date Thu, 12 Nov 2009 20:46:28 GMT

Le 6 nov. 2009 à 12:05, <Jan.Materne@rzf.fin-nrw.de> <Jan.Materne@rzf.fin-nrw.de>
a écrit :

> I have set up a CI build. (Without emailing at the moment).
>  $build.sh test
> http://hudson.zones.apache.org/hudson/view/Ant/job/Ant%20(JDK%201.4)/las
> tBuild/console
> 
> But while on my local Win7 box the tests pass, the
> org.apache.tools.ant.taskdefs.JavaTest runs until killing by Hudsons
> timeout mechanism (20minutes configured).
> 
> Any ideas how to solve that? The job runs in an unix environment.

I did a kill -3 when the build was running to get a stack trace and here it is:

"main" prio=3 tid=0x08074430 nid=0x1 runnable [0x08046000..0x08047188]
    at org.apache.tools.ant.util.VectorSet.doAdd(VectorSet.java:64)
    - waiting to lock <0xdc1b5980> (a org.apache.tools.ant.util.VectorSet)
    at org.apache.tools.ant.util.VectorSet.addElement(VectorSet.java:75)
    - locked <0xdc1b5980> (a org.apache.tools.ant.util.VectorSet)
    at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1236)
    at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1184)
    at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1146)
    at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:928)
    at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:882)
    - locked <0xdc1b57e8> (a org.apache.tools.ant.DirectoryScanner)
    at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:490)
    at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:451)
    at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:612)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
    at org.apache.tools.ant.taskdefs.JavaTest.tearDown(JavaTest.java:69)
    at junit.framework.TestCase.runBare(TestCase.java:136)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at junit.framework.TestSuite.runTest(TestSuite.java:230)
    at junit.framework.TestSuite.run(TestSuite.java:225)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1339)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:807)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1794)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:761)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1329)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1212)
    at org.apache.tools.ant.Main.runBuild(Main.java:799)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

So it is stuck in the cleanup target of trunk/src/etc/testcases/taskdefs/java.xml
And there is quite a lot of files there so the delete take quite some time obviously:
-bash-3.00$ ls /var/tmp | wc -l
  594285

I am not sure how to handle it thought.

Nicolas





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message