Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Problem in testing remote machine using agent controller
Problem in testing remote machine using agent controller [message #123051] Tue, 12 February 2008 05:56 Go to next message
Eclipse User
Originally posted by: swati_gkd.rediffmail.com

Hello,

(Eclipse 3.3.0, TPTP 4.4, Agent Controller 4.4)

I could launch the eclipse from windows to Linux for TPTP automation
using Agent controller.

I am facing another problem.
Consider the scenario: Start the Agent Controller on Linux-64bit
(remote) machine
1: Launch the eclipse using ant script (tptp:execution task) to
remote machine using deployment file for Linux.
The eclipse gets launched and starts replaying recorded tests. I have
a set of recorded tests in another perspective (not default java). When
eclipse starts executing tests in the respective perspective eclipse
crashes.... .

2: When I try to execute tests for the second time without stopping
agent controller, Test continues by launching eclipse perspective and
passes. This is very strange behavior. For both the cases a new workspace
is used.

3: After successful testing, If I try to test once again then even
the eclipse launch fails.

I have tried this for many times. Same cash takes place for the first
time from the agent controller started. This is very strange behavior.

When I try to execute the test case from eclipse in standard mode
using the respective deployment (for Linux) same crash takes place and a
core dumps to the bin directory of agent controller.

What can be the problem. Is it with agent controller problem? Is it a
known issue?

Please let me know the solution to resolve this problem.

Thanks and Regards,
Swati
Re: Problem in testing remote machine using agent controller [message #123482 is a reply to message #123051] Wed, 20 February 2008 07:21 Go to previous messageGo to next message
Eclipse User
Originally posted by: swati_gkd.rediffmail.com

Swati wrote:

> Hello,

> (Eclipse 3.3.0, TPTP 4.4, Agent Controller 4.4)

> I could launch the eclipse from windows to Linux for TPTP automation
> using Agent controller.

> I am facing another problem.
> Consider the scenario: Start the Agent Controller on Linux-64bit
> (remote) machine
> 1: Launch the eclipse using ant script (tptp:execution task) to
> remote machine using deployment file for Linux.
> The eclipse gets launched and starts replaying recorded tests. I have
> a set of recorded tests in another perspective (not default java). When
> eclipse starts executing tests in the respective perspective eclipse
> crashes.... .

> 2: When I try to execute tests for the second time without stopping
> agent controller, Test continues by launching eclipse perspective and
> passes. This is very strange behavior. For both the cases a new workspace
> is used.

> 3: After successful testing, If I try to test once again then even
> the eclipse launch fails.

> I have tried this for many times. Same cash takes place for the first
> time from the agent controller started. This is very strange behavior.

> When I try to execute the test case from eclipse in standard mode
> using the respective deployment (for Linux) same crash takes place and a
> core dumps to the bin directory of agent controller.

> What can be the problem. Is it with agent controller problem? Is it a
> known issue?

> Please let me know the solution to resolve this problem.

> Thanks and Regards,
> Swati


The generated crash log ( hs_err_pid*.log )file has following contents
(snippet of file) :-

j
org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/la ng/Object;)Ljava/lang/Object;+149
j
org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/l ang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v ~StubRoutines::call_stub
j
sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/refl ect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/ Object;+0
j
sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Objec t;[Ljava/lang/Object;)Ljava/lang/Object;+87
j
sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/O bject;[Ljava/lang/Object;)Ljava/lang/Object;+6
j
java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lan g/Object;)Ljava/lang/Object;+111
j
org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lan g/String;[Ljava/net/URL;)V+210
j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/Strin g;)V+114
j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+ 4
j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V +10
j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+1
v ~StubRoutines::call_stub

Please help me to solve this problem. Thanks in advanced.


-Swati
Re: Problem in testing remote machine using agent controller [message #124088 is a reply to message #123482] Mon, 25 February 2008 12:42 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi Swati,
This appears to be a defect in the test execution on the remote machine.
Can you reproduce the same behavor when using the local workbench UI to
launch the AGR tests on the remote machine? If so, this would be an AGR
defect and
in TPTP 4.5, the AGR was moved from a Technology Preview component to an
As-Is component. As-Is components are primarily provided for prior users
but imply no support (for example, defects, news group, and mailing lists).
If not, please open a defect against the ASF runtime with the details in
this post.

Paul

"Swati" <swati_gkd@rediffmail.com> wrote in message
news:4c92eda7c11979f668c875b266287381$1@www.eclipse.org...
> Swati wrote:
>
>> Hello,
>
>> (Eclipse 3.3.0, TPTP 4.4, Agent Controller 4.4)
>
>> I could launch the eclipse from windows to Linux for TPTP automation
>> using Agent controller.
>
>> I am facing another problem. Consider the scenario: Start the Agent
>> Controller on Linux-64bit (remote) machine
>> 1: Launch the eclipse using ant script (tptp:execution task) to
>> remote machine using deployment file for Linux.
>> The eclipse gets launched and starts replaying recorded tests. I have
>> a set of recorded tests in another perspective (not default java). When
>> eclipse starts executing tests in the respective perspective eclipse
>> crashes.... .
>
>> 2: When I try to execute tests for the second time without stopping
>> agent controller, Test continues by launching eclipse perspective and
>> passes. This is very strange behavior. For both the cases a new workspace
>> is used.
>
>> 3: After successful testing, If I try to test once again then even
>> the eclipse launch fails.
>
>> I have tried this for many times. Same cash takes place for the
>> first time from the agent controller started. This is very strange
>> behavior.
>
>> When I try to execute the test case from eclipse in standard mode
>> using the respective deployment (for Linux) same crash takes place and a
>> core dumps to the bin directory of agent controller.
>
>> What can be the problem. Is it with agent controller problem? Is it a
>> known issue?
>
>> Please let me know the solution to resolve this problem.
>
>> Thanks and Regards,
>> Swati
>
>
> The generated crash log ( hs_err_pid*.log )file has following contents
> (snippet of file) :-
>
> j
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/la ng/Object;)Ljava/lang/Object;+149
> j
> org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/l ang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
> v ~StubRoutines::call_stub
> j
> sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/refl ect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/ Object;+0
> j
> sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Objec t;[Ljava/lang/Object;)Ljava/lang/Object;+87
> j
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/O bject;[Ljava/lang/Object;)Ljava/lang/Object;+6
> j
> java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lan g/Object;)Ljava/lang/Object;+111
> j
> org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lan g/String;[Ljava/net/URL;)V+210
> j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/Strin g;)V+114
> j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+ 4
> j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V +10
> j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+1
> v ~StubRoutines::call_stub
>
> Please help me to solve this problem. Thanks in advanced.
>
>
> -Swati
>
Re: Problem in testing remote machine using agent controller [message #124376 is a reply to message #124088] Tue, 26 February 2008 12:13 Go to previous messageGo to next message
Chandresh Gandhi is currently offline Chandresh Gandhi
Messages: 30
Registered: July 2009
Member
Hi,

even I have noticed that, running the Standalone Agent controller and
testsuite local to Linux 64bit machine. behavior is somewhat same as what
Swati has mentioned.

1st time running as local_deployment – eclipse gets crashed while running
1st test case.
2nd time – whole testsuite is running up to the end.
3rd time – It may not launch eclipse.

bit Strange Inconsistence activities happen here…

does anyone have come across these???

pls let us know to resolve this.

Thanks,
Chandresh Gandhi.
Re: Problem in testing remote machine using agent controller [message #124413 is a reply to message #124376] Tue, 26 February 2008 13:50 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
We have not seen this behaviour. Are you running the Agent Controller in 32
bit or 64 bit mode?

If this is an AGR test suite, in TPTP 4.5, the AGR was moved from a
Technology Preview component to an
As-Is component. As-Is components are primarily provided for prior users
but imply no support (for example, defects, news group, and mailing lists).
If not, please open a defect against the ASF runtime with the details in
this post.


Paul
"Chandresh Gandhi" <gandhi.chandresh@gmail.com> wrote in message
news:a89c7fdd653901dbefad0167ddafcae9$1@www.eclipse.org...
> Hi,
>
> even I have noticed that, running the Standalone Agent controller and
> testsuite local to Linux 64bit machine. behavior is somewhat same as what
> Swati has mentioned.
>
> 1st time running as local_deployment
Re: Problem in testing remote machine using agent controller [message #124505 is a reply to message #124413] Wed, 27 February 2008 03:13 Go to previous messageGo to next message
Chandresh Gandhi is currently offline Chandresh Gandhi
Messages: 30
Registered: July 2009
Member
Hi Paul,

It's 64bit Linux test machine.

Thanks,
Chandresh Gandhi(Skype Id : gandhichandresh)
Re: Problem in testing remote machine using agent controller [message #124551 is a reply to message #124505] Wed, 27 February 2008 11:13 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Yes, but are you downloading the 32 bit or 64 bit Agent Controller? Is it
an AGR test?

PS
"Chandresh Gandhi" <gandhi.chandresh@gmail.com> wrote in message
news:ea6f026d406609791195cb24f9bf320e$1@www.eclipse.org...
> Hi Paul,
>
> It's 64bit Linux test machine.
>
> Thanks,
> Chandresh Gandhi(Skype Id : gandhichandresh)
>
Re: Problem in testing remote machine using agent controller [message #124597 is a reply to message #124551] Wed, 27 February 2008 11:49 Go to previous messageGo to next message
Chandresh Gandhi is currently offline Chandresh Gandhi
Messages: 30
Registered: July 2009
Member
Hi Paul,

Ofcourse It's 64 bit Agent conroller for Linux, If I'm right :)
specifically It's name is " linux_em64t " after unzip.
Is this right now pls ?

Yeah, there is a Test suite having some (12-15) AGR test cases.

Thanks,
Chandresh Gandhi (Skype Id : gandhichandresh)
Re: Problem in testing remote machine using agent controller [message #124620 is a reply to message #124597] Wed, 27 February 2008 12:44 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
You are right.

Can you run another type of test, for example TPTP JUnit without seeing the
symptoms?

PS
"Chandresh Gandhi" <gandhi.chandresh@gmail.com> wrote in message
news:3746c9247c3eff506557a3e27dd3fc57$1@www.eclipse.org...
> Hi Paul,
>
> Ofcourse It's 64 bit Agent conroller for Linux, If I'm right :)
> specifically It's name is " linux_em64t " after unzip.
> Is this right now pls ?
>
> Yeah, there is a Test suite having some (12-15) AGR test cases.
>
> Thanks,
> Chandresh Gandhi (Skype Id : gandhichandresh)
>
>
>
>
Previous Topic:Problem in Staring Agent Control on Solaris
Next Topic:in TPTP 4.4.1 is Eclipse not registered with the Agent Controller ?
Goto Forum:
  


Current Time: Sat Sep 20 11:59:53 GMT 2014

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

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