Project Number Date
test_Tails_ISO_devel 4083 22 Nov 2025, 12:09

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

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

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

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

After features/support/hooks.rb:331 1.050
After features/support/hooks.rb:100 0.000
1:2.061
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 7.877
And I prepare Tails for memory erasure tests 0.357
And I find very few patterns in the guest's memory 20.449

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

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

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

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

After features/support/hooks.rb:331 0.898
After features/support/hooks.rb:100 0.000
1:38.256
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 7.949
And I prepare Tails for memory erasure tests 0.709
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.596
Then I find very few patterns in the guest's memory 15.307

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.912
After features/support/hooks.rb:100 0.000
2:15.140
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 7.833
And I prepare Tails for memory erasure tests 0.367
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.728
Then I find very few patterns in the guest's memory 15.441

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 0.791
After features/support/hooks.rb:100 0.000
51.065
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.032
And I prepare Tails for memory erasure tests 0.354
When I fill a 128 MiB file with a known pattern on the root filesystem 9.634
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.333
Then patterns cover at least 128 MiB in the guest's memory 9.706

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

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

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

After features/support/hooks.rb:331 3.664
After features/support/hooks.rb:100 0.000
7:33.884
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:59.209
And I prepare Tails for memory erasure tests 0.421
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.591
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 24.647

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

After features/support/hooks.rb:331 3.767
After features/support/hooks.rb:100 0.014