Created
September 16, 2016 11:01
-
-
Save Pitel/2970b0d7aef7f6441208495979c7f17f 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.5.3 | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","deviceName":"Android","appPackage":"cz.master.lois"}} | |
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android",... | |
[HTTP] --> DELETE /wd/hub/session {} | |
[debug] [HTTP] No route found. Setting content type to 'text/plain' | |
[HTTP] <-- DELETE /wd/hub/session 404 4 ms - 57 | |
[Appium] Creating new AndroidDriver session | |
[Appium] Capabilities: | |
[Appium] platformName: 'Android' | |
[Appium] deviceName: 'Android' | |
[Appium] appPackage: 'cz.master.lois' | |
[BaseDriver] Session created with session id: d794504d-6846-4f39-b1fa-cce2532a267d | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_91 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /home/pitel/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: 00f563b073ba1176 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /home/pitel/Android/Sdk/platform-tools/adb | |
[debug] [ADB] Setting device id to 00f563b073ba1176 | |
[AndroidDriver] App file was not listed, instead we're going to run cz.master.lois directly on the device | |
[debug] [AndroidDriver] Checking whether package is present on the device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","pm","list","packages","cz.master.lois"] | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","install","/usr/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","install","/usr/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","forward","tcp:4724","tcp:4724"] | |
[debug] [UiAutomator] Starting UiAutomator | |
[debug] [UiAutomator] Moving to state 'starting' | |
[debug] [UiAutomator] Parsing uiautomator jar | |
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","push","/usr/lib/node_modules/appium/node_modules/appium-android-driver/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"] | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","ps","uiautomator"] | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","ps","uiautomator"] | |
[ADB] Error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:420:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:420:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[ADB] Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:436:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:436:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[UiAutomator] Error while killing uiAutomator: Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, 00f563b073ba1176, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, cz.master.lois, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false | |
[debug] [UiAutomator] Moving to state 'online' | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[ADB] Error: activity and pkg is required for launching application | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/apk-utils.js:44:11) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at ADB.callee$0$0 [as startApp] (lib/tools/apk-utils.js:58:15) | |
at AndroidDriver.callee$0$0$ (lib/commands/general.js:177:18) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as startAUT] (lib/commands/general.js:176:21) | |
at AndroidDriver.startAndroidSession$ (lib/driver.js:200:20) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: activity and pkg is required for launching application | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/apk-utils.js:44:11) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at ADB.callee$0$0 [as startApp] (lib/tools/apk-utils.js:58:15) | |
at AndroidDriver.callee$0$0$ (lib/commands/general.js:177:18) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as startAUT] (lib/commands/general.js:176:21) | |
at AndroidDriver.startAndroidSession$ (lib/driver.js:200:20) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[ADB] Error: Error occured while starting App. Original error: activity and pkg is required for launching application | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/apk-utils.js:80:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at ADB.callee$0$0 [as startApp] (lib/tools/apk-utils.js:58:15) | |
at AndroidDriver.callee$0$0$ (lib/commands/general.js:177:18) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as startAUT] (lib/commands/general.js:176:21) | |
at AndroidDriver.startAndroidSession$ (lib/driver.js:200:20) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: Error occured while starting App. Original error: activity and pkg is required for launching application | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/apk-utils.js:80:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at ADB.callee$0$0 [as startApp] (lib/tools/apk-utils.js:58:15) | |
at AndroidDriver.callee$0$0$ (lib/commands/general.js:177:18) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as startAUT] (lib/commands/general.js:176:21) | |
at AndroidDriver.startAndroidSession$ (lib/driver.js:200:20) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[debug] [AndroidDriver] Shutting down Android driver | |
[debug] [ADB] Getting connected devices... | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","am","force-stop","cz.master.lois"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","am","force-stop","io.appium.unlock"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","input","keyevent",3] | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"} | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [UiAutomator] Shutting down UiAutomator | |
[debug] [UiAutomator] Moving to state 'stopping' | |
[debug] [UiAutomator] UiAutomator shut down normally | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","ps","uiautomator"] | |
[debug] [ADB] Running /home/pitel/Android/Sdk/platform-tools/adb with args: ["-P",5037,"-s","00f563b073ba1176","shell","ps","uiautomator"] | |
[ADB] Error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:420:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:420:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[ADB] Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:436:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/adb-commands.js:436:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[UiAutomator] Error while killing uiAutomator: Error: Unable to kill uiautomator processes. Original error: Unable to get pids for uiautomator. Orginial error: Error executing adbExec. Original error: Command '/home/pitel/Android/Sdk/platform-tools/adb -P 5037 -s 00f563b073ba1176 shell ps uiautomator' exited with code 1{"stdout":"bad pid 'uiautomator'\n","stderr":"","code":1} | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[MJSONWP] Encountered internal error running command: Error: Error occured while starting App. Original error: activity and pkg is required for launching application | |
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13) | |
at ADB.callee$0$0$ (lib/tools/apk-utils.js:80:9) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at ADB.callee$0$0 [as startApp] (lib/tools/apk-utils.js:58:15) | |
at AndroidDriver.callee$0$0$ (lib/commands/general.js:177:18) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at Promise.F (/usr/lib/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidDriver.callee$0$0 [as startAUT] (lib/commands/general.js:176:21) | |
at AndroidDriver.startAndroidSession$ (lib/driver.js:200:20) | |
at tryCatch (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/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 12934 ms - 241 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well the error in logs tells you whats wrong - you need to provide both appPackage and activity desired capability. In the case of these logs in this gist there was no activity provided