Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 295492 - Periodic RemoteInvocationException when executing tests via ASF.
Summary: Periodic RemoteInvocationException when executing tests via ASF.
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Jonathan West CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard: bvt
Keywords:
Depends on:
Blocks: 211751
  Show dependency tree
 
Reported: 2009-11-18 12:31 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 10:53 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2009-11-18 12:31:17 EST
Periodic RemoteInvocationException when executing tests via ASF.

Executing a test via ASF (see Ant_TestExecuteSampleTestsOutOfProcess in /org.eclipse.hyades.test.core.services.tests/manual/Test.Execution.Services.testsuite - note the setup instructions in the test suite description), periodically causes the following exception:

[tptp:execution] org.eclipse.hyades.execution.invocation.RemoteInvocationException
[tptp:execution] 		 at org.eclipse.hyades.execution.local.RemoteObjectStub.delegateRemoteCall(RemoteObjectStub.java:107)
[tptp:execution] 		 at org.eclipse.hyades.execution.local.ExecutionEnvironmentStub.getEnvByName(ExecutionEnvironmentStub.java:56)
[tptp:execution] 		 at org.eclipse.hyades.execution.harness.JavaExecutionEnvironmentAdapter.setupExecutionEnvironment(JavaExecutionEnvironmentAdapter.java:98)
[tptp:execution] 		 at org.eclipse.hyades.execution.harness.util.ExecutionAdapterUtilities.adaptExecutionEnvironment(ExecutionAdapterUtilities.java:145)
[tptp:execution] 		 at org.eclipse.hyades.execution.harness.TestExecutionHarness.launchTestExecution(TestExecutionHarness.java:1971)
[tptp:execution] 		 at org.eclipse.hyades.execution.harness.TestExecutionHarness.access$1(TestExecutionHarness.java:1805)
[tptp:execution] 		 at org.eclipse.hyades.execution.harness.TestExecutionHarness$2.run(TestExecutionHarness.java:718)
[tptp:execution] 		 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[tptp:execution] Caused by: java.lang.InterruptedException: Remote Method Invocation Timeout Error
[tptp:execution] 		 at org.eclipse.hyades.execution.invocation.Marshaller.waitForReturnDataWithTimeout(Marshaller.java:546)
[tptp:execution] 		 at org.eclipse.hyades.execution.local.RemoteObjectStub.delegateRemoteCall(RemoteObjectStub.java:103)
[tptp:execution] 		 ... 7 more
[tptp:execution] org.eclipse.core.runtime.CoreException: IWAT4039E The Test Execution Harness reported the following problems: org.eclipse.hyades.execution.invocation.RemoteInvocationException
[tptp:execution] 		 at org.eclipse.hyades.test.core.launch.delegates.AbstractLaunchConfigurationDelegate2.launch(AbstractLaunchConfigurationDelegate2.java:225)
[tptp:execution] 		 at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
[tptp:execution] 		 at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
[tptp:execution] 		 at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:696)
[tptp:execution] 		 at org.eclipse.hyades.test.core.services.AbstractTestExecutionService.launch(AbstractTestExecutionService.java:838)
[tptp:execution] 		 at org.eclipse.hyades.test.core.services.AbstractTestExecutionService.execute(AbstractTestExecutionService.java:608)
[tptp:execution] 		 at org.eclipse.hyades.automation.server.AbstractService.execute(AbstractService.java:43)
[tptp:execution] 		 at org.eclipse.hyades.automation.server.ServiceProxy$1.run(ServiceProxy.java:139)
[tptp:execution] 		 at org.eclipse.hyades.automation.core.utils.ReusableThread.run(ReusableThread.java:131)
[tptp:execution] 		 at java.lang.Thread.run(Thread.java:801)
Comment 1 Paul Slauenwhite CLA 2009-11-18 12:31:55 EST
Although this affects the TPTP BVTs, it is has a minor impact.
Comment 2 Kathy Chan CLA 2009-11-18 12:37:00 EST
Jonathan,  please take a look.
Comment 3 Jonathan West CLA 2009-11-18 13:54:45 EST
Hi Paul, the exception being generated is deep inside TPTP test code, I would suggest that someone on the TPTP test side should narrow it down before I investigate.
Comment 4 Paul Slauenwhite CLA 2009-11-18 15:04:46 EST
(In reply to comment #3)
> Hi Paul, the exception being generated is deep inside TPTP test code, I would
> suggest that someone on the TPTP test side should narrow it down before I
> investigate.

Already done before I opened this defect.  The problem is that the call from org.eclipse.hyades.execution.local.ExecutionEnvironmentStub.getEnvByName(String) to org.eclipse.hyades.execution.remote.ExecutionEnvironmentSkeleton.getEnvByName(String) to resolve an Agent Controller environment property is timing out and ultimately failing.
Comment 5 Kathy Chan CLA 2009-12-14 13:45:23 EST
Paul,

How severely is this impacting BVT?
Comment 6 Paul Slauenwhite CLA 2009-12-14 13:51:53 EST
(In reply to comment #5)
> Paul,
> 
> How severely is this impacting BVT?

No (see comment 1).
Comment 7 Kathy Chan CLA 2009-12-17 13:30:33 EST
Deferring to TPTP 4.7.
Comment 8 Jonathan West CLA 2010-11-25 12:44:25 EST
No plans to fix at this time.
Comment 9 Paul Slauenwhite CLA 2010-11-25 12:46:19 EST
Closing.