Project Number Date
test_Tails_ISO_stable 5934 06 Nov 2025, 08: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:46.376 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.
53.030
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.203
And I prepare Tails for memory erasure tests 0.451
When I start a process allocating 128 MiB of memory with a known pattern 2.512
# Since Debian Trixie we only get 99.610% coverage (tails#21012)
Then patterns cover at least 127 MiB in the guest's memory 19.765

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

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

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

After features/support/hooks.rb:331 0.904
After features/support/hooks.rb:100 0.000
58.925
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.845
And I prepare Tails for memory erasure tests 0.428
And I find very few patterns in the guest's memory 13.863

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 23.222

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

After features/support/hooks.rb:331 3.663
After features/support/hooks.rb:100 0.000
7:3.937
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 6:29.984
And I prepare Tails for memory erasure tests 0.393
When I fill a 128 MiB file with a known pattern on the persistent filesystem 9.659
When I trigger shutdown 0.038
Then I find very few patterns in the guest's memory after 20 seconds 23.862

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

After features/support/hooks.rb:331 3.877
After features/support/hooks.rb:100 0.016