Project Number Date
test_Tails_ISO_21643-uefi-db 1 09 Jun 2026, 14:32

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 8:1.875 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.
18.588
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD without network and logged in 6.645
And I prepare Tails for memory erasure tests 0.414
When I start a process allocating 128 MiB of memory with a known pattern 1.194
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 3.036

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

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

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

After features/support/hooks.rb:335 0.698
After features/support/hooks.rb:104 0.000
19.511
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails from DVD without network and logged in 6.920
And I prepare Tails for memory erasure tests 0.427
And I find very few patterns in the guest's memory 2.279

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

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

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

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

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

After features/support/hooks.rb:335 0.799
After features/support/hooks.rb:104 0.000
34.793
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD without network and logged in 6.687
And I prepare Tails for memory erasure tests 0.373
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.170
Then I find very few patterns in the guest's memory 2.044

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

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

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

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

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

# read cache
When I mount the USB drive again 0.174
And I read the content of the test FS 0.456
Then patterns cover at least 99% 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 0.653
Then I find very few patterns in the guest's memory after 3 seconds 5.083

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

After features/support/hooks.rb:335 1.061
After features/support/hooks.rb:104 0.000
1:3.741
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails from DVD without network and logged in 7.106
And I prepare Tails for memory erasure tests 0.344
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.396
Then I find very few patterns in the guest's memory 1.988

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 0.605
After features/support/hooks.rb:104 0.000
57.457
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails from DVD without network and logged in 6.928
And I prepare Tails for memory erasure tests 0.494
When I fill a 128 MiB file with a known pattern on the root filesystem 25.300
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.134
Then patterns cover at least 128 MiB in the guest's memory 1.842

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

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

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

After features/support/hooks.rb:335 3.693
After features/support/hooks.rb:104 0.000
4:47.782
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:9.730
And I prepare Tails for memory erasure tests 0.360
When I fill a 128 MiB file with a known pattern on the persistent filesystem 16.442
When I trigger shutdown 0.005
Then I find very few patterns in the guest's memory after 20 seconds 21.244

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

After features/support/hooks.rb:335 3.745
After features/support/hooks.rb:104 0.009