Community
Participate
Working Groups
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)
Although this affects the TPTP BVTs, it is has a minor impact.
Jonathan, please take a look.
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.
(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.
Paul, How severely is this impacting BVT?
(In reply to comment #5) > Paul, > > How severely is this impacting BVT? No (see comment 1).
Deferring to TPTP 4.7.
No plans to fix at this time.
Closing.