Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » unable to generate .execution file from .testsuite
unable to generate .execution file from .testsuite [message #71128] Wed, 17 May 2006 12:49 Go to next message
Eclipse UserFriend
Originally posted by: peter.boldizs.siemens.com

Greetings!

I have started working with TPTP JUnit test cases. I have written a simple
tester class and then generated a TPTP JUnit test. I have generated test
method and filled them with meaningful tests (assertEquals(...)).
I was able to run the "normal" JUnit test(Eclipse's own built-in JUnit
utility) successfully. When I tried to run the generated .testsuite file
(as TPTP "Test"), it was supposed to generate some .execution file. This
was unfortunately not successful. Two processes ("Launching" and
"Executing tests") are started but they are stuck and nothing happens.

I have found the following entry in the Eclipse workspace log:

!ENTRY org.eclipse.hyades.test.core 1 0 2006-05-17 14:46:16.24
!MESSAGE
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
!STACK 0
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
at
org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch(TestExecutionHarnessExecutorStub.java:417)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecution(TestExecutionHarness.java:2058)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$2(TestExecutionHarness.java:1856)
at
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutionHarness.java:692)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

I would appreciate any help.
Thanks.
Peter Boldizs
Re: unable to generate .execution file from .testsuite [message #71348 is a reply to message #71128] Sat, 20 May 2006 21:05 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
The exception below doesn't indicate much.
Can you tell me what driver you are using and what percentage the launch
gets stuck at?
Are you using a standalone Agent Controller or the intgarated version of the
Agent Controller (IAC)?
If you are using a standalone version of the Agent Controller, please attach
the content of its log file to this thread (<AC-HOME>/config/servicelog.log)

Thanks.

"Peter Boldizs" <peter.boldizs@siemens.com> wrote in message
news:b5293aeec8ceaf08104421dfa72d17b4$1@www.eclipse.org...
> Greetings!
>
> I have started working with TPTP JUnit test cases. I have written a simple
> tester class and then generated a TPTP JUnit test. I have generated test
> method and filled them with meaningful tests (assertEquals(...)).
> I was able to run the "normal" JUnit test(Eclipse's own built-in JUnit
> utility) successfully. When I tried to run the generated .testsuite file
> (as TPTP "Test"), it was supposed to generate some .execution file. This
> was unfortunately not successful. Two processes ("Launching" and
> "Executing tests") are started but they are stuck and nothing happens.
>
> I have found the following entry in the Eclipse workspace log:
>
> !ENTRY org.eclipse.hyades.test.core 1 0 2006-05-17 14:46:16.24
> !MESSAGE
>
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
> !STACK 0
>
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
> at
>
org.eclipse.hyades.execution.harness.TestExecutionHarnessExe cutorStub.launch
(TestExecutionHarnessExecutorStub.java:417)
> at
>
org.eclipse.hyades.execution.harness.TestExecutionHarness.la unchTestExecutio
n(TestExecutionHarness.java:2058)
> at
>
org.eclipse.hyades.execution.harness.TestExecutionHarness.ac cess$2(TestExecu
tionHarness.java:1856)
> at
>
org.eclipse.hyades.execution.harness.TestExecutionHarness$2. run(TestExecutio
nHarness.java:692)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
> I would appreciate any help.
> Thanks.
> Peter Boldizs
>
>
Re: unable to generate .execution file from .testsuite [message #71807 is a reply to message #71348] Fri, 26 May 2006 09:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter.boldizs.siemens.com

Hello!

I am using Eclipse 3.1.0 and TPTP 4.1.0.

It did not occur to me that I have to run the Agent Controller for TPTP
JUnit tests (isn't it only for profiling/logging?). The screencast I have
seen (TPTP/Documentation/TPTP 4.0.0 Introductory Screencasts/JUnit
Integration)never mentioned that the Agent Controller must be run.

Peter
Re: unable to generate .execution file from .testsuite [message #71933 is a reply to message #71807] Fri, 26 May 2006 18:21 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Peter Boldizs wrote:
> Hello!
>
> I am using Eclipse 3.1.0 and TPTP 4.1.0.
>
> It did not occur to me that I have to run the Agent Controller for TPTP
> JUnit tests (isn't it only for profiling/logging?). The screencast I
> have seen (TPTP/Documentation/TPTP 4.0.0 Introductory Screencasts/JUnit
> Integration)never mentioned that the Agent Controller must be run.
> Peter
>

No, he didn't say you *had* to run the AC, only that you could. By
default, without the AC, you should be going through the IAC (Integrated
AC) that operates within the same process space. The IAC will be the
default "AC" controlling agents unless it sees that a standalone AC
already has the resources it needs ... named pipe/socket.

You aren't on a system where the AC might have been started as a
service, right? Or where someone else might have the AC running, thus
preventing your workbench from successfully starting the IAC?

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:How to expand a TreeViewer in a view through an IVewPart (verification hook)
Next Topic:is BIRT needed to install TPTP?
Goto Forum:
  


Current Time: Tue Jul 16 15:11:23 GMT 2024

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

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

Back to the top