ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: CI builds at Apaches Hudson instance
Date Fri, 13 Nov 2009 13:08:28 GMT
I just tried it - and it works now.
Thanks Nicolas.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
>Gesendet: Freitag, 13. November 2009 09:09
>An: dev@ant.apache.org
>Betreff: AW: CI builds at Apaches Hudson instance
>
>Thanks for having the look (doing that on *nix is not my knowledge).
>
>The .../java.xml:cleanup code is
><project name="java-test" basedir="." default="foo">
>  <property name="logFile" value="spawn.log"/>
>  <property name="tmp" location="${java.io.tmpdir}"/>
>    <target name="cleanup">
>        <delete>
>            <fileset file="${logFile}" />
>            <fileset dir="${tmp}" includes="redirect*" />
>        </delete>
>    </target>
>
>
>Would (could) we benefit to change the tmp-property to 
>${java.io.tmpdir}/ant-java-test ?
>
>
>Jan
> 
>
>>-----Ursprüngliche Nachricht-----
>>Von: Nicolas Lalevée [mailto:nicolas.lalevee@hibnet.org] 
>>Gesendet: Donnerstag, 12. November 2009 21:46
>>An: Ant Developers List
>>Betreff: Re: CI builds at Apaches Hudson instance
>>
>>
>>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%2
>01.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(Dire
>>ctoryScanner.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(DelegatingMetho
>>dAccessorImpl.java:25)
>>    at java.lang.reflect.Method.invoke(Method.java:585)
>>    at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUti
>>ls.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.ru
>>n(JUnitTestRunner.java:421)
>>    at 
>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeI
>>nVM(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.executeO
>>rQueue(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(DelegatingMetho
>>dAccessorImpl.java:25)
>>    at java.lang.reflect.Method.invoke(Method.java:585)
>>    at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUti
>>ls.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(DelegatingMetho
>>dAccessorImpl.java:25)
>>    at java.lang.reflect.Method.invoke(Method.java:585)
>>    at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUti
>>ls.java:106)
>>    at org.apache.tools.ant.Task.perform(Task.java:348)
>>    at 
>>org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstan
>>ce.java:398)
>>    at 
>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
>>    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>>    at 
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho
>>dAccessorImpl.java:25)
>>    at java.lang.reflect.Method.invoke(Method.java:585)
>>    at 
>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUti
>>ls.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(Defa
>>ultExecutor.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
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message