Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.15 KB | None | 0 0
  1. ./startcts
  2. Android CTS version 2.3_r4
  3. Device(emulator-5554) connected
  4. cts_host > start --plan CTS -t android.example.cts.ExampleSecondaryTest#testZorch
  5. (repeat this about an hour)
  6.  
  7. ..and this happens:
  8.  
  9. 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
  10. 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
  11. ============================================================== Test package: android.example
  12. 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
  13.  
  14. Can be any test case for example same loop for android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly results same error:
  15.  
  16. 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
  17. 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
  18. ============================================================== Test package: android.sax CTS_ERROR >>> Installing met timeout due to Unknown reason. Time: 130.3s
  19.  
  20. #!/bin/bash
  21. while [ true ]; do
  22. ./startcts start --plan CTS -t android.example.cts.ExampleSecondaryTest#testZorch
  23. done;
  24.  
  25. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.Contacts_OrganizationsTest
  26.  
  27. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.MediaStore_Audio_MediaTest
  28.  
  29. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.BrowserTest
  30.  
  31. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.ContactsContract_DataTest
  32.  
  33. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.provider.cts.UserDictionary_WordsTest
  34.  
  35. CTS_DEBUG >>> 1309508649902 searchTest(): testName=android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly,caseFullName=android.sax.cts.ElementTest
  36. start test android.sax.cts.ElementTest#testAndroidTestCaseSetupProperly
  37.  
  38. CTS_DEBUG >>> 1309508649911 Start a test session.
  39. ==============================================================
  40. Test package: android.sax
  41.  
  42. CTS_DEBUG >>> 1309508649911 installAPK /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk ...
  43.  
  44. CTS_DEBUG >>> 1309508649911 adb -s emulator-5554 install -r /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk
  45.  
  46. CTS_DEBUG >>> 1309508649911 start(), action=install,mTimer=java.util.Timer@19106c7,timeout=120000
  47.  
  48. CTS_DEBUG >>> 1309508649931 Enter waitPackageActionComplete()
  49.  
  50. CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554
  51.  
  52. CTS_ERROR >>> Failed to execute shell command am broadcast -a android.tests.util.disablekeyguard on device emulator-5554
  53. com.android.ddmlib.AdbCommandRejectedException: closed
  54.  
  55. CTS_DEBUG >>> 1309508649938 device emulator-5554 changed with changeMask=2
  56.  
  57. CTS_DEBUG >>> 1309508649938 Device state:ONLINE
  58.  
  59. CTS_DEBUG >>> 1309508650097 device emulator-5554 changed with changeMask=2
  60.  
  61. CTS_DEBUG >>> 1309508650097 Device state:ONLINE
  62.  
  63. CTS_DEBUG >>> 1309508650242 device emulator-5554 changed with changeMask=2
  64.  
  65. CTS_DEBUG >>> 1309508650242 Device state:ONLINE
  66.  
  67. CTS_DEBUG >>> 1309508769918 PackageActionTimeoutTask.run(): mAction=install
  68.  
  69. CTS_DEBUG >>> 1309508769918 ObjectSync.sendNotify() is called, mNotifySent=false
  70.  
  71. CTS_DEBUG >>> 1309508769918 TestPackage.notifyInstallingTimeout() is called
  72.  
  73. CTS_ERROR >>> Installing met timeout due to Unknown reason.
  74.  
  75. CTS_ERROR >>> Installing met timeout due to Unknown reason.
  76.  
  77. CTS_DEBUG >>> 1309508779918 Leave waitPackageActionComplete()
  78.  
  79. CTS_DEBUG >>> 1309508779918 installAPK /home/digia/android-cts//tools/../repository/testcases/CtsSaxTestCases.apk finish
  80. Time: 130.12s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement