Project Number Date
test_Tails_ISO_devel 3907 15 Jul 2025, 17:56

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:3.044 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.
49.810
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 11.488
And I prepare Tails for memory erasure tests 0.535
When I start a process allocating 128 MiB of memory with a known pattern 1.200
Then patterns cover at least 128 MiB in the guest's memory 20.525

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

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

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

After features/support/hooks.rb:330 0.958
After features/support/hooks.rb:100 0.000
57.506
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 8.227
And I prepare Tails for memory erasure tests 0.743
And I find very few patterns in the guest's memory 11.494

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

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

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

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

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

After features/support/hooks.rb:330 0.947
After features/support/hooks.rb:100 0.000
1:45.898
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 8.563
And I prepare Tails for memory erasure tests 0.590
When I plug and mount a 128 MiB USB drive with a vfat filesystem 12.169
Then I find very few patterns in the guest's memory 13.294

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

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

Pattern coverage: 90.987% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.932
After features/support/hooks.rb:100 0.000
2:11.912
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 9.940
And I prepare Tails for memory erasure tests 0.790
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.413
Then I find very few patterns in the guest's memory 10.945

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

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

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

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

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

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

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

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

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

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

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 21.831

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

After features/support/hooks.rb:330 3.580
After features/support/hooks.rb:100 0.000
9:13.569
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:24.849
And I prepare Tails for memory erasure tests 2.338
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.806
When I trigger shutdown 0.026
Then I find very few patterns in the guest's memory after 20 seconds 22.548

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

After features/support/hooks.rb:330 5.230
After features/support/hooks.rb:100 0.018