Project Number Date
test_Tails_ISO_devel 4394 13 May 2026, 11:07

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

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

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

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

After features/support/hooks.rb:335 0.977
After features/support/hooks.rb:104 0.000
17.615
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.650
And I prepare Tails for memory erasure tests 0.398
And I find very few patterns in the guest's memory 1.746

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 3.466
After features/support/hooks.rb:104 0.000
4:17.597
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:37.466
And I prepare Tails for memory erasure tests 0.327
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.801
When I trigger shutdown 0.006
Then I find very few patterns in the guest's memory after 20 seconds 20.996

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

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