Project Number Date
test_Tails_ISO_devel 4067 11 Nov 2025, 17:16

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

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

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

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

After features/support/hooks.rb:331 1.094
After features/support/hooks.rb:100 0.000
1:12.542
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 9.292
And I prepare Tails for memory erasure tests 0.378
And I find very few patterns in the guest's memory 14.592

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 0.253
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 41.596

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

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

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

After features/support/hooks.rb:331 0.892
After features/support/hooks.rb:100 0.000
2:13.916
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.824
And I prepare Tails for memory erasure tests 0.551
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.105
Then I find very few patterns in the guest's memory 17.650

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

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

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

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

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

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

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

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

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

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

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 22.874

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

After features/support/hooks.rb:331 3.725
After features/support/hooks.rb:100 0.000
8:2.865
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:19.270
And I prepare Tails for memory erasure tests 0.446
When I fill a 128 MiB file with a known pattern on the persistent filesystem 10.140
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 32.997

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

After features/support/hooks.rb:331 8.956
After features/support/hooks.rb:100 0.015