Tests/Journal/Nand-full
From OLPC
Test Case: Nand-full
How to report results
| Stream | joyride, 8.2, Any | ||
|---|---|---|---|
| Category | Journal | Sub-category | performance |
| Component | Journal/Datastore | ||
| Feature | trac #7591 | ||
| Objective | Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting. | ||
| Tools | Python script to create files of random data (http://dev.laptop.org/~erik/code/fill_ds_random.py). 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 | Fill a laptop with files either by downloading lots of large activities (like doom, metrocity, wikipediaen); or use the python script. | ||
| Procedure | 1. Get to >88% diskfull (check progressvia 'df' command).
2. Reboot laptop | ||
| Expected Results and 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 | none | ||
| Release | Stream | Build | Pass/Fail | Trac Ticket(s) | Comment(s) | Date of Test |
|---|---|---|---|---|---|---|
| Candidate | update.1 | 709 | Pass | Non-write protected laptops (Spanish and English) | warning.pngThe date "" was not understood (support for dates is still experimental).
| |
| Candidate | update.1 | per711-1 | Pass | 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. | warning.pngThe date "" was not understood (support for dates is still experimental).
| |
| Candidate | 8.2 | 767 | Pass | 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. | warning.pngThe date "" was not understood (support for dates is still experimental). |
Facts about Tests/Journal/Nand-fullRDF feed
| Build number | 709 +, 711 -1 +, and 767 + |
| Build stream | Joyride +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , 8.2 +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , Any +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride , and Update.1 +info.pngLink to builds in stream, Packages in stream, ChangeLog, Differences vs joyride |
| Comments | Non-write protected laptops (Spanish and English), This test was done on a write protected, S … 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. gs that should be addressed in the future., and 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 | warning.pngThe date "" was not understood (support for dates is still experimental). |
| More notes | none |
| Pass criteria | The laptop should give the message that the disk is full and tell you that it will remove files to allow booting. |
| PassFail | Pass + |
| Short name | Nand-full + |
| Software release | Candidate + |
| System component | Journal/Datastore + |
| System feature | trac #7591 + |
| Test category | Journal + |
| Test objective | Fill up the Nand memory to >88%; Ensure on the next boot that some files will be deleted automatically to allow booting. |
| Test procedure | 1. Get to >88% diskfull (check progressvia 'df' command).
2. Reboot laptop<br /> 3. Agree to deleted files |
| Test setup | Fill a laptop with files either by downloading lots of large activities (like doom, metrocity, wikipediaen); or use the python script. |
| Test subcategory | performance + |
| Test tools | Python script to create files of random da … Python script to create files of random data (http://dev.laptop.org/~erik/code/fill_ds_random.py). 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). , you will get to >95% full (using df). |

