Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Ravi Roy is currently offline Ravi RoyFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #91972 is a reply to message #88518] Tue, 30 January 2007 22:31 Go to previous messageGo to next message
Karel Brezina is currently offline Karel BrezinaFriend
Messages: 68
Registered: July 2009
Member
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
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 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #103705 is a reply to message #92217] Mon, 09 July 2007 14:59 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Bevan,
Are you still experiencing this hang? If so, please move up to the
latest TPTP release:

http://www.eclipse.org/tptp/home/downloads/?ver=4.4.0

If the problem still persists, please open a defect under the
ASF.Runtime component:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20A SF

Paul
"Bevan DeQueker" <dequeker@gmail.com> wrote in message
news:eq9s8k$ke9$1@utils.eclipse.org...
> 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
>>
Re: [AGR] Hang problem when running many tests with the ant <tptp:execution> task [message #103720 is a reply to message #91972] Mon, 09 July 2007 14:59 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Karel,
Are you still experiencing this hang? If so, please move up to the
latest TPTP release:

http://www.eclipse.org/tptp/home/downloads/?ver=4.4.0

If the problem still persists, please open a defect under the
ASF.Runtime component:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=TPTP%20A SF

Paul
"Karel" <karel.brezina@cloudsmith.com> wrote in message
news:9c465b11fe54437c5d1ea171dc5898a4$1@www.eclipse.org...
> 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
>
Previous Topic:Problems calling the TPTP publication service via Java
Next Topic:Passing parameters through Automation API
Goto Forum:
  


Current Time: Tue Apr 23 15:43:24 GMT 2024

Powered by FUDForum. Page generated in 0.04107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top