Project Number Date
test_Tails_ISO_stable 5258 09 Nov 2024, 12:44

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.902
After features/support/hooks.rb:100 0.000
54.178
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.330
And I prepare Tails for memory erasure tests 0.407
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 3.808

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

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

Pattern coverage: 89.255% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.532
After features/support/hooks.rb:100 0.011