Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 19 06 Aug 2024, 19:14

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

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

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

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

After features/support/hooks.rb:326 0.926
After features/support/hooks.rb:100 0.000
25.762
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.392
And I prepare Tails for memory erasure tests 0.424
And I find very few patterns in the guest's memory 3.066

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

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

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

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

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

After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.000
48.351
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.163
And I prepare Tails for memory erasure tests 0.491
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.119
Then I find very few patterns in the guest's memory 3.235

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

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

Pattern coverage: 89.662% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.536
After features/support/hooks.rb:100 0.009