Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » ant execution on linux
ant execution on linux [message #117980] Mon, 12 November 2007 10:36 Go to next message
Nick Young is currently offline Nick YoungFriend
Messages: 16
Registered: July 2009
Junior Member
Hi, I'm getting intermittent errors on my tptp installation on redhat linux.
My test.xml is working fine on Windows, but when I run on Linux, I get
errors similar to the following which cause failure, but only
intermittently:

testjunit:
[echo] Executing JUnit test suite...
[tptp:execution] adding file junit_tests/TestBackgroundParse.testsuite
[tptp:execution] Test started!
[tptp:execution] Test 'junit_tests/TestBackgroundParse.testsuite' executing
[tptp:execution] org.eclipse.hyades.execution.core.DaemonConnectException
[tptp:execution] at
org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:225)
[tptp:execution] at
org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:359)
[tptp:execution] at
org.eclipse.hyades.execution.local.NodeImpl.connect(NodeImpl .java:347)
[tptp:execution] at
org.eclipse.hyades.execution.harness.TestExecutionHarness$4. run(TestExecutionHarness.java:2434)
[tptp:execution] at java.lang.Thread.run(Thread.java:595)
[tptp:execution] Caused by:
org.eclipse.hyades.internal.execution.local.control.Inactive ProcessException
[tptp:execution] at
org.eclipse.hyades.internal.execution.local.control.ProcessI mpl.getProcessId(ProcessImpl.java:487)
[tptp:execution] at
org.eclipse.hyades.execution.local.NodeImpl._connect(NodeImp l.java:220)
[tptp:execution] ... 4 more
[tptp:execution] org.eclipse.core.runtime.CoreException: IWAT4039E The Test
Execution Harness reported the following problems:Connection refused on host
localhost.
[tptp:execution] at
org.eclipse.hyades.test.core.launch.delegates.AbstractLaunch ConfigurationDelegate2.launch(AbstractLaunchConfigurationDel egate2.java:195)
[tptp:execution] at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:766)
[tptp:execution] at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:608)
[tptp:execution] at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:601)
[tptp:execution] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice.launch(AbstractTestExecutionService.java:719)
[tptp:execution] at
org.eclipse.hyades.test.core.services.AbstractTestExecutionS ervice.execute(AbstractTestExecutionService.java:522)
[tptp:execution] at
org.eclipse.hyades.automation.server.AbstractService.execute (AbstractService.java:43)
[tptp:execution] at
org.eclipse.hyades.automation.server.ServiceProxy$1.run(Serv iceProxy.java:141)
[tptp:execution] at
org.eclipse.hyades.automation.core.utils.ReusableThread.run( ReusableThread.java:131)
[tptp:execution] at java.lang.Thread.run(Thread.java:595)

I am running TPTP 4.4.0.3 with eclipse 3.3.1 and Sun Java 1.5.0_13

Any ideas why I'd be getting this? Like I said, it's only happening
intermittently, not every time, and not always in the same place in my test
suite.

Thanks in advance,
Nick
Re: ant execution on linux [message #118820 is a reply to message #117980] Fri, 30 November 2007 14:09 Go to previous messageGo to next message
DuWayne Morris is currently offline DuWayne MorrisFriend
Messages: 36
Registered: July 2009
Member
Hi,

What is happening here is that the session JVM is dying, probably right
when it starts. The InactiveProcessException happens after a timeout to
indicate this. We have one defect scheduled to be fixed in 4.5 that might
be the case you are seeing:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=200194

In this defect, the auto-build job may be causing the session runner to
exit on account of missing classes needed to run. Unfortunately, there is
nothing that you would be able to do to work-around that issue until it is
fixed.

Whenever errors happen like this, it is a good idea to kill any zombie
java processes that might be lingering and re-start the agent controller
(AC).

There has been some discussion of random problems associated with having
eclipse open with the same workspace that is being used by an ant script.
So, you may want to avoid this.

You also may want to try the IBM 1.5 JVM, just to see if there is a
difference in behavior. Also, what version of RedHat are you running and
with how much physical memory?

Hope this helps, even though not a solid answer.
DuWayne
Re: ant execution on linux [message #120390 is a reply to message #118820] Wed, 09 January 2008 16:35 Go to previous message
Nick Young is currently offline Nick YoungFriend
Messages: 16
Registered: July 2009
Junior Member
Hi DuWayne, sorry for the delay in responding, I'll try out the suggestions
you have below.

In the meantime if it helps, we are running this on Redhat 4 which has 4gb
of physical memory, some 2gb being free to me at this time. I have however
also observed similar behaviour on other platforms...

Thanks,
Nick


"DuWayne Morris" <dmorris@us.ibm.com> wrote in message
news:82068fb6caed0722a79ac0c4e5f0af3c$1@www.eclipse.org...
> Hi,
>
> What is happening here is that the session JVM is dying, probably right
> when it starts. The InactiveProcessException happens after a timeout to
> indicate this. We have one defect scheduled to be fixed in 4.5 that might
> be the case you are seeing:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=200194
>
> In this defect, the auto-build job may be causing the session runner to
> exit on account of missing classes needed to run. Unfortunately, there is
> nothing that you would be able to do to work-around that issue until it is
> fixed.
>
> Whenever errors happen like this, it is a good idea to kill any zombie
> java processes that might be lingering and re-start the agent controller
> (AC).
>
> There has been some discussion of random problems associated with having
> eclipse open with the same workspace that is being used by an ant script.
> So, you may want to avoid this.
>
> You also may want to try the IBM 1.5 JVM, just to see if there is a
> difference in behavior. Also, what version of RedHat are you running and
> with how much physical memory?
>
> Hope this helps, even though not a solid answer.
> DuWayne
>
Previous Topic:Profiling error with weblogic 9.2
Next Topic:Linux System Trace - What does it do?
Goto Forum:
  


Current Time: Fri Dec 19 13:11:44 GMT 2014

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

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