Project Number Date
test_Tails_ISO_devel 4247 23 Feb 2026, 16:44

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 16:55.240 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.
49.586
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 8.895
And I prepare Tails for memory erasure tests 0.465
When I start a process allocating 128 MiB of memory with a known pattern 2.276
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 17.704

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

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

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

After features/support/hooks.rb:331 0.882
After features/support/hooks.rb:100 0.000
1:6.578
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 10.118
And I prepare Tails for memory erasure tests 0.403
And I find very few patterns in the guest's memory 16.068

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

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

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

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

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

After features/support/hooks.rb:331 3.801
After features/support/hooks.rb:100 0.000
2:43.119
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 14.603
And I prepare Tails for memory erasure tests 0.511
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.809
Then I find very few patterns in the guest's memory 19.870

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

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

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

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

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

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

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

When I umount the USB drive 0.432
Then I find very few patterns in the guest's memory after 3 seconds 1:2.117

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 7.781
After features/support/hooks.rb:100 0.135