Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 21 08 Aug 2024, 17:58

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.144% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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