Nepal: XO Testing Plan: Difference between revisions
No edit summary |
m (Fix Etoys spelling) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This page is out of date. See [[Nepal:_Testing_and_QA]] for a the full testing, QA, and config document. [[User:Berrybw|Berrybw]] 23:08, 15 April 2008 (EDT) |
|||
The [http://www.olenepal.org 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. |
The [http://www.olenepal.org 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. |
||
[[User:Berrybw|Berrybw]] 06:55, 14 March 2008 (EDT) |
[[User:Berrybw|Berrybw]] 06:55, 14 March 2008 (EDT) |
||
Line 20: | Line 24: | ||
#* 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. |
#* 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 |
#* In case of damage or not booting, put in the damaged stack |
||
⚫ | |||
# 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 [http://wiki.laptop.org/index.php?title=Activation_and_Developer_Keys§ion=5#Collecting_Serial_Numbers_and_UUID.27s_for_one_or_many_XOs Procedure for Collecting UUID's and Serial Numbers] |
# Insert USB key, containing runos.zip and actos.zip, see [http://wiki.laptop.org/index.php?title=Activation_and_Developer_Keys§ion=5#Collecting_Serial_Numbers_and_UUID.27s_for_one_or_many_XOs Procedure for Collecting UUID's and Serial Numbers] |
||
#* You should see a message like "SHFxxxxxxxx nnnnnnnnnnnnnnn; Laptop data recorded successfully" |
#* You should see a message like "SHFxxxxxxxx nnnnnnnnnnnnnnn; Laptop data recorded successfully" |
||
#* The XO will then reboot, remove the USB key |
#* The XO will then reboot, remove the USB key and turn it on again |
||
# At the login screen enter the Serial Number as the Name. This will distinguish the XO while you are testing it. |
|||
⚫ | |||
# Send file to OLPC containing the information needed to get developer keys for each XO to help@laptop.org |
# Send file to OLPC containing the information needed to get developer keys for each XO to help@laptop.org |
||
# Put the XO back in its box |
|||
# If everything worked, write in blue marker on the box ''Stage 1 OK'' |
|||
# 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) |
# 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 - Serious Testing == |
||
Line 42: | Line 53: | ||
Print out a copy of this [[Image: |
Print out a copy of this [[Image:XO-Stage2_testplan.xls]] spreadsheet for every XO you will test (note: may be easier to record data on regular laptops.) |
||
=== Firmware Testing === |
=== Firmware Testing === |
||
Line 50: | Line 61: | ||
# 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 60: | Line 72: | ||
#* 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 |
||
Line 67: | Line 79: | ||
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. |
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. |
||
Note: We had to make a special change to our build. We changed the default Jabber server to our local school server. Do this by changing the value of DEFAULT_JABBER_SERVER in /usr/lib/python2.5/site-packages/sugar/profile.py |
|||
USB Stick should contain: |
USB Stick should contain: |
||
Line 89: | Line 103: | ||
== Stage 3 - Load Testing == |
== Stage 3 - Load Testing == |
||
We are using build 703 and firmware Q2D14 for the pilot |
|||
Stage 3 will be Bryan, Sulochan, and Dev (if available) |
|||
===Customizations to Build 703=== |
|||
* Flash plugin 9 installed |
|||
* Change Jabber Server to schoolserver2 in /usr/lib/python2.5/site-packages/sugar/profile.py |
|||
* Installed latest [http://dev.laptop.org/~sayamindu/langpacks/ne_lang_pack.sh Nepali language pack] |
|||
===Activities Pre-Installed=== |
|||
After these activities are loaded roughly 400 MB of SSD are left. EPaati is the largest activity by far, using more than 151 MB of space unpacked. |
|||
* E-Paati version ? |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Analyze-5.xo Analyze-5] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/BlockParty-7.xo Block Party-7] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Chat-35.xo Chat-35] |
|||
* [ftp://ftp.ofset.org/squeak/drgeo/DrGeoII.xo Dr. GeoII] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Etoys-80.xo Etoys-80] |
|||
* Gcompris |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/JigsawPuzzle-2.xo JigsawPuzzle-2] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Maze-5.xo Maze-5] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Measure-17.xo Measure-17] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Memorize-26.xo Memorize-26] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/NewsReader-24.xo NewsReader-24] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Paint-19.xo Paint-19] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Pippy-8.xo Pippy-8] |
|||
* Pustakalaya Library Activity |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Read-45.xo Read-45] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Record-54.xo Record-54] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Scratch-1.xo Scratch-1] |
|||
* [http://wiki.laptop.org/images/a/a6/Simcity-4.xo SimCity-4] |
|||
* [http://wiki.laptop.org/images/0/0e/SliderPuzzle-5.xo Slider Puzzle] |
|||
* [http://tinyurl.com/2ca6av SocialCalc] |
|||
* [http://wiki.laptop.org/images/1/18/Speak-5.xo Speak-5] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/TamTamEdit-47.xo TamTamEdit-47] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/TamTamJam-48.xo TamTamJam-48] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/TamTamMini-46.xo TamTamMini-46] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Terminal-9.xo Terminal-9] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/TurtleArt-7.xo TurtleArt-7] |
|||
* <s>[http://mock.laptop.org/repos/local.update1/XOS/Watch%20%26%20Listen-4.xo Watch-And-Listen-4]</s> Not using right now, can't find a working version, will try [http://dev.laptop.org/git?p=projects/watch-listen;a=shortlog;h=master this version] later |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Web-86.xo Web-86] |
|||
* [http://mock.laptop.org/repos/local.update1/XOS/Write-55.xo Write-55] |
|||
===Overview of Test Plans=== |
|||
# Test 35 XO's with Access Point but without XS -- sniff network w/ wireshark and save summary |
|||
# Test 35 XO's w/ Access Point and with XS for Bashuki -- sniff network w/ wireshark, compare to w/out XS |
|||
# Test 35 XO's w/ Access Point and with XS for Bishwamitra |
|||
# Have Kamana, Saurav, and Bipul test all activities |
|||
# Test 70 XO's w/ the AP's we will use at the schools |
|||
===Timeline=== |
|||
# Sunday - Test XO's w/ AP's and w/ XS |
|||
# Monday - Same as Sunday |
|||
# Tuesday - Test together with E-Pustakalaya, Test w/ AP we will use at the pilot schools, Complete final customized build |
|||
# Wednesday - Test at Bashuki and Bishwamitra |
|||
===Test Plans=== |
|||
====Basic==== |
|||
# connect to AP |
|||
# initiate Chat |
|||
# ping AP |
|||
# Share a document in Read, other can view the document |
|||
# Access E-Pustakalaya, download a book |
|||
====Testing the XS?==== |
|||
Will test many XO's together w/ School Server, Moodle, activities we will pre-install. It will be a testing bonanza! |
|||
[[Category:Nepal]] |
|||
# Test 70 XO's together w/ access point |
|||
[[Category:OLPC Nepal]] |
|||
# More to come. . . |
Latest revision as of 21:08, 9 December 2008
This page is out of date. See Nepal:_Testing_and_QA for a the full testing, QA, and config document. Berrybw 23:08, 15 April 2008 (EDT)
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.
Note: We had to make a special change to our build. We changed the default Jabber server to our local school server. Do this by changing the value of DEFAULT_JABBER_SERVER in /usr/lib/python2.5/site-packages/sugar/profile.py
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
We are using build 703 and firmware Q2D14 for the pilot
Customizations to Build 703
- Flash plugin 9 installed
- Change Jabber Server to schoolserver2 in /usr/lib/python2.5/site-packages/sugar/profile.py
- Installed latest Nepali language pack
Activities Pre-Installed
After these activities are loaded roughly 400 MB of SSD are left. EPaati is the largest activity by far, using more than 151 MB of space unpacked.
- E-Paati version ?
- Analyze-5
- Block Party-7
- Chat-35
- Dr. GeoII
- Etoys-80
- Gcompris
- JigsawPuzzle-2
- Maze-5
- Measure-17
- Memorize-26
- NewsReader-24
- Paint-19
- Pippy-8
- Pustakalaya Library Activity
- Read-45
- Record-54
- Scratch-1
- SimCity-4
- Slider Puzzle
- SocialCalc
- Speak-5
- TamTamEdit-47
- TamTamJam-48
- TamTamMini-46
- Terminal-9
- TurtleArt-7
Watch-And-Listen-4Not using right now, can't find a working version, will try this version later- Web-86
- Write-55
Overview of Test Plans
- Test 35 XO's with Access Point but without XS -- sniff network w/ wireshark and save summary
- Test 35 XO's w/ Access Point and with XS for Bashuki -- sniff network w/ wireshark, compare to w/out XS
- Test 35 XO's w/ Access Point and with XS for Bishwamitra
- Have Kamana, Saurav, and Bipul test all activities
- Test 70 XO's w/ the AP's we will use at the schools
Timeline
- Sunday - Test XO's w/ AP's and w/ XS
- Monday - Same as Sunday
- Tuesday - Test together with E-Pustakalaya, Test w/ AP we will use at the pilot schools, Complete final customized build
- Wednesday - Test at Bashuki and Bishwamitra
Test Plans
Basic
- connect to AP
- initiate Chat
- ping AP
- Share a document in Read, other can view the document
- Access E-Pustakalaya, download a book