Project Number Date
test_Tails_ISO_stable 5457 14 Feb 2025, 08:48

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

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

When I kill the allocating process 0.457
Then I find very few patterns in the guest's memory after 5 seconds 8.155

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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