Project Number Date
test_Tails_ISO_devel 4184 22 Jan 2026, 18: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 14:55.413 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.
46.725
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 8.173
And I prepare Tails for memory erasure tests 0.444
When I start a process allocating 128 MiB of memory with a known pattern 2.221
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 15.777

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

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

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

After features/support/hooks.rb:331 3.309
After features/support/hooks.rb:100 0.000
1:4.313
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 10.172
And I prepare Tails for memory erasure tests 0.414
And I find very few patterns in the guest's memory 14.383

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 100.000% (127 MiB out of 127 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 16.962

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

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

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

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

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

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

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

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

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

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

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

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

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 22.821

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

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

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

After features/support/hooks.rb:331 3.752
After features/support/hooks.rb:100 0.018