ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

chromedriver failing to launch from appium #956

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See http://goo.gl/ll2FvQ for common issues.

Issue Description:
I can't get context switching to webviews working with appium. I've tried 
several versions of appium (1.2.1, 1.2.3, 1.30) with several versions of 
chromedriver (2.8, 2.9, 2.10, 2.11).
I'm running a Nexus 5 with 4.4.2 and up to date chrome.

The provided logs are using appium 1.3.0 from source with a modification to 
generate the chromedriver log (-verbose and --logfile).

Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):

-----Other helpful tips:
Attach your chromedriver log with verbose logging enabled (see
http://goo.gl/5Sx8mC for how to do this).

Original issue reported on code.google.com by sthomp...@pulse-dev.net on 24 Oct 2014 at 11:31

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
appium log
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "cat /proc/net/unix"
info: [debug] WEBVIEW_2896 mapped to pid 2896
info: [debug] Getting process name for webview
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "ps"
info: [debug] WEBVIEW_2921 mapped to pid 2921
info: [debug] Getting process name for webview
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "ps"
info: [debug] Parsed pid: 2921 pkg: com.my_app.android:framework
info: [debug] from: 
u0_a1112,2921,178,902500,42724,ffffffff,00000000,S,com.my_app.android:framework
info: [debug] returning process name: com.my_app.android:framework
info: [debug] Parsed pid: 2896 pkg: com.my_app.android:ui
info: [debug] from: 
u0_a1112,2896,178,959056,59108,ffffffff,00000000,R,com.my_app.android:ui
info: [debug] returning process name: com.my_app.android:ui
info: [debug] Available contexts:
info: [debug] 
["WEBVIEW_com.my_app.android:framework","WEBVIEW_com.my_app.android:ui"]
info: [debug] Available contexts: 
NATIVE_APP,WEBVIEW_com.my_app.android:framework,WEBVIEW_com.my_app.android:ui
info: [debug] Responding to client with success: 
{"status":0,"value":["NATIVE_APP","WEBVIEW_com.my_app.android:framework","WEBVIE
W_com.my_app.android:ui"],"sessionId":"8cd1c465-185e-48cf-b1e2-eb22e765bc08"}
info: <-- GET /wd/hub/session/8cd1c465-185e-48cf-b1e2-eb22e765bc08/contexts 200 
93.437 ms - 163 
{"status":0,"value":["NATIVE_APP","WEBVIEW_com.my_app.android:framework","WEBVIE
W_com.my_app.android:ui"],"sessionId":"8cd1c465-185e-48cf-b1e2-eb22e765bc08"}
info: --> POST /wd/hub/session/8cd1c465-185e-48cf-b1e2-eb22e765bc08/context 
{"sessionId":"8cd1c465-185e-48cf-b1e2-eb22e765bc08","name":"WEBVIEW_com.my_app.a
ndroid:framework"}
info: [debug] Getting a list of available webviews
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "cat /proc/net/unix"
info: [debug] WEBVIEW_2896 mapped to pid 2896
info: [debug] Getting process name for webview
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "ps"
info: [debug] WEBVIEW_2921 mapped to pid 2921
info: [debug] Getting process name for webview
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "ps"
info: [debug] Parsed pid: 2921 pkg: com.my_app.android:framework
info: [debug] from: 
u0_a1112,2921,178,902500,42724,ffffffff,00000000,S,com.my_app.android:framework
info: [debug] returning process name: com.my_app.android:framework
info: [debug] Parsed pid: 2896 pkg: com.my_app.android:ui
info: [debug] from: 
u0_a1112,2896,178,959056,59108,ffffffff,00000000,S,com.my_app.android:ui
info: [debug] returning process name: com.my_app.android:ui
info: [debug] Available contexts: 
NATIVE_APP,WEBVIEW_com.my_app.android:framework,WEBVIEW_com.my_app.android:ui
info: [debug] 
["WEBVIEW_com.my_app.android:framework","WEBVIEW_com.my_app.android:ui"]
info: [debug] Available contexts: 
NATIVE_APP,WEBVIEW_com.my_app.android:framework,WEBVIEW_com.my_app.android:ui
info: [debug] Connecting to chrome-backed webview
info: [debug] Creating Chrome session
info: [debug] Set chromedriver binary as: 
/Users/sthompson/appium/build/chromedriver/mac/chromedriver
info: [debug] Ensuring Chromedriver exists
info: [debug] Killing any old chromedrivers, running: ps -ef | grep 
/Users/sthompson/appium/build/chromedriver/mac/chromedriver | grep -v grep 
|grep -e '--port=9515$' | awk '{ print $2 }' | xargs kill -15
info: [debug] Successfully cleaned up old chromedrivers
info: [debug] Spawning chromedriver with: 
/Users/sthompson/appium/build/chromedriver/mac/chromedriver
info: [debug] [CHROMEDRIVER] Starting ChromeDriver (v2.11.298611 
(d1120fdf51badec2f7b63a96e19a58d4783de84d)) on port 9515
Only local connections are allowed.
info: [debug] Making http request with opts: 
{"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId
":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.my_app.andr
oid","androidUseRunningApp":true,"androidDeviceSerial":"03751a7e437ea90a"}}}}
info: [debug] Didn't get a new command in 60 secs, shutting down...
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing: "/usr/local/opt/android-sdk/platform-tools/adb" -s 
03751a7e437ea90a shell "input keyevent 3"
info: [debug] Stopping logcat capture
info: [debug] Logcat terminated with code null, signal SIGTERM
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"OK, shutting 
down","status":0}
info: [debug] [BOOTSTRAP] [debug] Closed client connection
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: 
id=UiAutomatorTestRunner
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: 
class=io.appium.android.bootstrap.Bootstrap
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
info: [debug] [UIAUTOMATOR STDOUT] Time: 69.933
info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
info: [debug] UiAutomator shut down normally
info: [debug] Cleaning up android objects
info: [debug] Cleaning up appium session
info: [debug] We shut down because no new commands came in
error: Chromedriver create session did not work. Status was 200 and body was 
{"sessionId":"01433f837bf6e43ac470996e02101ce1","status":100,"value":{"message":
"chrome not reachable\n  (Driver info: chromedriver=2.11.298611 
(d1120fdf51badec2f7b63a96e19a58d4783de84d),platform=Mac OS X 10.9.5 x86_64)"}}
info: [debug] Responding to client with error: 
{"status":13,"value":{"message":"An unknown server-side error occurred while 
processing the command. (Original error: Did not get session redirect from 
Chromedriver)","origValue":"Did not get session redirect from 
Chromedriver"},"sessionId":null}

Original comment by sthomp...@pulse-dev.net on 24 Oct 2014 at 11:33

GoogleCodeExporter commented 9 years ago
chromedriver log
[0.014][INFO]: COMMAND InitSession {
   "desiredCapabilities": {
      "chromeOptions": {
         "androidDeviceSerial": "03751a7e437ea90a",
         "androidPackage": "com.my_app.android",
         "androidUseRunningApp": true
      }
   },
   "sessionId": null
}
[0.014][DEBUG]: Sending adb command: host:devices
[0.015][DEBUG]: Received adb response: 03751a7e437ea90a device

[0.015][DEBUG]: Sending adb command: host:transport:03751a7e437ea90a|shell:pm 
path com.my_app.android
[0.604][DEBUG]: Received adb response: 
package:/data/app/com.my_app.android-1.apk

[0.604][DEBUG]: Sending adb command: host:transport:03751a7e437ea90a|shell:ps
[0.638][DEBUG]: Received adb response: USER     PID   PPID  VSIZE  RSS     
WCHAN    PC         NAME
root      1     0     680    540   ffffffff 00000000 S /init
root      2     0     0      0     ffffffff 00000000 S kthreadd
root      3     2     0      0     ffffffff 00000000 S ksoftirqd/0
root      7     2     0      0     ffffffff 00000000 D kworker/u:0H
root      8     2     0      0     ffffffff 00000000 S migration/0
root      13    2     0      0     ffffffff 00000000 S khelper
root      14    2     0      0     ffffffff 00000000 S netns
root      18    2     0      0     ffffffff 00000000 S modem_notifier
root      19    2     0      0     ffffffff 00000000 S smd_channel_clo
root      20    2     0      0     ffffffff 00000000 S smsm_cb_wq
root      22    2     0      0     ffffffff 00000000 S rpm-smd
root      23    2     0      0     ffffffff 00000000 S kworker/u:1H
root      24    2     0      0     ffffffff 00000000 S irq/317-earjack
root      25    2     0      0     ffffffff 00000000 S sync_supers
root      26    2     0      0     ffffffff 00000000 S bdi-default
root      27    2     0      0     ffffffff 00000000 S kblockd
root      28    2     0      0     ffffffff 00000000 S vmalloc
root      29    2     0      0     ffffffff 00000000 S khubd
root      30    2     0      0     ffffffff 00000000 S irq/102-msm_iom
root      31    2     0      0     ffffffff 00000000 S irq/102-msm_iom
root      32    2     0      0     ffffffff 00000000 S irq/102-msm_iom
root      33    2     0      0     ffffffff 00000000 S irq/79-msm_iomm
root      34    2     0      0     ffffffff 00000000 S irq/78-msm_iomm
root      35    2     0      0     ffffffff 00000000 S irq/78-msm_iomm
root      36    2     0      0     ffffffff 00000000 S irq/74-msm_iomm
root      37    2     0      0     ffffffff 00000000 S irq/75-msm_iomm
root      38    2     0      0     ffffffff 00000000 S irq/75-msm_iomm
root      39    2     0      0     ffffffff 00000000 S irq/75-msm_iomm
root      40    2     0      0     ffffffff 00000000 S irq/75-msm_iomm
root      41    2     0      0     ffffffff 00000000 S irq/273-msm_iom
root      42    2     0      0     ffffffff 00000000 S irq/273-msm_iom
root      43    2     0      0     ffffffff 00000000 S irq/97-msm_iomm
root      44    2     0      0     ffffffff 00000000 S irq/97-msm_iomm
root      45    2     0      0     ffffffff 00000000 S irq/97-msm_iomm
root      46    2     0      0     ffffffff 00000000 S l2cap
root      47    2     0      0     ffffffff 00000000 S a2mp
root      48    2     0      0     ffffffff 00000000 S cfg80211
root      49    2     0      0     ffffffff 00000000 S qmi
root      50    2     0      0     ffffffff 00000000 S nmea
root      51    2     0      0     ffffffff 00000000 S msm_ipc_router
root      52    2     0      0     ffffffff 00000000 S apr_driver
root      54    2     0      0     ffffffff 00000000 S kswapd0
root      55    2     0      0     ffffffff 00000000 S fsnotify_mark
root      56    2     0      0     ffffffff 00000000 S cifsiod
root      57    2     0      0     ffffffff 00000000 S crypto
root      75    2     0      0     ffffffff 00000000 S ad_calc_wq
root      76    2     0      0     ffffffff 00000000 S hdmi_tx_workq
root      77    2     0      0     ffffffff 00000000 D mdss_fb0
root      78    2     0      0     ffffffff 00000000 D mdss_fb1
root      79    2     0      0     ffffffff 00000000 D mdss_fb2
root      80    2     0      0     ffffffff 00000000 S anx7808_work
root      81    2     0      0     ffffffff 00000000 S k_hsuart
root      82    2     0      0     ffffffff 00000000 S kgsl-3d0
root      84    2     0      0     ffffffff 00000000 S f9966000.spi
root      88    2     0      0     ffffffff 00000000 S usbnet
root      89    2     0      0     ffffffff 00000000 S irq/329-anx7808
root      90    2     0      0     ffffffff 00000000 S k_rmnet_mux_wor
root      91    2     0      0     ffffffff 00000000 S f_mtp
root      92    2     0      0     ffffffff 00000000 S file-storage
root      93    2     0      0     ffffffff 00000000 S uether
root      94    2     0      0     ffffffff 00000000 S synaptics_wq
root      95    2     0      0     ffffffff 00000000 S irq/362-s3350
root      96    2     0      0     ffffffff 00000000 S msm_vidc_worker
root      97    2     0      0     ffffffff 00000000 S msm_vidc_worker
root      99    2     0      0     ffffffff 00000000 S msm_cpp_workque
root      100   2     0      0     ffffffff 00000000 S irq/350-bq51013
root      102   2     0      0     ffffffff 00000000 D dbs_sync/0
root      103   2     0      0     ffffffff 00000000 D dbs_sync/1
root      104   2     0      0     ffffffff 00000000 D dbs_sync/2
root      105   2     0      0     ffffffff 00000000 D dbs_sync/3
root      106   2     0      0     ffffffff 00000000 S cfinteractive
root      107   2     0      0     ffffffff 00000000 S irq/170-msm_sdc
root      108   2     0      0     ffffffff 00000000 S binder
root      109   2     0      0     ffffffff 00000000 S usb_bam_wq
root      110   2     0      0     ffffffff 00000000 S krfcommd
root      111   2     0      0     ffffffff 00000000 S bam_dmux_rx
root      112   2     0      0     ffffffff 00000000 S bam_dmux_tx
root      113   2     0      0     ffffffff 00000000 S rq_stats
root      114   2     0      0     ffffffff 00000000 S deferwq
root      116   2     0      0     ffffffff 00000000 S irq/361-MAX1704
root      118   2     0      0     ffffffff 00000000 S mmcqd/1
root      119   2     0      0     ffffffff 00000000 S mmcqd/1rpmb
root      120   2     0      0     ffffffff 00000000 S wl_event_handle
root      121   2     0      0     ffffffff 00000000 S dhd_watchdog_th
root      122   2     0      0     ffffffff 00000000 S dhd_dpc
root      123   2     0      0     ffffffff 00000000 S dhd_rxf
root      124   2     0      0     ffffffff 00000000 S dhd_sysioc
root      125   2     0      0     ffffffff 00000000 S vibrator
root      126   2     0      0     ffffffff 00000000 S max1462x
root      127   2     0      0     ffffffff 00000000 S irq/310-maxim_m
root      128   2     0      0     ffffffff 00000000 S irq/311-maxim_m
root      129   1     612    340   ffffffff 00000000 S /sbin/ueventd
root      131   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p25
root      132   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      135   2     0      0     ffffffff 00000000 S flush-179:0
root      137   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p28
root      138   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      142   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p27
root      143   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      144   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p16
root      145   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
root      166   1     1428   4     ffffffff 00000000 S /sbin/healthd
root      167   2     0      0     ffffffff 00000000 S IPCRTR
system    168   1     1004   180   ffffffff 00000000 S 
/system/bin/servicemanager
root      169   2     0      0     ffffffff 00000000 S ipc_rtr_q6_ipcr
root      170   1     4668   888   ffffffff 00000000 S /system/bin/vold
root      171   2     0      0     ffffffff 00000000 S sb-1
nobody    172   1     6756   320   ffffffff 00000000 S /system/bin/rmt_storage
root      173   2     0      0     ffffffff 00000000 S ngd_msm_ctrl_ng
root      174   1     9992   1300  ffffffff 00000000 S /system/bin/netd
root      175   1     1028   240   ffffffff 00000000 S /system/bin/debuggerd
radio     176   1     21864  4152  ffffffff 00000000 S /system/bin/rild
system    177   1     99088  24028 ffffffff 00000000 S 
/system/bin/surfaceflinger
root      178   1     858812 55844 ffffffff 00000000 S zygote
drm       182   1     14524  4888  ffffffff 00000000 S /system/bin/drmserver
media     183   1     31660  8776  ffffffff 00000000 S /system/bin/mediaserver
install   184   1     1012   512   ffffffff 00000000 S /system/bin/installd
keystore  185   1     3356   1040  ffffffff 00000000 S /system/bin/keystore
radio     186   1     5404   520   ffffffff 00000000 S /system/bin/bridgemgrd
radio     187   1     10596  512   ffffffff 00000000 S /system/bin/qmuxd
radio     188   1     6620   628   ffffffff 00000000 S /system/bin/netmgrd
nobody    189   1     35964  7112  ffffffff 00000000 S /system/bin/sensors.qcom
root      192   1     43544  988   ffffffff 00000000 S 
/system/bin/thermal-engine-hh
system    193   1     2124   320   ffffffff 00000000 S /system/bin/qseecomd
media_rw  194   1     3532   192   ffffffff 00000000 S /system/bin/sdcard
camera    195   1     5564   2508  ffffffff 00000000 S 
/system/bin/mm-qcamera-daemon
system    196   1     6432   668   ffffffff 00000000 S /system/bin/time_daemon
shell     197   1     6724   316   ffffffff 00000000 S /sbin/adbd
root      205   2     0      0     ffffffff 00000000 S msm_slim_qmi_cl
root      206   2     0      0     ffffffff 00000000 S msm_qmi_rtx_q
system    209   193   4224   296   ffffffff 00000000 S /system/bin/qseecomd
root      212   2     0      0     ffffffff 00000000 S irq/288-wcd9xxx
root      584   2     0      0     ffffffff 00000000 S IPCRTR
root      585   2     0      0     ffffffff 00000000 S ipc_rtr_smd_ipc
u0_a77    710   178   868016 34052 ffffffff 00000000 S io.appium.unlock
system    769   178   1022936 97172 ffffffff 00000000 S system_server
u0_a12    862   178   967036 84008 ffffffff 00000000 S com.android.systemui
wifi      872   1     3384   1780  ffffffff 00000000 S 
/system/bin/wpa_supplicant
u0_a54    977   178   943356 59052 ffffffff 00000000 S 
com.google.android.inputmethod.latin
radio     1011  178   889884 39488 ffffffff 00000000 S com.android.phone
radio     1024  178   867912 32780 ffffffff 00000000 S com.redbend.vdmc
nfc       1041  178   886860 35848 ffffffff 00000000 S com.android.nfc
root      1268  1     7220   492   ffffffff 00000000 S /system/bin/mpdecision
root      1456  2     0      0     ffffffff 00000000 S kworker/0:2
bluetooth 1509  178   897872 39912 ffffffff 00000000 S com.android.bluetooth
radio     1748  178   868788 31848 ffffffff 00000000 S 
com.qualcomm.qcrilmsgtunnel
root      1897  2     0      0     ffffffff 00000000 S kworker/0:3H
root      2773  2     0      0     ffffffff 00000000 S kworker/u:2
root      2786  2     0      0     ffffffff 00000000 S kworker/0:1
shell     2797  197   1972   1220  c02763ac b6f856d8 S logcat
shell     2856  197   820996 29796 ffffffff 400f1320 S uiautomator
u0_a1112  2896  178   959056 59132 ffffffff 00000000 S com.my_app.android:ui
u0_a1112  2921  178   902500 42724 ffffffff 00000000 S 
com.my_app.android:framework
root      3038  2     0      0     ffffffff 00000000 S kworker/0:3
root      3042  2     0      0     ffffffff 00000000 S migration/1
root      3043  2     0      0     ffffffff 00000000 S kworker/1:0
root      3044  2     0      0     ffffffff 00000000 S kworker/1:0H
root      3045  2     0      0     ffffffff 00000000 S ksoftirqd/1
root      3046  2     0      0     ffffffff 00000000 S kworker/1:1H
root      3047  2     0      0     ffffffff 00000000 S kworker/1:1
root      3048  2     0      0     ffffffff 00000000 S kworker/1:2H
shell     3087  197   1236   240   00000000 b6eb42c8 R ps
root      9601  2     0      0     ffffffff 00000000 S kworker/u:3
u0_a14    20321 178   958088 97508 ffffffff 00000000 S com.android.vending
u0_a63    20572 178   908772 88488 ffffffff 00000000 S 
com.google.android.apps.plus
system    22812 178   929128 52900 ffffffff 00000000 S com.android.settings
u0_a5     23079 178   873512 39696 ffffffff 00000000 S android.process.media
dhcp      23777 1     1020   476   ffffffff 00000000 S /system/bin/dhcpcd
root      23945 2     0      0     ffffffff 00000000 S kworker/0:2H
u0_a3     25686 178   877424 38820 ffffffff 00000000 S android.process.acore
root      26043 2     0      0     ffffffff 00000000 S kworker/0:0H
u0_a11    26473 178   869108 32724 ffffffff 00000000 S 
com.google.android.partnersetup
u0_a35    26516 178   884036 46412 ffffffff 00000000 S 
com.google.android.apps.docs
u0_a7     26790 178   1044128 60556 ffffffff 00000000 S com.google.android.gms
u0_a7     26804 178   925380 55072 ffffffff 00000000 S com.google.process.gapps
u0_a7     26817 178   927416 53960 ffffffff 00000000 S 
com.google.process.location
u0_a7     26908 178   903924 40128 ffffffff 00000000 S 
com.google.android.gms.wearable
u0_a31    26972 178   1018200 95912 ffffffff 00000000 S com.android.chrome
u0_a13    27317 178   866804 32076 ffffffff 00000000 S com.android.musicfx
u0_a33    28173 178   868428 31972 ffffffff 00000000 S 
com.google.android.deskclock
root      28306 2     0      0     ffffffff 00000000 S kworker/u:0
system    28500 178   866856 33228 ffffffff 00000000 S com.android.keychain
root      28653 2     0      0     ffffffff 00000000 S kworker/u:6
u0_a1100  28754 178   909748 47184 ffffffff 00000000 S eu.chainfire.supersu
u0_a4     28951 178   866856 32932 ffffffff 00000000 S com.android.defcontainer
u0_a19    29129 178   1011704 82172 ffffffff 00000000 S 
com.google.android.googlequicksearchbox
u0_a19    29168 178   961652 72040 ffffffff 00000000 S 
com.google.android.googlequicksearchbox:search
u0_a34    29332 178   872604 34376 ffffffff 00000000 S com.android.documentsui
root      30879 2     0      0     ffffffff 00000000 S kworker/0:0
u0_a58    31430 178   902160 48760 ffffffff 00000000 S 
com.google.android.music:main
root      32513 2     0      0     ffffffff 00000000 S kworker/u:1
u0_a56    32626 178   918536 42736 ffffffff 00000000 S 
com.google.android.apps.magazines

[0.640][DEBUG]: DevTools request: http://127.0.0.1:12007/json/version
[0.642][DEBUG]: DevTools request failed

... repeats until

[60.678][DEBUG]: DevTools request: http://127.0.0.1:12007/json/version
[60.679][DEBUG]: DevTools request failed
[60.679][INFO]: RESPONSE InitSession chrome not reachable
[60.679][DEBUG]: Log type 'driver' lost 0 entries on destruction
[60.679][DEBUG]: Log type 'browser' lost 0 entries on destruction

Original comment by sthomp...@pulse-dev.net on 24 Oct 2014 at 11:34

GoogleCodeExporter commented 9 years ago
do you still have this issue?

Original comment by andrewch...@chromium.org on 5 Dec 2014 at 11:15

GoogleCodeExporter commented 9 years ago
Yes, this is still a problem.

Original comment by steve.f....@gmail.com on 8 Dec 2014 at 6:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm still seeing this issue running appium 1.3.4 with chromedriver 2.13 against 
a nexus 5 running lollipop 5.0.1.

Original comment by sthomp...@pulse-dev.net on 23 Dec 2014 at 9:58

GoogleCodeExporter commented 9 years ago
  do you have test programs that I can reproduce the issue?

Original comment by andrewch...@chromium.org on 23 Dec 2014 at 10:30

GoogleCodeExporter commented 9 years ago
I'm trying to come up with a small test case (apk and and python based appium 
test) that you can use.

Are there any gotchas or things I might just have forgotten or missing for this 
to work?  My app has the setWebContentsDebuggingEnabled(true) and I can browse 
the webview from chrome inspector.

Original comment by sthomp...@pulse-dev.net on 24 Dec 2014 at 12:28

GoogleCodeExporter commented 9 years ago
do you target on emulator or real device ?

Original comment by andrewch...@chromium.org on 24 Dec 2014 at 12:58

GoogleCodeExporter commented 9 years ago
Okay, so I discovered something interesting.  My app has multiple webviews.  I 
was able to write a small test that some simple automation in a small app that 
has a single webview.

Do you know if chromedriver works properly with multiple webviews in an 
application?  Maybe there's something special that must be done in appium to 
support this?

Original comment by sthomp...@pulse-dev.net on 24 Dec 2014 at 12:58

GoogleCodeExporter commented 9 years ago
Oops, missed your last question.  I'm using a nexus 5 real device.

Original comment by sthomp...@pulse-dev.net on 24 Dec 2014 at 1:25

GoogleCodeExporter commented 9 years ago
I am testin an apk with just one webview but th issue is also present.
 El dic 23, 2014 10:25 PM, <chromedriver@googlecode.com> escribió:

Original comment by sapodeot...@gmail.com on 24 Dec 2014 at 11:43

GoogleCodeExporter commented 9 years ago
#14  -  can you provide me the  complete test program.

Original comment by andrewch...@chromium.org on 26 Dec 2014 at 8:04

GoogleCodeExporter commented 9 years ago
 would you please try again with  chromedriver to 2.13?  (replace Appium  chromedriver )
please also provide me your test client program.

Original comment by andrewch...@chromium.org on 27 Dec 2014 at 12:11

GoogleCodeExporter commented 9 years ago
Installed Appium  for both  Linux and window 
and ran with Appium  chromedriver (v2.10.267518)
don't have any problem to launch ChromeDriver on both systems(replaced 
ChromeDriver 2.13 on window)

ld/chromedriver/linux/chromedriver64
info: [debug] [CHROMEDRIVER] Starting ChromeDriver (v2.10.267518) on port 9515
Only local connections are allowed.
info: [debug] Making http request with opts: 
{"url":"http://127.0.0.1:9515/wd/hub/session","method":"POST","json":{"sessionId
":null,"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.bro
wser","androidActivity":"com.android.browser.BrowserActivity","androidDeviceSeri
al":"emulator-5554"}}}}
info: [debug] [CHROMEDRIVER STDERR] [2.883][WARNING]: PAC support disabled 
because there is no system implementation
info: [debug] Successfully started chrome session 
2cbdf7eba863cbd8db63fb57677615e2
info: [debug] Overriding session id with "2cbdf7eba863cbd8db63fb57677615e2"
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId 
2cbdf7eba863cbd8db63fb57677615e2
info: <-- POST /wd/hub/session 303 8232.480 ms - 9 
info: --> GET /wd/hub/session/2cbdf7eba863cbd8db63fb57677615e2 {}
info: [debug] Proxying command to 127.0.0.1:9515
info: [debug] Making http request with opts: 
{"url":"http://127.0.0.1:9515/wd/hub/session/2cbdf7eba863cbd8db63fb57677615e2","
method":"GET"}

Original comment by andrewch...@chromium.org on 30 Dec 2014 at 12:01

GoogleCodeExporter commented 9 years ago
What's your target device?

Original comment by steve.f....@gmail.com on 30 Dec 2014 at 12:30

GoogleCodeExporter commented 9 years ago
Nexus 5 - "emulator-5554"

Original comment by andrewch...@chromium.org on 30 Dec 2014 at 12:32

GoogleCodeExporter commented 9 years ago
I am running into similar issue with Nexus 5. I have update ChromeDriver with 
the latest as well.

Here is my scenario
I start a chrome app. I see the chrome page launch but it is stuck at the " 
Google Chrome Terms of Service " screen. How do I get pass this? 

The error I am seeing in log is org.openqa.selenium.SessionNotCreatedException: 
A new session could not be created. (Original error: Did not get session 
redirect from Chromedriver)

Original comment by manjiri....@gmail.com on 9 Jan 2015 at 4:58

GoogleCodeExporter commented 9 years ago
can you create another ticket?
I need all the details,  e.g  system, tools, etc...

Original comment by andrewch...@chromium.org on 9 Jan 2015 at 6:30

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 6 Feb 2015 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:26