| Summary: | 'Launching <tests> has encountered a problem - IWAT4039E The Test Execution Harness reported the following problems' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Glenn <glenn.aitchison> | ||||
| Component: | TPTP | Assignee: | Heiner Westphal <westphal> | ||||
| Status: | ASSIGNED --- | QA Contact: | Torsten Stolpmann <stolpmann> | ||||
| Severity: | major | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Glenn
Created attachment 202370 [details]
error msg that shows in eclipse
Heiner, can you please have a look at this? The exception usually just tells that there has been a timeout. I guess the timeout occurs during deployment. How much percent does the launcher show, when you get the exception? Paul Slauenwhite did a lot of experiments regarding a veriy similar issue some time ago - the problem has never been pinned down though: https://bugs.eclipse.org/bugs/show_bug.cgi?id=299942 You could try another JVM (IBMs, or a jrockit or a more current Sun^H^H^HOracle JVM). Paul mentioned the IBM jvm was a lot faster in a TPTP remote test setup. Raising timeout and remote JVM heap memory seem promising as well, especialy with large classpaths. Cannot tell exactly how and where off the top of my head. Increasing initial heap memory might even make things worse, if it is not needed (especialy in a VM env). Regarding physical vs virtual machine: To know for sure if it is the VM or the fact that the agent controller runs remotely, one should try to run on a local agent controller in a VM and/or on a remote agent controller on a physical machine. I have tried running 64bit jvm and 64bit ac (1.6.0_11 jvm). Still nothing. I have tried copying eclipse into the VM environment and tried testing locally.. still slow and times out if server under load. does the log file on agent controller side (<agentCtrlInstDir>/config/servicelog.log show anything helpful (common base event log file)? If not, you can try to change the log level to DEBUG in that line: <Logging directory="%TPTP_AC_CONFIG_HOME%" format="CBE" level="INFORMATION"/> I still had no time to find a convenient way to raise the timeout of the launcher. I saw that it is done in automated TPTP tests by extending org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub and overriding the method protected int getLaunchTimeout(); to return e.g. 6 Minutes (360000 milliseconds). The help topic "Launching tests from scripts and applications" under "Testing Applications" will surely cover the missing parts. |