Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 62 03 Sep 2024, 23:59

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 12:15.734 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.
23.496
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.354
And I prepare Tails for memory erasure tests 0.645
When I start a process allocating 128 MiB of memory with a known pattern 1.304
Then patterns cover at least 128 MiB in the guest's memory 4.564

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.234
After features/support/hooks.rb:100 0.000
52.706
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.630
And I prepare Tails for memory erasure tests 0.424
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.229
Then I find very few patterns in the guest's memory 3.425

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

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

Pattern coverage: 89.111% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.529
After features/support/hooks.rb:100 0.000
8:18.282
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:34.901
And I prepare Tails for memory erasure tests 0.557
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.630
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.181

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

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