Project Number Date
test_Tails_ISO_21318-tor-browser-16.0 4 05 Jun 2026, 08:11

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

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

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

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

After features/support/hooks.rb:335 0.679
After features/support/hooks.rb:104 0.000
17.591
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.665
And I prepare Tails for memory erasure tests 0.504
And I find very few patterns in the guest's memory 1.682

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

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

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

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

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

After features/support/hooks.rb:335 0.841
After features/support/hooks.rb:104 0.000
31.988
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.628
And I prepare Tails for memory erasure tests 0.437
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.155
Then I find very few patterns in the guest's memory 1.668

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 0.806
After features/support/hooks.rb:104 0.000
57.477
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.804
And I prepare Tails for memory erasure tests 0.500
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.936
Then I find very few patterns in the guest's memory 1.634

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 0.804
After features/support/hooks.rb:104 0.000
58.821
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.735
And I prepare Tails for memory erasure tests 0.507
When I fill a 128 MiB file with a known pattern on the root filesystem 28.119
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.555
Then patterns cover at least 128 MiB in the guest's memory 1.424

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

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

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

After features/support/hooks.rb:335 3.745
After features/support/hooks.rb:104 0.000
4:34.596
Before features/support/hooks.rb:270 0.000
Before features/support/hooks.rb:277 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 3:57.885
And I prepare Tails for memory erasure tests 0.299
When I fill a 128 MiB file with a known pattern on the persistent filesystem 15.512
When I trigger shutdown 0.007
Then I find very few patterns in the guest's memory after 20 seconds 20.892

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

After features/support/hooks.rb:335 3.734
After features/support/hooks.rb:104 0.011