Project Number Date
test_Tails_ISO_21322-change-domain-deb.tails.boum.org 2 19 May 2026, 07:38

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

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

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

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

After features/support/hooks.rb:335 0.859
After features/support/hooks.rb:104 0.000
16.998
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.492
And I prepare Tails for memory erasure tests 0.317
And I find very few patterns in the guest's memory 1.696

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 0.144
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.865

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 3.449
After features/support/hooks.rb:104 0.000
4:25.532
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:45.962
And I prepare Tails for memory erasure tests 0.371
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.331
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 20.861

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

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