info: â POST /wd/hub/session {âdesiredCapabilitiesâ:{âappPackageâ:null,âappActivityâ:âcom.internetbox.activities.SplashScreenActivityâ,âappâ:â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ,âautoLaunchâ:true,âautomationNameâ:âAppiumâ,âbrowserNameâ:ââ,âplatformNameâ:âAndroidâ,âdeviceNameâ:âf90d44faâ,âplatfromVersionâ:null,âappiumServerUrlâ:âhttp://127.0.0.1:4723/wd/hubâ}}
info: Client User-Agent string: Apache-HttpClient/4.4.1 (Java/1.8.0_45)
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: **** NEW SESSION ***
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: *************************************
info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : platfromVersion, board, appiumServerUrl
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk
info: [debug] Creating new appium session 7c56ded6-07fe-49be-ade6-9e57f7e3df9d
info: Starting android appium
info: [debug] Getting Java version
info: Java version is: 1.8.0_45
info: [debug] Checking whether adb is present
info: [debug] Using adb from /Applications/android-sdk-macosx/platform-tools/adb
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from /Applications/android-sdk-macosx/build-tools/23.0.0-preview/aapt
info: [debug] Extracting package and launch activity from manifest.
info: [debug] executing cmd: /Applications/android-sdk-macosx/build-tools/23.0.0-preview/aapt dump badging /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk
info: [debug] badging package: com.internetbox.debug
info: [debug] badging act: com.internetbox.activities.SplashScreenActivity
info: [debug] Parsed package and activity are: com.internetbox.debug/com.internetbox.activities.SplashScreenActivity
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devicesâŚ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb devices
info: [debug] 1 device(s) connected
info: Found device f90d44fa
info: [debug] Setting device id to f90d44fa
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa wait-for-device
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âecho âreadyââ
info: [debug] Starting logcat capture
info: [debug] Getting device API level
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âgetprop ro.build.version.sdkâ
info: [debug] Device is at API Level 22
info: Device API level is: 22
info: [debug] Extracting strings for language: default
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âgetprop persist.sys.languageâ
info: [debug] Current device persist.sys.language: pl
info: [debug] java -jar â/Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-adb/jars/appium_apk_tools.jarâ âstringsFromApkâ â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ â/tmp/com.internetbox.debugâ pl
info: [debug] Reading strings from converted strings.json
info: [debug] Setting language to default
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa push â/tmp/com.internetbox.debug/strings.jsonâ /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from /Applications/android-sdk-macosx/build-tools/23.0.0-preview/aapt
info: [debug] Retrieving process from manifest.
info: [debug] executing cmd: /Applications/android-sdk-macosx/build-tools/23.0.0-preview/aapt dump xmltree /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk AndroidManifest.xml
info: [debug] Set app process to: com.internetbox.debug
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk.
info: [debug] executing cmd: java -jar /Applications/Appium.app/Contents/Resources/node_modules/appium/submodules/appium-adb/jars/verify.jar /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk
info: [debug] App already signed.
info: [debug] Zip-aligning /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from /Applications/android-sdk-macosx/build-tools/23.0.0-preview/zipalign
info: [debug] Zip-aligning apk.
info: [debug] executing cmd: /Applications/android-sdk-macosx/build-tools/23.0.0-preview/zipalign -f 4 /Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apk /var/folders/xc/fykly4rn7hdcs_2kcvn5nb3m0000gn/T/116230-1714-q5xtcp/appium.tmp
info: [debug] MD5 for app is 74c0cff8d3cc7faec3d95cacda6b8cc9
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âls /data/local/tmp/74c0cff8d3cc7faec3d95cacda6b8cc9.apkâ
info: [debug] Getting install status for com.internetbox.debug
info: [debug] Getting device API level
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âgetprop ro.build.version.sdkâ
info: [debug] Device is at API Level 22
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âpm list packages -3 com.internetbox.debugâ
info: [debug] App is not installed
info: Installing App
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âmkdir -p /data/local/tmp/â
info: [debug] Removing any old apks
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âls /data/local/tmp/*.apkâ
info: [debug] Found an apk we want to keep at /data/local/tmp/74c0cff8d3cc7faec3d95cacda6b8cc9.apk
info: [debug] Couldnât find any apks to remove
info: [debug] Uninstalling com.internetbox.debug
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âam force-stop com.internetbox.debugâ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa uninstall com.internetbox.debug
info: [debug] App was not uninstalled, maybe it wasnât on device?
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âpm install -r /data/local/tmp/74c0cff8d3cc7faec3d95cacda6b8cc9.apkâ
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to deviceâŚ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa push â/Applications/Appium.app/Contents/Resources/node_modules/appium/build/android_bootstrap/AppiumBootstrap.jarâ /data/local/tmp/
info: [debug] Pushing settings apk to deviceâŚ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa install â/Applications/Appium.app/Contents/Resources/node_modules/appium/build/settings_apk/settings_apk-debug.apkâ
info: [debug] Pushing unlock helper app to deviceâŚ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa install â/Applications/Appium.app/Contents/Resources/node_modules/appium/build/unlock_apk/unlock_apk-debug.apkâ
info: Starting App
info: [debug] Attempting to kill all âuiautomatorâ processes
info: [debug] Getting all processes with âuiautomatorâ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âps âuiautomatorââ
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.internetbox.debug -e disableAndroidWatchers false
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
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: 1
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading jsonâŚ
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] Waking up device if itâs not alive
info: [debug] Pushing command to appium work queue: [âwakeâ,{}]
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {âcmdâ:âactionâ,âactionâ:âwakeâ,âparamsâ:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {âstatusâ:0,âvalueâ:true}
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âdumpsys windowâ
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: [âgetDataDirâ,{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {âcmdâ:âactionâ,âactionâ:âgetDataDirâ,âparamsâ:{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] [BOOTSTRAP] [debug] Returning result: {âstatusâ:0,âvalueâ:â/data/local/tmpâ}
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: [âcompressedLayoutHierarchyâ,{âcompressLayoutâ:false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {âcmdâ:âactionâ,âactionâ:âcompressedLayoutHierarchyâ,âparamsâ:{âcompressLayoutâ:false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] Getting device API level
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âgetprop ro.build.version.sdkâ
info: [debug] [BOOTSTRAP] [debug] Returning result: {âstatusâ:0,âvalueâ:false}
info: [debug] Device is at API Level 22
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âam start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.internetbox.debug/com.internetbox.activities.SplashScreenActivityâ
info: [debug] Waiting for pkg âcom.internetbox.debugâ and activity âcom.internetbox.activities.SplashScreenActivityâ to be focused
info: [debug] Getting focused package and activity
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âdumpsys window windowsâ
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa shell âgetprop ro.build.version.releaseâ
info: [debug] Device is at release version 5.1.1
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 7200 secs
info: [debug] Appium session started with sessionId 7c56ded6-07fe-49be-ade6-9e57f7e3df9d
info: â POST /wd/hub/session 303 45069.750 ms - 74
info: â GET /wd/hub/session/7c56ded6-07fe-49be-ade6-9e57f7e3df9d {}
info: [debug] Responding to client with success: {âstatusâ:0,âvalueâ:{âplatformâ:âLINUXâ,âbrowserNameâ:ââ,âplatformVersionâ:â5.1.1â,âwebStorageEnabledâ:false,âtakesScreenshotâ:true,âjavascriptEnabledâ:true,âdatabaseEnabledâ:false,ânetworkConnectionEnabledâ:true,âlocationContextEnabledâ:false,âwarningsâ:{},âdesiredâ:{âappPackageâ:null,âappActivityâ:âcom.internetbox.activities.SplashScreenActivityâ,âappâ:â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ,âautoLaunchâ:true,âautomationNameâ:âAppiumâ,âbrowserNameâ:ââ,âplatformNameâ:âAndroidâ,âdeviceNameâ:âf90d44faâ,âplatfromVersionâ:null,âappiumServerUrlâ:âhttp://127.0.0.1:4723/wd/hub"},âappPackageâ:null,âappActivityâ:âcom.internetbox.activities.SplashScreenActivityâ,âappâ:â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ,âautoLaunchâ:true,âautomationNameâ:âAppiumâ,âplatformNameâ:âAndroidâ,âdeviceNameâ:âf90d44faâ,âplatfromVersionâ:null,âappiumServerUrlâ:âhttp://127.0.0.1:4723/wd/hubâ},âsessionIdâ:"7c56ded6-07fe-49be-ade6-9e57f7e3df9dâ}
info: â GET /wd/hub/session/7c56ded6-07fe-49be-ade6-9e57f7e3df9d 200 11.563 ms - 1129 {âstatusâ:0,âvalueâ:{âplatformâ:âLINUXâ,âbrowserNameâ:ââ,âplatformVersionâ:â5.1.1â,âwebStorageEnabledâ:false,âtakesScreenshotâ:true,âjavascriptEnabledâ:true,âdatabaseEnabledâ:false,ânetworkConnectionEnabledâ:true,âlocationContextEnabledâ:false,âwarningsâ:{},âdesiredâ:{âappPackageâ:null,âappActivityâ:âcom.internetbox.activities.SplashScreenActivityâ,âappâ:â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ,âautoLaunchâ:true,âautomationNameâ:âAppiumâ,âbrowserNameâ:ââ,âplatformNameâ:âAndroidâ,âdeviceNameâ:âf90d44faâ,âplatfromVersionâ:null,âappiumServerUrlâ:âhttp://127.0.0.1:4723/wd/hub"},âappPackageâ:null,âappActivityâ:âcom.internetbox.activities.SplashScreenActivityâ,âappâ:â/Users/qateam/mobiletests1/InternetBoxAutomation/InternetBoxApplication/InternetBoxAndroidApplication-debug.apkâ,âautoLaunchâ:true,âautomationNameâ:âAppiumâ,âplatformNameâ:âAndroidâ,âdeviceNameâ:âf90d44faâ,âplatfromVersionâ:null,âappiumServerUrlâ:âhttp://127.0.0.1:4723/wd/hubâ},âsessionIdâ:"7c56ded6-07fe-49be-ade6-9e57f7e3df9dâ}
info: â DELETE /wd/hub/session/7c56ded6-07fe-49be-ade6-9e57f7e3df9d {}
info: Shutting down appium session
info: [debug] Pressing the HOME button
info: [debug] executing cmd: /Applications/android-sdk-macosx/platform-tools/adb -s f90d44fa 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: {âstatusâ:0,âvalueâ:âOK, shutting downâ}
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: 2.786
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] Responding to client with success: {âstatusâ:0,âvalueâ:null,âsessionIdâ:â7c56ded6-07fe-49be-ade6-9e57f7e3df9dâ}
info: â DELETE /wd/hub/session/7c56ded6-07fe-49be-ade6-9e57f7e3df9d 200 571.628 ms - 76 {âstatusâ:0,âvalueâ:null,âsessionIdâ:â7c56ded6-07fe-49be-ade6-9e57f7e3df9dâ}