Project Number Date
test_Tails_ISO_devel 4445 13 Jun 2026, 11:18

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.079 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.
19.008
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.016
Given I have started Tails from DVD without network and logged in 7.267
And I prepare Tails for memory erasure tests 0.441
When I start a process allocating 128 MiB of memory with a known pattern 2.295
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 2.033

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

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

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

After features/support/hooks.rb:339 0.820
After features/support/hooks.rb:108 0.000
18.055
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.022
Given I have started Tails from DVD without network and logged in 7.037
And I prepare Tails for memory erasure tests 0.373
And I find very few patterns in the guest's memory 1.841

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

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

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

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

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

After features/support/hooks.rb:339 0.923
After features/support/hooks.rb:108 0.000
33.429
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.021
Given I have started Tails from DVD without network and logged in 7.014
And I prepare Tails for memory erasure tests 0.455
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.564
Then I find very few patterns in the guest's memory 1.872

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

# write cache
When I fill the USB drive with a known pattern 2.827
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.693
Then I find very few patterns in the guest's memory after 3 seconds 4.952

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

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

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

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

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

After features/support/hooks.rb:339 0.839
After features/support/hooks.rb:108 0.000
58.029
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.019
Given I have started Tails from DVD without network and logged in 7.063
And I prepare Tails for memory erasure tests 0.393
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.492
Then I find very few patterns in the guest's memory 1.955

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.741
After features/support/hooks.rb:108 0.000
58.085
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.022
Given I have started Tails from DVD without network and logged in 7.133
And I prepare Tails for memory erasure tests 0.379
When I fill a 128 MiB file with a known pattern on the root filesystem 26.371
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.924
Then patterns cover at least 128 MiB in the guest's memory 1.667

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

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

After features/support/hooks.rb:339 3.524
After features/support/hooks.rb:108 0.000
4:54.470
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.020
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:13.701
And I prepare Tails for memory erasure tests 0.290
When I fill a 128 MiB file with a known pattern on the persistent filesystem 19.465
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 21.003

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

After features/support/hooks.rb:339 3.839
After features/support/hooks.rb:108 0.052