Project Number Date
test_Tails_ISO_stable 5935 06 Nov 2025, 14:23

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

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

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

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

After features/support/hooks.rb:331 0.943
After features/support/hooks.rb:100 0.000
1:16.773
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.438
And I prepare Tails for memory erasure tests 0.389
And I find very few patterns in the guest's memory 13.739

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.774
Then patterns cover at least 99% of the test FS size in the guest's memory 19.986

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

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

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

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

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

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

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

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

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

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

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 37.955

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

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

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

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

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

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

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

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

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

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

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

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

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.844

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

After features/support/hooks.rb:331 3.934
After features/support/hooks.rb:100 0.000
6:53.733
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:20.331
And I prepare Tails for memory erasure tests 0.420
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.544
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 23.423

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

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