Project Number Date
test_Tails_ISO_stable 6003 11 Dec 2025, 17:18

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

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

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

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

After features/support/hooks.rb:331 0.905
After features/support/hooks.rb:100 0.000
58.319
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.883
And I prepare Tails for memory erasure tests 0.392
And I find very few patterns in the guest's memory 14.331

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

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

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

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

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

After features/support/hooks.rb:331 1.530
After features/support/hooks.rb:100 0.000
2:42.374
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.909
And I prepare Tails for memory erasure tests 0.391
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.828
Then I find very few patterns in the guest's memory 14.156

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.418
After features/support/hooks.rb:100 0.000
56.937
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.725
And I prepare Tails for memory erasure tests 0.496
When I fill a 128 MiB file with a known pattern on the root filesystem 11.239
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.975
Then patterns cover at least 128 MiB in the guest's memory 10.465

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

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

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

After features/support/hooks.rb:331 3.906
After features/support/hooks.rb:100 0.000
6:8.603
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:34.997
And I prepare Tails for memory erasure tests 0.345
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.260
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 23.987

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

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