Project Number Date
test_Tails_ISO_devel 4134 22 Dec 2025, 12:31

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

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

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

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

After features/support/hooks.rb:331 1.039
After features/support/hooks.rb:100 0.000
1:22.695
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.215
And I prepare Tails for memory erasure tests 0.355
And I find very few patterns in the guest's memory 15.312

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.605
Then patterns cover at least 99% of the test FS size in the guest's memory 24.389

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.655
After features/support/hooks.rb:100 0.001
56.605
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.802
And I prepare Tails for memory erasure tests 0.321
When I fill a 128 MiB file with a known pattern on the root filesystem 9.035
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.278
Then patterns cover at least 128 MiB in the guest's memory 10.830

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

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

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

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

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

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