Community
Participate
Working Groups
Standalone Agent Controller gets frozen when cyclically executing TPTP JUnit Test using command line tptp-automation-client. The execution gets frozen regularly at 38th repetition. Assumption is that the ACServer is launched right before tests (without any relict interfering java processes). System under test TPTP JUnit Test created using wizard with defined one simple Test Method and its invocation in Behavior. SUT is executed cyclically from shell by following statement (note -cp stated incomplete): java -cp tptp-automation-client.jar org.eclipse.hyades.automation.client.adapters.shell.AutomationClientAdapter -eclipse c:/Eclipse_SysTests/eclipse -workspace c:/Eclipse_SysTests/tptptestworkspace -project tptptest -suite src/test Symptoms SUT console gets frozen after 38th invocation. See last messages: Test started! Test 'src/test.testsuite' executing Agent Controller – as seen its sub processes tree from Windows Process Explorer (for lucidity omitted full paths). ACServer.exe tptpProcessController.exe "java.exe" -Dhyades.test.JVM=" java.exe" org.eclipse.hyades.execution.remote.NodeImpl 9564382 When frozen the java.exe above doesn’t spawn another java process (or it is terminated somehow unexpectedly) as being called under normal circumstances – see below: "java.exe" -Dhyades.runner.agentName=org.eclipse.hyades.execution.harness.XMLExecutionDataProcessor -Dhyades.loadtest.nusers=0 -Dhyades.runner.testClass=tests.test -Dhyades.runner.testID=E2F4DCD918314C8B57467A00E6C311DC org.eclipse.hyades.test.java.runner.HyadesJUnitRunner Note: Inspection of ACServer log shows following messages: "Error writing to socket while sending message to client" – 28 occurrences "Agent not found RemoteSession 
" – 76 occurrences The freezing behavior was experienced on Windows as well as on Linux.
Symptoms are the same as those of bug 201412.
When running this test, after 35 or so tests I see the following message: "org.eclipse.core.runtime.CoreException: IWAT4039E The Test Execution Harness reported the following problems: IWAT0005E The host localhost was not found." Martin, is this what you're seeing as well?
It just gets frozen without any other messages.
The behaviour we're seeing is caused by bug 234460. With a corrected hashtable implementation, I am able to run many tests from the command line without putting the agent controller into its bad state.
Resolving as fixed now that the patch for bug 234460 has been applied to Head. Please confirm with build TPTP-4.5.0-200806021039 or later.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.