![]() |
|
|
Change By:
|
Sam Xiao
(10/Apr/14 9:31 PM)
|
Description:
|
Start seeing some weird random failure after upgraded to 22.6.2 Android SDK.
I don't think `getprop dev.bootcomplete` (https://github.com/jenkinsci/android-emulator-plugin/search?q=%22dev.bootcomplete%22&ref=cmdform) works anymore with the new SDK to determine the android device is boot finished or not.
Should we use this `adb shell getprop init.svc.bootanim` ?
http://stackoverflow.com/questions/3634041/detect-when-android-emulator-is-fully-booted
{noformat} 2014-04-09 11:43:02 2093 KB/s (2968898 bytes in 1.384s) 2014-04-09 11:43:04 Error: Could not access the Package Manager. Is the system running? 2014-04-09 11:43:04 => success! 2014-04-09 11:43:04 $ adb logcat -c 2014-04-09 11:43:04 => success! 2014-04-09 11:43:04 $ adb shell am instrument -w -e
lookout
abc
.package com.
lookout
abc
-e
lookout
abc
.notAnnotation com.
lookout
abc
.annotations.ExcludeFromDefault, -e
lookout
abc
.stride 3 -e
lookout
abc
.initial 0 -e
lookout
abc
.annotation com.
lookout
abc
.annotations.UnitTest com.
lookout
abc
.tests/com.
lookout
abc
.
LookoutInstrumentationTestRunner
AbcInstrumentationTestRunner
2014-04-09 11:43:06 Error type 2 2014-04-09 11:43:06 android.util.AndroidException: Can't connect to activity manager; is the system running? 2014-04-09 11:43:06 => success! 2014-04-09 11:43:06 $ echo '<testsuites></testsuites>' > test-report.xml; adb pull /data/data/com.
lookout
abc
/app_test_report/test-report.xml test-report.xml 2014-04-09 11:43:06 remote object '/data/data/com.
lookout
abc
/app_test_report/test-report.xml' does not exist 2014-04-09 11:43:06 => failure: #<Process::Status: pid=30984,exited(1)> 2014-04-09 11:43:06 Could not fetch JUnit test report from device/emulator. Outputting empty test report {noformat}
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.