nareshkamboju

CFbench- UI-Autmator problem

Jul 18th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.04 KB | None | 0 0
  1. 2017-07-17 22:29:19,818 DEBUG RemoteFilerGetter: resource=<<Workload cfbench>'s armeabi APK>, version=None, remote_path=cfbench, local_path=/home/naresh/.workload_automation/dependencies/cfbench
  2. 2017-07-17 22:29:19,819 DEBUG android: /home/naresh/Downloads/tools/build-tools/android-4.4/aapt dump badging /home/naresh/.workload_automation/dependencies/cfbench/eu.chainfire.cfbench.apk
  3. 2017-07-17 22:29:19,823 DEBUG android: /home/naresh/Downloads/tools/build-tools/android-4.4/aapt dump badging /home/naresh/.workload_automation/dependencies/cfbench/eu.chainfire.cfbench.apk
  4. 2017-07-17 22:29:19,828 DEBUG ResourceResolver: Resource <<Workload cfbench>'s armeabi APK> found using <ResourceGetter filer_assets>:
  5. 2017-07-17 22:29:19,828 DEBUG ResourceResolver: /home/naresh/.workload_automation/dependencies/cfbench/eu.chainfire.cfbench.apk
  6. 2017-07-17 22:29:19,828 DEBUG android: /home/naresh/Downloads/tools/build-tools/android-4.4/aapt dump badging /home/naresh/.workload_automation/dependencies/cfbench/eu.chainfire.cfbench.apk
  7. 2017-07-17 22:29:19,833 DEBUG Cfbench: Found version '1.3' on host
  8. 2017-07-17 22:29:19,833 DEBUG Cfbench: check_apk is 'True' and a matching version is alread on the device, doing nothing
  9. 2017-07-17 22:29:19,833 DEBUG android: adb -s 192.168.1.7:5555 shell "am force-stop eu.chainfire.cfbench"
  10. 2017-07-17 22:29:20,310 DEBUG android: adb -s 192.168.1.7:5555 shell "pm clear eu.chainfire.cfbench"
  11. 2017-07-17 22:29:20,865 DEBUG android: adb -s 192.168.1.7:5555 shell "getprop"
  12. 2017-07-17 22:29:20,918 DEBUG android: adb -s 192.168.1.7:5555 shell "dumpsys package eu.chainfire.cfbench"
  13. 2017-07-17 22:29:20,989 DEBUG android: adb -s 192.168.1.7:5555 shell "pm grant eu.chainfire.cfbench android.permission.ACCESS_COARSE_LOCATION"
  14. 2017-07-17 22:29:21,459 DEBUG android: adb -s 192.168.1.7:5555 shell "dumpsys package eu.chainfire.cfbench"
  15. 2017-07-17 22:29:21,507 DEBUG android: adb -s 192.168.1.7:5555 shell "am start -W -n eu.chainfire.cfbench/.MainActivity"
  16. 2017-07-17 22:29:22,701 DEBUG Cfbench: Starting: Intent { cmp=eu.chainfire.cfbench/.MainActivity }
  17. 2017-07-17 22:29:22,701 DEBUG Cfbench: Status: ok
  18. 2017-07-17 22:29:22,701 DEBUG Cfbench: Activity: eu.chainfire.cfbench/.MainActivity
  19. 2017-07-17 22:29:22,701 DEBUG Cfbench: ThisTime: 605
  20. 2017-07-17 22:29:22,701 DEBUG Cfbench: TotalTime: 605
  21. 2017-07-17 22:29:22,701 DEBUG Cfbench: WaitTime: 614
  22. 2017-07-17 22:29:22,701 DEBUG Cfbench: Complete
  23. 2017-07-17 22:29:22,701 DEBUG Cfbench:
  24. 2017-07-17 22:29:22,702 DEBUG android: adb -s 192.168.1.7:5555 shell "am kill-all"
  25. 2017-07-17 22:29:23,148 DEBUG android: adb -s 192.168.1.7:5555 shell "logcat -c"
  26. 2017-07-17 22:29:23,196 INFO Runner: Executing
  27. 2017-07-17 22:29:23,196 DEBUG Runner: Running workload
  28. 2017-07-17 22:29:23,197 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/temp2_input'\\''' | su"
  29. 2017-07-17 22:29:23,249 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/temp1_input'\\''' | su"
  30. 2017-07-17 22:29:23,297 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy4_input'\\''' | su"
  31. 2017-07-17 22:29:23,346 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy3_input'\\''' | su"
  32. 2017-07-17 22:29:23,417 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy2_input'\\''' | su"
  33. 2017-07-17 22:29:23,479 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy1_input'\\''' | su"
  34. 2017-07-17 22:29:23,547 DEBUG android: adb -s 192.168.1.7:5555 shell "uiautomator runtest /sdcard/wa-working/com.arm.wlauto.uiauto.cfbench.jar -e workdir \"/sdcard/wa-working\" -c com.arm.wlauto.uiauto.cfbench.UiAutomation#runUiAutomation"
  35. 2017-07-17 22:32:05,401 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy1_input'\\''' | su"
  36. 2017-07-17 22:32:05,471 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy2_input'\\''' | su"
  37. 2017-07-17 22:32:05,552 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy3_input'\\''' | su"
  38. 2017-07-17 22:32:05,634 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/energy4_input'\\''' | su"
  39. 2017-07-17 22:32:05,747 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/temp1_input'\\''' | su"
  40. 2017-07-17 22:32:05,814 DEBUG android: adb -s 192.168.1.7:5555 shell "echo 'cat '\\''/sys/class/hwmon/hwmon0/temp2_input'\\''' | su"
  41. 2017-07-17 22:32:05,900 DEBUG android: adb -s 192.168.1.7:5555 shell "ls /"
  42. 2017-07-17 22:32:05,952 DEBUG android: adb -s 192.168.1.7:5555 shell "screencap -p /sdcard/wa-working/screen_capture.png"
  43. 2017-07-17 22:32:07,668 DEBUG android: adb -s 192.168.1.7:5555 pull '/sdcard/wa-working/screen_capture.png' 'run-11/cfbench_mp_eas_interactive_cfbench_2/error.png'
  44. 2017-07-17 22:32:09,606 DEBUG android: adb -s 192.168.1.7:5555 shell "rm -rf '/sdcard/wa-working/screen_capture.png'"
  45. 2017-07-17 22:32:10,647 DEBUG android: adb -s 192.168.1.7:5555 shell "uiautomator dump /sdcard/wa-working/screen_capture.xml"
  46. 2017-07-17 22:32:12,740 DEBUG android: adb -s 192.168.1.7:5555 pull '/sdcard/wa-working/screen_capture.xml' 'run-11/cfbench_mp_eas_interactive_cfbench_2/error.uix'
  47. 2017-07-17 22:32:14,220 DEBUG android: adb -s 192.168.1.7:5555 shell "rm -rf '/sdcard/wa-working/screen_capture.xml'"
  48. 2017-07-17 22:32:14,331 ERROR Runner: Error while running workload:
  49. 2017-07-17 22:32:14,331 ERROR Runner: Warning: This version of UI Automator is deprecated. New tests should be written using
  50. 2017-07-17 22:32:14,331 ERROR Runner: UI Automator 2.0 which is available as part of the Android Testing Support Library.
  51. 2017-07-17 22:32:14,331 ERROR Runner: See https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html
  52. 2017-07-17 22:32:14,331 ERROR Runner: for more details.
Add Comment
Please, Sign In to add comment