Project Number Date
test_Tails_ISO_stable 5350 21 Dec 2024, 12:20

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:5.837 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.
24.605
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.413
And I prepare Tails for memory erasure tests 0.443
When I start a process allocating 128 MiB of memory with a known pattern 2.441
Then patterns cover at least 128 MiB in the guest's memory 6.177

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.526
After features/support/hooks.rb:100 0.000
7:22.895
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:39.870
And I prepare Tails for memory erasure tests 0.435
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.415
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.159

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

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