Skip to content

Instantly share code, notes, and snippets.

@rafalf
Created October 24, 2016 15:46
Show Gist options
  • Save rafalf/8c3eac2c8e184ccb3a3b5db1b621349e to your computer and use it in GitHub Desktop.
Save rafalf/8c3eac2c8e184ccb3a3b5db1b621349e to your computer and use it in GitHub Desktop.
appium shutting - android emulator
[Chromedriver] [STDOUT] Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 8000
Only local connections are allowed.
[JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"10.0\"}}}"
[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":"emulator-5554"}}}
[JSONWP Proxy] Got response with status 200: {"sessionId":"37d95834048f41e54710bb1a58932a9e","status":13,"value":{"message":"unknown error: Chrome version must be >= 46.0.2490.0\n (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Windows NT 10.0 x86_64)"}}
[debug] [Chromedriver] Changed state to 'online'
[Appium] New AndroidDriver session created successfully, session d925fc1a-e754-4206-a01a-f7127de0d67f added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformVersion":"5.1.1","deviceName":"A...
[HTTP] <-- POST /wd/hub/session 200 8639 ms - 517
[HTTP] --> POST /wd/hub/session/d925fc1a-e754-4206-a01a-f7127de0d67f/url {"url":"www.google.com","sessionId":"d925fc1a-e754-4206-a01a-f7127de0d67f"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/d925fc1a-e754-4206-a01a-f7127de0d67f/url] to [POST http://127.0.0.1:8000/wd/hub/session/37d95834048f41e54710bb1a58932a9e/url] with body: {"url":"www.google.com","sessionId":"d925fc1a-e754-4206-a01a-f7127de0d67f"}
[JSONWP Proxy] Got response with status 200: {"sessionId":"37d95834048f41e54710bb1a58932a9e","status":6,"value":{"message":"no such session\n (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Windows NT 10.0 x86_64)"}}
[JSONWP Proxy] Replacing sessionId 37d95834048f41e54710bb1a58932a9e with d925fc1a-e754-4206-a01a-f7127de0d67f
[HTTP] <-- POST /wd/hub/session/d925fc1a-e754-4206-a01a-f7127de0d67f/url 200 21 ms - 219
[HTTP] --> DELETE /wd/hub/session/d925fc1a-e754-4206-a01a-f7127de0d67f {}
[MJSONWP] Calling AppiumDriver.deleteSession() with args: ["d925fc1a-e754-4206-a01a-f7127de0d67f"]
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Stopping chromedriver for context CHROMIUM
[debug] [Chromedriver] Changed state to 'stopping'
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/37d95834048f41e54710bb1a58932a9e] with no body
[JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"37d95834048f41e54710bb1a58932a9e\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
[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","emulator-5554","shell","input","keyevent",3]
[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"}
[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: 6.533
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1
[debug] [AndroidBootstrap] Received command result from bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment