Project Number Date
test_Tails_ISO_devel 4065 11 Nov 2025, 10:44

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

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

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

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

After features/support/hooks.rb:331 2.098
After features/support/hooks.rb:100 0.000
1:6.022
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 12.650
And I prepare Tails for memory erasure tests 0.406
And I find very few patterns in the guest's memory 13.943

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

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

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

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

After features/support/hooks.rb:331 1.015
After features/support/hooks.rb:100 0.000
2:2.108
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.969
And I prepare Tails for memory erasure tests 0.400
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.900
Then I find very few patterns in the guest's memory 14.532

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.098
After features/support/hooks.rb:100 0.000
3:27.902
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.582
And I prepare Tails for memory erasure tests 0.409
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 32.506
Then I find very few patterns in the guest's memory 28.776

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.034
After features/support/hooks.rb:100 0.006
56.223
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 9.967
And I prepare Tails for memory erasure tests 0.493
When I fill a 128 MiB file with a known pattern on the root filesystem 10.021
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.808
Then patterns cover at least 128 MiB in the guest's memory 10.187

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

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

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

After features/support/hooks.rb:331 3.453
After features/support/hooks.rb:100 0.000
7:17.387
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:44.031
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.503
When I trigger shutdown 0.009
Then I find very few patterns in the guest's memory after 20 seconds 23.423

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

After features/support/hooks.rb:331 3.965
After features/support/hooks.rb:100 0.016