Project Number Date
test_Tails_ISO_stable 5987 06 Dec 2025, 21:07

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 12:29.043 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.
45.921
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.171
And I prepare Tails for memory erasure tests 0.411
When I start a process allocating 128 MiB of memory with a known pattern 1.260
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 15.696

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

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

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

After features/support/hooks.rb:331 1.016
After features/support/hooks.rb:100 0.000
56.794
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 7.943
And I prepare Tails for memory erasure tests 0.359
And I find very few patterns in the guest's memory 15.184

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

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

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

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

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

After features/support/hooks.rb:331 0.715
After features/support/hooks.rb:100 0.000
1:38.281
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Given I have started Tails from DVD without network and logged in 8.079
And I prepare Tails for memory erasure tests 0.404
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.562
Then I find very few patterns in the guest's memory 14.461

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.738
After features/support/hooks.rb:100 0.000
2:6.872
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.678
And I prepare Tails for memory erasure tests 0.422
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 25.237
Then I find very few patterns in the guest's memory 12.857

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

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

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

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

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

# read cache
When I mount the USB drive again 2.289
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 14.095

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

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

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

After features/support/hooks.rb:331 0.591
After features/support/hooks.rb:100 0.002
52.406
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 7.902
And I prepare Tails for memory erasure tests 0.406
When I fill a 128 MiB file with a known pattern on the root filesystem 9.081
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.324
Then patterns cover at least 128 MiB in the guest's memory 9.763

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

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

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

After features/support/hooks.rb:331 3.904
After features/support/hooks.rb:100 0.000
6:8.767
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:36.223
And I prepare Tails for memory erasure tests 0.399
When I fill a 128 MiB file with a known pattern on the persistent filesystem 8.976
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 23.153

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

After features/support/hooks.rb:331 3.867
After features/support/hooks.rb:100 0.016