Mir
5303
Comment:
|
5087
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
* '''Test plan for component''': Mir and unity-system-compositor | * '''Test plan for component''': Mir |
Line 7: | Line 7: |
* '''Trunk URL''': lp:mir/ubuntu (note: mir has release branches example lp:mir/0.16) & lp:unity-system-compositor |
* '''Trunk URL''': [[https://launchpad.net/mir/ubuntu|lp:mir/ubuntu]] (note: mir has release branches, for example [[https://launchpad.net/mir/0.26|lp:mir/0.26]]) |
Line 10: | Line 9: |
& http://launchpad.net/ubuntu/+source/unity-system-compositor | |
Line 17: | Line 15: |
* '''QtMir''' http://code.launchpad.net/qtmir | * '''MirAL''' https://code.launchpad.net/miral |
Line 19: | Line 17: |
* '''Platform-api''' http://code.launchpad.net/platform-api | |
Line 21: | Line 18: |
* '''Unity-System-Compositor''' http://code.launchpad.net/unity-system-compositor * '''url-dispatcher''' * '''trust-store''' * '''pay-service''' |
|
Line 26: | Line 19: |
* '''ubuntu-app-launch''' | |
Line 31: | Line 23: |
'''NOTE:''' Please consider all platforms and configurations. "Ubuntu Phone" includes Nexus4, Nexus7 2013, arale and krillin. "Ubuntu Desktop" includes XMir, can be installed via unity8-desktop-session-mir. Note, substantive changes in unity-system-compositor should mandate testing of "Ubuntu Desktop". === Ubuntu Phone === * Successful run of automated CI testing (already done by the CI autolander) * In addition, install updated image on phone and tablet * Install packages from build silo * note: even safer to install only the packages you've built (not dist-upgrade) * Ensure navigating/scrolling the ui/Dash works as expected (note: cross check known unity8 bugs for any oddities witnessed) * For screen blanking use [[https://wiki.ubuntu.com/Process/Merges/TestPlans/unity-system-compositor|USCTestPlan]] * Ensure '''app launches''' and can '''quit apps''' * make sure to launch multiple apps and swap them * when you launch the app, do not touch the screen and make sure it updates * when you quit the app, make sure a new app doesn't launch * Browser '''copy/paste''' to '''Notes''' application (need to be downloaded from the Ubuntu store) * '''note''' see bugs list, currently browser only allows selection of paragraph not a single word * open browser, go to cnn.com article with text * select text, long press for copy prompt, press copy * launch Notes, new note, long press to activate paste prompt, paste * select note to activate OSK, rotate a few times and ensure osk and notepad follow rotation * note copy/paste, OSK, rotation, moving between apps should function as expected * Notes copy/paste to message app * '''note''' currently msg app has a bug where paste doesn't prompt/highlight properly * open Notes, type some text * long press to prompt & select all text * long press again to prompt & copy text * dismiss keyboard * open message app, activate compose area, long press to prompt, paste * make sure OSK functions correctly, especially '''top row extended keys on OSK''' * make sure '''OSK rotates''' correctly * '''Download click app''' & launch (covers dash, click, osk, acct) * (without having setup accounts) Navigate to the Dash recommended applications * select app, select install * should be prompted to settings, enter U1 info with OSK * return to dash install app, open app * note the various screen switching and OSK prompting should function as expected * Open Gallery * play around in the app, make sure images captured by the Camera look correct. * run unity8 AP test per https://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission * note: with the mir 0.18 release, nexus 7 u8 autopilot testing is broken due to autopilot not working with tablet-mode-configured devices. * run browser AP test (ensure pass rate is similar to smoke results : http://ci.ubuntu.com/smokeng/vivid/). Note: same link as above, under "Running Deb tests" - look for 'webbrowser'. * If any oddities are witnessed, retest virgin image without mir changes * phablet-screenshot running from a desktop connected to the device shall work for all supported devices (manta, flo, mako). === Ubuntu Desktop === Desktop testing is recommended for XMir when Mir landing attempt involves client API changes and significant unity-system-compositor changes. Unity8-desktop-session-mir testing is also recommended for significant unity-system-compositor changes. |
|
Line 81: | Line 25: |
* In addition update desktop from archive (assumes on utopic) * Install packages from build silo |
* In addition update desktop from archive * Install packages from build silo: * $ sudo apt install mir-demos mir-graphics-drivers-desktop * Mir-on-X * Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds, * Start a terminal sessions to launch the tests. * Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''mir_demo_server --test-timeout 10 --test-client mir_demo_client_multiwin''' * Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''mir_demo_server --test-timeout 10 --test-client mir_demo_client_egltriangle''' * Mir-on-Mir * Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds. * Start two terminal sessions, one for a "host" server, one to launch the tests. * Start a "host" server: $ '''mir_demo_server --window-manager system-compositor''' * Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_multiwin''' * Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_egltriangle''' * Close the "host" server * Mir-on-KMS * go to a VT. These tests run for a default 10 seconds. * Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_multiwin''' * Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_egltriangle''' * Basic GDK support * Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place. * Start two terminal sessions, one for a Mir server, one to launch the tests. * Start a server: $ '''mir_demo_server''' * Test that gnome-terminal runs and can be moved(resized) with Alt+Left(Middle)-Button: * $ '''GDK_BACKEND=mir gnome-terminal --app-id com.canonical.mir.Terminal''' * Test that GDK applications can be run from the terminal: * $ '''gedit''' * Close the server * Basic Qt support * Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place. * Start two terminal sessions, one for a Mir server, one to launch the tests. * Install Qt support and kate: $ '''sudo apt install qtubuntu-desktop kate''' * Start a server: $ '''mir_demo_server''' * Test that qterminal runs: * $ '''unset QT_QPA_PLATFORMTHEME''' * $ '''QT_QPA_PLATFORM=ubuntumirclient qterminal''' * Test that Qt applications can be run from the terminal: * $ '''kate''' * Close the server * Basic SDL support * Use an X11 based desktop (Unity, Gnome, etc.). * Start two terminal sessions, one for a Mir server, one to launch the test. * Install a sample SDL application: $ '''sudo apt install 7kaa''' * Start a server: $ '''mir_demo_server''' * Test that 7kaa runs and can be used: * $ '''SDL_VIDEODRIVER=mir 7kaa''' * ''Note that 7kaa crashes on exit: That is not a problem for this test.'' * Close the server |
Line 86: | Line 88: |
* launch Xmir in a another VT using: Xmir -mirSocket /tmp/mir_socket -damage :2 | * launch Xmir in another VT using: Xmir -mirSocket /tmp/mir_socket -rootless :2 |
Line 91: | Line 93: |
* Install unity8-desktop-session-mir | * ''On zesty and later'' Install MirAL * Follow [[https://wiki.ubuntu.com/Process/Merges/TestPlans/MirAL|MirAL test plan]]. * ''On zesty only'' Install unity8-desktop-session |
Test plan for component: Mir
Component Checklist: https://wiki.ubuntu.com/Process/Merges/Checklists/Mir
Trunk URL: lp:mir/ubuntu (note: mir has release branches, for example lp:mir/0.26)
Ubuntu Package URL (LP): http://launchpad.net/ubuntu/+source/mir
Dependents/Clients
Clients of this component
qtubuntu https://launchpad.net/qtubuntu
Xmir https://code.launchpad.net/~xmir-team/xorg-server/+git/xmir
SDL
GTK-3
Test Plan
- Successful run of automated CI testing
- In addition update desktop from archive
- Install packages from build silo:
- $ sudo apt install mir-demos mir-graphics-drivers-desktop
- Install packages from build silo:
- Mir-on-X
- Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds,
- Start a terminal sessions to launch the tests.
- Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ mir_demo_server --test-timeout 10 --test-client mir_demo_client_multiwin
- Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ mir_demo_server --test-timeout 10 --test-client mir_demo_client_egltriangle
- Mir-on-Mir
- Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds.
- Start two terminal sessions, one for a "host" server, one to launch the tests.
Start a "host" server: $ mir_demo_server --window-manager system-compositor
- Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_multiwin
- Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_egltriangle
- Close the "host" server
- Mir-on-KMS
- go to a VT. These tests run for a default 10 seconds.
- Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_multiwin
- Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
$ sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_egltriangle
- Basic GDK support
- Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place.
- Start two terminal sessions, one for a Mir server, one to launch the tests.
Start a server: $ mir_demo_server
- Test that gnome-terminal runs and can be moved(resized) with Alt+Left(Middle)-Button:
$ GDK_BACKEND=mir gnome-terminal --app-id com.canonical.mir.Terminal
- Test that GDK applications can be run from the terminal:
$ gedit
- Close the server
- Basic Qt support
- Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place.
- Start two terminal sessions, one for a Mir server, one to launch the tests.
Install Qt support and kate: $ sudo apt install qtubuntu-desktop kate
Start a server: $ mir_demo_server
- Test that qterminal runs:
$ unset QT_QPA_PLATFORMTHEME
$ QT_QPA_PLATFORM=ubuntumirclient qterminal
- Test that Qt applications can be run from the terminal:
$ kate
- Close the server
- Basic SDL support
- Use an X11 based desktop (Unity, Gnome, etc.).
- Start two terminal sessions, one for a Mir server, one to launch the test.
Install a sample SDL application: $ sudo apt install 7kaa
Start a server: $ mir_demo_server
- Test that 7kaa runs and can be used:
$ SDL_VIDEODRIVER=mir 7kaa
Note that 7kaa crashes on exit: That is not a problem for this test.
- Close the server
- Install Xmir
- go to a VT and launch mir_demo_server as root with the option --arw-file
- launch Xmir in another VT using: Xmir -mirSocket /tmp/mir_socket -rootless :2
- in another VT: DISPLAY=:2 gedit
- Switch to the mir VT
- Interact with gedit, write a text document, save it, load another.
On zesty and later Install MirAL
Follow MirAL test plan.
On zesty only Install unity8-desktop-session
- login to unity8 desktop and utilize applications such as browser, play with dash
- allow screen to blank, wake up
Process/Merges/TestPlans/Mir (last edited 2024-05-09 13:09:10 by alan-griffiths)