Created
February 17, 2017 04:16
-
-
Save priyankshah217/598bd4fc0d6c61bc2122608cc54f24bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Welcome to Appium v1.6.4-beta | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}},"desiredCapabilities":{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},{},{"desiredCapabilities":{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}},null,null] | |
[Appium] Creating new AndroidUiautomator2Driver (v0.2.9) session | |
[Appium] Capabilities: | |
[Appium] app: '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[Appium] appPackage: 'com.testapp.app' | |
[Appium] automationName: 'UIAutomator2' | |
[Appium] appWaitActivity: 'com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity' | |
[Appium] platformName: 'Android' | |
[Appium] deviceName: 'Android' | |
[BaseDriver] Session created with session id: 343aba70-5fc8-43ad-b21f-5c35f4b4453e | |
[BaseDriver] Using local app '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[UiAutomator2] UIAutomator2 Driver version:0.2.9 | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_112 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/it000581/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] Using device: 52032e144ddcc327 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/it000581/Library/Android-SDK/platform-tools/adb | |
[debug] [ADB] Setting device id to 52032e144ddcc327 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[ADB] Extracting package and launch activity from manifest | |
[debug] [ADB] badging package: com.testapp.app | |
[debug] [ADB] badging act: com.testapp.app.ui.screens.MainActivity | |
[debug] [AndroidDriver] Parsed package and activity are: com.testapp.app/com.testapp.app.ui.screens.MainActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': SM-G610F | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","io.appium.uiautomator2.server"] | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 | |
[debug] [ADB] Forwarding system: 8200 to device: 6790 | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","forward","tcp:8200","tcp:6790"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [AndroidDriver] Extracting strings from apk /Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk null /var/folders/kc/gz2dw0dd28l0cmm8_6ltn26h0000gn/T/com.testapp.app | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","persist.sys.locale"] | |
[debug] [ADB] Current device property 'persist.sys.locale': en-US | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","push","/var/folders/kc/gz2dw0dd28l0cmm8_6ltn26h0000gn/T/com.testapp.app/strings.json","/data/local/tmp"] | |
[debug] [ADB] Checking app cert for /Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk. | |
[debug] [ADB] App already signed. | |
[debug] [ADB] Zip-aligning '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[ADB] Checking whether zipalign is present | |
[ADB] Using zipalign from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/zipalign | |
[debug] [ADB] Zip-aligning apk. | |
[AndroidDriver] Remote apk path is /data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","ls","/data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for com.testapp.app | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","com.testapp.app"] | |
[debug] [ADB] App is not installed | |
[AndroidDriver] Apk is not yet installed | |
[AndroidDriver] installing apk from remote | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","mkdir","-p","/data/local/tmp"] | |
[AndroidDriver] Clearing out any existing remote apks with the same hash | |
[debug] [AndroidDriver] Removing any old apks | |
[debug] [AndroidDriver] Except ["bd53d22feee6b9779047c3d0c168ce8b"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","ls","/data/local/tmp/*.apk"] | |
[AndroidDriver] Will remove /data/local/tmp/5869fedcb7f598a492c3b3372f08ffe8.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","rm","-f","/data/local/tmp/5869fedcb7f598a492c3b3372f08ffe8.apk"] | |
[AndroidDriver] Pushing com.testapp.app to device. Will wait up to 90000 milliseconds before aborting | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","push","/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","/data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk"] | |
[debug] [ADB] Uninstalling com.testapp.app | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","com.testapp.app"] | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","uninstall","com.testapp.app"] | |
[ADB] App was not uninstalled, maybe it wasn't on device? | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","install","-r","/data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk"] | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","io.appium.uiautomator2.server"] | |
[debug] [ADB] App is not installed | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","io.appium.uiautomator2.server.test"] | |
[debug] [ADB] App is installed | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","dumpsys","package","io.appium.uiautomator2.server"] | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","com.testapp.app"] | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8200 | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","forward","--remove","tcp:8200"] | |
[MJSONWP] Encountered internal error running command: TypeError: Cannot read property 'toString' of null | |
at UiAutomator2Server.getInstalledPackageVersion$ (..\../lib/uiautomator2.js:91:22) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[HTTP] <-- POST /wd/hub/session 500 33360 ms - 176 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},{},null,null,null] | |
[Appium] Creating new AndroidUiautomator2Driver (v0.2.9) session | |
[Appium] Capabilities: | |
[Appium] app: '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[Appium] appPackage: 'com.testapp.app' | |
[Appium] automationName: 'UIAutomator2' | |
[Appium] appWaitActivity: 'com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity' | |
[Appium] platformName: 'Android' | |
[Appium] deviceName: 'Android' | |
[BaseDriver] Session created with session id: 25ee5b5b-8017-4c66-b673-d1115b341de4 | |
[BaseDriver] Using local app '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[UiAutomator2] UIAutomator2 Driver version:0.2.9 | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_112 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/it000581/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] Using device: 52032e144ddcc327 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/it000581/Library/Android-SDK/platform-tools/adb | |
[debug] [ADB] Setting device id to 52032e144ddcc327 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[ADB] Extracting package and launch activity from manifest | |
[debug] [ADB] badging package: com.testapp.app | |
[debug] [ADB] badging act: com.testapp.app.ui.screens.MainActivity | |
[debug] [AndroidDriver] Parsed package and activity are: com.testapp.app/com.testapp.app.ui.screens.MainActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': SM-G610F | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","io.appium.uiautomator2.server"] | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 | |
[debug] [ADB] Forwarding system: 8200 to device: 6790 | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","forward","tcp:8200","tcp:6790"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [AndroidDriver] Extracting strings from apk /Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk null /var/folders/kc/gz2dw0dd28l0cmm8_6ltn26h0000gn/T/com.testapp.app | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","getprop","persist.sys.locale"] | |
[debug] [ADB] Current device property 'persist.sys.locale': en-US | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","push","/var/folders/kc/gz2dw0dd28l0cmm8_6ltn26h0000gn/T/com.testapp.app/strings.json","/data/local/tmp"] | |
[debug] [ADB] Checking app cert for /Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk. | |
[debug] [ADB] App already signed. | |
[debug] [ADB] Zip-aligning '/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk' | |
[ADB] Checking whether zipalign is present | |
[ADB] Using zipalign from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/zipalign | |
[debug] [ADB] Zip-aligning apk. | |
[AndroidDriver] Remote apk path is /data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","ls","/data/local/tmp/bd53d22feee6b9779047c3d0c168ce8b.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for com.testapp.app | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","com.testapp.app"] | |
[debug] [ADB] App is installed | |
[AndroidDriver] Apk is already on remote and installed, resetting | |
[debug] [AndroidDriver] Running fast reset (stop and clear) | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","com.testapp.app"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","clear","com.testapp.app"] | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","io.appium.uiautomator2.server"] | |
[debug] [ADB] App is not installed | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","pm","list","packages","io.appium.uiautomator2.server.test"] | |
[debug] [ADB] App is installed | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt from /Users/it000581/Library/Android-SDK/build-tools/25.0.2/aapt | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","dumpsys","package","io.appium.uiautomator2.server"] | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","shell","am","force-stop","com.testapp.app"] | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8200 | |
[debug] [ADB] Running '/Users/it000581/Library/Android-SDK/platform-tools/adb' with args: ["-P",5037,"-s","52032e144ddcc327","forward","--remove","tcp:8200"] | |
[MJSONWP] Encountered internal error running command: TypeError: Cannot read property 'toString' of null | |
at UiAutomator2Server.getInstalledPackageVersion$ (..\../lib/uiautomator2.js:91:22) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[HTTP] <-- POST /wd/hub/session 500 16270 ms - 176 | |
[HTTP] --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"app":"/Users/it000581/Java_Projects/app-e2e/temp/testapp-prod_aws_nonwebp-e2e.apk","appPackage":"com.testapp.app","automationName":"UIAutomator2","appWaitActivity":"com.testapp.app.ui.screens.IndianProgrammingPreferenceActivity","platformName":"Android","deviceName":"Android"},"requiredCapabilities":{}}} | |
[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"required":["desiredCapabilities"],"optional":["requiredCapabilities","capabilities","sessionId","id"]} and you sent ["capabilities"] | |
[HTTP] <-- POST /wd/hub/session 400 3 ms - 171 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment