Project Number Date
test_Tails_ISO_devel 3899 07 Jul 2025, 14:42

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 16:5.671 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.
54.532
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 23.382
And I prepare Tails for memory erasure tests 0.506
When I start a process allocating 128 MiB of memory with a known pattern 3.376
Then patterns cover at least 128 MiB in the guest's memory 10.272

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

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

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

After features/support/hooks.rb:330 1.707
After features/support/hooks.rb:100 0.000
41.007
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 10.052
And I prepare Tails for memory erasure tests 1.801
And I find very few patterns in the guest's memory 9.262

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

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

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

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

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

After features/support/hooks.rb:330 0.750
After features/support/hooks.rb:100 0.000
1:15.860
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 14.603
And I prepare Tails for memory erasure tests 0.640
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.066
Then I find very few patterns in the guest's memory 8.188

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

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

Pattern coverage: 86.748% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.638
After features/support/hooks.rb:100 0.000
1:40.729
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 9.745
And I prepare Tails for memory erasure tests 3.589
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.227
Then I find very few patterns in the guest's memory 10.604

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

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

Pattern coverage: 101.681% (93 MiB out of 91 MiB reference memory)

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

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

# read cache
When I mount the USB drive again 2.555
And I read the content of the test FS 0.828
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 0.681
Then I find very few patterns in the guest's memory after 3 seconds 14.687

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

After features/support/hooks.rb:330 1.304
After features/support/hooks.rb:100 0.000
1:0.906
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 9.954
And I prepare Tails for memory erasure tests 3.512
When I fill a 128 MiB file with a known pattern on the root filesystem 18.605
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.263
Then patterns cover at least 128 MiB in the guest's memory 4.695

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

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

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

After features/support/hooks.rb:330 3.690
After features/support/hooks.rb:100 0.000
10:32.635
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.027
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9:39.142
And I prepare Tails for memory erasure tests 0.652
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.705
When I trigger shutdown 0.024
Then I find very few patterns in the guest's memory after 20 seconds 24.109

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

After features/support/hooks.rb:330 3.584
After features/support/hooks.rb:100 0.010