Project Number Date
test_Tails_ISO_devel 4124 17 Dec 2025, 09: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 13:56.196 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.904
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.069
And I prepare Tails for memory erasure tests 0.365
When I start a process allocating 128 MiB of memory with a known pattern 1.184
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 17.188

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

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

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

After features/support/hooks.rb:331 1.194
After features/support/hooks.rb:100 0.000
57.128
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.831
And I prepare Tails for memory erasure tests 0.391
And I find very few patterns in the guest's memory 14.220

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

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

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

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

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

After features/support/hooks.rb:331 0.920
After features/support/hooks.rb:100 0.000
2:21.825
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.081
And I prepare Tails for memory erasure tests 0.437
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.282
Then I find very few patterns in the guest's memory 14.496

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:331 1.312
After features/support/hooks.rb:100 0.001
53.851
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails from DVD without network and logged in 8.020
And I prepare Tails for memory erasure tests 0.463
When I fill a 128 MiB file with a known pattern on the root filesystem 9.847
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.343
Then patterns cover at least 128 MiB in the guest's memory 10.128

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

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

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

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

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

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