1 hour smoke test
This should take less than one hour to do. See smoke test for more.
Useful Links
- Test Config Notes (information on how to configure laptops for different tests)
- Test Network Configuration (detailed information on how to check your network configuration)
- Things to test after updates (These tests should be run when we get to a good candidate release)
Start-up
- insert battery into laptop,
- open laptop and tilt screen to operating position,
- start the laptop by pressing the power button,
- verify power LED and panel backlight appears, followed by boot animation (XO icon, ring of dots, Fedora remix logo),
- wait for the laptop to boot to Sugar,
- verify that the activity ring is displayed,
- XO-1 only: verify the laptop connects to one of the following (whichever one is highest on the list and available to the laptop); a school server, a preferred access point, an MPP, or a local mesh. 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.
- XO-1.5 only: verify the laptop is not connected (the wireless LED will be off), and then connect manually to a nearby access point.
Try out a few Activities
Test that activities can be opened and closed, that the microphone captures sound, that the speakers emit sound, that the volume control works, that the privacy indicators light, that the camera captures an image, and that the Journal can be used to save and restore previous work.
- Open Measure activity,
- verify activity opens,
- Whistle or sing into the microphone,
- verify activity shows the sound waves going into the microphone; whistling should create a sine wave, singing may create a more complex wave,
- Close Measure activity,
- verify activity closes,
- Open TamTamJam activity,
- verify activity opens,
- Make a few instruments play; press the number corresponding to the one of the displayed loops, or select an instrument and use the alphabetic keys to play different pitch notes,
- Adjust the volume using the keyboard keys,
- verify the instruments can be heard,
- verify the volume can be adjusted,
- Close TamTamJam activity,
- verify activity closes,
- Open Record activity,
- verify activity opens,
- Take a Picture, Audio sample, and Video sample,
- verify both the microphone and camera lights are on when Record is active,
- Play or view each sample,
- verify the samples are intact,
- Close Record activity,
- verify activity closes,
- Open Paint activity,
- verify activity opens,
- Draw a few things,
- Remember what you see,
- Close Paint activity,
- verify activity closes,
- Pick a few other activities to open and try a few things with them.
- try activities that have had bug fixes, or new features added.
- verify these fixes have worked, and that everything else seems to work properly.
- consider a full test of that activity, write up bugs, and update the test to fit the new version.
- Display the Journal,
- verify that a Paint entry is in the Journal,
- verify that audio, video and image files are in the Journal from your use of Record activity,
- Resume the Paint entry from the Journal,
- verify Paint activity opens,
- verify that the Paint image is restored,
- Close Paint activity,
- verify activity closes.
Image Transferring and Invite
(you need a second XO to do this test)
- Open Browse activity
- verify Browse opens properly.
- Enter a type of animal in the Google search bar, for example "horse",
- verify Google search result page is displayed,
- Click on "Images" at the top of the search result page,
- Press the top right button on the keyboard. (brings up menu bar)
- Right-click on one of the images from the Google page, and select Copy,
- verify an icon appears for a short time on the bottom left of screen,
- Display the Frame,
- verify an icon is present in the clipboard area, left edge of screen; it will have eyeball in the middle of the icon,
- Right-click on the clipboard icon, and select Keep,
- Display the Journal,
- verify the icon has been saved in the Journal,
- Open Write activity
- verify the Write activity opens,
- Display the frame,
- Drag the clipboard icon into the Write document canvas,
- verify the image has been placed in the document,
- Click in the image on the document,
- verify the cursor changes to a positioning cross,
- Drag the image to another part of the document,
- verify the image moves,
- Type a few lines above the image.
- Go to the Neighbourhood view.
- Right-click on another XO (one that is also in your possession and running the same build), and click Invite or Invite to Write Activity,
- On the second XO, click on the Write icon that shows up in the tray, or on the Write icon in the Neighbourhood view,
- wait for the document to be shared,
- verify the same image is shown by the Write activity on both XOs,
- On the second XO, move the image around,
- Type a few lines on both laptops,
- verify the changes made on one laptop are shown on the other.
See also http://wiki.sugarlabs.org/go/Smoke_test
Installing an Activity Bundle
From USB Key
Actions
- On your personal laptop, go to GCompris
- Download the sudoku activity bundle (sudoku.activity.xo)
- Copy this to a USB key.
- Put the USB key into the XO.
- Go to the Journal and click on the USB key icon.
- Type "sud" in the search window.
- Find the sudoku.activity item, and click on it.
- Click start. (the activity should install and load)
- 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
- On the XO, go to Implode
- 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.)
- Go to the home view.
- Find the bundle in new activity in the tray.
- Start the activity and try a few things.
- 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
- On your XO, go to Collections
- Click on the 2.3 Religion link.
- Click on the NET Bible download [bible-en.xol file]
- On the following page, click on Bible-en.xol link (should download and install in /home/olpc/Library)
- Click on another randomly selected file from the library grid.
- Close and reopen the browser.
- Check through the index on the left under books, and find the bible and second bundle that you just downloaded.
- Open it.
Verify
- The XO can get to the Collections 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
- On your XO, click on "science" under the lefthand index on the browse page, then "biology".
- Click on Phyla [PDF].
- Click on "OK" after download is completed.
- 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
- Open the browser activity and type "ogg samples" in the google search bar.
- Click on the first link.
- 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
- Go to the journal
- 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.
- Click on the USB stick Icon.
- Mouse over the USB icon, and unmount the USB stick
- Put the USB stick in the second XO.
- 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
- 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))
- Open chat with one XO.
- Share the activity with the neighborhood.
- Go to the Mesh view of that XO.
- Go to the Mesh view of the second XO.
- In the mesh view of the second XO click on the chat activity that the first one just shared.
- Type a few lines in the chat activity on each XO.
- Close the chat activity on both XO's
- 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
- On both XO's click on the same AP in each of their mesh views. (wait for them to connect to it)
- Open Distance with one XO.
- Share the activity with the neighborhood.
- Go to the Mesh view of that XO.
- Go to the Mesh view of the second XO.
- In the mesh view of the second XO click on the distance activity that the first one just shared.
- On the first XO, press the check key on the game pad to start measuring the distance.
- Close the Distance activity.
- 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
- The laptop should boot up and connect to the school server by default if you are near one.
- 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.
- 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.
- To check your connection, go to terminal one. (ctrl alt mesh)
- At the login, type "root", and then type olpc-netstatus. (for newer build, type "olpc" instead of "root")
- Note whether the result of Telepathy is salut or gabble.
- Go to the mesh view (ctrl alt home and then mesh)
- Note the XO's you see. Are they laptops around you, or ones most likely beyond the reach of the laptops wi-fi.
- 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}
- IP msh0 :
- 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
- Take many pictures with the Record Activity.
- Add the picture that's on the clipboard many times to the journal.
- 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
- 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
- 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
- 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.