Project Number Date
test_Tails_ISO_test-snapshot-restore-improvements 4 21 Aug 2026, 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 13:0.955 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.
17.306
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails from DVD without network and logged in 3.492
And I prepare Tails for memory erasure tests 0.380
When I start a process allocating 128 MiB of memory with a known pattern 2.208
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 2.825

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

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

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

After features/support/hooks.rb:339 0.999
After features/support/hooks.rb:108 0.000
16.833
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 3.606
And I prepare Tails for memory erasure tests 0.444
And I find very few patterns in the guest's memory 2.614

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

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

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

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

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

After features/support/hooks.rb:339 0.960
After features/support/hooks.rb:108 0.000
34.009
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 3.922
And I prepare Tails for memory erasure tests 0.435
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.270
Then I find very few patterns in the guest's memory 2.818

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.725
After features/support/hooks.rb:108 0.000
1:1.077
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.001
Given I have started Tails from DVD without network and logged in 3.383
And I prepare Tails for memory erasure tests 0.325
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.343
Then I find very few patterns in the guest's memory 2.616

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.700
After features/support/hooks.rb:108 0.000
40.687
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 3.455
And I prepare Tails for memory erasure tests 0.330
When I fill a 128 MiB file with a known pattern on the root filesystem 12.101
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.506
Then patterns cover at least 128 MiB in the guest's memory 2.034

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

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

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

After features/support/hooks.rb:339 4.054
After features/support/hooks.rb:108 0.000
10:11.041
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9:38.811
And I prepare Tails for memory erasure tests 0.307
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.883
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 21.034

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

After features/support/hooks.rb:339 3.763
After features/support/hooks.rb:108 0.031