Closed
Bug 708245
Opened 13 years ago
Closed 13 years ago
sutagentandroid crashes while running robotium test
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Unassigned)
References
Details
While running robotium tests through sutagent, I find that sutagent crashes. jmaher@jmaher-ubuntu-mbp:~/mozilla/birch/objdir-droid/dist/test-package-stage/mochitest$ telnet 192.168.1.101 20701 Trying 192.168.1.101... Connected to 192.168.1.101. Escape character is '^]'. $>exec am instrument -w -e class org.mozilla.fennec_jmaher.tests.testPan org.mozilla.roboexample.test/android.test.InstrumentationTestRunner org.mozilla.fennec_jmaher.tests.testPan:Connection closed by foreign host. jmaher@jmaher-ubuntu-mbp:~/mozilla/birch/objdir-droid/dist/test-package-stage/mochitest$ Here is the logcat output: W/dalvikvm( 4419): threadid=11: thread exiting with uncaught exception (group=0x40015560) E/AndroidRuntime( 4419): FATAL EXCEPTION: CmdWorkerThread E/AndroidRuntime( 4419): java.lang.IllegalThreadStateException: Process has not yet terminated. E/AndroidRuntime( 4419): at java.lang.ProcessManager$ProcessImpl.exitValue(ProcessManager.java:284) E/AndroidRuntime( 4419): at com.mozilla.SUTAgentAndroid.service.DoCommand.StartPrg(DoCommand.java:3324) E/AndroidRuntime( 4419): at com.mozilla.SUTAgentAndroid.service.DoCommand.StartPrg2(DoCommand.java:3354) E/AndroidRuntime( 4419): at com.mozilla.SUTAgentAndroid.service.DoCommand.processCommand(DoCommand.java:678) E/AndroidRuntime( 4419): at com.mozilla.SUTAgentAndroid.service.CmdWorkerThread.run(CmdWorkerThread.java:164)
Comment 1•13 years ago
|
||
Joel, What version of the agent are you running? The line numbers are way off of the latest code.
Reporter | ||
Comment 2•13 years ago
|
||
ok, this is solved! I had version 1.00, and I needed 1.03. Now it all works and I just need to update my patch for robocop to allow SUT agent :)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•