-
-
Save automation311/5b21ee5859fd74440b871eb2393a13f9 to your computer and use it in GitHub Desktop.
new log with chromedriverlog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.7.1 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"showChromedriverLog":"true","browserName":"chrome","platformName":"Android","version":"6.0.0","deviceName":"my phone","platform":"ANDROID"},"requiredCapabilities":{},"capabilities":{"desiredCapabilities":{"showChromedriverLog":"true","browserName":"chrome","platformName":"Android","version":"6.0.0","deviceName":"my phone","platform":"ANDROID"},"requiredCapabilities":{},"alwaysMatch":{"platformName":"Android"},"firstMatch":[{"browserName":"chrome"}]}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"showChromedriverLog":"true","browserName":"chrome","platformName":"Android","version":"6.0.0","deviceName":"my phone","platform":"ANDROID"},{},{"desiredCapabilities":{"showChromedriverLog":"true","browserName":"chrome","platformName":"Android","version":"6.0.0","deviceName":"my phone","platform":"ANDROID"},"requiredCapabilities":{},"alwaysMatch":{"platformName":"Android"},"firstMatch":[{"browserName":"chrome"}]}] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1510176871777 (15:34:31 GMT-0600 (Central Standard Time)) | |
[Appium] Creating new AndroidDriver (v1.28.1) session | |
[Appium] Capabilities: | |
[Appium] showChromedriverLog: 'true' | |
[Appium] browserName: 'chrome' | |
[Appium] platformName: 'Android' | |
[Appium] version: '6.0.0' | |
[Appium] deviceName: 'my phone' | |
[Appium] platform: 'ANDROID' | |
[BaseDriver] Capability 'showChromedriverLog' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform. | |
[BaseDriver] Session created with session id: 1503a7ea-7cc1-4377-ad14-55883f6068cc | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.7.0_80 | |
[AndroidDriver] We're going to run a Chrome-based session | |
[AndroidDriver] Chrome-type package and activity are com.android.chrome and com.google.android.apps.chrome.Main | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Using device: axxxxxxx | |
[ADB] Checking whether adb is present | |
[ADB] Using adb.exe from C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe | |
[debug] [ADB] Setting device id to axxxxxxx | |
[AndroidDriver] App file was not listed, instead we're going to run com.android.chrome directly on the device | |
[debug] [AndroidDriver] Checking whether package is present on the device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","pm","list","packages","com.android.chrome"] | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings' | |
[debug] [ADB] Uninstalling io.appium.settings | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","pm","list","packages","io.appium.settings"] | |
[Logcat] Logcat terminated with code 0, signal null | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","pm","list","packages","io.appium.settings"] | |
[ADB] Error: Error finding if app is installed. Original error: Error executing adbExec. Original error: 'Command ''C:\\Program Files (x86)\\Android\\android-sdk\\platform-tools\\adb.exe' -P 5037 -s axxxxxxx shell pm list packages io.appium.settings' exited with code 1'; Stderr: 'error: device 'axxxxxxx' not found'; Code: '1' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:28:9) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
Error: Error finding if app is installed. Original error: Error executing adbExec. Original error: 'Command ''C:\\Program Files (x86)\\Android\\android-sdk\\platform-tools\\adb.exe' -P 5037 -s axxxxxxx shell pm list packages io.appium.settings' exited with code 1'; Stderr: 'error: device 'axxxxxxx' not found'; Code: '1' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/apk-utils.js:28:9) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
[AndroidDriver] Ignored error while installing Appium Settings helper: 'Error finding if app is installed. Original error: Error executing adbExec. Original error: 'Command ''C:\\Program Files (x86)\\Android\\android-sdk\\platform-tools\\adb.exe' -P 5037 -s axxxxxxx shell pm list packages io.appium.settings' exited with code 1'; Stderr: 'error: device 'axxxxxxx' not found'; Code: '1''. Expect some Appium features may not work as expected unless this problem is fixed. | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 0 device(s) connected | |
[ADB] Error: Error getting device API level. Original error: No device connected, cannot run adb shell command 'getprop ro.build.version.sdk' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:58:11) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
Error: Error getting device API level. Original error: No device connected, cannot run adb shell command 'getprop ro.build.version.sdk' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:58:11) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 0 device(s) connected | |
[ADB] Error: Error finding if process exists. Original error: cmd.join is not a function | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:822:9) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
Error: Error finding if process exists. Original error: cmd.join is not a function | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:822:9) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
[AndroidDriver] Failed to launch settings app: Error finding if process exists. Original error: cmd.join is not a function | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 0 device(s) connected | |
[ADB] Error: Error getting device API level. Original error: No device connected, cannot run adb shell command 'getprop ro.build.version.sdk' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:58:11) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
Error: Error getting device API level. Original error: No device connected, cannot run adb shell command 'getprop ro.build.version.sdk' | |
at Object.wrappedLogger.errorAndThrow (../../lib/logging.js:63:13) | |
at ADB.callee$0$0$ (../../../lib/tools/adb-commands.js:58:11) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
at process._tickCallback (internal/process/next_tick.js:188:7) | |
[AndroidDriver] Unable to set mock location for app 'io.appium.settings': Error getting device API level. Original error: No device connected, cannot run adb shell command 'getprop ro.build.version.sdk' | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","install","C:\\Users\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","install","C:\\Users\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Current device property 'ro.build.version.release': 6.0.1 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': SM-G930V | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[AndroidDriver] No app sent in, not parsing package/activity | |
[debug] [AndroidDriver] No app capability. Assuming it is already on the device | |
[debug] [AndroidDriver] Running fast reset (stop and clear) | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","am","force-stop","com.android.chrome"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","pm","clear","com.android.chrome"] | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","forward","tcp:4724","tcp:4724"] | |
[debug] [UiAutomator] Starting UiAutomator | |
[debug] [UiAutomator] Moving to state 'starting' | |
[debug] [UiAutomator] Parsing uiautomator jar | |
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","push","C:\\Users\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-bootstrap\\bootstrap\\bin\\AppiumBootstrap.jar","/data/local/tmp/"] | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","axxxxxxx","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.android.chrome","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] | |
[debug] [UiAutomator] Moving to state 'online' | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[debug] [ADB] Getting connected devices... | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","dumpsys","window"] | |
[debug] [AndroidDriver] Screen is locked, trying to unlock | |
[AndroidDriver] Using app unlock, this is going to be deprecated! | |
[AndroidDriver] Unlocking screen | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","am","force-stop","io.appium.unlock"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 23 | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","am","start","-W","-n","io.appium.unlock/.Unlock","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","am","start","-W","-n","io.appium.unlock/.Unlock","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","dumpsys","window"] | |
[debug] [AndroidDriver] Screen unlocked successfully | |
[AndroidDriver] Starting a chrome-based browser session | |
[debug] [AndroidDriver] A port was not given, using random port: 8000 | |
[debug] [Chromedriver] Changed state to 'starting' | |
[Chromedriver] Set chromedriver binary as: C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe | |
[debug] [Chromedriver] Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"8000 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a)) | |
[Chromedriver] No old chromedrivers seemed to exist | |
[debug] [Chromedriver] Cleaning any old adb forwarded port socket connections | |
[debug] [ADB] List forwarding ports | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","forward","--list"] | |
[Chromedriver] Spawning chromedriver with: C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose | |
[debug] [Chromedriver] [STDOUT] Starting ChromeDriver 2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41) on port 8000 | |
Only local connections are allowed. | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body | |
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0.15063\"}}}" | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"axxxxxxx"}}} | |
[Chromedriver] [STDERR] [0.033][INFO]: COMMAND InitSession { | |
"desiredCapabilities": { | |
"chromeOptions": { | |
"androidDeviceSerial": "axxxxxxx", | |
"androidPackage": "com.android.chrome" | |
} | |
} | |
} | |
[Chromedriver] [STDERR] [0.033][DEBUG]: Sending adb command: host:devices | |
[0.034][DEBUG]: Received adb response: axxxxxxx device | |
[0.034][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:pm path com.android.chrome | |
[Chromedriver] [STDERR] [0.474][DEBUG]: Received adb response: package:/data/app/com.android.chrome-2/base.apk | |
[Chromedriver] [STDERR] [0.474][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:am set-debug-app --persistent com.android.chrome | |
[Chromedriver] [STDERR] [1.147][DEBUG]: Received adb response: | |
[Chromedriver] [STDERR] [1.147][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:pm clear com.android.chrome | |
[Chromedriver] [STDERR] [1.764][DEBUG]: Received adb response: Success | |
[Chromedriver] [STDERR] [1.764][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:echo "chrome --disable-fre --disable-popup-blocking --enable-automation --enable-remote-debugging --ignore-certificate-errors --metrics-recording-only" > /data/local/chrome-command-line; echo $? | |
[Chromedriver] [STDERR] [1.777][DEBUG]: Received adb response: /system/bin/sh: can't create /data/local/chrome-command-line: Permission denied | |
1 | |
[Chromedriver] [STDERR] [1.786][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:echo "chrome --disable-fre --disable-popup-blocking --enable-automation --enable-remote-debugging --ignore-certificate-errors --metrics-recording-only" > /data/local/tmp/chrome-command-line; echo $? | |
[Chromedriver] [STDERR] [1.796][DEBUG]: Received adb response: 0 | |
[Chromedriver] [STDERR] [1.796][DEBUG]: Sending adb command: host:transport:axxxxxxx|shell:am start -W -n com.android.chrome/com.google.android.apps.chrome.Main -d data:, | |
[Chromedriver] [STDERR] [3.178][DEBUG]: Received adb response: Starting: Intent { dat=data:, cmp=com.android.chrome/com.google.android.apps.chrome.Main VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} } | |
Status: ok | |
Activity: com.android.chrome/org.chromium.chrome.browser.ChromeTabbedActivity | |
ThisTime: 391 | |
TotalTime: 668 | |
WaitTime: 712 | |
Complete | |
[3.178][DEBUG]: Sending adb command: host-serial:axxxxxxx:forward:tcp:12754;localabstract:chrome_devtools_remote | |
[Chromedriver] [STDERR] [3.179][DEBUG]: DevTools request: http://localhost:12754/json/version | |
[Chromedriver] [STDERR] [3.491][DEBUG]: DevTools response: { | |
"Android-Package": "com.android.chrome", | |
"Browser": "Chrome/61.0.3163.98", | |
"Protocol-Version": "1.2", | |
"User-Agent": "Mozilla/5.0 (Linux; Android 6.0.1; SM-G930V Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36", | |
"V8-Version": "6.1.534.39", | |
"WebKit-Version": "537.36 (@76cc846b87194b6def876c7697854207ab0948c9)" | |
} | |
[Chromedriver] [STDERR] [3.491][DEBUG]: DevTools request: http://localhost:12754/json | |
[Chromedriver] [STDERR] [3.496][DEBUG]: DevTools response: [ { | |
"description": "", | |
"devtoolsFrontendUrl": "http://chrome-devtools-frontend.appspot.com/serve_rev/@76cc846b87194b6def876c7697854207ab0948c9/inspector.html?ws=localhost:12754/devtools/page/0", | |
"id": "0", | |
"title": "data:,", | |
"type": "page", | |
"url": "data:,", | |
"webSocketDebuggerUrl": "ws://localhost:12754/devtools/page/0" | |
} ] | |
[Chromedriver] [STDERR] [3.496][DEBUG]: DevTools request: http://localhost:12754/json | |
[Chromedriver] [STDERR] [3.504][DEBUG]: DevTools response: [ { | |
"description": "", | |
"devtoolsFrontendUrl": "http://chrome-devtools-frontend.appspot.com/serve_rev/@76cc846b87194b6def876c7697854207ab0948c9/inspector.html?ws=localhost:12754/devtools/page/0", | |
"id": "0", | |
"title": "data:,", | |
"type": "page", | |
"url": "data:,", | |
"webSocketDebuggerUrl": "ws://localhost:12754/devtools/page/0" | |
} ] | |
[Chromedriver] [STDERR] [3.510][INFO]: resolved localhost to ["::1","127.0.0.1"] | |
[Chromedriver] [STDERR] [4.520][DEBUG]: DEVTOOLS COMMAND Log.enable (id=1) { | |
} | |
[Chromedriver] [STDERR] [4.520][DEBUG]: DEVTOOLS COMMAND DOM.getDocument (id=2) { | |
} | |
[4.520][DEBUG]: DEVTOOLS COMMAND Runtime.enable (id=3) { | |
} | |
[4.520][DEBUG]: DEVTOOLS COMMAND Page.enable (id=4) { | |
} | |
[4.521][DEBUG]: DEVTOOLS COMMAND Page.enable (id=5) { | |
} | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"axxxxxxx"}}} | |
[Chromedriver] [STDERR] [240.240][INFO]: COMMAND InitSession { | |
"desiredCapabilities": { | |
"chromeOptions": { | |
"androidDeviceSerial": "axxxxxxx", | |
"androidPackage": "com.android.chrome" | |
} | |
} | |
} | |
[Chromedriver] [STDERR] [240.240][DEBUG]: Sending adb command: host:devices | |
[Chromedriver] [STDERR] [240.241][DEBUG]: Received adb response: axxxxxxx device | |
[Chromedriver] [STDERR] [240.241][INFO]: RESPONSE InitSession unknown error: Device axxxxxxx is already in use | |
[240.241][DEBUG]: Log type 'driver' lost 0 entries on destruction | |
[240.241][DEBUG]: Log type 'browser' lost 0 entries on destruction | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"637f7b70f81c1515ede774a7a6b53bab","status":13,"value":{"message":"unknown error: Device axxxxxxx is already in use\n (Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64)"}} | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"axxxxxxx"}}} | |
[Chromedriver] [STDERR] [240.446][INFO]: COMMAND InitSession { | |
"desiredCapabilities": { | |
"chromeOptions": { | |
"androidDeviceSerial": "axxxxxxx", | |
"androidPackage": "com.android.chrome" | |
} | |
} | |
} | |
[Chromedriver] [STDERR] [240.446][DEBUG]: Sending adb command: host:devices | |
[Chromedriver] [STDERR] [240.446][DEBUG]: Received adb response: axxxxxxx device | |
[240.447][INFO]: RESPONSE InitSession unknown error: Device axxxxxxx is already in use | |
[240.447][DEBUG]: Log type 'driver' lost 0 entries on destruction | |
[240.447][DEBUG]: Log type 'browser' lost 0 entries on destruction | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"d00fdc0e1c8e01993b63e2d64541f84f","status":13,"value":{"message":"unknown error: Device axxxxxxx is already in use\n (Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64)"}} | |
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.chrome","androidDeviceSerial":"axxxxxxx"}}} | |
[Chromedriver] [STDERR] [240.659][INFO]: COMMAND InitSession { | |
"desiredCapabilities": { | |
"chromeOptions": { | |
"androidDeviceSerial": "axxxxxxx", | |
"androidPackage": "com.android.chrome" | |
} | |
} | |
} | |
[Chromedriver] [STDERR] [240.659][DEBUG]: Sending adb command: host:devices | |
[240.660][DEBUG]: Received adb response: axxxxxxx device | |
[240.660][INFO]: RESPONSE InitSession unknown error: Device axxxxxxx is already in use | |
[240.660][DEBUG]: Log type 'driver' lost 0 entries on destruction | |
[240.660][DEBUG]: Log type 'browser' lost 0 entries on destruction | |
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"3e31dd69b77ae53063591e063d65f6d1","status":13,"value":{"message":"unknown error: Device axxxxxxx is already in use\n (Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64)"}} | |
[Chromedriver] Chromedriver exited unexpectedly with code null, signal SIGTERM | |
[debug] [Chromedriver] Changed state to 'stopped' | |
[Chromedriver] Error: unknown error: Device axxxxxxx is already in use | |
(Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64) | |
at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:197:15) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
Error: unknown error: Device axxxxxxx is already in use | |
(Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64) | |
at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:197:15) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
[debug] [AndroidDriver] Shutting down Android driver | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","input","keyevent",3] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [UiAutomator] Shutting down UiAutomator | |
[debug] [UiAutomator] Moving to state 'stopping' | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream= | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Time: 246.553 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test) | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
[debug] [UiAutomator] UiAutomator shut down normally | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [Logcat] Logcat already stopped | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxxx","shell","am","force-stop","io.appium.unlock"] | |
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted. | |
[MJSONWP] Encountered internal error running command: Error: unknown error: Device axxxxxxx is already in use | |
(Driver info: chromedriver=2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41),platform=Windows NT 10.0.15063 x86_64) | |
at Chromedriver.callee$2$0$ (../../lib/chromedriver.js:197:15) | |
at tryCatch (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
at <anonymous> | |
[HTTP] <-- POST /wd/hub/session 500 283507 ms - 309 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment