Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 28 19 Aug 2024, 17:11

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 10:47.637 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.
26.249
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.916
And I prepare Tails for memory erasure tests 0.571
When I start a process allocating 128 MiB of memory with a known pattern 2.315
Then patterns cover at least 128 MiB in the guest's memory 3.588

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.729

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

After features/support/hooks.rb:326 3.522
After features/support/hooks.rb:100 0.000
7:3.540
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 6:16.260
And I prepare Tails for memory erasure tests 0.728
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.427
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.112

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

After features/support/hooks.rb:326 3.529
After features/support/hooks.rb:100 0.012