Smoke test/8.1.2

From OLPC
< Smoke test
Revision as of 12:18, 3 September 2010 by Greenfeld (talk | contribs) (Mark testcase page as for a previous OS release)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
http://wiki-devel.sugarlabs.org/images/thumb/c/cb/Emblem-warning.svg/55px-Emblem-warning.svg.png This test case page is written for a previous release of the XO Software. Please make sure that you are running the proper test case page for the build you are testing. If you are not sure, you may wish to go to the Smoke test page.

See Smoke test for more information on smoke tests in general.

Start-up

Actions

  1. Boot the laptop
  2. Connect to a school server mesh, open AP, WEP (canopy, Ascii 'xoxoxoxoxoxox'), and WPA (olpc, 'xoxoxoxo') access point

Verify

  • If in secure mode: the laptop shows pretty boot (only with stable builds)
  • The laptop boots into sugar
  • The journal loads
  • The laptop connects to one of the following (whichever one is highest on the list and available to the laptop)
    • A school server - If there is a school server present, the laptop MUST be tested against the school server. If it cannot connect to the school server, that is a major failure.
    • A preferred AP
    • An MPP
    • A local mesh
  • The XO should connect properly to a WEP or WPA enabled AP

Try out a few Activities

Actions

  1. Open measure
  2. Whistle into the microphone. (or just make some noise into the mic)
  3. Close measure
  4. Open TamTam Jam
  5. Make a few instruments play.
  6. Close TamTam
  7. If The intruments in TamTam didn't play...
    1. Open pippy
    2. Click on the "sequence" sample under sound.
    3. Click "Run!"
    4. Close pippy
  8. Open record
  9. Take a Picture, Audio sample, and Video sample.
  10. Play back/view each sample.
  11. Close record
  12. Open Paint
  13. Draw a few things.
  14. Close paint
  15. Pick a few other activities to open and try a few things with them.
    • preferably, try activities that have had bug fixes, or new features added.
    • make sure that these fixes have indeed worked, and that everything else seems to work properly.
    • Would probably be good to go through the full test of that activity, write up bugs, and update the test to fit the new version.
  16. Resume the paint activity from before.

Verify

  • Measure shows the sound waves going into the microphone. (whistling should create a sine wave)
  • In TamTam Jam, there is volume, and the instruments play.
  • If there is no sound in TamTam Jam, there is in Pippy: Report this bug!
  • Both the microphone and camera lights are on when Record is the active activity.
  • All activities open and close properly
  • The journal is able to resume the paint entry.
  • There are items in the journal for all the audio, video, and image files you created in record.

Image Transferring and Invite

Actions

  1. Open Browse
  2. Type some type of animal in the google search bar.
  3. Click on "Images" at the top of the page.
  4. Press the top right button on the keyboard. (brings up menu bar)
  5. Drag one of the images from the google page onto the clipboard. (the left side bar)
  6. Go to the home view.
  7. Mouse over the image file on the clipboard, and add it to the journal.
  8. Go to the journal, find the clipboard image, and then return to the home view.
  9. Open write
  10. Press the menu bar button again, and drag the image on the toolbar onto the canvas of the write document.
  11. Hover over the corner of the image, and resize it to make it smaller than the screen.
  12. Move the image to the center of the page.
  13. Type a few lines above the image.
  14. Go to the mesh view.
  15. Hover over another XO (one that is also in your possession and running the same build), and click Invite.
  16. On the second XO, click on the write Icon that shows up in the tray.
  17. On the second XO, move the image around.
  18. Type a few lines on both laptops.


Verify

  • Browse opens properly.
  • The index bar comes up on the left of the page.
  • You are able to browse the web for pictures.
    • this is not true if you are on link local
    • hover over the connection circle in home view to see what type of connection you have.
  • Pressing the upper right button toggles the menu bar visible/not visible.
  • The image copies to the clipboard and has an eyeball in the middle of the file symbol (means it's recognized as an image file)
  • The clipboard object is added to the journal.
  • Write opens properly.
  • Dragging the image from the clipboard to the write document places a copy of the image in the document.
  • You are able to move and resize the document.
  • When you invite another XO in the mesh view, an icon of the shared activity shows up in that XO's tray.
  • The write document is shared properly.
    • Whatever one laptop does to the document, both laptops see the changes.

Installing an Activity Bundle

From USB Key

Actions

  1. On your personal laptop, go to GCompris
  2. Download the sudoku activity bundle (sudoku.activity.xo)
  3. Copy this to a USB key.
  4. Put the USB key into the XO.
  5. Go to the Journal and click on the USB key icon.
  6. Type "sud" in the search window.
  7. Find the sudoku.activity item, and click on it.
  8. Click start. (the activity should install and load)
  9. Quit the activity.

Don't unmount/unplug the USB stick: you'll be using it in some tests below

Verify

  • The USB key icon comes up in the journal.
  • Searching for "sud" gets you the sudoku activity bundle (along with anything else on the the key with "sud" in the name)
  • Resuming the bundle, installs the activity and runs it.
    • The activity bundle should be unzipped in /home/olpc/Activities (that's what is meant by installed)

From the Web Actions

  1. On the XO, go to Implode
  2. Click on the Implode.xo file. (download it-may take you to a second page where the link shows up toward the top of the page. Clicking here will allow you to see if it downloaded, i.e. "show in journal" or "ok" buttons appear. Click either.)
  3. Go to the home view.
  4. Find the bundle in new activity in the tray.
  5. Start the activity and try a few things.
  6. Quit the activity.

Verify

  • The file downloads from the browser.
  • The activity is installed, and its icon shows up in the tray.
  • The activity loads.

Installing a library bundle

online

Actions

  1. On your XO, go to Library grid
  2. Click on the 2.3 Religion link.
  3. Click on the NET Bible download [bible-en.xol file]
  4. On the following page, click on Bible-en.xol link (should download and install in /home/olpc/Library)
  5. Click on another randomly selected file from the library grid.
  6. Close and reopen the browser.
  7. Check through the index on the left under books, and find the bible and second bundle that you just downloaded.
  8. Open it.

Verify

  • The XO can get to the Library grid page.
  • When you click on the .xol bundle it is downloaded to the clipboard + journal, and it is installed in /home/olpc/Library
  • The file is accessible in the browser index.
  • You are able to open and view the bible.


offline

Actions

  1. On your XO, click on "science" under the lefthand index on the browse page, then "biology".
  2. Click on Phyla [PDF].
  3. Click on "OK" after download is completed.
  • Do the following until #6166 is fixed. --Chihyu 11:47, 25 January 2008 (EST)
  1. Go to the journal, and locate the .pdf file and resume it.

Verify

  • The XO can get to the "biology" menu.
  • When you click on the Phyla [PDF] link, the .pdf file is downloaded to the journal, and is opened by Read automatically. (This requires #6166 to be fixed. --Chihyu 11:47, 25 January 2008 (EST))

Playing an .ogg file in Browse

Actions

  1. Open the browser activity and type "ogg samples" in the google search bar.
  2. Click on the first link.
  3. Scroll down to the sample files, and click on one of the .ogg files.

Verify

  • The browser opens the totem-player.
  • The file is played.

Transfer files to USB stick

Actions

  1. Go to the journal
  2. Drag and drop each of these items from the journal onto the usb stick
    • The write activity
    • The Clipboard object: Image.
    • The Paint activity.
    • The {animal} Google Image Search session of the Browse activity.
    • The Video created by record.
  3. Click on the USB stick Icon.
  4. Mouse over the USB icon, and unmount the USB stick
  5. Put the USB stick in the second XO.
  6. Resume each item.

Verify

  • Each of the items dragged onto the USB stick show up as items on it.
  • The usb stick unmounts, and the journal view no longer contains a bottom bar with journal and usb icons.
  • Each item transferred to the usb stick resumes on the second XO.

Collaboration with Chat

Actions

  1. On both XO's click on the same AP in each of their mesh views. (wait for them to connect to it)
    • (why? should we be using an infrastructure AP, a mesh, or what? -DanielDrake 10:27, 9 January 2008 (EST))
  2. Open chat with one XO.
  3. Share the activity with the neighborhood.
  4. Go to the Mesh view of that XO.
  5. Go to the Mesh view of the second XO.
  6. In the mesh view of the second XO click on the chat activity that the first one just shared.
  7. Type a few lines in the chat activity on each XO.
  8. Close the chat activity on both XO's
  9. Follow the same steps, but starting with the second XO. (see that it works both ways)

Verify

  • The shared chat activity shows up in the mesh view of both laptops.
  • Whatever one laptop types in the chat window after both are connected is seen by both laptops.
  • Chat works both ways.

Collaboration with Distance

Actions

  1. On both XO's click on the same AP in each of their mesh views. (wait for them to connect to it)
  2. Open Distance with one XO.
  3. Share the activity with the neighborhood.
  4. Go to the Mesh view of that XO.
  5. Go to the Mesh view of the second XO.
  6. In the mesh view of the second XO click on the distance activity that the first one just shared.
  7. On the first XO, press the check key on the game pad to start measuring the distance.
  8. Close the Distance activity.
  9. Follow the same steps, but starting with the second XO. (see that it works both ways)

Verify

  • The shared Distance activity shows up in the mesh view of both laptops.
  • The tiny circle with a check on the screen of both XOs should turn green.
  • The first XO should make sounds after the check key is pressed.
  • Both XOs should show the distance between each other on the screen.
  • Distance works both ways.

Trying different Connection Types

School Server

(this requires being in a location close enough to a school server)

Actions

  1. The laptop should boot up and connect to the school server by default if you are near one.
  2. If you don't want to reboot to connect, click on the Mesh Network Channel, which the school server is on, in the mesh view.
  3. Wait for the inner part of the circle to stop blinking, and the outer part to start connecting (testing 8.2 just hover your cursor to ensure connection).
    • This means it has connected to that portal point.
    1. To check your connection, go to terminal one. (ctrl alt mesh)
    2. At the login, type "root", and then type olpc-netstatus. (for newer build, type "olpc" instead of "root")
    3. Note whether the result of Telepathy is salut or gabble.
  4. Go to the mesh view (ctrl alt home and then mesh)
  5. Note the XO's you see. Are they laptops around you, or ones most likely beyond the reach of the laptops wi-fi.
  6. Do the same with a second or third laptop to ensure that it's in the same configuration.

Verify

  • The laptop connects to the school server by default after reboot.
  • (alternatively) The laptop connects to the school server if you click on its portal point in the mesh view.
  • The result of running olpc-netstatus is:
    • IP msh0 :
      • 172.x.x.x(172.18.x.x when connected to the School server in OLPC offices)
      • 192.168.x.x
      • 10.x.x.x
    • Config : School server
    • Telepathy :
      • salut (means failure to connect to a jabber server
      • gabble (then the result of Jabber is : {name of jabber server you're connected to}
  • If you're running salut, you only see laptops that are around you and also connected to the same server.
  • If you're running gabble, you see laptops connected to the same jabber server.
  • NOTE: laptops running gabble cannot see laptops running salut and vise-versa.

Filling up the Journal

(OPTIONAL: can take a long time. Once a script is written to fill up the journal, this test will be easier to do)

Actions

  1. Take many pictures with the Record Activity.
  2. Add the picture that's on the clipboard many times to the journal.
  3. Open other activities, do one thing, and close them.
    • Do these things until you have 200 items in the Journal.
    • To count the number of items, go to the terminal, and type: ls /home/olpc/.sugar/default/datastore/store/ | wc -l
  4. Reboot the laptop.

Verify

    • The Journal does not crash (give a blank screen)
    • The laptop does not slow down significantly.
    • Booting into X does not take much longer than normal.

Suspend/Resume due to Cover close

NOTE: should only be done on laptops with production ECO or MP build

Actions

  1. Close the laptop almost fully. (just to the point where the screen goes blank)
    • Another way of achieving the same result is pressing the power button. Pressing the power button again will bring the machine out of suspend
  2. Open and close the laptop repeatedly
    • Maybe five or six times
    • Wait for the laptop to come out of suspend each time before closing it again.
    • If the laptop does not come out of suspend on open, try pushing a few buttons and/or touching the mouse pad.

Verify

  • The laptop comes out of each suspend successfully.
  • The laptop never hangs in suspend or reboots itself when coming out of suspend.