Project Number Date
test_Tails_ISO_devel 4180 20 Jan 2026, 11:42

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

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

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

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

After features/support/hooks.rb:331 1.856
After features/support/hooks.rb:100 0.000
1:6.016
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.027
And I prepare Tails for memory erasure tests 0.517
And I find very few patterns in the guest's memory 15.913

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.495
After features/support/hooks.rb:100 0.000
5:57.478
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 5:24.608
And I prepare Tails for memory erasure tests 0.385
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.095
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 23.378

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

After features/support/hooks.rb:331 3.626
After features/support/hooks.rb:100 0.014