< Tests‎ | Journal
Jump to: navigation, search

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.]]


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::