Advertisement
Guest User

Untitled

a guest
Oct 10th, 2014
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.10 KB | None | 0 0
  1. info: --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"chrome","appium-version":"1.0","platformName":"Android","platformVersion":"4.4.4","deviceName":"Xperia Z","udid":"0482067d5fXXXXX","count":1}}
  2. info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : appium-version, count
  3. info: Set mode: Proxying straight through to Chromedriver
  4. info: [debug] Looks like we want chrome on android
  5. info: [debug] Creating new appium session eec8a96d-ed2a-4e80-995e-6950bc59b1b1
  6. info: [debug] Preparing device for session
  7. info: [debug] Not checking whether app is present since we are assuming it's already on the device
  8. info: [debug] Checking whether adb is present
  9. info: [debug] Using adb from C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe
  10. info: Retrieving device
  11. info: [debug] Trying to find a connected android device
  12. info: [debug] Getting connected devices...
  13. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" devices
  14. info: [debug] 1 device(s) connected
  15. info: Found device 0482067d5fXXXXX
  16. info: [debug] Setting device id to 0482067d5fXXXXX
  17. info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
  18. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX wait-for-device
  19. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX shell "echo 'ready'"
  20. info: [debug] Starting logcat capture
  21. info: [debug] Pushing unlock helper app to device...
  22. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX install "C:\Users\mo6ba4\AppData\Roaming\npm\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
  23. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX shell "dumpsys window"
  24. info: [debug] Writing dumpsys output to C:\Users\mo6ba4\AppData\Roaming\npm\node_modules\appium\.dumpsys.log
  25. info: [debug] Screen already unlocked, continuing.
  26. info: [debug] Forwarding system:4724 to device:4724
  27. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX forward tcp:4724 tcp:4724
  28. info: [debug] Pushing appium bootstrap to device...
  29. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX push "C:\\Users\\mo6ba4\\AppData\\Roaming\\npm\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
  30. info: Starting App
  31. info: [debug] Attempting to kill all 'uiautomator' processes
  32. info: [debug] Getting all processes with 'uiautomator'
  33. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX shell "ps 'uiautomator'"
  34. info: [debug] No matching processes found
  35. info: [debug] Running bootstrap
  36. info: [debug] spawning: C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe -s 0482067d5fXXXXX shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap
  37. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
  38. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
  39. info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
  40. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
  41. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
  42. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
  43. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
  44. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
  45. info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
  46. info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
  47. info: [debug] [BOOTSTRAP] [debug] Loading json...
  48. info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
  49. info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
  50. info: [debug] [BOOTSTRAP] [debug] Client connected
  51. info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
  52. info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
  53. info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
  54. info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"\/data\/local\/tmp","status":0}
  55. info: [debug] dataDir set to: /data/local/tmp
  56. info: [debug] Creating Chrome session
  57. info: [debug] Set chromedriver binary as: C:\Users\mo6ba4\AppData\Roaming\npm\node_modules\appium\build\chromedriver\windows\chromedriver.exe
  58. info: [debug] Ensuring Chromedriver exists
  59. info: [debug] Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"9515 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %b))
  60. info: [debug] No old chromedrivers seemed to exist
  61. info: [debug] Spawning chromedriver with: C:\Users\mo6ba4\AppData\Roaming\npm\node_modules\appium\build\chromedriver\windows\chromedriver.exe
  62. info: [debug] [CHROMEDRIVER] Starting ChromeDriver (v2.10.267521) on port 9515
  63. Only local connections are allowed.
  64. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"0482067d5fXXXXX"}}}}
  65. info: [debug] Successfully started chrome session 9c4c76e1bdc1d4de5a3449e9b11d8a9c
  66. info: [debug] Overriding session id with "9c4c76e1bdc1d4de5a3449e9b11d8a9c"
  67. info: [debug] Device launched! Ready for commands
  68. info: [debug] Setting command timeout to the default of 60 secs
  69. info: [debug] Appium session started with sessionId 9c4c76e1bdc1d4de5a3449e9b11d8a9c
  70. info: <-- POST /wd/hub/session 303 11732.464 ms - 9
  71. info: --> GET /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c {}
  72. info: [debug] Proxying command to 127.0.0.1:9515
  73. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c","method":"GET"}
  74. info: [debug] Proxied response received with status 200: "{\"sessionId\":\"9c4c76e1bdc1d4de5a3449e9b11d8a9c\",\"status\":0,\"value\":{\"acceptSslCerts\":true,\"applicationCacheEnabled\":false,\"browserConnectionEnabled\":false,\"browserName\":\"chrome\",\"chrome\":{},\"cssSelectorsEnabled\":true,\"databaseEnabled\":false,\"handlesAlerts\":true,\"javascriptEnabled\":true,\"locationContextEnabled\":true,\"nativeEvents\":true,\"platform\":\"ANDROID\",\"rotatable\":false,\"takesHeapSnapshot\":true,\"takesScreenshot\":true,\"version\":\"37.0.2062.117\",\"webStorageEnabled\":true}}"
  75. info: <-- GET /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c 200 3.335 ms - 476
  76. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/timeouts/async_script {"ms":61000}
  77. info: [debug] Proxying command to 127.0.0.1:9515
  78. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/timeouts/async_script","method":"POST","json":{"ms":61000}}
  79. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":null}
  80. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/timeouts/async_script 200 3.650 ms - 72
  81. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/url {"url":"data:text/html,<html></html>"}
  82. info: [debug] Proxying command to 127.0.0.1:9515
  83. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/url","method":"POST","json":{"url":"data:text/html,<html></html>"}}
  84. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":null}
  85. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/url 200 279.854 ms - 72
  86. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute {"script":"window.name = \"NG_DEFER_BOOTSTRAP!\" + window.name;window.location.replace(\"http://my.website.com:9000/app/index.html\");","args":[]}
  87. info: [debug] Proxying command to 127.0.0.1:9515
  88. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute","method":"POST","json":{"script":"window.name = \"NG_DEFER_BOOTSTRAP!\" + window.name;window.location.replace(\"http://my.website.com:9000/app/index.html\");","args":[]}}
  89. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":null}
  90. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute 200 4684.740 ms - 72
  91. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute {"script":"return window.location.href;","args":[]}
  92. info: [debug] Proxying command to 127.0.0.1:9515
  93. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute","method":"POST","json":{"script":"return window.location.href;","args":[]}}
  94. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":"http://my.website.com:9000/app/index.html"}
  95. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute 200 23.030 ms - 109
  96. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async {"script":"try { return (function (attempts, asyncCallback) {\n var callback = function(args) {\n setTimeout(function() {\n asyncCallback(args);\n }, 0);\n };\n var check = function(n) {\n try {\n if (window.angular && window.angular.resumeBootstrap) {\n callback([true, null]);\n } else if (n < 1) {\n if (window.angular) {\n callback([false, 'angular never provided resumeBootstrap']);\n } else {\n callback([false, 'retries looking for angular exceeded']);\n }\n } else {\n window.setTimeout(function() {check(n - 1);}, 1000);\n
  97. }\n } catch (e) {\n callback([false, e]);\n }\n };\n check(attempts);\n}).apply(this, arguments); }\ncatch(e) { throw (e instanceof Error) ? e : new Error(e); }","args":[30]}
  98. info: [debug] Proxying command to 127.0.0.1:9515
  99. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async","method":"POST","json":{"script":"try { return (function (attempts, asyncCallback) {\n var callback = function(args) {\n setTimeout(function() {\n asyncCallback(args);\n }, 0);\n };\n var check = function(n) {\n try {\n if (window.angular && window.angular.resumeBootstrap) {\n callback([true, null]);\n } else if (n < 1) {\n if (window.angular) {\n callback([false, 'angular never provided resumeBootstrap']);\n } else {\n callback([false, 'retries looking for angular exceeded']);\n
  100. }\n } else {\n window.setTimeout(function() {check(n - 1);}, 1000);\n }\n } catch (e) {\n callback([false, e]);\n }\n };\n check(attempts);\n}).apply(this, arguments); }\ncatch(e) { throw (e instanceof Error) ? e : new Error(e); }","args":[30]}}
  101. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":[true,null]}
  102. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async 200 109.826 ms - 79
  103. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute {"script":"return (function () {\n angular.module('protractorBaseModule_', []).\n config(['$compileProvider', function($compileProvider) {\n
  104. if ($compileProvider.debugInfoEnabled) {\n $compileProvider.debugInfoEnabled(true);\n }\n
  105. }]);\n }).apply(null, arguments);","args":[]}
  106. info: [debug] Proxying command to 127.0.0.1:9515
  107. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute","method":"POST","json":{"script":"return (function () {\n angular.module('protractorBaseModule_', []).\n config(['$compileProvider', function($compileProvider) {\n if ($compileProvider.debugInfoEnabled) {\n $compileProvider.debugInfoEnabled(true);\n }\n }]);\n }).apply(null, arguments);","args":[]}}
  108. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":null}
  109. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute 200 18.411 ms - 72
  110. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute {"script":"angular.resumeBootstrap(arguments[0]);","args":[["protractorBaseModule_"]]}
  111. info: [debug] Proxying command to 127.0.0.1:9515
  112. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute","method":"POST","json":{"script":"angular.resumeBootstrap(arguments[0]);","args":[["protractorBaseModule_"]]}}
  113. info: [debug] Proxied response received with status 200: {"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c","status":0,"value":null}
  114. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute 200 1573.851 ms - 72
  115. info: --> POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async {"script":"try { return (function (selector, callback) {\n var el = document.querySelector(selector);\n try {\n if (angular.getTestability) {\n
  116. angular.getTestability(el).whenStable(callback);\n } else {\n angular.element(el).injector().get('$browser').\n notifyWhenNoOutstandingRequests(callback);\n }\n } catch (e) {\n callback(e);\n }\n}).apply(this, arguments); }\ncatch(e) { throw (e instanceof Error) ? e : new Error(e); }","args":["body"]}
  117. info: [debug] Proxying command to 127.0.0.1:9515
  118. info: [debug] Making http request with opts: {"url":"http://127.0.0.1:9515/wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async","method":"POST","json":{"script":"try { return (function (selector, callback) {\n var el = document.querySelector(selector);\n try {\n if (angular.getTestability) {\n angular.getTestability(el).whenStable(callback);\n } else {\n angular.element(el).injector().get('$browser').\n notifyWhenNoOutstandingRequests(callback);\n }\n } catch (e) {\n callback(e);\n }\n}).apply(this, arguments); }\ncatch(e) { throw (e instanceof Error) ? e : new Error(e); }","args":["body"]}}
  119. info: [debug] Didn't get a new command in 60 secs, shutting down...
  120. info: Shutting down appium session
  121. info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
  122. info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
  123. info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting down","status":0}
  124. info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
  125. info: [debug] [BOOTSTRAP] [debug] Closed client connection
  126. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
  127. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
  128. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
  129. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
  130. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
  131. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
  132. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
  133. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
  134. info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
  135. info: [debug] [UIAUTOMATOR STDOUT] Time: 73.673
  136. info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
  137. info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
  138. info: [debug] UiAutomator shut down normally
  139. info: [debug] Killing chromedriver
  140. info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"Did not successfully proxy server command"},"sessionId":"9c4c76e1bdc1d4de5a3449e9b11d8a9c"}
  141. info: <-- POST /wd/hub/session/9c4c76e1bdc1d4de5a3449e9b11d8a9c/execute_async 500 60095.160 ms - 206
  142. info: [debug] Chromedriver exited with code null
  143. info: [debug] (killed by signal SIGTERM)
  144. info: [debug] executing: "C:\myusername\Schulung\2014-05-Android-Grundlagen\adt-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe" -s 0482067d5fXXXXX shell "am force-stop com.android.chrome"
  145. info: [debug] Stopping logcat capture
  146. info: [debug] Logcat terminated with code null, signal SIGTERM
  147. info: [debug] Cleaning up appium session
  148. info: [debug] We shut down because no new commands came in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement