Project Number Date
test_Tails_ISO_devel 4238 17 Feb 2026, 15:06

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

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

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

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

After features/support/hooks.rb:331 0.999
After features/support/hooks.rb:100 0.000
20.204
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.166
And I prepare Tails for memory erasure tests 0.628
And I find very few patterns in the guest's memory 2.182

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

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

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

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

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

After features/support/hooks.rb:331 1.036
After features/support/hooks.rb:100 0.000
36.223
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.430
And I prepare Tails for memory erasure tests 0.417
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.999
Then I find very few patterns in the guest's memory 1.997

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.846
After features/support/hooks.rb:100 0.000
45.305
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.001
Given I have started Tails from DVD without network and logged in 6.858
And I prepare Tails for memory erasure tests 0.430
When I fill a 128 MiB file with a known pattern on the root filesystem 14.299
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.630
Then patterns cover at least 128 MiB in the guest's memory 1.535

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

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

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

After features/support/hooks.rb:331 3.752
After features/support/hooks.rb:100 0.000
4:41.661
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 4:9.933
And I prepare Tails for memory erasure tests 0.439
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.357
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 20.925

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

After features/support/hooks.rb:331 3.917
After features/support/hooks.rb:100 0.009