Project Number Date
test_Tails_ISO_20522-ocr-more 11 20 Dec 2024, 05:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:41.598 Passed
Feature System memory erasure on shutdown
As a Tails user when I shutdown Tails I want the system memory to be free from sensitive data.
20.716
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.329
And I prepare Tails for memory erasure tests 0.471
When I start a process allocating 128 MiB of memory with a known pattern 1.332
Then patterns cover at least 128 MiB in the guest's memory 3.513

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I kill the allocating process 1.236
Then I find very few patterns in the guest's memory after 3 seconds 5.832

Pattern coverage: 0.000% (0 MiB out of 701 MiB reference memory)

After features/support/hooks.rb:326 0.762
After features/support/hooks.rb:100 0.000
24.489
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.214
And I prepare Tails for memory erasure tests 0.444
And I find very few patterns in the guest's memory 3.084

Pattern coverage: 0.000% (0 MiB out of 696 MiB reference memory)

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 1.503
Then patterns cover at least 99% of the test FS size in the guest's memory 3.874

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I umount "/mnt" 0.622
Then I find very few patterns in the guest's memory after 3 seconds 6.746

Pattern coverage: 0.000% (0 MiB out of 696 MiB reference memory)

After features/support/hooks.rb:326 0.681
After features/support/hooks.rb:100 0.000
50.966
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.258
And I prepare Tails for memory erasure tests 0.469
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.081
Then I find very few patterns in the guest's memory 3.896

Pattern coverage: 0.000% (0 MiB out of 703 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 3.330
Then patterns cover at least 75% of the test FS size in the guest's memory 4.529

Pattern coverage: 80.925% (103 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.096
Then I find very few patterns in the guest's memory after 3 seconds 6.563

Pattern coverage: 0.000% (0 MiB out of 703 MiB reference memory)

# read cache
When I mount the USB drive again 1.052
And I read the content of the test FS 0.590
Then patterns cover at least 99% of the test FS size in the guest's memory 4.009

Pattern coverage: 100.596% (128 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.460
Then I find very few patterns in the guest's memory after 3 seconds 6.626

Pattern coverage: 0.001% (0 MiB out of 703 MiB reference memory)

After features/support/hooks.rb:326 0.726
After features/support/hooks.rb:100 0.000
1:14.954
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.091
And I prepare Tails for memory erasure tests 0.537
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.604
Then I find very few patterns in the guest's memory 2.630

Pattern coverage: 0.000% (0 MiB out of 691 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 1.673
Then patterns cover at least 99% of the test FS size in the guest's memory 2.847

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.246
Then I find very few patterns in the guest's memory after 3 seconds 6.025

Pattern coverage: 0.000% (0 MiB out of 691 MiB reference memory)

# read cache
When I mount the USB drive again 5.377
And I read the content of the test FS 0.375
Then patterns cover at least 99% of the test FS size in the guest's memory 3.444

Pattern coverage: 106.116% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 0.633
Then I find very few patterns in the guest's memory after 3 seconds 5.465

Pattern coverage: 0.000% (0 MiB out of 691 MiB reference memory)

After features/support/hooks.rb:326 1.312
After features/support/hooks.rb:100 0.000
50.658
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.315
And I prepare Tails for memory erasure tests 0.504
When I fill a 128 MiB file with a known pattern on the root filesystem 16.571
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.142
Then patterns cover at least 128 MiB in the guest's memory 2.747

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.361

Pattern coverage: 0.000% (0 MiB out of 699 MiB reference memory)

After features/support/hooks.rb:326 3.791
After features/support/hooks.rb:100 0.000
7:59.813
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:12.956
And I prepare Tails for memory erasure tests 0.622
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.778
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.442

Pattern coverage: 0.000% (0 MiB out of 732 MiB reference memory)

After features/support/hooks.rb:326 3.528
After features/support/hooks.rb:100 0.011