Skip to content

Instantly share code, notes, and snippets.

@priyankshah217
Created September 29, 2014 08:40
Show Gist options
  • Save priyankshah217/8ed618e633b90fdbbf47 to your computer and use it in GitHub Desktop.
Save priyankshah217/8ed618e633b90fdbbf47 to your computer and use it in GitHub Desktop.
java -jar selendroid-standalone-0.12.0-with-dependencies.jar -aut en-testapp.apk -forceReinstall
################# Selendroid #################
################# Configuration in use #################
io.selendroid.SelendroidConfiguration@316c171f[
port=4444
timeoutEmulatorStart=300000
supportedApps=[en-testapp.apk]
verbose=false
emulatorPort=5560
deviceScreenshot=false
selendroidServerPort=8080
keystore=<null>
keystorePassword=<null>
keystoreAlias=<null>
emulatorOptions=<null>
registrationUrl=<null>
proxy=<null>
serverHost=<null>
keepAdbAlive=false
noWebViewApp=false
noClearData=false
sessionTimeoutSeconds=1800
forceReinstall=true
logLevel=ERROR
deviceLog=true
serverStartTimeout=20000
printHelp=false
]
Sep 29, 2014 1:48:38 PM io.selendroid.SelendroidLauncher launchServer
INFO: Starting selendroid-server port 4444
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/MANIFEST.MF
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/CERT.RSA
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/CERT.SF
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/ANDROIDD.SF
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/ANDROIDD.RSA
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/NDKEYSTO.SF
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /home/adminuser/Selendroid/en-testapp.apk META-INF/NDKEYSTO.RSA
Sep 29, 2014 1:48:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /usr/lib/jvm/java-7-oracle/bin/jarsigner -sigalg MD5withRSA -digestalg SHA1 -signedjar /home/adminuser/Selendroid/resigned-en-testapp.apk -storepass android -keystore /home/adminuser/.android/debug.keystore /home/adminuser/Selendroid/en-testapp.apk androiddebugkey
Sep 29, 2014 1:48:40 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: App signing output: jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2044-01-08) or after any future revocation date.
Sep 29, 2014 1:48:40 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: The app has been signed: /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:48:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt dump badging /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:48:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt dump badging /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:48:41 PM io.selendroid.server.model.SelendroidStandaloneDriver initApplicationsUnderTest
INFO: App com.test.app.android:1.0 has been added to selendroid standalone server.
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/MANIFEST.MF
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/CERT.RSA
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/CERT.SF
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/ANDROIDD.SF
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/ANDROIDD.RSA
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/NDKEYSTO.SF
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/android-driver2297417070902970641.apk META-INF/NDKEYSTO.RSA
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /usr/lib/jvm/java-7-oracle/bin/jarsigner -sigalg MD5withRSA -digestalg SHA1 -signedjar /tmp/resigned-android-driver2297417070902970641.apk -storepass android -keystore /home/adminuser/.android/debug.keystore /tmp/android-driver2297417070902970641.apk androiddebugkey
Sep 29, 2014 1:48:41 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: App signing output: jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2044-01-08) or after any future revocation date.
Sep 29, 2014 1:48:41 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: The app has been signed: /tmp/resigned-android-driver2297417070902970641.apk
Sep 29, 2014 1:48:41 PM io.selendroid.server.model.DeviceStore addDevice
INFO: Adding: HardwareDevice [serial=HT26HW300907, model=null, targetVersion=null]
Sep 29, 2014 1:48:41 PM io.selendroid.server.model.DeviceStore addDevice
INFO: Adding: HardwareDevice [serial=HT26HW300907, model=HTC One X, targetVersion=ANDROID15]
Sep 29, 2014 1:48:41 PM io.selendroid.android.impl.DefaultDeviceManager initializeAdbConnection
INFO: my devices: null
Sep 29, 2014 1:48:41 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/tools/android list avds
Sep 29, 2014 1:48:42 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb devices
Sep 29, 2014 1:48:42 PM io.selendroid.server.model.DeviceStore addEmulators
INFO: No emulators has been found.
selendroid-standalone server has been started on port: 4444
Sep 29, 2014 1:49:00 PM io.selendroid.server.handler.CreateSessionHandler handle
INFO: new session command with capabilities: {"desiredCapabilities": {"aut": "com.test.app.android:1.0"}}
Sep 29, 2014 1:49:00 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell pm list packages com.test.app.android
Sep 29, 2014 1:49:02 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 install -r /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:49:12 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell pm list packages io.selendroid.com.test.app.android
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder createSelendroidServer
INFO: create SelendroidServer for apk: /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder init
INFO: Creating customized Selendroid-server: /tmp/selendroid-server7410715338107491183.apk
Sep 29, 2014 1:49:13 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/selendroid-server7410715338107491183.apk META-INF/CERT.RSA
Sep 29, 2014 1:49:13 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/selendroid-server7410715338107491183.apk META-INF/CERT.SF
Sep 29, 2014 1:49:13 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt remove /tmp/selendroid-server7410715338107491183.apk AndroidManifest.xml
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder createAndAddCustomizedAndroidManifestToSelendroidServer
INFO: Adding target package 'com.test.app.android' to /tmp/com.test.app.android1411978753301/AndroidManifest.xml
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder createAndAddCustomizedAndroidManifestToSelendroidServer
INFO: Final Manifest File:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="0.12.0-SNAPSHOT" package="io.selendroid.com.test.app.android">
<uses-sdk android:minSdkVersion="10"/>
<instrumentation android:name="io.selendroid.ServerInstrumentation" android:targetPackage="io.selendroid.testapp"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_CALL_LOG"/>
<application android:debuggable="true" android:icon="@drawable/selenium_icon" android:label="Selendroid">
<uses-library android:name="android.test.runner"/>
</application>
</manifest>
Sep 29, 2014 1:49:13 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt package -M /tmp/com.test.app.android1411978753301/AndroidManifest.xml -I /opt/android-sdk-linux/platforms/android-20/android.jar -F /tmp/com.test.app.android1411978753301/manifest.apk -f
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder createAndAddCustomizedAndroidManifestToSelendroidServer
INFO:
Sep 29, 2014 1:49:13 PM io.selendroid.builder.SelendroidServerBuilder createAndAddCustomizedAndroidManifestToSelendroidServer
INFO: file: /tmp/com.test.app.android1411978753301selendroid-server.apk
Sep 29, 2014 1:49:13 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /usr/lib/jvm/java-7-oracle/bin/jarsigner -sigalg MD5withRSA -digestalg SHA1 -signedjar /tmp/selendroid-server-com.test.app.android-0.12.0-SNAPSHOT.apk -storepass android -keystore /home/adminuser/.android/debug.keystore /tmp/com.test.app.android1411978753301selendroid-server.apk androiddebugkey
Sep 29, 2014 1:49:14 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: App signing output: jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2044-01-08) or after any future revocation date.
Sep 29, 2014 1:49:14 PM io.selendroid.builder.SelendroidServerBuilder signTestServer
INFO: The app has been signed: /tmp/selendroid-server-com.test.app.android-0.12.0-SNAPSHOT.apk
Sep 29, 2014 1:49:14 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 install -r /tmp/selendroid-server-com.test.app.android-0.12.0-SNAPSHOT.apk
running command: adb shell setprop log.tag.SELENDROID ERROR
Sep 29, 2014 1:49:19 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell setprop log.tag.SELENDROID ERROR
Sep 29, 2014 1:49:19 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/build-tools/19.1.0/aapt dump badging /home/adminuser/Selendroid/resigned-en-testapp.apk
Sep 29, 2014 1:49:19 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell am instrument -e main_activity com.test.app.android.gui.StartActivity -e server_port 8080 io.selendroid.com.test.app.android/io.selendroid.ServerInstrumentation
Sep 29, 2014 1:49:20 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 forward tcp:8080 tcp:8080
Sep 29, 2014 1:49:20 PM io.selendroid.android.impl.AbstractDevice startLogging
INFO: starting logcat:
Sep 29, 2014 1:49:20 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Cleaning up unclosed ZipFile for archive /tmp/selendroid-server7410715338107491183.apk
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://localhost:8080: The target server failed to respond
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:21 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:21 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:23 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:23 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:23 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:23 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:23 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:25 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:25 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:25 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:25 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:25 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:27 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:27 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:27 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:27 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:27 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:29 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:29 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:29 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:29 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:29 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:31 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:32 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:32 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:32 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:32 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:34 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:34 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:34 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:34 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:34 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:36 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:36 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:36 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://localhost:8080: The target server failed to respond
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:36 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:36 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:38 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:38 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:38 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:38 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:40 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:40 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:40 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:40 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
running command: adb shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:42 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell echo $EXTERNAL_STORAGE
Sep 29, 2014 1:49:42 PM io.selendroid.io.ShellCommand exec
INFO: executing command: /opt/android-sdk-linux/platform-tools/adb -s HT26HW300907 shell test -e /mnt/sdcard/appcrash.log && cat /mnt/sdcard/appcrash.log
Sep 29, 2014 1:49:42 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
INFO: using url: http://localhost:8080/wd/hub/status
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: I/O exception (java.net.SocketException) caught when processing request to {}->http://localhost:8080: Connection reset
Sep 29, 2014 1:49:42 PM org.apache.http.impl.client.DefaultHttpClient tryExecute
INFO: Retrying request to {}->http://localhost:8080
Sep 29, 2014 1:49:42 PM io.selendroid.android.impl.AbstractDevice isSelendroidRunning
SEVERE: Error getting status: java.net.SocketException: Connection reset
Sep 29, 2014 1:49:42 PM io.selendroid.server.handler.CreateSessionHandler handle
SEVERE: Error while creating new session: Selendroid server on the device didn't come up after 20sec:
io.selendroid.exceptions.SelendroidException: Selendroid server on the device didn't come up after 20sec:
at io.selendroid.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:333)
at io.selendroid.server.handler.CreateSessionHandler.handle(CreateSessionHandler.java:43)
at io.selendroid.server.SelendroidServlet.handleRequest(SelendroidServlet.java:143)
at io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:67)
at io.selendroid.server.http.ServerHandler.channelRead(ServerHandler.java:52)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.traffic.AbstractTrafficShapingHandler.channelRead(AbstractTrafficShapingHandler.java:223)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment