Project Number Date
test_Tails_ISO_devel 4111 10 Dec 2025, 03:29

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

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

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

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

After features/support/hooks.rb:331 1.027
After features/support/hooks.rb:100 0.000
56.600
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.592
And I prepare Tails for memory erasure tests 0.424
And I find very few patterns in the guest's memory 14.213

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

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

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

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

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

After features/support/hooks.rb:331 0.885
After features/support/hooks.rb:100 0.000
1:38.282
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.264
And I prepare Tails for memory erasure tests 0.691
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.810
Then I find very few patterns in the guest's memory 15.357

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 25.325

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

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

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

After features/support/hooks.rb:331 3.537
After features/support/hooks.rb:100 0.013