Home » Archived » Test and Performance Tools Platform (TPTP) » [AGR] Hang problem when running many tests with the ant <tptp:execution> task
[AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #87995] |
Mon, 20 November 2006 15:28 |
Eclipse User |
|
|
|
Originally posted by: dequeker.gmail.com
Hello,
We have a dozen AGR test suites, each with 10-20 test cases.
They run fine on their own (quick run, standard run, <tptp:execution>)
But when I try to run many testsuites in one go using tptp:execution,
one of them always fails to start. It can be any one from the 3rd onwards.
The ant output stops at
Test 'xxx.testsuite' executing
Sometimes, If I leave it like this long enough (ie. overnight), when I
come back the ant output reports that the JVM has run out of heap space
(not sure which JVM: the ant one, the TPTP injector one, and the
application under test)
Does anyone have experience of this problem ?
Is it an agent controler problem ?
Bevan
(using eclpise 3.2.1 with TPTP 4.2.1 on windows)
|
|
|
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #88037 is a reply to message #87995] |
Mon, 20 November 2006 15:51 |
Ravi Roy Messages: 47 Registered: July 2009 |
Member |
|
|
I also faced problem of out of heap space, which was solved by inreasing the
heap for JVM :
like : ant -f testFile.xml -DXms=-512m -DXmx=-512m
Thanks
Ravi.
"Bevan DeQueker" <dequeker@gmail.com> wrote in message
news:ejshi9$6q8$1@utils.eclipse.org...
> Hello,
>
> We have a dozen AGR test suites, each with 10-20 test cases.
> They run fine on their own (quick run, standard run, <tptp:execution>)
> But when I try to run many testsuites in one go using tptp:execution, one
> of them always fails to start. It can be any one from the 3rd onwards.
> The ant output stops at
> Test 'xxx.testsuite' executing
>
> Sometimes, If I leave it like this long enough (ie. overnight), when I
> come back the ant output reports that the JVM has run out of heap space
> (not sure which JVM: the ant one, the TPTP injector one, and the
> application under test)
>
> Does anyone have experience of this problem ?
> Is it an agent controler problem ?
>
> Bevan
>
> (using eclpise 3.2.1 with TPTP 4.2.1 on windows)
|
|
|
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #88068 is a reply to message #88037] |
Mon, 20 November 2006 16:01 |
Eclipse User |
|
|
|
Originally posted by: dequeker.gmail.com
Hi ravi, thanks, I'll give that a go and update the thread tomorrow.
Ravi Roy wrote:
> I also faced problem of out of heap space, which was solved by inreasing the
> heap for JVM :
>
> like : ant -f testFile.xml -DXms=-512m -DXmx=-512m
>
> Thanks
> Ravi.
>
>
> "Bevan DeQueker" <dequeker@gmail.com> wrote in message
> news:ejshi9$6q8$1@utils.eclipse.org...
>> Hello,
>>
>> We have a dozen AGR test suites, each with 10-20 test cases.
>> They run fine on their own (quick run, standard run, <tptp:execution>)
>> But when I try to run many testsuites in one go using tptp:execution, one
>> of them always fails to start. It can be any one from the 3rd onwards.
>> The ant output stops at
>> Test 'xxx.testsuite' executing
>>
>> Sometimes, If I leave it like this long enough (ie. overnight), when I
>> come back the ant output reports that the JVM has run out of heap space
>> (not sure which JVM: the ant one, the TPTP injector one, and the
>> application under test)
>>
>> Does anyone have experience of this problem ?
>> Is it an agent controler problem ?
>>
>> Bevan
>>
>> (using eclpise 3.2.1 with TPTP 4.2.1 on windows)
>
>
|
|
|
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #88281 is a reply to message #87995] |
Tue, 21 November 2006 17:37 |
No real name Messages: 404 Registered: July 2009 |
Senior Member |
|
|
Hi Bevan,
Are you using a standalone installation of the Agent Controller or relying
on the Integerated Agent Controller?
In 4.3, there were some Agent Controller reliability issues that were
discovered and fixed. See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=160564.
Thanks,
Ali Mehregani
"Bevan DeQueker" <dequeker@gmail.com> wrote in message
news:ejshi9$6q8$1@utils.eclipse.org...
> Hello,
>
> We have a dozen AGR test suites, each with 10-20 test cases.
> They run fine on their own (quick run, standard run, <tptp:execution>)
> But when I try to run many testsuites in one go using tptp:execution, one
> of them always fails to start. It can be any one from the 3rd onwards.
> The ant output stops at
> Test 'xxx.testsuite' executing
>
> Sometimes, If I leave it like this long enough (ie. overnight), when I
> come back the ant output reports that the JVM has run out of heap space
> (not sure which JVM: the ant one, the TPTP injector one, and the
> application under test)
>
> Does anyone have experience of this problem ?
> Is it an agent controler problem ?
>
> Bevan
>
> (using eclpise 3.2.1 with TPTP 4.2.1 on windows)
|
|
|
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #88518 is a reply to message #88068] |
Thu, 23 November 2006 11:53 |
Eclipse User |
|
|
|
Originally posted by: dequeker.gmail.com
update:
Tweeking the memory did stop the heap space messages, but not the
initial problem: tptp hanging between test suite executions from ant.
I overcame the problem by not running all the testsuites in one go (with
<tptp:execution> and <fileset>), but one at a time, with an ant <sleep>
statement of 5 seconds between each.
I think what was happening was that the JVM instance of the application
workbench was not having time to close down properly before the agent
controler tries to start it again for the following testsuite.
Bevan
Bevan DeQueker wrote:
> Hi ravi, thanks, I'll give that a go and update the thread tomorrow.
>
> Ravi Roy wrote:
>> I also faced problem of out of heap space, which was solved by
>> inreasing the heap for JVM :
>>
>> like : ant -f testFile.xml -DXms=-512m -DXmx=-512m
>>
>> Thanks
>> Ravi.
>>
>>
>> "Bevan DeQueker" <dequeker@gmail.com> wrote in message
>> news:ejshi9$6q8$1@utils.eclipse.org...
>>> Hello,
>>>
>>> We have a dozen AGR test suites, each with 10-20 test cases.
>>> They run fine on their own (quick run, standard run, <tptp:execution>)
>>> But when I try to run many testsuites in one go using tptp:execution,
>>> one of them always fails to start. It can be any one from the 3rd
>>> onwards.
>>> The ant output stops at
>>> Test 'xxx.testsuite' executing
>>>
>>> Sometimes, If I leave it like this long enough (ie. overnight), when
>>> I come back the ant output reports that the JVM has run out of heap
>>> space (not sure which JVM: the ant one, the TPTP injector one, and
>>> the application under test)
>>>
>>> Does anyone have experience of this problem ?
>>> Is it an agent controler problem ?
>>>
>>> Bevan
>>>
>>> (using eclpise 3.2.1 with TPTP 4.2.1 on windows)
>>
>>
|
|
|
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #88533 is a reply to message #88281] |
Thu, 23 November 2006 12:08 |
Eclipse User |
|
|
|
Originally posted by: dequeker.gmail.com
Hi Ali,
I had the same problem with both the integrated and the standalone agent
controllers.
But thanks for the info. I guess I'll try again with 4.3
Bevan
Ali Mehregani wrote:
> Hi Bevan,
>
> Are you using a standalone installation of the Agent Controller or relying
> on the Integerated Agent Controller?
> In 4.3, there were some Agent Controller reliability issues that were
> discovered and fixed. See:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=160564.
>
> Thanks,
> Ali Mehregani
>
> "Bevan DeQueker" <dequeker@gmail.com> wrote in message
> news:ejshi9$6q8$1@utils.eclipse.org...
>> Hello,
>>
>> We have a dozen AGR test suites, each with 10-20 test cases.
>> They run fine on their own (quick run, standard run, <tptp:execution>)
>> But when I try to run many testsuites in one go using tptp:execution, one
>> of them always fails to start. It can be any one from the 3rd onwards.
>> The ant output stops at
>> Test 'xxx.testsuite' executing
>>
>> Sometimes, If I leave it like this long enough (ie. overnight), when I
>> come back the ant output reports that the JVM has run out of heap space
>> (not sure which JVM: the ant one, the TPTP injector one, and the
>> application under test)
>>
>> Does anyone have experience of this problem ?
>> Is it an agent controler problem ?
>>
>> Bevan
>>
>> (using eclpise 3.2.1 with TPTP 4.2.1 on windows)
>
>
|
|
| |
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #92217 is a reply to message #91972] |
Tue, 06 February 2007 12:27 |
Eclipse User |
|
|
|
Originally posted by: dequeker.gmail.com
Hi Karel,
I don't have my actual code anymore - I'm on a different project now.
But it went something like this
<!-- run tests -->
<ant antfile="ui-tests/runSuite1.xml" target="main"/>
<sleep seconds="10"/>
<ant antfile="ui-tests/runSuite2.xml" target="main"/>
<sleep seconds="10"/>
etc ...
each called ant file (eg runSutie1.xml) only runs one AGR testSuite.
Unfortunately this is not a magic bullet. I still had the problem, but a
lot less often.
Karel wrote:
> Could you show me fragments of your ant script? I'm facing a similar
> problem and I'd like to try your trick with sleep.
>
> Regards,
> Karel
>
|
|
| | |
Goto Forum:
Current Time: Thu Jan 02 17:22:03 GMT 2025
Powered by FUDForum. Page generated in 0.03738 seconds
|