Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 13 31 Jul 2024, 17:38

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 12:21.144 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.
22.500
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.478
And I prepare Tails for memory erasure tests 0.483
When I start a process allocating 128 MiB of memory with a known pattern 1.310
Then patterns cover at least 128 MiB in the guest's memory 4.570

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

When I kill the allocating process 2.653
Then I find very few patterns in the guest's memory 5.003

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

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

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

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

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

When I umount "/mnt" 0.587
Then I find very few patterns in the guest's memory 5.521

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

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

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

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

Pattern coverage: 87.234% (111 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.827
Then I find very few patterns in the guest's memory 4.654

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

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

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

When I umount the USB drive 1.366
Then I find very few patterns in the guest's memory 4.733

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

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

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

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

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

When I umount the USB drive 1.020
Then I find very few patterns in the guest's memory 3.895

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

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

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

When I umount the USB drive 4.257
Then I find very few patterns in the guest's memory 4.255

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.007

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.851

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

After features/support/hooks.rb:326 3.598
After features/support/hooks.rb:100 0.000
8:9.677
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:23.692
And I prepare Tails for memory erasure tests 0.411
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.314
When I trigger shutdown 0.016
And I wait 20 seconds 20.018

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.223

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

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