Project Number Date
test_Tails_ISO_devel 4081 20 Nov 2025, 16:01

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

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

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

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

After features/support/hooks.rb:331 0.820
After features/support/hooks.rb:100 0.000
58.153
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 7.965
And I prepare Tails for memory erasure tests 0.412
And I find very few patterns in the guest's memory 14.025

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

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

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

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

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

After features/support/hooks.rb:331 0.955
After features/support/hooks.rb:100 0.000
3:25.262
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 10.851
And I prepare Tails for memory erasure tests 0.369
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.097
Then I find very few patterns in the guest's memory 20.652

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.362
After features/support/hooks.rb:100 0.000
4:5.751
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 13.777
And I prepare Tails for memory erasure tests 0.359
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.347
Then I find very few patterns in the guest's memory 42.448

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

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

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

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

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

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

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

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

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

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

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 32.857

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

After features/support/hooks.rb:331 11.598
After features/support/hooks.rb:100 0.000
7:59.037
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 7:21.273
And I prepare Tails for memory erasure tests 0.338
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.013
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 27.400

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

After features/support/hooks.rb:331 3.564
After features/support/hooks.rb:100 0.015