Project Number Date
test_Tails_ISO_21373-poweroff-inhibit 45 02 Jul 2026, 20:12

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

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

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

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

After features/support/hooks.rb:339 0.870
After features/support/hooks.rb:108 0.000
19.469
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.003
Given I have started Tails from DVD without network and logged in 7.147
And I prepare Tails for memory erasure tests 0.443
And I find very few patterns in the guest's memory 1.896

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

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

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

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

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

After features/support/hooks.rb:339 0.974
After features/support/hooks.rb:108 0.000
34.998
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.011
Given I have started Tails from DVD without network and logged in 7.260
And I prepare Tails for memory erasure tests 0.416
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.602
Then I find very few patterns in the guest's memory 2.193

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.364
After features/support/hooks.rb:108 0.000
1:4.069
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails from DVD without network and logged in 7.159
And I prepare Tails for memory erasure tests 0.375
When I fill a 128 MiB file with a known pattern on the root filesystem 31.958
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.153
Then patterns cover at least 128 MiB in the guest's memory 1.801

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

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

After features/support/hooks.rb:339 3.533
After features/support/hooks.rb:108 0.000
5:4.641
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:16.887
And I prepare Tails for memory erasure tests 0.370
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.324
When I trigger shutdown 0.006
Then I find very few patterns in the guest's memory after 20 seconds 21.052

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

After features/support/hooks.rb:339 3.826
After features/support/hooks.rb:108 0.026