Skip to content

Instantly share code, notes, and snippets.

@automation311
Created November 9, 2017 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save automation311/f1c74802eb53d42171dbc6918e0fbb5a to your computer and use it in GitHub Desktop.
Save automation311/f1c74802eb53d42171dbc6918e0fbb5a to your computer and use it in GitHub Desktop.
log after chromedriver change
[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 1510251957333 (12:25:57 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: b3044363-7d9d-444a-b9f5-17ca802e788a
[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: axxxxxx
[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 axxxxxx
[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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is installed
[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","axxxxxx","shell","am","force-stop","io.appium.settings"]
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxx","uninstall","io.appium.settings"]
[Logcat] Logcat terminated with code 0, signal null
[debug] [ADB] ADB command output: Success
[ADB] io.appium.settings was successfully uninstalled
[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","axxxxxx","shell","pm","list","packages","io.appium.settings"]
[debug] [ADB] App is not installed
[debug] [ADB] App 'C:\Users\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing
[debug] [ADB] Running 'C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","axxxxxx","install","C:\\Users\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build\\outputs\\apk\\settings_apk-debug.apk"]
[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","axxxxxx","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","axxxxxx","shell","dumpsys","package","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","axxxxxx","shell","pm","dump","io.appium.settings"]
[debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.INTERNET,;,pm,grant,io.appium.settings,android.permission.CHANGE_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_NETWORK_STATE,;,pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.CHANGE_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_WIFI_STATE,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_ANIMATION_SCALE,;
[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","axxxxxx","shell","pm","grant","io.appium.settings","android.permission.INTERNET",";","pm","grant","io.appium.settings","android.permission.CHANGE_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_NETWORK_STATE",";","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.CHANGE_WIFI_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_WIFI_STATE",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";"]
[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","axxxxxx","shell","ps"]
[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","axxxxxx","shell","am","start","-W","-n","io.appium.settings/.Settings","-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","axxxxxx","shell","appops","set","io.appium.settings","android:mock_location","allow"]
[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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","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","axxxxxx","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","axxxxxx","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] Loading json...
[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","axxxxxx","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[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","axxxxxx","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.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f) 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":"axxxxxx"}}}
[Chromedriver] [STDERR] [0.032][INFO]: COMMAND InitSession {
"desiredCapabilities": {
"chromeOptions": {
"androidDeviceSerial": "axxxxxx",
"androidPackage": "com.android.chrome"
}
}
}
[Chromedriver] [STDERR] [0.033][DEBUG]: Sending adb command: host:devices
[0.033][DEBUG]: Received adb response: axxxxxx device
[0.034][DEBUG]: Sending adb command: host:transport:axxxxxx|shell:pm path com.android.chrome
[Chromedriver] [STDERR] [0.515][DEBUG]: Received adb response: package:/data/app/com.android.chrome-1/base.apk
[Chromedriver] [STDERR] [0.515][DEBUG]: Sending adb command: host:transport:axxxxxx|shell:am set-debug-app --persistent com.android.chrome
[Chromedriver] [STDERR] [1.474][DEBUG]: Received adb response:
[Chromedriver] [STDERR] [1.474][DEBUG]: Sending adb command: host:transport:axxxxxx|shell:pm clear com.android.chrome
[Chromedriver] [STDERR] [2.182][DEBUG]: Received adb response: Success
[Chromedriver] [STDERR] [2.182][DEBUG]: Sending command line file: /data/local/chrome-command-line
[Chromedriver] [STDERR] [2.203][DEBUG]: Sending command line file: /data/local/tmp/chrome-command-line
[Chromedriver] [STDERR] [2.222][DEBUG]: Sending adb command: host:transport:axxxxxx|shell:am start -W -n com.android.chrome/com.google.android.apps.chrome.Main -d data:,
[Chromedriver] [STDERR] [3.595][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: 439
TotalTime: 6236
WaitTime: 659
Complete
[3.595][DEBUG]: Sending adb command: host-serial:axxxxxx:forward:tcp:12666;localabstract:chrome_devtools_remote
[Chromedriver] [STDERR] [3.596][DEBUG]: DevTools request: http://localhost:12666/json/version
[Chromedriver] [STDERR] [3.940][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.940][DEBUG]: DevTools request: http://localhost:12666/json
[Chromedriver] [STDERR] [3.949][DEBUG]: DevTools response: [ {
"description": "",
"devtoolsFrontendUrl": "http://chrome-devtools-frontend.appspot.com/serve_rev/@76cc846b87194b6def876c7697854207ab0948c9/inspector.html?ws=localhost:12666/devtools/page/0",
"id": "0",
"title": "data:,",
"type": "page",
"url": "data:,",
"webSocketDebuggerUrl": "ws://localhost:12666/devtools/page/0"
} ]
[Chromedriver] [STDERR] [3.949][DEBUG]: DevTools request: http://localhost:12666/json
[Chromedriver] [STDERR] [3.959][DEBUG]: DevTools response: [ {
"description": "",
"devtoolsFrontendUrl": "http://chrome-devtools-frontend.appspot.com/serve_rev/@76cc846b87194b6def876c7697854207ab0948c9/inspector.html?ws=localhost:12666/devtools/page/0",
"id": "0",
"title": "data:,",
"type": "page",
"url": "data:,",
"webSocketDebuggerUrl": "ws://localhost:12666/devtools/page/0"
} ]
[Chromedriver] [STDERR] [3.965][INFO]: resolved localhost to ["::1","127.0.0.1"]
[Chromedriver] [STDERR] [4.986][DEBUG]: DEVTOOLS COMMAND Log.enable (id=1) {
}
[Chromedriver] [STDERR] [4.986][DEBUG]: DEVTOOLS COMMAND DOM.getDocument (id=2) {
}
[4.987][DEBUG]: DEVTOOLS COMMAND Runtime.enable (id=3) {
}
[4.987][DEBUG]: DEVTOOLS COMMAND Page.enable (id=4) {
}
[4.987][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":"axxxxxx"}}}
[Chromedriver] [STDERR] [240.243][INFO]: COMMAND InitSession {
"desiredCapabilities": {
"chromeOptions": {
"androidDeviceSerial": "axxxxxx",
"androidPackage": "com.android.chrome"
}
}
}
[Chromedriver] [STDERR] [240.244][DEBUG]: Sending adb command: host:devices
[240.244][DEBUG]: Received adb response: axxxxxx device
[240.244][INFO]: RESPONSE InitSession unknown error: Device axxxxxx is already in use
[240.244][DEBUG]: Log type 'driver' lost 0 entries on destruction
[240.244][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"87bdd0ff744da2e47181c4517e46c3c7","status":13,"value":{"message":"unknown error: Device axxxxxx is already in use\n (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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":"axxxxxx"}}}
[Chromedriver] [STDERR] [240.451][INFO]: COMMAND InitSession {
"desiredCapabilities": {
"chromeOptions": {
"androidDeviceSerial": "axxxxxx",
"androidPackage": "com.android.chrome"
}
}
}
[Chromedriver] [STDERR] [240.451][DEBUG]: Sending adb command: host:devices
[240.452][DEBUG]: Received adb response: axxxxxx device
[240.452][INFO]: RESPONSE InitSession unknown error: Device axxxxxx is already in use
[240.452][DEBUG]: Log type 'driver' lost 0 entries on destruction
[240.452][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"1b51d7e2dbed820d4dfdbebf6b6c3eab","status":13,"value":{"message":"unknown error: Device axxxxxx is already in use\n (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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":"axxxxxx"}}}
[Chromedriver] [STDERR] [240.658][INFO]: COMMAND InitSession {
"desiredCapabilities": {
"chromeOptions": {
"androidDeviceSerial": "axxxxxx",
"androidPackage": "com.android.chrome"
}
}
}
[Chromedriver] [STDERR] [240.658][DEBUG]: Sending adb command: host:devices
[240.658][DEBUG]: Received adb response: axxxxxx device
[240.658][INFO]: RESPONSE InitSession unknown error: Device axxxxxx is already in use
[240.658][DEBUG]: Log type 'driver' lost 0 entries on destruction
[240.658][DEBUG]: Log type 'browser' lost 0 entries on destruction
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"c93b2046fd5d4c78422dc220bd5c0666","status":13,"value":{"message":"unknown error: Device axxxxxx is already in use\n (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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 axxxxxx is already in use
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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 axxxxxx is already in use
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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","axxxxxx","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] [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","axxxxxx","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","axxxxxx","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 axxxxxx is already in use
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),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 283600 ms - 309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment