Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.92 KB | None | 0 0
  1. ./node_modules/.bin/gulp transpile && ./node_modules/.bin/mocha --compilers js:babel-core/register -t 0 test/functional/driver-e2e-specs.js
  2. [08:43:15] Using gulpfile ~/Sauce/appium-android-driver/gulpfile.js
  3. [08:43:16] Starting 'transpile'...
  4. [08:43:30] Finished 'transpile' after 15 s
  5.  
  6.  
  7. createSession
  8. dbug AndroidDriver AndroidDriver version: 1.10.39
  9. WARN BaseDriver The following capabilities were provided, but are not recognized by appium: unlockType, unlockKey.
  10. info BaseDriver Session created with session id: 9d026d3f-7402-4335-a28e-6f030a80770f
  11. dbug AndroidDriver Getting Java version
  12. info AndroidDriver Java version is: 1.8.0_102
  13. info ADB Checking whether adb is present
  14. info ADB Using adb from /Users/vruno/Library/Android/sdk/platform-tools/adb
  15. dbug ADB Trying to find Nexus_S_API_24 emulator
  16. dbug ADB Getting connected emulators
  17. dbug ADB Getting connected devices...
  18. dbug ADB 1 device(s) connected
  19. dbug ADB 1 emulator(s) connected
  20. dbug ADB Sending telnet command to device: avd name
  21. dbug ADB Getting running emulator port
  22. dbug ADB Socket connection to device created
  23. dbug ADB Socket connection to device ready
  24. dbug ADB Telnet command got response: Nexus_S_API_24
  25. dbug ADB Found emulator Nexus_S_API_24 in port 5554
  26. dbug ADB Setting device id to emulator-5554
  27. dbug AndroidDriver Not launching AVD because it is already running.
  28. info AndroidDriver Using device: emulator-5554
  29. info ADB Checking whether adb is present
  30. info ADB Using adb from /Users/vruno/Library/Android/sdk/platform-tools/adb
  31. dbug ADB Setting device id to emulator-5554
  32. info BaseDriver Using local app '/Users/vruno/Sauce/appium-android-driver/node_modules/android-apidemos/bin/ApiDemos-debug.apk'
  33. dbug AndroidDriver Checking whether app is actually present
  34. info AndroidDriver Starting Android session
  35. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","wait-for-device"]
  36. dbug ADB Getting connected devices...
  37. dbug ADB 1 device(s) connected
  38. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","echo","ping"]
  39. dbug Logcat Starting logcat capture
  40. dbug AndroidDriver Pushing settings apk to device...
  41. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","install","/Users/vruno/Sauce/appium-android-driver/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
  42. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","install","/Users/vruno/Sauce/appium-android-driver/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
  43. dbug ADB Application '/Users/vruno/Sauce/appium-android-driver/node_modules/io.appium.settings/bin/settings_apk-debug.apk' already installed. Continuing.
  44. dbug AndroidDriver Pushing unlock helper app to device...
  45. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","install","/Users/vruno/Sauce/appium-android-driver/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
  46. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","install","/Users/vruno/Sauce/appium-android-driver/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
  47. dbug ADB Application '/Users/vruno/Sauce/appium-android-driver/node_modules/appium-unlock/bin/unlock_apk-debug.apk' already installed. Continuing.
  48. info ADB Getting device platform version
  49. dbug ADB Getting connected devices...
  50. dbug ADB 1 device(s) connected
  51. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.release"]
  52. dbug AndroidDriver Parsing package and activity from app manifest
  53. info ADB Checking whether aapt is present
  54. info ADB Using aapt from /Users/vruno/Library/Android/sdk/build-tools/25.0.2/aapt
  55. info ADB Extracting package and launch activity from manifest
  56. dbug ADB badging package: io.appium.android.apis
  57. dbug ADB badging act: io.appium.android.apis.ApiDemos
  58. dbug AndroidDriver Parsed package and activity are: io.appium.android.apis/io.appium.android.apis.ApiDemos
  59. info AndroidDriver Remote apk path is /data/local/tmp/72bd97de5a345d61bde09aed56ec1b2d.apk
  60. dbug ADB Getting connected devices...
  61. dbug ADB 1 device(s) connected
  62. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ls","/data/local/tmp/72bd97de5a345d61bde09aed56ec1b2d.apk"]
  63. dbug AndroidDriver Checking if app is installed
  64. dbug ADB Getting install status for io.appium.android.apis
  65. dbug ADB Getting connected devices...
  66. dbug ADB 1 device(s) connected
  67. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","list","packages","io.appium.android.apis"]
  68. dbug ADB App is installed
  69. info AndroidDriver Apk is already on remote and installed, resetting
  70. dbug AndroidDriver Running fast reset (stop and clear)
  71. dbug ADB Getting connected devices...
  72. dbug ADB 1 device(s) connected
  73. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.android.apis"]
  74. dbug ADB Getting connected devices...
  75. dbug ADB 1 device(s) connected
  76. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","pm","clear","io.appium.android.apis"]
  77. dbug AndroidDriver Extracting strings from apk /Users/vruno/Sauce/appium-android-driver/node_modules/android-apidemos/bin/ApiDemos-debug.apk undefined /var/folders/bh/9q5834c17_b8t5_z1hhrv6k00000gn/T/io.appium.android.apis
  78. dbug ADB Extracting strings for language: default
  79. dbug ADB Getting connected devices...
  80. dbug ADB 1 device(s) connected
  81. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.build.version.sdk"]
  82. dbug ADB Device API level: 24
  83. dbug ADB Getting connected devices...
  84. dbug ADB 1 device(s) connected
  85. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","persist.sys.locale"]
  86. dbug ADB Current device property 'persist.sys.locale':
  87. dbug ADB Getting connected devices...
  88. dbug ADB 1 device(s) connected
  89. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","getprop","ro.product.locale"]
  90. dbug ADB Current device property 'ro.product.locale': en-US
  91. dbug ADB No strings.xml for language 'en', getting default strings.xml
  92. dbug ADB Reading strings from converted strings.json
  93. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","push","/var/folders/bh/9q5834c17_b8t5_z1hhrv6k00000gn/T/io.appium.android.apis/strings.json","/data/local/tmp"]
  94. dbug AndroidBootstrap Watching for bootstrap disconnect
  95. dbug ADB Forwarding system: 4724 to device: 4724
  96. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","forward","tcp:4724","tcp:4724"]
  97. dbug UiAutomator Starting UiAutomator
  98. dbug UiAutomator Moving to state 'starting'
  99. dbug UiAutomator Parsing uiautomator jar
  100. dbug UiAutomator Found jar name: 'AppiumBootstrap.jar'
  101. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","push","/Users/vruno/Sauce/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
  102. dbug ADB Attempting to kill all uiautomator processes
  103. dbug ADB Getting all processes with uiautomator
  104. dbug ADB Getting connected devices...
  105. dbug ADB 1 device(s) connected
  106. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ps"]
  107. info ADB No uiautomator process found to kill, continuing...
  108. dbug UiAutomator Starting UIAutomator
  109. dbug ADB Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","io.appium.android.apis","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
  110. dbug UiAutomator Moving to state 'online'
  111. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Loading json...
  112. info AndroidBootstrap [BOOTSTRAP LOG] [debug] json loading complete.
  113. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Registered crash watchers.
  114. info AndroidBootstrap Android bootstrap socket is now connected
  115. dbug ADB Getting connected devices...
  116. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Client connected
  117. dbug ADB 1 device(s) connected
  118. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window"]
  119. dbug ADB Device API level: 24
  120. dbug ADB Getting connected devices...
  121. dbug ADB 1 device(s) connected
  122. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","input_method"]
  123. dbug ADB Pressing the BACK button
  124. dbug ADB Getting connected devices...
  125. dbug ADB 1 device(s) connected
  126. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","input","keyevent",4]
  127. dbug AndroidBootstrap Emitting alert message...
  128. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Emitting system alert message
  129. dbug ADB Getting connected devices...
  130. dbug ADB 1 device(s) connected
  131. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","wm","dismiss-keyguard"]
  132. dbug AndroidDriver Screen is locked, trying to unlock
  133. info AndroidDriver Trying to unlock device using pattern 159874236
  134. dbug BaseDriver Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
  135. dbug BaseDriver Waiting up to 0 ms for condition
  136. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.systemui:id/lockPatternView","context":"","multiple":false}}
  137. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.systemui:id/lockPatternView","context":"","multiple":false}}
  138. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  139. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: find
  140. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Finding 'com.android.systemui:id/lockPatternView' using 'ID' with the contextId: '' multiple: false
  141. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.systemui:id/lockPatternView]
  142. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
  143. dbug AndroidBootstrap Received command result from bootstrap
  144. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  145. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  146. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  147. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  148. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  149. dbug AndroidBootstrap Received command result from bootstrap
  150. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  151. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  152. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  153. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  154. dbug AndroidBootstrap Received command result from bootstrap
  155. info AndroidDriver Key: 1 - Pos: {"x":102,"y":392}
  156. info AndroidDriver Key: 5 - Pos: {"x":240,"y":530}
  157. info AndroidDriver Key: 9 - Pos: {"x":377,"y":667}
  158. info AndroidDriver Key: 8 - Pos: {"x":240,"y":667}
  159. info AndroidDriver Key: 7 - Pos: {"x":102,"y":667}
  160. info AndroidDriver Key: 4 - Pos: {"x":102,"y":530}
  161. info AndroidDriver Key: 2 - Pos: {"x":240,"y":392}
  162. info AndroidDriver Key: 3 - Pos: {"x":377,"y":392}
  163. info AndroidDriver Key: 6 - Pos: {"x":377,"y":530}
  164. info AndroidDriver Actions ---> [{"action":"longPress","options":{"element":null,"x":102,"y":392}},{"action":"moveTo","options":{"element":"1","x":102,"y":392}},{"action":"moveTo","options":{"element":"1","x":240,"y":530}},{"action":"moveTo","options":{"element":"1","x":377,"y":667}},{"action":"moveTo","options":{"element":"1","x":240,"y":667}},{"action":"moveTo","options":{"element":"1","x":102,"y":667}},{"action":"moveTo","options":{"element":"1","x":102,"y":530}},{"action":"moveTo","options":{"element":"1","x":240,"y":392}},{"action":"moveTo","options":{"element":"1","x":377,"y":392}},{"action":"moveTo","options":{"element":"1","x":377,"y":530}}]
  165. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  166. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  167. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  168. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  169. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  170. dbug AndroidBootstrap Received command result from bootstrap
  171. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  172. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  173. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  174. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  175. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  176. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  177. dbug AndroidBootstrap Received command result from bootstrap
  178. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  179. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  180. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  181. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  182. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  183. dbug AndroidBootstrap Received command result from bootstrap
  184. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  185. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  186. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  187. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  188. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  189. dbug AndroidBootstrap Received command result from bootstrap
  190. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  191. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  192. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  193. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  194. dbug AndroidBootstrap Received command result from bootstrap
  195. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  196. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  197. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  198. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  199. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  200. dbug AndroidBootstrap Received command result from bootstrap
  201. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  202. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  203. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  204. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  205. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  206. dbug AndroidBootstrap Received command result from bootstrap
  207. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  208. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  209. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  210. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  211. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  212. dbug AndroidBootstrap Received command result from bootstrap
  213. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  214. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  215. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  216. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  217. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  218. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  219. dbug AndroidBootstrap Received command result from bootstrap
  220. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  221. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  222. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  223. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  224. dbug AndroidBootstrap Received command result from bootstrap
  225. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  226. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  227. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  228. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  229. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  230. dbug AndroidBootstrap Received command result from bootstrap
  231. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  232. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  233. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  234. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  235. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  236. dbug AndroidBootstrap Received command result from bootstrap
  237. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  238. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  239. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  240. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  241. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  242. dbug AndroidBootstrap Received command result from bootstrap
  243. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  244. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  245. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  246. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  247. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  248. dbug AndroidBootstrap Received command result from bootstrap
  249. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  250. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  251. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  252. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  253. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  254. dbug AndroidBootstrap Received command result from bootstrap
  255. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  256. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  257. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  258. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  259. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  260. dbug AndroidBootstrap Received command result from bootstrap
  261. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  262. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  263. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getLocation","params":{"elementId":"1"}}
  264. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  265. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getLocation
  266. dbug AndroidBootstrap Received command result from bootstrap
  267. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  268. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"x":33,"y":323}}
  269. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getSize","params":{"elementId":"1"}}
  270. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  271. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: getSize
  272. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"width":413,"height":413}}
  273. dbug AndroidBootstrap Received command result from bootstrap
  274. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchDown","params":{"x":102,"y":392}}
  275. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchDown","params":{"x":102,"y":392}}
  276. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  277. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchDown
  278. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Display bounds: [0,0][480,800]
  279. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchDown using element? false x: 102, y: 392
  280. dbug AndroidBootstrap Received command result from bootstrap
  281. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  282. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":715}}
  283. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":715}}
  284. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  285. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  286. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  287. dbug AndroidBootstrap Received command result from bootstrap
  288. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":853}}
  289. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  290. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":853}}
  291. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  292. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  293. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  294. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  295. dbug AndroidBootstrap Received command result from bootstrap
  296. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":990}}
  297. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":990}}
  298. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  299. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  300. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  301. dbug AndroidBootstrap Received command result from bootstrap
  302. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":990}}
  303. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  304. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":990}}
  305. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  306. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  307. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  308. dbug AndroidBootstrap Received command result from bootstrap
  309. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":990}}
  310. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  311. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":990}}
  312. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  313. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  314. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  315. dbug AndroidBootstrap Received command result from bootstrap
  316. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":853}}
  317. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  318. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":135,"y":853}}
  319. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  320. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  321. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  322. dbug AndroidBootstrap Received command result from bootstrap
  323. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":715}}
  324. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  325. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":273,"y":715}}
  326. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  327. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  328. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  329. dbug AndroidBootstrap Received command result from bootstrap
  330. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":715}}
  331. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  332. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":715}}
  333. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  334. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  335. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  336. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  337. dbug AndroidBootstrap Received command result from bootstrap
  338. dbug AndroidBootstrap Sending command to android: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":853}}
  339. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:touchMove","params":{"elementId":"1","x":410,"y":853}}
  340. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type ACTION
  341. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command action: touchMove
  342. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Performing TouchMove using element? true x: 239, y: 529
  343. dbug AndroidBootstrap Received command result from bootstrap
  344. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
  345. dbug ADB Getting connected devices...
  346. dbug ADB 1 device(s) connected
  347. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window"]
  348. dbug ADB Getting connected devices...
  349. dbug ADB 1 device(s) connected
  350. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","dumpsys","window"]
  351. dbug AndroidDriver Shutting down Android driver
  352. dbug ADB Getting connected devices...
  353. dbug ADB 1 device(s) connected
  354. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","am","force-stop","io.appium.android.apis"]
  355. dbug ADB Pressing the HOME button
  356. dbug ADB Getting connected devices...
  357. dbug ADB 1 device(s) connected
  358. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","input","keyevent",3]
  359. dbug AndroidBootstrap Sending command to android: {"cmd":"shutdown"}
  360. dbug AndroidBootstrap Received command result from bootstrap
  361. dbug UiAutomator Shutting down UiAutomator
  362. dbug UiAutomator Moving to state 'stopping'
  363. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
  364. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
  365. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
  366. info AndroidBootstrap [BOOTSTRAP LOG] [debug] Closed client connection
  367. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
  368. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
  369. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
  370. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
  371. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
  372. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1
  373. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
  374. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=
  375. dbug AndroidBootstrap [UIAUTO STDOUT] Test results for WatcherResultPrinter=.
  376. dbug AndroidBootstrap [UIAUTO STDOUT] Time: 12.906
  377. dbug AndroidBootstrap [UIAUTO STDOUT] OK (1 test)
  378. dbug AndroidBootstrap [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1
  379. dbug UiAutomator UiAutomator shut down normally
  380. dbug UiAutomator Moving to state 'stopped'
  381. dbug ADB Attempting to kill all uiautomator processes
  382. dbug ADB Getting all processes with uiautomator
  383. dbug ADB Getting connected devices...
  384. dbug ADB 1 device(s) connected
  385. dbug ADB Running '/Users/vruno/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","emulator-5554","shell","ps"]
  386. info ADB No uiautomator process found to kill, continuing...
  387. dbug UiAutomator Moving to state 'stopped'
  388. dbug Logcat Stopping logcat capture
  389. dbug AndroidDriver Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
  390. 1) should unlock the device using a PATTERN
  391. dbug AndroidDriver Shutting down Android driver
  392. dbug AndroidDriver Called deleteSession but bootstrap wasn't active
  393. dbug AndroidDriver Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
  394.  
  395.  
  396. 0 passing (20s)
  397. 1 failing
  398.  
  399. 1) createSession should unlock the device using a PATTERN:
  400. Error: Screen did not unlock successfully, retrying
  401. at Object.callee$2$0$ (lib/android-helpers.js:433:15)
  402. at tryCatch (node_modules/babel-runtime/regenerator/runtime.js:67:40)
  403. at GeneratorFunctionPrototype.invoke [as _invoke] (node_modules/babel-runtime/regenerator/runtime.js:315:22)
  404. at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (node_modules/babel-runtime/regenerator/runtime.js:100:21)
  405. at GeneratorFunctionPrototype.invoke (node_modules/babel-runtime/regenerator/runtime.js:136:37)
  406. at process._tickCallback (internal/process/next_tick.js:103:7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement