Nepal: XO Testing Plan: Difference between revisions
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
# Write the Serial # for the XO on Testing Plan |
# Write the Serial # for the XO on Testing Plan |
||
# Place develop.sig specific to the XO you will test onto the USB key |
# Place develop.sig specific to the XO you will test onto the USB key |
||
# Hit the "X" Escape key in the upper left-hand corner |
# Hit the "X" Escape key in the upper left-hand corner of the keyboard |
||
# At the OK prompt, type '''disable-security''' |
# At the OK prompt, type '''disable-security''' |
||
# The XO will reboot. Type '''disable-security''' again |
|||
# Type '''test-all''' at the '''OK''' prompt |
# Type '''test-all''' at the '''OK''' prompt |
||
#* Note down any error messages you see during this process, basically any individual test that does not produce an OK result |
#* Note down any error messages you see during this process, basically any individual test that does not produce an OK result |
||
Line 67: | Line 68: | ||
#* At the OK prompt, type '''change-tag LO ne_NP.UTF-8''' -- Note '''LO''' not '''LA''' |
#* At the OK prompt, type '''change-tag LO ne_NP.UTF-8''' -- Note '''LO''' not '''LA''' |
||
#* Turn off the XO and remove USB |
#* Turn off the XO and remove USB |
||
# If no problems, |
# If no problems, mark the XO's label w/ a blue checkmark, if there is a problem check the label w/ a red marker. |
||
TODO: I want to test the batteries for each XO but am not sure how to do this w/out spending massive amounts of time |
TODO: I want to test the batteries for each XO but am not sure how to do this w/out spending massive amounts of time |
Revision as of 06:04, 21 March 2008
The OLE Nepal team will use this document as the basis for acceptance testing for new XO's. This plan will test for hardware and software problems. Berrybw 06:55, 14 March 2008 (EDT)
We are using this document on a daily basis. If you have a tried-and-true solution you are welcome to post it here. Please keep suggestions or points for discussion onto the Talk Page that will make this document more easy to use.
This plan is overkill if overkill if you are testing only a few XO's but you may find it useful if you are testing 100's.
The new XO's will be kept in the OLE Nepal storage room and not moved until testing is complete. Otherwise they will mingle w/ our other XO's and everything will be confused. We will test them in batches of 24 XO's at a time. (Why 24? because they are stacked 6 high.)
We will test the XO's over the period of a week and we will actually spend most of this time testing the Update.1 XO Build with customized activities for Nepal.
Stage 1 - Receipt of XO's
Stage 1 will be done by Upaya, Bryan, and Sulochan. Covers receipt and basic testing
- At airport, count # of XO's if individually packed
- Upon arrival at office, recount XO's and note any discrepancies
- Inventory the XO's in a spreadsheet. The spreadsheet should record the XO's serial #, whether it shows any physical damage, or won't boot. Here is a inventory template spreadsheet you can use File:XO-Inventory-template.xls
- If there is physical damage, write "physical damage" on the box w/ a red marker. If it won't boot, write "won't boot" with red marker.
- In case of damage or not booting, put in the damaged stack
- Attach a label to the XO that has the Inventory Label as the identifier
- Write the Serial Number on the bottom of the laptop using a black permanent marker
- Type the Serial Number in the speadsheet next to the Inventory Number
- Insert USB key, containing runos.zip and actos.zip, see Procedure for Collecting UUID's and Serial Numbers
- You should see a message like "SHFxxxxxxxx nnnnnnnnnnnnnnn; Laptop data recorded successfully"
- The XO will then reboot, remove the USB key and turn it on again
- Send file to OLPC containing the information needed to get developer keys for each XO to help@laptop.org
- Once you have done this procedure for half of your XO's backup the laptops.dat and inventory spreadsheet w/ timestamps in the filenames (yes, I am paranoid)
How to check you have Serial Numbers and UUID's for each laptop
uniq laptops.dat > laptops-tmp.dat wc -l laptops-tmp.dat
This should match the exact number of XO's that you have.
Notes: It is very hard to attach any kind of sticker to the XO because of its nobby exterior. We placed the inventory label on the smooth green plastic above the screen. We used inventory labels only to keep track of the XO's while they are in our possession, part of a regulatory requirement. We will take off the inventory labels before we give the XO's to kids.
Stage 2 - Serious Testing
Stage 2 will be done by Bryan, Upaya, Rajeev, Sulochan, Rabi, and Saurav
What you Need
For Stage you need a USB key with the following contents:
- os699.img and os699.crc,
- /security/develop.sig -- developer key specific to the XO
- /bundles/ containing library and activity bundles for our customized build
- The Customization_key unpacked into the root directory
Print out a copy of this File:XO-Stage2 testplan.xls spreadsheet for every XO you will test (note: may be easier to record data on regular laptops.)
Firmware Testing
We won't be able to test the firmware until we get the developer keys for all XO's
- Write the Serial # for the XO on Testing Plan
- Place develop.sig specific to the XO you will test onto the USB key
- Hit the "X" Escape key in the upper left-hand corner of the keyboard
- At the OK prompt, type disable-security
- The XO will reboot. Type disable-security again
- Type test-all at the OK prompt
- Note down any error messages you see during this process, basically any individual test that does not produce an OK result
- You need to put pressure on the touchpad during the touchpad test, then hit the space bar
- Don't hit the keys during the keyboard test, for some reason that causes a problem.
- If you do get an error message, write Firmware -- Component xxx failed w/ a red marker on the XO's box
- after test-all completes, it is time to change the locale to Nepali from within the firmware (note: the XO's we received in Nepal had US as the locale)
- At the OK prompt, type change-tag LO ne_NP.UTF-8 -- Note LO not LA
- Turn off the XO and remove USB
- If no problems, mark the XO's label w/ a blue checkmark, if there is a problem check the label w/ a red marker.
TODO: I want to test the batteries for each XO but am not sure how to do this w/out spending massive amounts of time
Custom Build Testing
It may not be necessary to test the custom build for all of our XO's. We may be satisfied if we test 25-30 XO's without getting any errors.
USB Stick should contain:
- os699.img and os699.crc,
- /security/develop.sig -- developer key specific to the XO
- /bundles/ containing library and activity bundles for our customized build
- The Customization_key unpacked into the root directory
Steps:
- Insert the USB key
- Hit the "X" Escape key in the upper left-hand corner
- At the OK prompt, type copy-nand u:\os699.img
- The XO should reboot on its own. Leave the USB key in.
- Type in the XO's serial number as the user name
- Check that the default interface is in Nepali
- Use the camera activity to take a picture
- Connect to the Access Point 'Access-point Name' and connect to www.google.com
- Open the E-Paati activity
- Turn off the XO and put it back in the box
- If everything tested fine, write Software OK in blue marker on the box. Write Software Failed in red marker if otherwise.
Stage 3 - Load Testing
Stage 3 will be Bryan, Sulochan, and Dev (if available)
Will test many XO's together w/ School Server, Moodle, activities we will pre-install. It will be a testing bonanza!
- Test 70 XO's together w/ access point
- More to come. . .