Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP JUnit Plugin Test Hangs
TPTP JUnit Plugin Test Hangs [message #97557] Wed, 02 May 2007 12:44 Go to next message
Eclipse UserFriend
Originally posted by: bbrady.broad.mit.edu

Hi,

I am running Eclipse 3.2.2 with jdk 1.5.0.11 and the latest TPTP install
from Callisto update (includes TPTP Test Core Plugin 4.2.3).

I have built a simple TPTP JUnit Plugin test that runs on as a
deployment on the local workbench, i.e., I just right click on the
Wizard created TPTP testuite and do Run As->Test.

The problem I have is that the first time I run the test, everything
works fine. The TPTP test launches, then executes successfully.
Subsequent runs with during the same eclipse session hang at the
lauching phase. I then have to manually kill the java and eclipse
processes and start over.

If I delete the generated test-workspace dir that was generated and
restart eclipse with the -clean switch, then the first run succeeds.
Subsequent runs will hang at launch phase.

Does anyone know what I'm doing wrong? Maybe If I can automatically
delete the test-workspace after each test it would solve the problem,
but I don't know how to do it. I tried using a TPTP deployment with an
associated TPTP workspace pointing locally and using a temp workspace or
clearing the workspace, but this gave same result: hang at launch.

Any solution ideas would be appreciated.

Thanks,
Bob
Re: TPTP JUnit Plugin Test Hangs [message #97567 is a reply to message #97557] Wed, 02 May 2007 12:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbrady.broad.mit.edu

I should have added that the TPTP JUnit Plugin test runs successfully
every time when run through the jdt JUnit Plugin test launcher:

1) Right click on the Java Test File ->Run As->JUnit Plugin Test.

There are no launch hangs.

-Bob
Re: TPTP JUnit Plugin Test Hangs [message #97622 is a reply to message #97557] Thu, 03 May 2007 10:41 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Ho Bob,
Did you install and run the Agent Controller (see
http://www.eclipse.org/tptp/home/downloads/installguide/Inst allGuide43.html#install_agent_controller)?
It is not a requirement since there is a in-process Agent Controller shipped
with the TPTP workbench. However, the Agent Controller is better performing
than its integrated counterpart.

When you test execution hangs, what percentage is displayed in the
progress indictor? What OS are you running? Are there any error messages
in the Eclipse .log file?

There should be no need to manually delete any files or restart the TPTP
workbench between test executions. At first glance, this appears to be a
defect. After you have tried the Agent Controller and the problem still
exists, please open a defect (component: Test.Execution.JUnitRunner) with
the <Agent Controller installation directory>/config/servicelog.log file
attached.

Paul
"Bob Brady" <bbrady@broad.mit.edu> wrote in message
news:f1a13c$6ho$1@build.eclipse.org...
> Hi,
>
> I am running Eclipse 3.2.2 with jdk 1.5.0.11 and the latest TPTP install
> from Callisto update (includes TPTP Test Core Plugin 4.2.3).
>
> I have built a simple TPTP JUnit Plugin test that runs on as a deployment
> on the local workbench, i.e., I just right click on the Wizard created
> TPTP testuite and do Run As->Test.
>
> The problem I have is that the first time I run the test, everything works
> fine. The TPTP test launches, then executes successfully. Subsequent runs
> with during the same eclipse session hang at the lauching phase. I then
> have to manually kill the java and eclipse processes and start over.
>
> If I delete the generated test-workspace dir that was generated and
> restart eclipse with the -clean switch, then the first run succeeds.
> Subsequent runs will hang at launch phase.
>
> Does anyone know what I'm doing wrong? Maybe If I can automatically
> delete the test-workspace after each test it would solve the problem, but
> I don't know how to do it. I tried using a TPTP deployment with an
> associated TPTP workspace pointing locally and using a temp workspace or
> clearing the workspace, but this gave same result: hang at launch.
>
> Any solution ideas would be appreciated.
>
> Thanks,
> Bob
Re: TPTP JUnit Plugin Test Hangs [message #97668 is a reply to message #97622] Thu, 03 May 2007 22:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbrady.broad.mit.edu

Hi Paul,

Thanks for your prompt & informative response. Your post to the
previous thread was helpful too. I appreciate it.

-Bob


> Did you install and run the Agent Controller
Yes, I installed agntctrl.win_ia32-TPTP-4.3.1: set the config & put in
PATH. I didn't run it, though, thinking the in-process one would be
good enough. The in-process one was always good enough for plain JUnit,
so it didn't occur to me.

Once I did start RAServer prior to executing the JUnit plugin tests, it
worked! Thanks!


> When you test execution hangs, what percentage is displayed in the
> progress indictor?

60%, everytime.


> What OS are you running? Are there any error messages
> in the Eclipse .log file?

OS: Windows XP, SP2
Intel Dual CPU @ 2.4GHz
3 GB RAM

No error messages in .log.
Re: TPTP JUnit Plugin Test Hangs [message #97729 is a reply to message #97668] Fri, 04 May 2007 12:14 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Great Bob.

The hang at 60% represents a problem deploying the test assets using the
Integrated Agent Controller (IAC). This is a known problem. Using the
Agent Controller will (and has:) resolve the problem. Furthermore, the IAC
has been completely refactored in 4.4 to resolve several of these hanging
issues.

Paul
"Bob Brady" <bbrady@broad.mit.edu> wrote in message
news:f1do3c$k2c$1@build.eclipse.org...
> Hi Paul,
>
> Thanks for your prompt & informative response. Your post to the previous
> thread was helpful too. I appreciate it.
>
> -Bob
>
>
>> Did you install and run the Agent Controller
> Yes, I installed agntctrl.win_ia32-TPTP-4.3.1: set the config & put in
> PATH. I didn't run it, though, thinking the in-process one would be good
> enough. The in-process one was always good enough for plain JUnit, so it
> didn't occur to me.
>
> Once I did start RAServer prior to executing the JUnit plugin tests, it
> worked! Thanks!
>
>
>> When you test execution hangs, what percentage is displayed in the
>> progress indictor?
>
> 60%, everytime.
>
>
>> What OS are you running? Are there any error messages in the Eclipse
>> .log file?
>
> OS: Windows XP, SP2
> Intel Dual CPU @ 2.4GHz
> 3 GB RAM
>
> No error messages in .log.
Previous Topic:Problem creating workbench location - Argument cannot be null
Next Topic:Test case is passed in Quick mode and is failed in Standard mode
Goto Forum:
  


Current Time: Tue Mar 19 07:02:18 GMT 2024

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

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

Back to the top