Project Number Date
test_Tails_ISO_stable 5284 22 Nov 2024, 08:41

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.934
Then patterns cover at least 99% of the test FS size in the guest's memory 2.734

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.542
After features/support/hooks.rb:100 0.000
7:33.277
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:47.119
And I prepare Tails for memory erasure tests 1.327
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.684
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.133

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.019