Project Number Date
test_Tails_ISO_stable 5451 11 Feb 2025, 22:02

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.349% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.577
After features/support/hooks.rb:100 0.014