-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tizen driver available commands do not work for TV devices, exited with code 1'; Stderr: 'closed'; #10
Comments
@pkebets I have also tried this driver on sTV devices but failed. Here is my finding please see if they are helpful. Environment
Because I don't have any real device with dev firmware so I tested on the emulator which sdb shell enabled. However, my blocker is the app_launcher command:
I can only find following info about this command: As the driver lack of documentation I guess it only works on devices with Tizen IVI or another Tizen 3 profiles? |
@luhuangAccedo the Tizen IDE 2.4rev8 you are using is the old one, it could only be used for Tizens 2.3-2.4 |
Hi @pkebets above mentioned IDE version and partner TV emulator is the last combination with sdb shell enabled, haven't seen any sdb shell enabled on Tizen studio TV emulators that's why I use the old one (Please let me know if ANY!!!). As I just want to check if this driver works on TV profile.
My point is, even with sdb shell works, I strongly doubt this driver will work for TV profile. |
@pkebets @luhuangAccedo My general observation after seeing this driver is, It might not support TV platforms. Very first thing SDB Shell is disabled for all the latest Tv emulators and Hardware Tv's other than those real Tv's which have dev firmware. They are using websocket connection, which can be used to get TV remote connection and use the remote keys, but i have not seen that implementation anywhere in the project. |
Thanks @anirudh552 ! |
Yes. As you already know, current Tizen TV is not support SDB shell due to internal security policy. Of course, there is also a shell-enabled partner emulator, but this project does not cover that part yet. I hope to be supported on TV soon, and I will open this issue until it is resolved. Thanks! |
@rookiejava could you please help us with some info here. We are still facing issue with sdb for Samsung Tizen TV 2015 "Tizen driver available commands do not work for TV devices, exited with code 1'; Stderr: 'closed'; " . Trying to do test automation using Appium but it pop up error "An unknown server-side error occurred while processing the command. Original error: Error finding if app is installed. Original error: Error executing sdbExec. Original error: 'Command 'C:\Tizen\tools\sdb.exe -s emulator-26101 shell 'app_launcher --list | grep tizen.Calendar'' exited with code 1'; Stderr: 'closed'; Code: '1'". Suspecting this error is because of SDB for working on TV.Some info here would be of great help. |
I would also like to get help getting this up and running. I am seeing the same error: ERR! SDB Error finding if app is installed. Original error: Error executing sdbExec. Original error: 'Command '/Users/mohammadarif/tizen-studio/tools/sdb -s 192.168.1.66:26101 shell 'app_launcher --list | grep 30bs8OivHb.CDTVSamsungTemplate'' exited with code 1'; Stderr: 'closed'; Code: '1' What does the Stderr: 'closed' mean? I can't seem to find anything about how to change this If I type If I type Anyone know if its possible for the driver to use the |
The problem
The commands tizen driver offers us do not work for TV devices. Every connection to real tizen TV device is followed by "Getting install status for 'appPackage'" command. This and other available commands are executed over "sdb shell".
"sdb shell" is not supported neither by TV emulators nor by real TV devices, unless real TV device has "debug firmware installed".
According to what I see from Appium server log, tizen driver executes 'sdb shell' scripts directly against device and throws "sdb shell ... exited with code 1'; Stderr: 'closed';".
It will never work since it is blocked by TV firmware. The only way it could be done is over socket connection, I see some JS code related to socket connection but most likely the requests to the device are not going through the socket.
Environment
Link to Appium logs
GIST
Code To Reproduce Issue [ Good To Have ]
To repro the issue it is enough to start Appium server 1.9.0 with capabilities
{
"appPackage": "sample",
"deviceName": "Tizen",
"platformName": "Tizen"
}
The text was updated successfully, but these errors were encountered: