Project Number Date
test_Tails_ISO_devel 4107 08 Dec 2025, 08:58

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

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

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

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

After features/support/hooks.rb:331 0.850
After features/support/hooks.rb:100 0.000
1:8.480
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.756
And I prepare Tails for memory erasure tests 0.507
And I find very few patterns in the guest's memory 14.050

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

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

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

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

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

After features/support/hooks.rb:331 1.007
After features/support/hooks.rb:100 0.000
3:12.500
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.157
And I prepare Tails for memory erasure tests 0.379
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.505
Then I find very few patterns in the guest's memory 34.475

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 4.162
After features/support/hooks.rb:100 0.001
3:28.271
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.010
Given I have started Tails from DVD without network and logged in 10.084
And I prepare Tails for memory erasure tests 0.350
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.266
Then I find very few patterns in the guest's memory 33.265

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

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

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

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

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

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

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

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

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

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

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 28.741

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

After features/support/hooks.rb:331 3.712
After features/support/hooks.rb:100 0.000
6:24.979
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 5:52.006
And I prepare Tails for memory erasure tests 0.473
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.424
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 23.064

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

After features/support/hooks.rb:331 3.989
After features/support/hooks.rb:100 0.040