Skip to content

Instantly share code, notes, and snippets.

@johnRambo2k14
Created March 6, 2017 11:29
Show Gist options
  • Select an option

  • Save johnRambo2k14/5d47195974fbeca380f1eb83d2e41071 to your computer and use it in GitHub Desktop.

Select an option

Save johnRambo2k14/5d47195974fbeca380f1eb83d2e41071 to your computer and use it in GitHub Desktop.
Appium logs
[Appium] Welcome to Appium v1.6.3
[Appium] Non-default server args:
[Appium] address: '127.0.0.1'
[Appium] port: 4444
[Appium] sessionOverride: true
[Appium] launch: true
[Appium] chromedriverExecutable: 'C:/chromedriver_win32/chromedriver.exe'
[Appium] debugLogSpacing: true
[Appium] defaultCommandTimeout: 7200
[Appium] Appium REST http interface listener started on 127.0.0.1:4444
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"FBI PARTY VAN","platformVersion":"6.0","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDriverSessions":false,"autoWebview":true,"pageLoadStrategy":"normal","noReset":false,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"FBI PARTY VAN","platformVersion":"6.0","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDriverSessions":false,"autoWebview":true,"pageLoadStrategy":"normal","noReset":false,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}},null,null,null,null]
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] javascriptEnabled: true
[Appium] locationContextEnabled: true
[Appium] handlesAlerts: true
[Appium] rotatable: true
[Appium] maxInstances: 1
[Appium] browserName: ''
[Appium] appiumVersion: '1.6.3'
[Appium] deviceName: 'FBI PARTY VAN'
[Appium] platformVersion: '6.0'
[Appium] platformName: 'Android'
[Appium] app: './platforms/android/build/outputs/apk/android-debug.apk'
[Appium] waitforTimeout: 300
[Appium] commandTimeout: 300
[Appium] recreateChromeDriverSessions: false
[Appium] autoWebview: true
[Appium] pageLoadStrategy: 'normal'
[Appium] noReset: false
[Appium] requestOrigins: { url: 'http://webdriver.io',
version: '4.6.2',
name: 'webdriverio' }
[debug] [AndroidDriver] AndroidDriver version: 1.10.38
[BaseDriver] The following capabilities were provided, but are not recognized by appium: javascriptEnabled, locationContextEnabled, handlesAlerts, rotatable, maxInstances, appiumVersion, waitforTimeout, commandTimeout, pageLoadStrategy, requestOrigins.
[BaseDriver] Session created with session id: 257528c5-af24-4a0f-9d04-c7e37bee2fb1
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_101
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Users\Rambo\AppData\Local\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] 11 device(s) connected
[AndroidDriver] Looking for a device with Android '6.0'
[debug] [ADB] Setting device id to 2f0af22b
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","getprop","ro.build.version.release"]
[AndroidDriver] Using device: 2f0af22b
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to 2f0af22b
[BaseDriver] Using local app './platforms/android/build/outputs/apk/android-debug.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","install","C:\\Users\\Rambo\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\bin\\settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","install","C:\\Users\\Rambo\\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] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","getprop","ro.build.version.release"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","dumpsys","window"]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Using aapt.exe from C:\Users\Rambo\AppData\Local\Android\sdk\build-tools\25.0.2\aapt.exe
[ADB] Extracting package and launch activity from manifest
[debug] [ADB] badging package: com.ionicframework.mercuryv2703555
[debug] [ADB] badging act: com.ionicframework.mercuryv2703555.MainActivity
[debug] [AndroidDriver] Parsed package and activity are: com.ionicframework.mercuryv2703555/com.ionicframework.mercuryv2703555.MainActivity
[AndroidDriver] Remote apk path is /data/local/tmp/afbf04ca081e2c6acd90738922906c8c.apk
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","ls","/data/local/tmp/afbf04ca081e2c6acd90738922906c8c.apk"]
[debug] [AndroidDriver] Checking if app is installed
[debug] [ADB] Getting install status for com.ionicframework.mercuryv2703555
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","getprop","ro.build.version.sdk"]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","pm","list","packages","-3","com.ionicframework.mercuryv2703555"]
[debug] [ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","am","force-stop","com.ionicframework.mercuryv2703555"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","pm","clear","com.ionicframework.mercuryv2703555"]
[debug] [AndroidDriver] Extracting strings from apk ./platforms/android/build/outputs/apk/android-debug.apk null C:\Users\Rambo\AppData\Local\Temp\com.ionicframework.mercuryv2703555
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","getprop","persist.sys.locale"]
[debug] [ADB] Current device property 'persist.sys.locale': en-GB
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml
[debug] [ADB] Reading strings from converted strings.json
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","push","C:\\Users\\Rambo\\AppData\\Local\\Temp\\com.ionicframework.mercuryv2703555\\strings.json","/data/local/tmp"]
[debug] [AndroidBootstrap] Watching for bootstrap disconnect
[debug] [ADB] Forwarding system: 4724 to device: 4724
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","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:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","push","C:\\Users\\Rambo\\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] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Starting UIAutomator
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","2f0af22b","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.ionicframework.mercuryv2703555","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false]
[debug] [UiAutomator] Moving to state 'online'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Loading json...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] Android bootstrap socket is now connected
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices...
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","am","start","-W","-n","com.ionicframework.mercuryv2703555/com.ionicframework.mercuryv2703555.MainActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
[debug] [ADB] Waiting for pkg: 'com.ionicframework.mercuryv2703555' and activity: 'com.ionicframework.mercuryv2703555.MainActivity' to be focused
[debug] [ADB] Possible activities, to be checked: com.ionicframework.mercuryv2703555.MainActivity, .MainActivity, .com.ionicframework.mercuryv2703555.MainActivity
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","dumpsys","window","windows"]
[debug] [ADB] Found package: 'com.ionicframework.mercuryv2703555' and activity: '.MainActivity'
[AndroidDriver] Setting auto webview to context 'WEBVIEW_com.ionicframework.mercuryv2703555' with timeout 2000ms
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_11387 mapped to pid 11387
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","ps"]
[debug] [AndroidDriver] Parsed pid: 11387 pkg: com.ionicframework.mercuryv2703555!
[debug] [AndroidDriver] from: u0_a323,11387,565,1272128,123260,SyS_epoll_,00000000,S,com.ionicframework.mercuryv2703555
[debug] [AndroidDriver] returning process name: com.ionicframework.mercuryv2703555
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.ionicframework.mercuryv2703555"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.ionicframework.mercuryv2703555"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.ionicframework.mercuryv2703555'
[debug] [AndroidDriver] A port was not given, using random port: 8000
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: C:/chromedriver_win32/chromedriver.exe
[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
[Chromedriver] Spawning chromedriver with: C:/chromedriver_win32/chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037
[Chromedriver] [STDOUT] Starting ChromeDriver 2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf) 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\"}}}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.ionicframework.mercuryv2703555","androidUseRunningApp":true,"androidDeviceSerial":"2f0af22b"}}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"6e9858790c1264438e1b267a82c892a6","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{},"cssSelectorsEnabled":true,"databaseEnabled":false,"handlesAlerts":true,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"platform":"ANDROID","rotatable":false,"takesHeapSnapshot":true,"takesScreenshot":true,"version":"56.0.2924.87","webStorageEnabled":true}}
[debug] [Chromedriver] Changed state to 'online'
[Appium] New AndroidDriver session created successfully, session 257528c5-af24-4a0f-9d04-c7e37bee2fb1 added to master session list
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":true,"warnings":{},"desired":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"FBI PARTY VAN","platformVersion":"6.0","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDriverSessions":false,"autoWebview":true,"pageLoadStrategy":"normal","noReset":false,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}},"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"2f0af22b","platformVersion":"6.0.1","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDr...
[HTTP] <-- POST /wd/hub/session 200 26002 ms - 1522
[HTTP] --> POST /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/elements {"using":"xpath","value":"//*[@id='username']"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/elements] to [POST http://127.0.0.1:8000/wd/hub/session/6e9858790c1264438e1b267a82c892a6/elements] with body: {"using":"xpath","value":"//*[@id='username']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"6e9858790c1264438e1b267a82c892a6","status":13,"value":{"message":"unknown error: Runtime.executionContextCreated has invalid 'context': {\"auxData\":{\"frameId\":\"11387.1\",\"isDefault\":true},\"id\":1,\"name\":\"\",\"origin\":\"file://\"}\n (Session info: chrome=56.0.2924.87)\n (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Windows NT 10.0 x86_64)"}}
[JSONWP Proxy] Replacing sessionId 6e9858790c1264438e1b267a82c892a6 with 257528c5-af24-4a0f-9d04-c7e37bee2fb1
[HTTP] <-- POST /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/elements 200 29 ms - 418
[HTTP] --> GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot] to [GET http://127.0.0.1:8000/wd/hub/session/6e9858790c1264438e1b267a82c892a6/screenshot] with body: {}
[Chromedriver] Chromedriver exited unexpectedly with code 3221225477, signal null
[debug] [Chromedriver] Changed state to 'stopped'
[AndroidDriver] Chromedriver for context WEBVIEW_com.ionicframework.mercuryv2703555 stopped unexpectedly
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.ionicframework.mercuryv2703555
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/6e9858790c1264438e1b267a82c892a6] with no body
[Appium] Closing session, cause was 'Chromedriver quit unexpectedly during session'
[Appium] Removing session 257528c5-af24-4a0f-9d04-c7e37bee2fb1 from our master session list
[MJSONWP] Encountered internal error running command: Error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
at doJwpProxy$ (../../../lib/mjsonwp/mjsonwp.js:342:13)
at tryCatch (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
[HTTP] <-- GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot 500 25 ms - 281
[HTTP] --> POST /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/elements {"using":"xpath","value":"//*[@id='username']"}
[HTTP] <-- POST /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/elements 404 1 ms - 131
[HTTP] --> GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot {}
[HTTP] <-- GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot 404 3 ms - 131
[HTTP] --> GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot {}
[HTTP] <-- GET /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1/screenshot 404 1 ms - 131
[Chromedriver] ProxyRequestError: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:126:13)
at tryCatch (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
{ ProxyRequestError: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:126:13)
at tryCatch (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\Rambo\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
jsonwp:
{ Error: connect ECONNREFUSED 127.0.0.1:8000
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8000 } }
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","am","force-stop","com.ionicframework.mercuryv2703555"]
[HTTP] --> DELETE /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1 {}
[HTTP] <-- DELETE /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1 404 2 ms - 131
[HTTP] --> DELETE /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1 {}
[HTTP] <-- DELETE /wd/hub/session/257528c5-af24-4a0f-9d04-c7e37bee2fb1 404 4 ms - 131
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"FBI PARTY VAN","platformVersion":"6.0","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDriverSessions":false,"autoWebview":true,"pageLoadStrategy":"normal","noReset":false,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"maxInstances":1,"browserName":"","appiumVersion":"1.6.3","deviceName":"FBI PARTY VAN","platformVersion":"6.0","platformName":"Android","app":"./platforms/android/build/outputs/apk/android-debug.apk","waitforTimeout":300,"commandTimeout":300,"recreateChromeDriverSessions":false,"autoWebview":true,"pageLoadStrategy":"normal","noReset":false,"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}},null,null,null,null,null,null]
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] javascriptEnabled: true
[Appium] locationContextEnabled: true
[Appium] handlesAlerts: true
[Appium] rotatable: true
[Appium] maxInstances: 1
[Appium] browserName: ''
[Appium] appiumVersion: '1.6.3'
[Appium] deviceName: 'FBI PARTY VAN'
[Appium] platformVersion: '6.0'
[Appium] platformName: 'Android'
[Appium] app: './platforms/android/build/outputs/apk/android-debug.apk'
[Appium] waitforTimeout: 300
[Appium] commandTimeout: 300
[Appium] recreateChromeDriverSessions: false
[Appium] autoWebview: true
[Appium] pageLoadStrategy: 'normal'
[Appium] noReset: false
[Appium] requestOrigins: { url: 'http://webdriver.io',
version: '4.6.2',
name: 'webdriverio' }
[debug] [AndroidDriver] AndroidDriver version: 1.10.38
[BaseDriver] The following capabilities were provided, but are not recognized by appium: javascriptEnabled, locationContextEnabled, handlesAlerts, rotatable, maxInstances, appiumVersion, waitforTimeout, commandTimeout, pageLoadStrategy, requestOrigins.
[BaseDriver] Session created with session id: d039fffd-8da1-4321-86f1-a37f22599926
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_101
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Users\Rambo\AppData\Local\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] Pressing the HOME button
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[AndroidDriver] Looking for a device with Android '6.0'
[debug] [ADB] Setting device id to 2f0af22b
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","input","keyevent",3]
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","getprop","ro.build.version.release"]
[AndroidDriver] Using device: 2f0af22b
[ADB] Checking whether adb is present
[ADB] Using adb.exe from C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe
[debug] [ADB] Setting device id to 2f0af22b
[BaseDriver] Using local app './platforms/android/build/outputs/apk/android-debug.apk'
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","wait-for-device"]
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","echo","ping"]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","install","C:\\Users\\Rambo\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\bin\\settings_apk-debug.apk"]
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[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] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","ps"]
[ADB] No uiautomator process found to kill, continuing...
[debug] [UiAutomator] Moving to state 'stopped'
[debug] [ADB] Getting connected devices...
[debug] [ADB] 11 device(s) connected
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","shell","am","force-stop","io.appium.unlock"]
[debug] [Logcat] Stopping logcat capture
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[debug] [AndroidDriver] Pushing unlock helper app to device...
[debug] [ADB] Running 'C:\Users\Rambo\AppData\Local\Android\sdk\platform-tools\adb.exe' with args: ["-P",5037,"-s","2f0af22b","install","C:\\Users\\Rambo\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-unlock\\bin\\unlock_apk-debug.apk"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment