Project Number Date
test_Tails_ISO_stable 4982 30 Jul 2024, 08: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:0.304 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.
20.875
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.603
And I prepare Tails for memory erasure tests 0.407
When I start a process allocating 128 MiB of memory with a known pattern 2.337
Then patterns cover at least 128 MiB in the guest's memory 3.758

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.737
After features/support/hooks.rb:100 0.000
8:6.861
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:21.025
And I prepare Tails for memory erasure tests 0.471
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.962
When I trigger shutdown 0.011
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.561
After features/support/hooks.rb:100 0.010