Project Number Date
test_Tails_ISO_web-release-7.12 5 02 Sep 2026, 20:11

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

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

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

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

After features/support/hooks.rb:339 0.909
After features/support/hooks.rb:108 0.000
20.409
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 6.758
And I prepare Tails for memory erasure tests 0.321
And I find very few patterns in the guest's memory 2.738

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

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

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

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

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

After features/support/hooks.rb:339 0.870
After features/support/hooks.rb:108 0.000
48.816
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.574
And I prepare Tails for memory erasure tests 0.325
When I plug and mount a 128 MiB USB drive with a vfat filesystem 5.270
Then I find very few patterns in the guest's memory 5.115

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 1.006
After features/support/hooks.rb:108 0.000
1:6.500
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.005
Given I have started Tails from DVD without network and logged in 6.821
And I prepare Tails for memory erasure tests 0.374
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.179
Then I find very few patterns in the guest's memory 3.542

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

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

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

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

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

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

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

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

After features/support/hooks.rb:339 0.889
After features/support/hooks.rb:108 0.000
46.689
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.741
And I prepare Tails for memory erasure tests 0.417
When I fill a 128 MiB file with a known pattern on the root filesystem 14.011
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.040
Then patterns cover at least 128 MiB in the guest's memory 2.685

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

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

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

After features/support/hooks.rb:339 3.401
After features/support/hooks.rb:108 0.000
4:40.107
Before features/support/hooks.rb:274 0.000
Before features/support/hooks.rb:281 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:8.883
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 9.861
When I trigger shutdown 0.004
Then I find very few patterns in the guest's memory after 20 seconds 21.030

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

After features/support/hooks.rb:339 3.677
After features/support/hooks.rb:108 0.024