Project Number Date
test_Tails_ISO_stable 5980 02 Dec 2025, 13:12

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

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

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

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

After features/support/hooks.rb:331 1.156
After features/support/hooks.rb:100 0.000
58.365
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.126
And I prepare Tails for memory erasure tests 0.750
And I find very few patterns in the guest's memory 14.711

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

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

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

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

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

After features/support/hooks.rb:331 1.201
After features/support/hooks.rb:100 0.000
3:23.831
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 1.192
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.343
Then I find very few patterns in the guest's memory 35.738

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 3.774
After features/support/hooks.rb:100 0.000
6:44.576
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:10.674
And I prepare Tails for memory erasure tests 0.378
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.377
When I trigger shutdown 0.010
Then I find very few patterns in the guest's memory after 20 seconds 24.134

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

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