Project Number Date
test_Tails_ISO_devel 4408 21 May 2026, 11:24

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

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

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

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

After features/support/hooks.rb:335 0.705
After features/support/hooks.rb:104 0.000
17.393
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.479
And I prepare Tails for memory erasure tests 0.402
And I find very few patterns in the guest's memory 1.740

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

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

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

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

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

After features/support/hooks.rb:335 0.866
After features/support/hooks.rb:104 0.000
32.623
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.334
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.272
Then I find very few patterns in the guest's memory 1.905

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 4.673

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

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

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.587

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

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

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

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