Tests/Journal/Nand-full: Difference between revisions

From OLPC
< Tests‎ | Journal
Jump to navigation Jump to search
(New page: {{Test case |testcase_name=Nand-full |testcase_stream=joyride |testcase_build=709 |testcase_component=Journal/Datastore |testcase_feature=trac #7591 |testcase_objective=Fill up the Nand m...)
 
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Test case
{{Test case
|testcase_name=Nand-full
|testcase_name=Nand-full
|testcase_category=Journal
|testcase_stream=joyride
|testcase_subcategory=performance
|testcase_stream=joyride, 8.2, Any
|testcase_build=709
|testcase_build=709
|testcase_component=Journal/Datastore
|testcase_component=Journal/Datastore
|testcase_feature=trac #7591
|testcase_feature=trac #7591
|testcase_objective=Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting.
|testcase_objective=Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting.
|testcase_tools=Python script to create files of random data (http://dev.laptop.org/~erik/code/fill_ds_random.py). As "olpc" user on vt2, type 'python fill_ds_random.py -s 10000000 -b 1000 -t filltext1'. You need to go back into sugar and restart when it tells you to; then go back into virtual terminal and hit a key. You will see a new 100M file when this completes. After about 8 times, you will get to >95% full (using df).
|testcase_tools=Python script to create files of random data. Copy files, concatenate files to get to 88%.
|testcase_setup=Fill a laptop with files.
|testcase_setup=Fill a laptop with files either by downloading lots of large activities (like doom, metrocity, wikipediaen); or use the python script.
|testcase_procedure=
|testcase_procedure=1. Get to >88% diskfull (check progressvia 'df' command).
2. Reboot laptop<br>
# Get to >88% diskfull (check via 'df' command)
3. Agree to deleted files
# Reboot laptop
# Agree to deleted files
|testcase_expectedresults=The laptop should give the message that the disk is full and tell you that it will remove files to allow booting.
|testcase_expectedresults=The laptop should give the message that the disk is full and tell you that it will remove files to allow booting.
|testcase_comments=none
|testcase_comments=none
Line 21: Line 22:
|testresult_build=709
|testresult_build=709
|testresult_passfail=Pass
|testresult_passfail=Pass
|testresult_comments=Non-write protected laptops (Spanish and English)
|testresult_tickets=7591
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=update.1
|testresult_build=per711-1
|testresult_passfail=Pass
|testresult_comments=This test was done on a write protected, Spanish keyboard laptop.

The nand filling program needs to be modified to create files in the journal (it created files in the directory where I ran it). I did get the message to delete files, but I had to go to the virtual terminal to read it and hit enter.

After fixing the way we fill the nand... I will create other bugs that should be addressed in the future.
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=767
|testresult_passfail=Pass
|testresult_comments=Very hard to even fill the Journal or NAND; had to copy files once I got past 80% full. Then got all the appropriate messages for automatically deleting a few things.
}}
}}
{{Test results end}}
{{Test results end}}

Latest revision as of 18:27, 27 January 2009

Test case: Short name::Nand-full
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Journal Sub-category Test subcategory::performance
Component System component::Journal/Datastore
Feature System feature::trac #7591
Objective [[Test objective::Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting.]]
Tools [[Test tools::Python script to create files of random data (http://dev.laptop.org/~erik/code/fill_ds_random.py). As "olpc" user on vt2, type 'python fill_ds_random.py -s 10000000 -b 1000 -t filltext1'. You need to go back into sugar and restart when it tells you to; then go back into virtual terminal and hit a key. You will see a new 100M file when this completes. After about 8 times, you will get to >95% full (using df).]]
Setup Test setup::Fill a laptop with files either by downloading lots of large activities (like doom, metrocity, wikipediaen); or use the python script.
Procedure [[Test procedure::1. Get to >88% diskfull (check progressvia 'df' command).

2. Reboot laptop
3. Agree to deleted files]]

Expected Results
and Pass Criteria
Pass criteria::The laptop should give the message that the disk is full and tell you that it will remove files to allow booting.
Comments More notes::none
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::update.1 Build number::709 PassFail::Pass ,|x| #x}} Comments::Non-write protected laptops (Spanish and English) Created::


Software release::Candidate Build stream::update.1 Build number::per711-1 PassFail::Pass ,|x| #x}} [[Comments::This test was done on a write protected, Spanish keyboard laptop.

The nand filling program needs to be modified to create files in the journal (it created files in the directory where I ran it). I did get the message to delete files, but I had to go to the virtual terminal to read it and hit enter.

After fixing the way we fill the nand... I will create other bugs that should be addressed in the future.]]

Created::


Software release::Candidate Build stream::8.2 Build number::767 PassFail::Pass ,|x| #x}} Comments::Very hard to even fill the Journal or NAND; had to copy files once I got past 80% full. Then got all the appropriate messages for automatically deleting a few things. Created::