Skip to content

Instantly share code, notes, and snippets.

@vrunoa
Created December 11, 2018 21:15
Show Gist options
  • Save vrunoa/37bfabe8d1827489b091a279921c44bb to your computer and use it in GitHub Desktop.
Save vrunoa/37bfabe8d1827489b091a279921c44bb to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.9.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"browserName":"","appiumVersion":"1.8.1","deviceName":"Android GoogleApi Emulator","platformVersion":"8.0","launchTimeout":35000,"platformName":"Android","app":"http://appium.s3.amazonaws.com/ContactManager.apk","prevent-requeue":true,"name":"Basic android native test (Android GoogleApi Emulator on Android 8.0)","avdName":"O-phone-gms-portrait-appium","locale":"es_AR","language":"es"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","appiumVersion":"1.8.1","deviceName":"Android GoogleApi Emulator","platformVersion":"8.0","launchTimeout":35000,"platformName":"Android","app":"http://appium.s3.amazonaws.com/ContactManager.apk","prevent-requeue":true,"name":"Basic android native test (Android GoogleApi Emulator on Android 8.0)","avdName":"O-phone-gms-portrait-appium","locale":"es_AR","language":"es"},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1544562883870 (13:14:43 GMT-0800 (PST))
[Appium] Consider setting 'automationName' capability to 'UiAutomator2' on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[Appium] Creating new AndroidDriver (v4.1.1) session
[Appium] Capabilities:
[Appium] browserName:
[Appium] appiumVersion: 1.8.1
[Appium] deviceName: Android GoogleApi Emulator
[Appium] platformVersion: 8.0
[Appium] launchTimeout: 35000
[Appium] platformName: Android
[Appium] app: http://appium.s3.amazonaws.com/ContactManager.apk
[Appium] prevent-requeue: true
[Appium] name: Basic android native test (Android GoogleApi Emulator on Android 8.0)
[Appium] avdName: O-phone-gms-portrait-appium
[Appium] locale: es_AR
[Appium] language: es
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"browserName":"","appiumVe...
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appiumVersion, launchTimeout, prevent-requeue, name, avdName.
[BaseDriver] Session created with session id: c7a618ef-8b33-4182-89c9-e43797167e6a
[AndroidDriver] Java version is: 1.8.0_161
[ADB] Checking whether adb is present
[ADB] Found 10 'build-tools' folders under '/Users/brunoalassia/Library/Android/sdk' (newest first):
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/28.0.3
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/28.0.2
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/27.0.3
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/27.0.2
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/26.0.2
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/26.0.0
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/25.0.2
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/25.0.0
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/23.0.2
[ADB] /Users/brunoalassia/Library/Android/sdk/build-tools/23.0.1
[ADB] Using adb from /Users/brunoalassia/Library/Android/sdk/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android '8.0'
[debug] [ADB] Setting device id to emulator-5554
[ADB] Getting device platform version
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 8.0.0
[AndroidDriver] Using device: emulator-5554
[debug] [ADB] Setting device id to emulator-5554
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 26
[debug] [ADB] Device API level: 26
[AndroidDriver] Consider setting 'automationName' capability to 'uiautomator2' on Android >= 6, since UIAutomator framework is not maintained anymore by the OS vendor.
[BaseDriver] Using downloadable app 'http://appium.s3.amazonaws.com/ContactManager.apk'
[debug] [BaseDriver] 'http://appium.s3.amazonaws.com/ContactManager.apk' downloaded to '/var/folders/zp/4c85m04973x_rdkj8dbwlbpr0000gn/T/20181111-29534-1hr5ld4.uk52i/appium-app.apk'
[debug] [BaseDriver] Downloaded file type 'binary/octet-stream'
[BaseDriver] Downloaded the app to '/var/folders/zp/4c85m04973x_rdkj8dbwlbpr0000gn/T/20181111-29534-1hr5ld4.uk52i/appium-app.apk'
[debug] [BaseDriver] Got 'undefined' as 'Last-Modified' HEAD response header value of 'http://appium.s3.amazonaws.com/ContactManager.apk'
[BaseDriver] Skipping 'http://appium.s3.amazonaws.com/ContactManager.apk' caching, because the HEAD response didn't return any valid Last-Modified headers
[debug] [AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device'
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list packages io.appium.settings'
[debug] [ADB] App is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/brunoalassia/Library/Android/sdk/build-tools/28.0.3/aapt
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0')
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell ps'
[debug] [ADB] Device API level: 26
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [ADB] Device API level: 26
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell appops set io.appium.settings android\:mock_location allow'
[debug] [ADB] Device API level: 26
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': es
[debug] [ADB] Current locale: 'es'; requested locale: 'es-ES_AR'
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am broadcast -a io.appium.settings.locale -n io.appium.settings/.receivers.LocaleSettingReceiver --es lang es --es country ES_AR'
[debug] [ADB] Device API level: 26
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop persist.sys.locale'
[debug] [ADB] Current device property 'persist.sys.locale': es
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Called deleteSession but bootstrap wasn't active
[debug] [ADB] Running '/Users/brunoalassia/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.unlock'
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1544562888179 (13:14:48 GMT-0800 (PST))
[debug] [MJSONWP] Encountered internal error running command: Error: Failed to set language: es and country: es_AR
[debug] [MJSONWP] at Object.callee$0$0$ (/Users/brunoalassia/.nvm/versions/node/v8.1.0/lib/node_modules/appium/node_modules/appium-android-driver/lib/android-helpers.js:152:11)
[debug] [MJSONWP] at tryCatch (/Users/brunoalassia/.nvm/versions/node/v8.1.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [MJSONWP] at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/brunoalassia/.nvm/versions/node/v8.1.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [MJSONWP] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/brunoalassia/.nvm/versions/node/v8.1.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [MJSONWP] at GeneratorFunctionPrototype.invoke (/Users/brunoalassia/.nvm/versions/node/v8.1.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [MJSONWP] at <anonymous>
[HTTP] <-- POST /wd/hub/session 500 4430 ms - 182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment