Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./startcts
- Android CTS version 2.3_r4
- Device(emulator-5554) connected
- cts_host > start --plan CTS -t android.example.cts.ExampleSecondaryTest#testZorch
- (repeat this about an hour)
- ..and this happens:
- 01:36:50 E/ddms: ADB rejected shell command (am instrument -w -e bundle true android.tests.devicesetup/android.tests.getinfo.DeviceInfoInstrument): closed CTS_ERROR >>> Failed to execute shell command am instrument -w -e bundle true
- android.tests.devicesetup/android.tests.getinfo.DeviceInfoInstrument on device emulator-5554 com.android.ddmlib.AdbCommandRejectedException: closed CTS_ERROR >>> Timeout: getDeviceInfo start test android.example.cts.ExampleSecondaryTest#testZorch
- ============================================================== Test package: android.example
- 01:38:50 E/ddms: ADB rejected shell command (am broadcast -a android.tests.util.disablekeyguard): closed CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554 com.android.ddmlib.AdbCommandRejectedException: closed CTS_ERROR >>> Installing met timeout due to Unknown reason. Time: 130.9s
- Can be any test case for example same loop for android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly results same error:
- 11:56:46 E/ddms: ADB rejected shell command (am instrument -w -e bundle true android.tests.devicesetup/android.tests.getinfo.DeviceInfoInstrument): closed CTS_ERROR >>> Failed to execute shell command am instrument -w -e bundle true android.tests.devicesetup/android.tests.getinfo.DeviceInfoInstrument on device emulator-5554 com.android.ddmlib.AdbCommandRejectedException: closed CTS_ERROR >>> Timeout: getDeviceInfo
- 11:58:46 E/ddms: ADB rejected shell command (am broadcast -a android.tests.util.disablekeyguard): closed CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554 com.android.ddmlib.AdbCommandRejectedException: closed start test android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly
- ============================================================== Test package: android.sax CTS_ERROR >>> Installing met timeout due to Unknown reason. Time: 130.3s
- #!/bin/bash
- while [ true ]; do
- ./startcts start --plan CTS -t android.example.cts.ExampleSecondaryTest#testZorch
- done;
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.Contacts_OrganizationsTest
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.MediaStore_Audio_MediaTest
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.BrowserTest
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.ContactsContract_DataTest
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.UserDictionary_WordsTest
- CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.sax.cts.ElementTest
- start test android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly
- CTS_DEBUG >>> 1309508649911 Start a test session.
- ==============================================================
- Test package: android.sax
- CTS_DEBUG >>> 1309508649911 installAPK /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk ...
- CTS_DEBUG >>> 1309508649911 adb -s emulator-5554 install -r /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk
- CTS_DEBUG >>> 1309508649911 start(), action=install,mTimer=java.util.Timer@19106c7,timeout=120000
- CTS_DEBUG >>> 1309508649931 Enter waitPackageActionComplete()
- CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554
- CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554
- com.android.ddmlib.AdbCommandRejectedException: closed
- CTS_DEBUG >>> 1309508649938 device emulator-5554 changed with changeMask=2
- CTS_DEBUG >>> 1309508649938 Device state:ONLINE
- CTS_DEBUG >>> 1309508650097 device emulator-5554 changed with changeMask=2
- CTS_DEBUG >>> 1309508650097 Device state:ONLINE
- CTS_DEBUG >>> 1309508650242 device emulator-5554 changed with changeMask=2
- CTS_DEBUG >>> 1309508650242 Device state:ONLINE
- CTS_DEBUG >>> 1309508769918 PackageActionTimeoutTask.run(): mAction=install
- CTS_DEBUG >>> 1309508769918 ObjectSync.sendNotify() is called, mNotifySent=false
- CTS_DEBUG >>> 1309508769918 TestPackage.notifyInstallingTimeout() is called
- CTS_ERROR >>> Installing met timeout due to Unknown reason.
- CTS_ERROR >>> Installing met timeout due to Unknown reason.
- CTS_DEBUG >>> 1309508779918 Leave waitPackageActionComplete()
- CTS_DEBUG >>> 1309508779918 installAPK /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk finish
- Time: 130.12s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement